1
- .ui-datepicker-container { position : absolute ; left : 0 ; right : 0 ; bottom : 0 ; top : 0 ; z-index : 99 ; }
2
- .ui-datepicker { font-size : 12 px ; width : 247 px ; height : 300 px ; position : absolute; background-color : # FFF ; border : 1 px solid # E0E0E0 ; left : 100 px ; top : 100 px ; border-radius : var (--radius ); z-index : 100 ; color : gray ; box-shadow : 0 5px 25px rgba (0 , 0 , 0 , 0.1 ); opacity : 0 ; transform : scale (0.6 ); transition : all 0.2s ; }
3
- .ui-datepicker-visible { transform : scale (1 ); opacity : 1 ; }
1
+ .ui-datepicker-container { bottom : 0 ; left : 0 ; position : absolute; right : 0 ; top : 0 ; z-index : 99 ; }
2
+ .ui-datepicker { -moz-transform : scale ( 0.6 ); -moz-transition : all 0.2 s ; -ms-transform : scale ( 0.6 ); -ms-transition : all 0.2 s ; -webkit-transform : scale ( 0.6 ); -webkit-transition : all 0.2 s ; background-color : # FFF ; border-radius : var (--radius ); border : 1 px solid # E0E0E0 ; box-shadow : 0 5px 25px rgba (0 , 0 , 0 , 0.1 ); color : gray; filter : alpha ( opacity=0); font-size : 12 px ; left : 100 px ; opacity : 0 ; position : absolute; top : 100 px ; transform : scale (0.6 ); transition : all 0.2s ; width : 247 px ; z-index : 100 ; }
3
+ .ui-datepicker-visible { -moz- transform: scale (1 ); -ms-transform : scale ( 1 ); -webkit-transform : scale ( 1 ); filter : alpha ( opacity=100); opacity : 1 ; transform : scale ( 1 ) ; }
4
4
.ui-datepicker-disabled { color : silver !important ; cursor : pointer; }
5
- .ui-datepicker-body , .ui-datepicker-months , .ui-datepicker-years { height : 235px ; }
6
- .ui-datepicker-footer { height : 28 px ; border-top : 1px solid # E0E0E0 ; font-size : 11px ; padding : 0 8 px ; line-height : 26 px ; background-color : # F8F8F8 ; display : flex; justify-content : space-between ; }
7
- .ui-datepicker-footer > span : hover { text-decoration : underline; }
8
- .ui-datepicker-now , .ui-datepicker-clear { color : # 000 ; cursor : pointer; }
5
+ .ui-datepicker-body , .ui-datepicker-months , .ui-datepicker-years { height : 235px ; }
6
+ .ui-datepicker-footer { background-color : # F8F8F8 ; border-top : 1px solid # E0E0E0 ; display : flex; font-size : 11px ; height : 28 px ; justify-content : space-between; line-height : 26 px ; padding : 0 8 px ; }
7
+ .ui-datepicker-footer > span : hover { text-decoration : underline; }
8
+ .ui-datepicker-now , .ui-datepicker-clear { color : # 000 ; cursor : pointer; }
9
9
.ui-datepicker-day-today div { background-color : # F0F0F0 ; font-weight : bold; }
10
- .ui-datepicker-selected div { background-color : var (--color ); font-weight : bold; color : # FFF ; }
11
- .ui-datepicker-date i { position : absolute; left : 12px ; top : 25 px ; font-size : 12 px ; color : red ; }
12
- .ui-datepicker-months > div { width : 61 px ; height : 78px ; line-height : 76px ; position : relative; display : inline-block; text-align : center; cursor : pointer; text-transform : uppercase; font-weight : bold ; }
13
- .ui-datepicker-months > div > div { width : 50 px ; height : 50 px ; line-height : 46 px ; position : relative; display : inline-block; border-radius : 100 % ; border : 2 px solid transparent ; }
14
- .ui-datepicker-months > div : hover > div { border-color : # E0E0E0 ; color : # 000 ; }
10
+ .ui-datepicker-selected div { background-color : var (--color ); color : # FFF ; font-weight : bold ; }
11
+ .ui-datepicker-date i { color : red; font-size : 12px ; left : 12 px ; position : absolute; top : 25 px ; }
12
+ .ui-datepicker-months > div { cursor : pointer; display : inline-block; font-weight : bold; height : 78px ; line-height : 76px ; position : relative; text-align : center; text-transform : uppercase; width : 61 px ; }
13
+ .ui-datepicker-months > div > div { border-radius : 100 % ; border : 2 px solid transparent; display : inline-block; height : 50 px ; line-height : 46 px ; position : relative; width : 50 px ; }
14
+ .ui-datepicker-months > div : hover > div { border-color : # E0E0E0 ; color : # 000 ; }
15
15
.ui-datepicker-years { padding : 5px 0 0 ; }
16
- .ui-datepicker-years > div { width : 49 px ; height : 46px ; line-height : 44px ; position : relative; display : inline-block; text-align : center; cursor : pointer ; }
17
- .ui-datepicker-years > div > div { width : 40 px ; height : 40 px ; line-height : 36 px ; position : relative; display : inline-block; border-radius : 100 % ; border : 2 px solid transparent ; }
18
- .ui-datepicker-years > div : hover > div { border-color : # E0E0E0 ; color : # 000 ;}
19
- .ui-datepicker-header { height : 35 px ; border-bottom : 1px solid # E0E0E0 ; text-align : center; font-size : 14 px ; }
20
- .ui-datepicker-prev { float : left; line-height : 34 px ; width : 34 px ; color : # 000 ; cursor : pointer ; }
21
- .ui-datepicker-next { float : right; line-height : 34 px ; width : 34 px ; color : # 000 ; cursor : pointer ; }
22
- .ui-datepicker-prev : hover , .ui-datepicker-next : hover { background-color : # F0F0F0 ; }
23
- .ui-datepicker-info { margin : 0 34px ; line-height : 34px ; }
16
+ .ui-datepicker-years > div { cursor : pointer; display : inline-block; height : 46px ; line-height : 44px ; position : relative; text-align : center; width : 49 px ; }
17
+ .ui-datepicker-years > div > div { border-radius : 100 % ; border : 2 px solid transparent; display : inline-block; height : 40 px ; line-height : 36 px ; position : relative; width : 40 px ; }
18
+ .ui-datepicker-years > div : hover > div { border-color : # E0E0E0 ; color : # 000 ; }
19
+ .ui-datepicker-header { border-bottom : 1px solid # E0E0E0 ; font-size : 14 px ; height : 35 px ; text-align : center ; }
20
+ .ui-datepicker-prev { color : # 000 ; cursor : pointer; float : left; line-height : 34 px ; width : 34 px ; }
21
+ .ui-datepicker-next { color : # 000 ; cursor : pointer; float : right; line-height : 34 px ; width : 34 px ; }
22
+ .ui-datepicker-prev : hover , .ui-datepicker-next : hover { background-color : # F0F0F0 ; }
23
+ .ui-datepicker-info { line-height : 34px ; margin : 0 34px ; }
24
24
.ui-datepicker-info > span { cursor : pointer; }
25
- .ui-datepicker-info > span : hover { color : # 000 ; }
25
+ .ui-datepicker-info > span : hover { color : # 000 ; }
26
26
.ui-datepicker-info .ui-datepicker-year { margin-left : 5px ; }
27
- .ui-datepicker-week > div , .ui-datepicker-days > div { width : 35px ; height : 35px ; line-height : 35px ; position : relative; display : inline-block; vertical-align : middle; text-align : center; }
28
- .ui-datepicker-week > div { height : 25px ; line-height : 25px ; font-weight : bold; color : # 000 ; border-bottom : 1px solid # E0E0E0 ; }
29
- .ui-datepicker-days > div { font-size : 11px ; cursor : pointer; }
30
- .ui-datepicker-date : hover > div { border-color : # E0E0E0 ; color : # 000 ; }
31
- .ui-datepicker-selected : hover > div { border-color : var (--color ); color : # FFF ; }
32
- .ui-datepicker-days > div > div { width : 28px ; height : 28px ; line-height : 24px ; border-radius : 100% ; margin : 0 auto; position : relative; display : inline-block; border : 2px solid transparent; }
27
+ .ui-datepicker-week > div , .ui-datepicker-days > div { display : inline-block; height : 35px ; line-height : 35px ; position : relative; text-align : center; vertical-align : middle; width : 35px ; }
28
+ .ui-datepicker-week > div { border-bottom : 1px solid # E0E0E0 ; color : # 000 ; font-weight : bold; height : 25px ; line-height : 25px ; }
29
+ .ui-datepicker-days > div { cursor : pointer; font-size : 11px ; }
30
+ .ui-datepicker-date : hover > div { border-color : # E0E0E0 ; color : # 000 ; }
31
+ .ui-datepicker-selected : hover > div { border-color : var (--color ); color : # FFF ; }
32
+ .ui-datepicker-days > div > div { border-radius : 100% ; border : 2px solid transparent; display : inline-block; height : 28px ; line-height : 24px ; margin : 0 auto; position : relative; width : 28px ; }
33
+ .ui-datepicker-time { align-items : center; background-color : white; border-top : 1px solid # E0E0E0 ; display : flex; justify-content : center; padding : 10px ; }
34
+ .ui-datepicker-time .ti-clock { margin-right : 32px ; }
35
+ .ui-datepicker-select-wrapper { border-radius : 3px ; border : 1px solid # E0E0E0 ; gap : 0 ; overflow : hidden; transform : translateX (-22px ); }
36
+ .ui-datepicker-select-wrapper .col-2 { columns : 2 ; }
37
+ .ui-datepicker-select-wrapper .col-3 { columns : 3 ; }
38
+ .ui-datepicker-time select { -moz-appearance : none; -webkit-appearance : none; appearance : none; background : none; border-radius : 0 ; border : none; color : inherit; color : # 000 ; font : inherit; margin : 0 ; outline : none; padding : 0 ; padding : 5px 10px ; width : 100% ; }
39
+ .ui-datepicker-selecticon { position : relative; width : 50px ; }
40
+ .ui-datepicker-selecticon i { pointer-events : none; position : absolute; right : 8px ; top : 50% ; transform : translateY (-50% ); }
41
+ .ui-datepicker-select-wrapper > .ui-datepicker-selecticon : first-of-type :: after { content : ': ' ; position : absolute; right : -1px ; top : 4px ; }
42
+ .ui-datepicker-selecticon .ampm :: after { content : ': ' ; left : -1px ; position : absolute; top : 4px ; }
33
43
34
44
.ui-dark .ui-datepicker { background-color : # 282828 ; border-color : # 404040 ; color : gray; }
35
45
.ui-dark .ui-datepicker-disabled { color : # 505050 !important ; }
36
- .ui-dark .ui-datepicker-footer { border-top- color: # 404040 ; background- color: # 303030 ; }
37
- .ui-dark .ui-datepicker-now , .ui-dark .ui-datepicker-clear { color : # FFF ; }
46
+ .ui-dark .ui-datepicker-footer { background- color: # 303030 ; border-top- color: # 404040 ; }
47
+ .ui-dark .ui-datepicker-now , .ui-dark .ui-datepicker-clear { color : # FFF ; }
38
48
.ui-dark .ui-datepicker-day-today div { background-color : # 353535 ; }
39
49
.ui-dark .ui-datepicker-selected div { background-color : var (--color ); color : # FFF ; }
40
50
.ui-dark .ui-datepicker-date i { color : red; }
41
- .ui-dark .ui-datepicker-months > div : hover > div { border-color : # 505050 ; color : # FFF ; }
42
- .ui-dark .ui-datepicker-years > div : hover > div { border-color : # 505050 ; color : # FFF ; }
51
+ .ui-dark .ui-datepicker-months > div : hover > div { border-color : # 505050 ; color : # FFF ; }
52
+ .ui-dark .ui-datepicker-years > div : hover > div { border-color : # 505050 ; color : # FFF ; }
43
53
.ui-dark .ui-datepicker-header { border-bottom-color : # 404040 ; }
44
54
.ui-dark .ui-datepicker-prev { color : # FFF ; }
45
55
.ui-dark .ui-datepicker-next { color : # FFF ; }
46
- .ui-dark .ui-datepicker-prev : hover , .ui-dark .ui-datepicker-next : hover { background-color : # 303030 ; }
47
- .ui-dark .ui-datepicker-info > span : hover { color : # FFF ; }
48
- .ui-dark .ui-datepicker-week > div { color : # FFF ; border-bottom- color: # 404040 ; }
49
- .ui-dark .ui-datepicker-date : hover > div { border-color : # 505050 ; color : # FFF ; }
50
- .ui-dark .ui-datepicker-selected : hover > div { border-color : var (--color ); color : # FFF ; }
56
+ .ui-dark .ui-datepicker-prev : hover , .ui-dark .ui-datepicker-next : hover { background-color : # 303030 ; }
57
+ .ui-dark .ui-datepicker-info > span : hover { color : # FFF ; }
58
+ .ui-dark .ui-datepicker-week > div { border-bottom- color: # 404040 ; color : # FFF ; }
59
+ .ui-dark .ui-datepicker-date : hover > div { border-color : # 505050 ; color : # FFF ; }
60
+ .ui-dark .ui-datepicker-selected : hover > div { border-color : var (--color ); color : # FFF ; }
0 commit comments