@agorapulse/ui-theme 0.0.3 → 1.0.0-SNAPSHOT
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/agorapulse-ui-theme-1.0.0-SNAPSHOT.tgz +0 -0
- package/assets/desktop_variables.css +616 -0
- package/assets/mobile_variables.css +616 -0
- package/assets/style/_colors.scss +84 -78
- package/assets/style/_font-face.scss +15 -10
- package/assets/style/_helpers.scss +5 -3
- package/assets/style/_input.scss +52 -0
- package/assets/style/_link.scss +70 -0
- package/assets/style/_mat-typography.scss +45 -48
- package/assets/style/_select.scss +631 -0
- package/assets/style/_tooltip.scss +138 -0
- package/assets/style/_variables.scss +11 -12
- package/assets/style/components-custom-style/_clickable-text.scss +1 -1
- package/assets/style/components-custom-style/_form.scss +17 -18
- package/assets/style/components-custom-style/_input.scss +38 -38
- package/assets/style/components-custom-style/_mat-button-toggle-group.scss +8 -12
- package/assets/style/components-custom-style/_mat-button.scss +243 -49
- package/assets/style/components-custom-style/_mat-dialog.scss +6 -5
- package/assets/style/components-custom-style/_mat-expansion-panel.scss +8 -9
- package/assets/style/components-custom-style/_mat-list.scss +4 -4
- package/assets/style/components-custom-style/_mat-menu.scss +44 -33
- package/assets/style/components-custom-style/_mat-table.scss +3 -0
- package/assets/style/components-custom-style/_ng-select.scss +57 -5
- package/assets/style/theme.scss +43 -18
- package/package.json +23 -18
- package/src/README.md +42 -0
- package/src/build.js +6 -0
- package/src/desktop_config.js +18 -0
- package/src/mobile_config.js +18 -0
- package/src/tokens/components/badge.json +53 -0
- package/src/tokens/components/button.json +37 -0
- package/src/tokens/components/counter.json +108 -0
- package/src/tokens/components/dot-stepper.json +52 -0
- package/src/tokens/components/icon-button.json +18 -0
- package/src/tokens/components/infobox.json +139 -0
- package/src/tokens/components/input.json +304 -0
- package/src/tokens/components/label.json +56 -0
- package/src/tokens/components/link.json +127 -0
- package/src/tokens/components/radio.json +11 -0
- package/src/tokens/components/select.json +279 -0
- package/src/tokens/components/snackbar.json +71 -0
- package/src/tokens/components/split-button.json +34 -0
- package/src/tokens/components/status-card.json +187 -0
- package/src/tokens/components/status.json +120 -0
- package/src/tokens/components/tag.json +194 -0
- package/src/tokens/components/tooltip.json +36 -0
- package/src/tokens/reference/animation.json +18 -0
- package/src/tokens/reference/border-radius.json +15 -0
- package/src/tokens/reference/color.json +151 -0
- package/src/tokens/reference/font.json +69 -0
- package/src/tokens/reference/spacing.json +33 -0
- package/src/tokens/reference/transition.json +9 -0
- package/src/tokens/system/border.json +28 -0
- package/src/tokens/system/color.json +198 -0
- package/src/tokens/system/desktop/button.json +9 -0
- package/src/tokens/system/desktop/icon-button.json +15 -0
- package/src/tokens/system/icon.json +12 -0
- package/src/tokens/system/mobile/button.json +9 -0
- package/src/tokens/system/mobile/icon-button.json +15 -0
- package/src/tokens/system/radio.json +11 -0
- package/src/tokens/system/text.json +173 -0
- package/agorapulse-ui-theme-0.0.3.tgz +0 -0
- package/assets/style/_grid.scss +0 -166
- package/assets/style/components-custom-style/_mat-checkbox.scss +0 -103
- package/assets/style/components-custom-style/_mat-radio-button.scss +0 -86
- package/assets/style/components-custom-style/_mat-slide-toggle.scss +0 -45
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
{
|
|
2
|
+
"sys": {
|
|
3
|
+
"text": {
|
|
4
|
+
"color": {
|
|
5
|
+
"default": {
|
|
6
|
+
"value": "{ref.color.grey.100}"
|
|
7
|
+
},
|
|
8
|
+
"light": {
|
|
9
|
+
"value": "{ref.color.grey.80}"
|
|
10
|
+
},
|
|
11
|
+
"error": {
|
|
12
|
+
"value": "{ref.color.red.100}"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"style": {
|
|
16
|
+
"h0": {
|
|
17
|
+
"font-family": {
|
|
18
|
+
"value": "{ref.font.family}"
|
|
19
|
+
},
|
|
20
|
+
"size": {
|
|
21
|
+
"value": "{ref.font.size.xl}"
|
|
22
|
+
},
|
|
23
|
+
"weight": {
|
|
24
|
+
"value": "{ref.font.weight.black}"
|
|
25
|
+
},
|
|
26
|
+
"line-height": {
|
|
27
|
+
"value": "{ref.font.lineHeight.xxl}"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"marketing": {
|
|
31
|
+
"font-family": {
|
|
32
|
+
"value": "{ref.font.family}"
|
|
33
|
+
},
|
|
34
|
+
"size": {
|
|
35
|
+
"value": "{ref.font.size.xxl}"
|
|
36
|
+
},
|
|
37
|
+
"weight": {
|
|
38
|
+
"value": "{ref.font.weight.extraBold}"
|
|
39
|
+
},
|
|
40
|
+
"line-height": {
|
|
41
|
+
"value": "{ref.font.lineHeight.xxl}"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"h1": {
|
|
45
|
+
"font-family": {
|
|
46
|
+
"value": "{ref.font.family}"
|
|
47
|
+
},
|
|
48
|
+
"size": {
|
|
49
|
+
"value": "{ref.font.size.xxl}"
|
|
50
|
+
},
|
|
51
|
+
"weight": {
|
|
52
|
+
"value": "{ref.font.weight.bold}"
|
|
53
|
+
},
|
|
54
|
+
"line-height": {
|
|
55
|
+
"value": "{ref.font.lineHeight.xl}"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"h2": {
|
|
59
|
+
"font-family": {
|
|
60
|
+
"value": "{ref.font.family}"
|
|
61
|
+
},
|
|
62
|
+
"size": {
|
|
63
|
+
"value": "{ref.font.size.lg}"
|
|
64
|
+
},
|
|
65
|
+
"weight": {
|
|
66
|
+
"value": "{ref.font.weight.bold}"
|
|
67
|
+
},
|
|
68
|
+
"line-height": {
|
|
69
|
+
"value": "{ref.font.lineHeight.lg}"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"subtitle": {
|
|
73
|
+
"font-family": {
|
|
74
|
+
"value": "{ref.font.family}"
|
|
75
|
+
},
|
|
76
|
+
"size": {
|
|
77
|
+
"value": "{ref.font.size.md}"
|
|
78
|
+
},
|
|
79
|
+
"weight": {
|
|
80
|
+
"value": "{ref.font.weight.regular}"
|
|
81
|
+
},
|
|
82
|
+
"line-height": {
|
|
83
|
+
"value": "{ref.font.lineHeight.md}"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"h3": {
|
|
87
|
+
"font-family": {
|
|
88
|
+
"value": "{ref.font.family}"
|
|
89
|
+
},
|
|
90
|
+
"size": {
|
|
91
|
+
"value": "{ref.font.size.md}"
|
|
92
|
+
},
|
|
93
|
+
"weight": {
|
|
94
|
+
"value": "{ref.font.weight.bold}"
|
|
95
|
+
},
|
|
96
|
+
"line-height": {
|
|
97
|
+
"value": "{ref.font.lineHeight.lg}"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"h4": {
|
|
101
|
+
"font-family": {
|
|
102
|
+
"value": "{ref.font.family}"
|
|
103
|
+
},
|
|
104
|
+
"size": {
|
|
105
|
+
"value": "{ref.font.size.sm}"
|
|
106
|
+
},
|
|
107
|
+
"weight": {
|
|
108
|
+
"value": "{ref.font.weight.bold}"
|
|
109
|
+
},
|
|
110
|
+
"line-height": {
|
|
111
|
+
"value": "{ref.font.lineHeight.md}"
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"body": {
|
|
115
|
+
"font-family": {
|
|
116
|
+
"value": "{ref.font.family}"
|
|
117
|
+
},
|
|
118
|
+
"size": {
|
|
119
|
+
"value": "{ref.font.size.sm}"
|
|
120
|
+
},
|
|
121
|
+
"weight": {
|
|
122
|
+
"value": "{ref.font.weight.regular}"
|
|
123
|
+
},
|
|
124
|
+
"line-height": {
|
|
125
|
+
"value": "{ref.font.lineHeight.sm}"
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"bodyBold": {
|
|
129
|
+
"font-family": {
|
|
130
|
+
"value": "{ref.font.family}"
|
|
131
|
+
},
|
|
132
|
+
"size": {
|
|
133
|
+
"value": "{ref.font.size.sm}"
|
|
134
|
+
},
|
|
135
|
+
"weight": {
|
|
136
|
+
"value": "{ref.font.weight.bold}"
|
|
137
|
+
},
|
|
138
|
+
"line-height": {
|
|
139
|
+
"value": "{ref.font.lineHeight.sm}"
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"caption": {
|
|
143
|
+
"font-family": {
|
|
144
|
+
"value": "{ref.font.family}"
|
|
145
|
+
},
|
|
146
|
+
"size": {
|
|
147
|
+
"value": "{ref.font.size.xs}"
|
|
148
|
+
},
|
|
149
|
+
"weight": {
|
|
150
|
+
"value": "{ref.font.weight.regular}"
|
|
151
|
+
},
|
|
152
|
+
"line-height": {
|
|
153
|
+
"value": "{ref.font.lineHeight.xs}"
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
"captionBold": {
|
|
157
|
+
"font-family": {
|
|
158
|
+
"value": "{ref.font.family}"
|
|
159
|
+
},
|
|
160
|
+
"size": {
|
|
161
|
+
"value": "{ref.font.size.xs}"
|
|
162
|
+
},
|
|
163
|
+
"weight": {
|
|
164
|
+
"value": "{ref.font.weight.bold}"
|
|
165
|
+
},
|
|
166
|
+
"line-height": {
|
|
167
|
+
"value": "{ref.font.lineHeight.xs}"
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
Binary file
|
package/assets/style/_grid.scss
DELETED
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Grid, mostly from https://materializecss.com/grid.html
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
@use "sass:math";
|
|
6
|
-
|
|
7
|
-
body {
|
|
8
|
-
margin : 0 !important;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.container {
|
|
12
|
-
margin: 0 auto;
|
|
13
|
-
max-width: 1280px;
|
|
14
|
-
width: 90%;
|
|
15
|
-
}
|
|
16
|
-
@media #{$medium-and-up} {
|
|
17
|
-
.container {
|
|
18
|
-
width: 85%;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
@media #{$large-and-up} {
|
|
22
|
-
.container {
|
|
23
|
-
width: 70%;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
.col .row {
|
|
27
|
-
margin-left: (-1 * $gutter-width * 0.5);
|
|
28
|
-
margin-right: (-1 * $gutter-width * 0.5);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.section {
|
|
32
|
-
padding-top: 1rem;
|
|
33
|
-
padding-bottom: 1rem;
|
|
34
|
-
|
|
35
|
-
&.no-pad {
|
|
36
|
-
padding: 0;
|
|
37
|
-
}
|
|
38
|
-
&.no-pad-bot {
|
|
39
|
-
padding-bottom: 0;
|
|
40
|
-
}
|
|
41
|
-
&.no-pad-top {
|
|
42
|
-
padding-top: 0;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
// Mixins to eliminate code repitition
|
|
48
|
-
@mixin reset-offset {
|
|
49
|
-
margin-left: auto;
|
|
50
|
-
left: auto;
|
|
51
|
-
right: auto;
|
|
52
|
-
}
|
|
53
|
-
@mixin grid-classes($size, $i, $perc) {
|
|
54
|
-
&.offset-#{$size}#{$i} {
|
|
55
|
-
margin-left: $perc;
|
|
56
|
-
}
|
|
57
|
-
&.pull-#{$size}#{$i} {
|
|
58
|
-
right: $perc;
|
|
59
|
-
}
|
|
60
|
-
&.push-#{$size}#{$i} {
|
|
61
|
-
left: $perc;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
.row {
|
|
67
|
-
margin-left: auto;
|
|
68
|
-
margin-right: auto;
|
|
69
|
-
margin-bottom: 20px;
|
|
70
|
-
|
|
71
|
-
// Clear floating children
|
|
72
|
-
&:after {
|
|
73
|
-
content: "";
|
|
74
|
-
display: table;
|
|
75
|
-
clear: both;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.col {
|
|
79
|
-
float: left;
|
|
80
|
-
box-sizing: border-box;
|
|
81
|
-
padding: 0 $gutter-width * 0.5;
|
|
82
|
-
min-height: 1px;
|
|
83
|
-
|
|
84
|
-
&[class*="push-"],
|
|
85
|
-
&[class*="pull-"] {
|
|
86
|
-
position: relative;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
$i: 1;
|
|
90
|
-
@while $i <= $num-cols {
|
|
91
|
-
$perc: unquote(math.div(100, math.div($num-cols, $i)) + "%");
|
|
92
|
-
&.s#{$i} {
|
|
93
|
-
width: $perc;
|
|
94
|
-
@include reset-offset;
|
|
95
|
-
}
|
|
96
|
-
$i: $i + 1;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
$i: 1;
|
|
100
|
-
@while $i <= $num-cols {
|
|
101
|
-
$perc: unquote(math.div(100, math.div($num-cols, $i)) + "%");
|
|
102
|
-
@include grid-classes("s", $i, $perc);
|
|
103
|
-
$i: $i + 1;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
@media #{$medium-and-up} {
|
|
107
|
-
|
|
108
|
-
$i: 1;
|
|
109
|
-
@while $i <= $num-cols {
|
|
110
|
-
$perc: unquote(math.div(100, math.div($num-cols, $i)) + "%");
|
|
111
|
-
&.m#{$i} {
|
|
112
|
-
width: $perc;
|
|
113
|
-
@include reset-offset;
|
|
114
|
-
}
|
|
115
|
-
$i: $i + 1
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
$i: 1;
|
|
119
|
-
@while $i <= $num-cols {
|
|
120
|
-
$perc: unquote(math.div(100, math.div($num-cols, $i)) + "%");
|
|
121
|
-
@include grid-classes("m", $i, $perc);
|
|
122
|
-
$i: $i + 1;
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
@media #{$large-and-up} {
|
|
127
|
-
|
|
128
|
-
$i: 1;
|
|
129
|
-
@while $i <= $num-cols {
|
|
130
|
-
$perc: unquote(math.div(100, math.div($num-cols, $i)) + "%");
|
|
131
|
-
&.l#{$i} {
|
|
132
|
-
width: $perc;
|
|
133
|
-
@include reset-offset;
|
|
134
|
-
}
|
|
135
|
-
$i: $i + 1;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
$i: 1;
|
|
139
|
-
@while $i <= $num-cols {
|
|
140
|
-
$perc: unquote(math.div(100, math.div($num-cols, $i)) + "%");
|
|
141
|
-
@include grid-classes("l", $i, $perc);
|
|
142
|
-
$i: $i + 1;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
@media #{$extra-large-and-up} {
|
|
147
|
-
|
|
148
|
-
$i: 1;
|
|
149
|
-
@while $i <= $num-cols {
|
|
150
|
-
$perc: unquote(math.div(100, math.div($num-cols, $i)) + "%");
|
|
151
|
-
&.xl#{$i} {
|
|
152
|
-
width: $perc;
|
|
153
|
-
@include reset-offset;
|
|
154
|
-
}
|
|
155
|
-
$i: $i + 1;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
$i: 1;
|
|
159
|
-
@while $i <= $num-cols {
|
|
160
|
-
$perc: unquote(math.div(100, math.div($num-cols, $i)) + "%");
|
|
161
|
-
@include grid-classes("xl", $i, $perc);
|
|
162
|
-
$i: $i + 1;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
@import '../variables';
|
|
2
|
-
|
|
3
|
-
@mixin checkbox-state-style($color) {
|
|
4
|
-
.mat-checkbox-frame {
|
|
5
|
-
border-color:$color;
|
|
6
|
-
}
|
|
7
|
-
&.mat-checkbox-checked {
|
|
8
|
-
.mat-checkbox-background {
|
|
9
|
-
background-color: $color !important;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.mat-checkbox {
|
|
15
|
-
margin-right: $padding-m;
|
|
16
|
-
.mat-checkbox-frame {
|
|
17
|
-
background-color: white;
|
|
18
|
-
border-color: $form-control-default-border-color;
|
|
19
|
-
border-radius: $border-radius;
|
|
20
|
-
border-width: 1px;
|
|
21
|
-
}
|
|
22
|
-
.mat-checkbox-background {
|
|
23
|
-
border-radius: $border-radius;
|
|
24
|
-
.mat-checkbox-checkmark-path {
|
|
25
|
-
stroke-width: 4px;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
.mat-checkbox-checkmark {
|
|
29
|
-
height: 10px;
|
|
30
|
-
top: 2px;
|
|
31
|
-
}
|
|
32
|
-
.mat-checkbox-layout {
|
|
33
|
-
align-items: center;
|
|
34
|
-
|
|
35
|
-
.mat-checkbox-label {
|
|
36
|
-
display: flex;
|
|
37
|
-
color: $form-control-default-font-color;
|
|
38
|
-
line-height: $font-line-height;
|
|
39
|
-
font-size: $font-size;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
// Hover
|
|
43
|
-
/* Does not work?
|
|
44
|
-
&:hover {
|
|
45
|
-
.mat-checkbox-frame {
|
|
46
|
-
color: $form-control-hover-border-color !important;
|
|
47
|
-
}
|
|
48
|
-
}*/
|
|
49
|
-
// Checked
|
|
50
|
-
&.mat-checkbox-checked:not(.mat-checkbox-disabled) {
|
|
51
|
-
.mat-checkbox-background {
|
|
52
|
-
background-color: $form-control-selected-background-color !important;
|
|
53
|
-
}
|
|
54
|
-
.mat-checkbox-label {
|
|
55
|
-
color: $form-control-selected-font-color;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
// Disabled
|
|
59
|
-
&.mat-checkbox-disabled {
|
|
60
|
-
.mat-checkbox-background {
|
|
61
|
-
background-color: $form-control-disabled-background-color;
|
|
62
|
-
border: 1px solid $form-control-disabled-border-color;
|
|
63
|
-
}
|
|
64
|
-
.mat-checkbox-label {
|
|
65
|
-
color: $form-control-disabled-font-color;
|
|
66
|
-
}
|
|
67
|
-
&.mat-checkbox-checked {
|
|
68
|
-
.mat-checkbox-background {
|
|
69
|
-
background-color: $form-control-disabled-selected-background-color !important;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
// Invalid
|
|
74
|
-
&.invalid:not(.mat-checkbox-disabled),
|
|
75
|
-
&.ng-invalid.ng-dirty.ng-touched:not([disabled]) {
|
|
76
|
-
@include checkbox-state-style($color-error);
|
|
77
|
-
}
|
|
78
|
-
// Valid
|
|
79
|
-
&.valid:not(.mat-checkbox-disabled) {
|
|
80
|
-
@include checkbox-state-style($color-success);
|
|
81
|
-
}
|
|
82
|
-
// Full width
|
|
83
|
-
&.full-width {
|
|
84
|
-
width: 100%;
|
|
85
|
-
margin: 0;
|
|
86
|
-
.mat-checkbox-layout {
|
|
87
|
-
display: flex;
|
|
88
|
-
justify-content: space-between;
|
|
89
|
-
.mat-checkbox-inner-container {
|
|
90
|
-
margin: 0;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
form.submitted {
|
|
97
|
-
.mat-checkbox {
|
|
98
|
-
// Invalid
|
|
99
|
-
&.ng-invalid {
|
|
100
|
-
@include checkbox-state-style($color-error);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
@import '../variables';
|
|
2
|
-
|
|
3
|
-
@mixin radio-button-state-style($color) {
|
|
4
|
-
.mat-radio-button:not(.mat-radio-disabled) {
|
|
5
|
-
.mat-radio-outer-circle {
|
|
6
|
-
border-color: $color;
|
|
7
|
-
}
|
|
8
|
-
&.mat-radio-checked {
|
|
9
|
-
.mat-radio-inner-circle {
|
|
10
|
-
background-color: $color;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.mat-radio-button {
|
|
17
|
-
margin-right: $padding-m;
|
|
18
|
-
.mat-radio-container {
|
|
19
|
-
height: 16px;
|
|
20
|
-
width: 16px;
|
|
21
|
-
.mat-radio-inner-circle {
|
|
22
|
-
border-color: $form-control-default-border-color;
|
|
23
|
-
left: -2px;
|
|
24
|
-
top: -2px;
|
|
25
|
-
}
|
|
26
|
-
.mat-radio-outer-circle {
|
|
27
|
-
border-color: $form-control-default-border-color;
|
|
28
|
-
border-width: 1px;
|
|
29
|
-
height: 16px;
|
|
30
|
-
width: 16px;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
.mat-radio-label-content {
|
|
34
|
-
color: $form-control-default-font-color;
|
|
35
|
-
}
|
|
36
|
-
// Checked
|
|
37
|
-
&.mat-radio-checked:not(.mat-radio-disabled) {
|
|
38
|
-
.mat-radio-container {
|
|
39
|
-
.mat-radio-outer-circle {
|
|
40
|
-
border-color: $form-control-selected-border-color;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
.mat-radio-label-content {
|
|
44
|
-
color: $form-control-selected-font-color;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
// Disabled
|
|
48
|
-
&.mat-radio-disabled {
|
|
49
|
-
.mat-radio-outer-circle {
|
|
50
|
-
background-color: $form-control-disabled-background-color;
|
|
51
|
-
border-color: $form-control-disabled-border-color;
|
|
52
|
-
}
|
|
53
|
-
&.mat-radio-checked {
|
|
54
|
-
.mat-radio-inner-circle {
|
|
55
|
-
background-color: $form-control-disabled-border-color;
|
|
56
|
-
}
|
|
57
|
-
.mat-radio-outer-circle {
|
|
58
|
-
border-color: $form-control-disabled-border-color;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
.mat-radio-label-content {
|
|
62
|
-
color: $form-control-disabled-font-color;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.mat-radio-group {
|
|
68
|
-
// Invalid
|
|
69
|
-
&.invalid,
|
|
70
|
-
&.ng-invalid.ng-touched {
|
|
71
|
-
@include radio-button-state-style($color-error);
|
|
72
|
-
}
|
|
73
|
-
// Valid
|
|
74
|
-
&.valid {
|
|
75
|
-
@include radio-button-state-style($color-success);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
form.submitted {
|
|
80
|
-
.mat-radio-group {
|
|
81
|
-
// Invalid
|
|
82
|
-
&.ng-invalid {
|
|
83
|
-
@include radio-button-state-style($color-error);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
@import '../variables';
|
|
2
|
-
|
|
3
|
-
.mat-slide-toggle {
|
|
4
|
-
.mat-slide-toggle-bar {
|
|
5
|
-
background-color: $form-control-default-background-color;
|
|
6
|
-
border-radius: 16px;
|
|
7
|
-
box-shadow: none;
|
|
8
|
-
height: 16px;
|
|
9
|
-
width: 32px;
|
|
10
|
-
.mat-slide-toggle-thumb-container {
|
|
11
|
-
top: 2px;
|
|
12
|
-
left: 2px;
|
|
13
|
-
.mat-slide-toggle-thumb {
|
|
14
|
-
background-color: $color-white;
|
|
15
|
-
box-shadow: none;
|
|
16
|
-
height: 12px;
|
|
17
|
-
width: 12px;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
.mat-slide-toggle-ripple {
|
|
22
|
-
display: none;
|
|
23
|
-
}
|
|
24
|
-
&.mat-disabled {
|
|
25
|
-
opacity: 1 !important;
|
|
26
|
-
.mat-slide-toggle-bar {
|
|
27
|
-
background-color: $form-control-disabled-selected-background-color;
|
|
28
|
-
}
|
|
29
|
-
.mat-slide-toggle-content {
|
|
30
|
-
color: $form-control-disabled-font-color;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
&.mat-checked {
|
|
34
|
-
.mat-slide-toggle-bar {
|
|
35
|
-
background-color: $form-control-selected-background-color;
|
|
36
|
-
.mat-slide-toggle-thumb-container {
|
|
37
|
-
top: 2px;
|
|
38
|
-
left: 2px;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
.mat-slide-toggle-content {
|
|
42
|
-
color: $form-control-selected-font-color;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|