DateTimePicker.scss
2.4 KB
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
@import "../../../../scss/krhr/_mixins-component";
.datepicker{
.arrow_left,.arrow_right{
width:18px;
height:18px;
line-height:18px;
display:inline-block;
border:1px
solid #c5c5c5;
border-radius:3px;
font-family:'iconfont';
font-size:12px;
}
.arrow_left:before{content:'\e62d';}
.arrow_right:before{content:'\e62e';}
}
.timepicker{
.arrow_up,
.arrow_down{
width:18px;
height:18px;
line-height:18px;
display:inline-block;
border:1px
solid #c5c5c5;
border-radius:3px;
font-family:'iconfont';
font-size:12px;
}
.arrow_up:before{content:'\e62f';}
.arrow_down:before{content:'\e630';}
.arrow_up:hover,.arrow_down:hover,.arrow_up,.arrow_down{
border-color:#0078f6;
color:#0078f6;
background:transparent !important;
}
}
.hover{
background-color: #0078f6 !important;
border-color: #0078f6 !important;
color: #fff !important;
}
.datetimepicker_widget.bottom{
.datepicker{
.day:hover,.today.active,.active{
@extend .hover;
}
.today{
background-color: #faeab9 !important;
border-color: #faeab9 !important;
color: #555459 !important;
}
}
padding: 10px;
background: #f0f0f0;
&:after {
border-bottom-color:#f0f0f0;
}
.datepicker_months{
.month:hover,.active{
@extend .hover;
}
}
.datepicker_years{
.year:hover,.active{
@extend .hover;
}
}
}
.datetimepicker_widget.inline_date_time.bottom{
width: 360px;
padding: 10px;
background: #f0f0f0;
.timepicker{
margin-left: 5px;
height: 180px;
width: 110px;
font-size: 12px;
.timepicker_hour:hover,.timepicker_minute:hover{
@extend .hover;
}
}
.datepicker{
tr > td{
padding: 0;
font-size: 12px;
}
.day:hover,.today.active,.active{
@extend .hover;
}
.today{
background-color: #faeab9 !important;
border-color: #faeab9 !important;
color: #555459 !important;
}
}
.datepicker_months{
.month:hover,.active{
@extend .hover;
}
}
.datepicker_years{
.year:hover,.active{
@extend .hover;
}
}
.timepicker_hours{
padding-top: 20px;
padding-left: 20px;
.hour{
padding: 0;
font-size: 12px;
}
.hour:hover{
@extend .hover;
}
}
.timepicker_minutes{
padding-top: 20px;
padding-left: 20px;
.minute{
padding: 0;
font-size: 12px;
}
.minute:hover{
@extend .hover;
}
}
&:after {
border-bottom-color:#f0f0f0;
}
}
.date_time_picker_time_wrap,.date_time_picker_date_wrap{
display: inline-block;
}