/
style.css
135 lines (135 loc) · 3.37 KB
/
style.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
div.ardp-date-picker {
font-size:16px;
font-family:Arial;
box-sizing:border-box;
}
div.ardp-date-picker * {
box-sizing:border-box;
}
div.ardp-date-picker div.calendar {
position: absolute;
z-index: 10;
background: white;
width: 260px;
padding: 5px;
color: #244152;
border-radius: 3px;
height: 203px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
overflow: hidden;
}
div.ardp-date-picker div.calendar.calendar-show {
visibility: visible;
opacity: 1;
transition: opacity 100ms linear;
}
div.ardp-date-picker div.calendar.calendar-hide {
visibility: hidden;
opacity: 0;
transition: visibility 0s 100ms, opacity 100ms linear;
}
div.ardp-date-picker div.calendar div.month-header {
float: left;
width: 100%;
display: -webkit-flex;
display: flex;
-webkit-justify-content: space-between;
justify-content: space-between;
align-items: center;
}
div.ardp-date-picker div.calendar div.month-header > i {
font-weight: bold;
padding: 5px 8px;
border-radius: 3px;
cursor: pointer;
font-style:normal;
font-size:0.7em;
}
div.ardp-date-picker div.calendar div.month-header > i:hover {
background-color: #026aa7;
color: white;
}
div.ardp-date-picker div.calendar div.week-header {
float: left;
width: 100%;
margin-top: 8px;
display: table;
padding-bottom: 3px;
border-bottom: solid 1px #CCC;
margin-bottom: 3px;
}
div.ardp-date-picker div.calendar div.week-header > span {
float: left;
width: 14.285714285714286%;
font-size: 0.6em;
text-transform: uppercase;
color: #026aa7;
font-weight: bold;
text-align: center;
}
div.ardp-date-picker div.calendar div.weeks {
float: left;
width: 100%;
overflow: hidden;
position: relative;
height: 140px;
}
div.ardp-date-picker div.calendar div.weeks > div {
position: absolute;
width: 250px;
}
div.ardp-date-picker div.calendar div.weeks > div.current {
left: 0;
}
div.ardp-date-picker div.calendar div.weeks > div.other {
left: 250px;
}
div.ardp-date-picker div.calendar div.weeks > div.other.right {
left: -250px;
}
div.ardp-date-picker div.calendar div.weeks > div.sliding {
transition: transform 250ms ease;
-webkit-transition: -webkit-transform 250ms ease;
}
div.ardp-date-picker div.calendar div.weeks > div.sliding.left {
transform: translate3d(-250px, 0, 0);
-webkit-transform: translate3d(-250px, 0, 0);
}
div.ardp-date-picker div.calendar div.weeks > div.sliding.right {
transform: translate3d(250px, 0, 0);
-webkit-transform: translate3d(250px, 0, 0);
}
div.ardp-date-picker div.calendar div.weeks div.week {
float: left;
width: 100%;
}
div.ardp-date-picker div.calendar div.weeks div.week div.day {
float: left;
width: 14.285714285714286%;
font-size: 0.8em;
padding: 4px 0;
cursor: pointer;
text-align: center;
border-radius: 3px;
}
div.ardp-date-picker div.calendar div.weeks div.week div.day:hover {
background: #EAEAEA;
}
div.ardp-date-picker div.calendar div.weeks div.week div.day.other-month {
color: #AAA;
}
div.ardp-date-picker div.calendar div.weeks div.week div.day.disabled {
color: #E0E0E0;
cursor: default;
}
div.ardp-date-picker div.calendar div.weeks div.week div.day.disabled:hover {
background: transparent !important;
}
div.ardp-date-picker div.calendar div.weeks div.week div.day.today {
background: #68b53e;
color: white;
}
div.ardp-date-picker div.calendar div.weeks div.week div.day.selected {
background: #026aa7;
color: white;
}