-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathangular-datepicker.css
187 lines (162 loc) · 3.46 KB
/
angular-datepicker.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
.datepicker {
position: absolute;
}
.datepicker .datepicker-wrapper {
position: fixed;
background-color: #767776;
left: 0;
right: 0;
bottom: 0;
z-index: 999;
top: 0;
width: 100%;
height: 100%;
opacity: 0.5;
/*transition:opacity 300ms cubic-bezier(0.68, -0.55, 0.43, 1.09);*/
}
/*.datepicker .table.ng-hide {*/
/*opacity: 0;*/
/*}*/
.datepicker .table > table{
position: fixed;
background-color: #f8faf9;
line-height: 45px;
font-size: 19px;
z-index: 1000;
border-radius: 10px;
box-shadow: 0px 2px 70px 2px #231f20;
top: calc(50% - 215px);
left: calc(50% - 250px);
width: 500px;
height: 430px;
text-align: center;
padding: 8px;
/*opacity:1;*/
/*transition:opacity 300ms cubic-bezier(0.68, -0.55, 0.43, 1.09);*/
}
.datepicker .table tr td {
padding: 1px 8px;
color: #767776;
cursor: pointer;
}
.datepicker thead th {
padding: 2px;
}
.datepicker .table thead,tbody {
padding: 10px;
}
.datepicker .table thead .month-header th a {
cursor: pointer;
text-decoration: underline;
}
.datepicker .table tbody tr td.different-month a{
color: #bdbebd;
}
.datepicker thead th {
padding: 2px;
color: #767776;
}
.datepicker table {
width: 100%;
height: 100%;
}
/*.datepicker-close.ng-hide button {*/
/*opacity: 0;*/
/*transform: rotateZ(-360deg);*/
/*}*/
.datepicker-close button {
position: fixed;
top: calc(50% - 240px);
left: calc(50% + 230px);
z-index: 10000;
background-color: #be1d2c;
width: 40px;
color: white;
height: 40px;
text-align: center;
border-radius: 40px;
padding: 0;
border: none;
cursor: pointer;
/*opacity:1;*/
/*transform: rotateZ(0deg);*/
/*transition: opacity 300ms cubic-bezier(0.68, -0.55, 0.43, 1.09);*//*, transform 1000ms cubic-bezier(0.68, -0.55, 0.43, 1.09);*/
}
.datepicker-close button:after{
content: "\00d7";
font-size: 26px;
}
.datepicker .table tr td.today {
background-color: #EAEAEA;
border-radius: 12px;
}
.datepicker .table tr td.selected-date {
background-color: #be1d2c;
color: white;
border-radius: 12px;
}
.datepicker .table tr td.focus:focus, .datepicker .table tr td.focus:active {
background-color: #c8c8c8;
color: white !important;
border-radius: 12px;
}
.datepicker table.month-in-year-selection {
text-align: center;
}
.datepicker-button-clear {
float: right;
font-size: 13px;
line-height: 0px;
margin: 0px;
color: white;
background-color: #BE1D2C;
padding: 17px;
border: none;
border-radius: 5px;
}
.datepicker button.button-month {
padding: 10px;
border: none;
background: #be1d2c;
color: white;
border-radius: 5px;
font-size: 14px;
cursor: pointer;
}
.datepicker select.timeselect {
width: 100%;
font-size: 14px;
padding: 5px;
}
@media screen and (max-width: 600px) {
.datepicker .table {
top: calc(50% - 190px);
left: 10%;
width: 80%;
height: 380px;
padding: 3px;
font-size: 16px;
}
.datepicker-close button {
top: calc(50% - 210px);
left: 87%;
}
}
@media screen and (max-width: 320px) {
.datepicker .table {
top: calc(50% - 190px);
left: 5%;
width: 90%;
height: 380px;
padding: 3px;
font-size: 16px;
}
.datepicker-close button {
top: calc(50% - 212px);
left: 86%;
}
}
.datepicker table tr td.disabled {
color: #D6D6D6;
cursor: default;
}