@tiba-spark/client-shared-lib 25.3.0-740 → 25.3.0-743
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,80 +1,44 @@
|
|
|
1
1
|
@use 'variables';
|
|
2
2
|
|
|
3
|
-
mat-slide-toggle.mat-slide-toggle {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
border-radius: 10px;
|
|
8
|
-
background-color: variables.$hover-background;
|
|
9
|
-
}
|
|
3
|
+
mat-slide-toggle.mat-mdc-slide-toggle {
|
|
4
|
+
--mdc-switch-track-width: 32px;
|
|
5
|
+
--mdc-switch-track-height: 15px;
|
|
6
|
+
--mdc-switch-track-shape: 10px;
|
|
10
7
|
|
|
11
|
-
.mat-slide-toggle-
|
|
12
|
-
|
|
13
|
-
background-color: #fafafa;
|
|
8
|
+
&:not(.mat-mdc-slide-toggle-checked) {
|
|
9
|
+
--mdc-switch-state-layer-size: 0;
|
|
14
10
|
}
|
|
11
|
+
}
|
|
15
12
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
box-shadow: 0px 2px 3px -1px rgb(0 0 0 / 40%), 0 1px 1px 0 rgb(0 0 0 / 14%), 0 1px 3px 0 rgb(0 0 0 / 12%);
|
|
23
|
-
background-color: #ffffff;
|
|
24
|
-
}
|
|
13
|
+
.mat-mdc-slide-toggle.toggle-label {
|
|
14
|
+
--mat-switch-with-icon-handle-size: 22px;
|
|
15
|
+
--mdc-switch-track-height: 22px;
|
|
16
|
+
--mat-switch-label-text-color: #{variables.$secondary-text-color};
|
|
17
|
+
--mdc-switch-track-width: 58px;
|
|
18
|
+
--mdc-switch-track-height: 22px;
|
|
25
19
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
20
|
+
&.mat-mdc-slide-toggle-checked {
|
|
21
|
+
--mat-switch-label-text-color: #{variables.$white-color};
|
|
29
22
|
}
|
|
30
|
-
}
|
|
31
23
|
|
|
32
|
-
|
|
33
|
-
margin: 0 15px 0 5px;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.mat-slide-toggle.toggle-label {
|
|
37
|
-
.mat-slide-toggle-content {
|
|
24
|
+
.mdc-switch {
|
|
38
25
|
position: absolute;
|
|
39
|
-
width:
|
|
26
|
+
width: 60px;
|
|
40
27
|
height: 22px;
|
|
41
28
|
}
|
|
42
29
|
|
|
43
30
|
.toggle-label {
|
|
44
31
|
position: relative;
|
|
45
32
|
left: 5px;
|
|
46
|
-
top:
|
|
33
|
+
top: 0px;
|
|
47
34
|
font-size: 13px;
|
|
48
35
|
font-weight: 300;
|
|
49
|
-
color: variables.$white-color;
|
|
50
|
-
display: flex;
|
|
51
|
-
justify-content: center;
|
|
52
36
|
width: 30px;
|
|
53
37
|
|
|
54
38
|
&.off {
|
|
55
|
-
|
|
56
|
-
left: 25px;
|
|
39
|
+
left: 28px;
|
|
57
40
|
}
|
|
58
41
|
}
|
|
59
|
-
|
|
60
|
-
.mat-slide-toggle-thumb-container {
|
|
61
|
-
transform: translate3d(0, 3px, 0);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
&.mat-checked .mat-slide-toggle-thumb-container {
|
|
65
|
-
transform: translate3d(37px, 3px, 0);
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.mat-slide-toggle-bar {
|
|
70
|
-
width: 58px;
|
|
71
|
-
height: 22px;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.mat-slide-toggle-thumb {
|
|
75
|
-
width: 22px;
|
|
76
|
-
height: 22px;
|
|
77
|
-
}
|
|
78
42
|
}
|
|
79
43
|
|
|
80
44
|
.mat-mdc-slide-toggle.mat-accent {
|
|
@@ -96,6 +60,7 @@ mat-slide-toggle.mat-slide-toggle.fa2-toggle {
|
|
|
96
60
|
--mdc-switch-unselected-hover-handle-color: #{variables.$white-color};
|
|
97
61
|
--mdc-switch-unselected-pressed-handle-color: #{variables.$white-color};
|
|
98
62
|
--mdc-switch-unselected-focus-handle-color: #{variables.$white-color};
|
|
63
|
+
--mdc-switch-unselected-track-color: #{variables.$hover-background};
|
|
99
64
|
}
|
|
100
65
|
|
|
101
66
|
.tb-table .tb-action-disabled {
|