File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
projects/components/src/toggle-switch Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 3
3
4
4
:host {
5
5
::ng- deep {
6
+ .mat- slide- toggle {
7
+ height : 20px ;
8
+ line-height : 20px ;
9
+ }
10
+
6
11
.mat-checked {
7
12
.mat-slide-toggle-thumb-container {
13
+ transform : translate3d (7px , 0 , 0 ) !important ;
8
14
margin-left : 1px ;
9
15
}
10
16
19
25
20
26
.mat-slide-toggle-thumb-container {
21
27
margin-left : -1px ;
28
+ width : 12px ;
29
+ height : 12px ;
30
+
31
+ .mat-slide-toggle-ripple {
32
+ top : calc (50% - 7px );
33
+ left : calc (50% - 7px );
34
+ height : 20px ;
35
+ width : 20px ;
36
+ }
22
37
}
23
38
24
39
.mat-slide-toggle-thumb {
25
40
background-color : $gray-2 ;
41
+ height : 12px ;
42
+ width : 12px ;
26
43
}
27
44
28
45
.mat-slide-toggle-bar {
29
46
background-color : $gray-5 ;
47
+ width : 18px ;
48
+ height : 6px ;
30
49
}
31
50
}
32
51
}
You can’t perform that action at this time.
0 commit comments