@unifiedsoftware/styles 1.0.71 → 1.1.1
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/css/fci.css +176 -12
- package/css/fci.min.css +1 -1
- package/css/styles.css +253 -12
- package/css/styles.min.css +1 -1
- package/package.json +1 -1
- package/scss/components/_checkbox.scss +121 -0
- package/scss/components/_index.scss +2 -0
- package/scss/components/_input.scss +1 -0
- package/scss/components/_radio.scss +118 -0
- package/scss/components/_switch.scss +48 -13
- package/scss/components/_tabs.scss +36 -1
- package/scss/themes/fci/_tokens.scss +2 -0
- package/scss/themes/fci/components/_button.scss +0 -3
- package/scss/themes/fci/components/_checkbox.scss +89 -0
- package/scss/themes/fci/components/_index.scss +2 -0
- package/scss/themes/fci/components/_radio.scss +89 -0
- package/scss/themes/fci/components/_switch.scss +73 -10
- package/scss/themes/fci/components/_tabs.scss +4 -0
|
@@ -2,18 +2,81 @@
|
|
|
2
2
|
|
|
3
3
|
.#{$prefix}theme-fci {
|
|
4
4
|
.#{$prefix}switch {
|
|
5
|
-
--#{$prefix}switch-
|
|
6
|
-
--#{$prefix}switch-
|
|
7
|
-
--#{$prefix}switch-
|
|
8
|
-
|
|
9
|
-
--#{$prefix}switch-
|
|
10
|
-
--#{$prefix}switch-thumb-
|
|
11
|
-
--#{$prefix}switch-thumb-height: 1rem;
|
|
5
|
+
--#{$prefix}switch-control-color: rgba(0, 0, 0, 0.2);
|
|
6
|
+
--#{$prefix}_checked-switch-control-color: var(--#{$prefix}primary-color);
|
|
7
|
+
--#{$prefix}_focus-switch-control-box-shadow: 0px 4px 8px rgba(var(--#{$prefix}primary-rgb) / 40%);
|
|
8
|
+
|
|
9
|
+
--#{$prefix}switch-thumb-width: 0.875rem;
|
|
10
|
+
--#{$prefix}switch-thumb-height: 0.875rem;
|
|
12
11
|
--#{$prefix}switch-thumb-border-radius: 9999px;
|
|
13
12
|
--#{$prefix}switch-thumb-color: var(--#{$prefix}white-color);
|
|
14
|
-
}
|
|
15
13
|
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
--#{$prefix}switch-control-border-radius: 9999px;
|
|
15
|
+
|
|
16
|
+
&--sm {
|
|
17
|
+
--#{$prefix}switch-gap: 0.375rem;
|
|
18
|
+
|
|
19
|
+
--#{$prefix}switch-control-width: 26px;
|
|
20
|
+
--#{$prefix}switch-control-height: 16px;
|
|
21
|
+
|
|
22
|
+
--#{$prefix}switch-thumb-width: 10px;
|
|
23
|
+
--#{$prefix}switch-thumb-height: 10px;
|
|
24
|
+
|
|
25
|
+
--#{$prefix}switch-label-font-size: 0.75rem;
|
|
26
|
+
|
|
27
|
+
& .#{$prefix}icon {
|
|
28
|
+
--#{$prefix}icon-font-size: 0.75rem;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&--md {
|
|
33
|
+
--#{$prefix}switch-gap: 0.5rem;
|
|
34
|
+
|
|
35
|
+
--#{$prefix}switch-control-width: 32px;
|
|
36
|
+
--#{$prefix}switch-control-height: 20px;
|
|
37
|
+
|
|
38
|
+
--#{$prefix}switch-thumb-width: 14px;
|
|
39
|
+
--#{$prefix}switch-thumb-height: 14px;
|
|
40
|
+
|
|
41
|
+
--#{$prefix}switch-label-font-size: 0.875rem;
|
|
42
|
+
|
|
43
|
+
& .#{$prefix}icon {
|
|
44
|
+
--#{$prefix}icon-font-size: 1rem;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&--lg {
|
|
49
|
+
--#{$prefix}switch-gap: 0.5rem;
|
|
50
|
+
|
|
51
|
+
--#{$prefix}switch-control-width: 40px;
|
|
52
|
+
--#{$prefix}switch-control-height: 24px;
|
|
53
|
+
|
|
54
|
+
--#{$prefix}switch-thumb-width: 18px;
|
|
55
|
+
--#{$prefix}switch-thumb-height: 18px;
|
|
56
|
+
|
|
57
|
+
--#{$prefix}switch-label-font-size: 1rem;
|
|
58
|
+
|
|
59
|
+
.#{$prefix}icon {
|
|
60
|
+
--#{$prefix}icon-font-size: 1.125rem;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&--light {
|
|
65
|
+
--#{$prefix}switch-control-color: rgba(0, 0, 0, 0.4);
|
|
66
|
+
--#{$prefix}_checked-switch-control-color: rgba(255, 255, 255, 0.2);
|
|
67
|
+
|
|
68
|
+
--#{$prefix}switch-thumb-color: var(--#{$prefix}white-color);
|
|
69
|
+
|
|
70
|
+
--#{$prefix}switch-label-color: var(--#{$prefix}white-color);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&--dark {
|
|
74
|
+
--#{$prefix}switch-control-color: rgba(0, 0, 0, 0.2);
|
|
75
|
+
--#{$prefix}_checked-switch-control-color: rgba(0, 0, 0, 0.8);
|
|
76
|
+
|
|
77
|
+
--#{$prefix}switch-thumb-color: var(--#{$prefix}white-color);
|
|
78
|
+
|
|
79
|
+
--#{$prefix}switch-label-color: var(--#{$prefix}black-color);
|
|
80
|
+
}
|
|
18
81
|
}
|
|
19
82
|
}
|
|
@@ -3,10 +3,14 @@
|
|
|
3
3
|
.#{$prefix}theme-fci {
|
|
4
4
|
.#{$prefix}tab {
|
|
5
5
|
--#{$prefix}tab-color: var(--#{$prefix}secondary-action-color);
|
|
6
|
+
--#{$prefix}tab-padding-y: 0px;
|
|
7
|
+
--#{$prefix}tab-padding-x: 16px;
|
|
6
8
|
--#{$prefix}tab-font-size: 0.8125rem;
|
|
7
9
|
--#{$prefix}tab-font-weight: 500;
|
|
8
10
|
--#{$prefix}tab-border-radius: 6px 6px 0px 0px;
|
|
9
11
|
|
|
12
|
+
--#{$prefix}tab-closable-color: var(--#{$prefix}secondary-action-color);
|
|
13
|
+
|
|
10
14
|
--#{$prefix}tab-indicator-color: var(--#{$prefix}primary-action-color);
|
|
11
15
|
--#{$prefix}tab-indicator-height: 3px;
|
|
12
16
|
--#{$prefix}tab-indicator-border-radius: 3px 3px 0px 0px;
|