File tree Expand file tree Collapse file tree 4 files changed +28
-19
lines changed Expand file tree Collapse file tree 4 files changed +28
-19
lines changed Original file line number Diff line number Diff line change 3
3
class ="dp-calendar-nav-left "
4
4
[hidden] ="!showLeftNav "
5
5
[disabled] ="leftNavDisabled "
6
- (click) ="leftNavClicked() "> <
6
+ (click) ="leftNavClicked() ">
7
7
</ button >
8
8
< span class ="dp-nav-header " [hidden] ="isLabelClickable "> {{label}}</ span >
9
9
< button type ="button "
16
16
class ="dp-calendar-nav-right "
17
17
[hidden] ="!showRightNav "
18
18
[disabled] ="rightNavDisabled "
19
- (click) ="rightNavClicked() "> >
19
+ (click) ="rightNavClicked() ">
20
20
</ button >
21
21
</ div >
Original file line number Diff line number Diff line change 21
21
top : 50% ;
22
22
transform : translateY (-50% );
23
23
cursor : pointer ;
24
+ .arrow (45deg );
25
+
26
+ & ::before {
27
+ top : 1px ;
28
+ }
24
29
}
25
30
26
31
.dp-calendar-nav-left {
27
- left : 0 ;
32
+ .arrow (-135deg );
33
+ left : 5px ;
28
34
}
29
35
30
36
.dp-calendar-nav-right {
31
- right : 0 ;
37
+ right : 5 px ;
32
38
}
33
39
34
40
.dp-nav-header {
72
78
}
73
79
}
74
80
}
75
- }
81
+ }
Original file line number Diff line number Diff line change 5
5
@c-primary : #106CC8 ;
6
6
@c-light-gray : #E0E0E0 ;
7
7
8
- @basic-height : 30px ;
8
+ @basic-height : 30px ;
9
+
10
+ .arrow (@deg ) {
11
+ & ::before {
12
+ position : relative ;
13
+ content : ' ' ;
14
+ display : inline-block ;
15
+ height : 8px ;
16
+ width : 8px ;
17
+ vertical-align : baseline ;
18
+ border-style : solid ;
19
+ border-width : 2px 2px 0 0 ;
20
+ transform : rotate (@deg);
21
+ }
22
+ }
Original file line number Diff line number Diff line change 14
14
margin : 0 auto ;
15
15
vertical-align : middle ;
16
16
font-size : inherit ;
17
- letter-spacing : 1.3 px ;
17
+ letter-spacing : 1 px ;
18
18
}
19
19
20
20
.dp-time-select-control-up , .dp-time-select-control-down {
24
24
height : 24px ;
25
25
margin : 3px auto ;
26
26
cursor : pointer ;
27
-
28
- & ::before {
29
- position : relative ;
30
- content : ' ' ;
31
- display : inline-block ;
32
- height : 8px ;
33
- width : 8px ;
34
- left : -1px ;
35
- vertical-align : baseline ;
36
- border-style : solid ;
37
- border-width : 2px 2px 0 0 ;
38
- }
27
+ .arrow (0deg )
39
28
}
40
29
41
30
.dp-time-select-control-up ::before {
You can’t perform that action at this time.
0 commit comments