@festo-ui/web-essentials 4.0.3-pre-20221213.1 → 5.0.0-dev.102
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/README.md +73 -73
- package/dist/css/festo-web-essentials.css +621 -3333
- package/dist/css/festo-web-essentials.css.map +1 -1
- package/dist/css/festo-web-essentials.min.css +3 -3
- package/dist/css/festo-web-essentials.min.css.map +1 -1
- package/dist/css/fonts/festo_icons-16.woff2 +0 -0
- package/dist/css/fonts/festo_icons-24.woff2 +0 -0
- package/dist/css/fonts/festo_icons-32.woff2 +0 -0
- package/dist/css/organisms/festo-web-essentials-organisms.css +11 -16
- package/dist/css/organisms/festo-web-essentials-organisms.css.map +1 -1
- package/dist/css/organisms/festo-web-essentials-organisms.min.css +2 -2
- package/dist/css/organisms/festo-web-essentials-organisms.min.css.map +1 -1
- package/dist/css/themes/flatpickr/festo.css +3 -18
- package/dist/css/themes/flatpickr/festo.css.map +1 -1
- package/dist/css/themes/flatpickr/festo.min.css +2 -2
- package/dist/css/themes/flatpickr/festo.min.css.map +1 -1
- package/dist/fonts/festo_icons-16.woff2 +0 -0
- package/dist/fonts/festo_icons-24.woff2 +0 -0
- package/dist/fonts/festo_icons-32.woff2 +0 -0
- package/dist/scss/_breadcrumb.scss +37 -37
- package/dist/scss/_button.scss +128 -128
- package/dist/scss/_cards.scss +98 -98
- package/dist/scss/_checkbox.scss +153 -153
- package/dist/scss/_chips.scss +145 -145
- package/dist/scss/_fonts.scss +59 -59
- package/dist/scss/_icons.scss +1524 -1446
- package/dist/scss/_loading-indicator.scss +176 -176
- package/dist/scss/_mixins.scss +2 -2
- package/dist/scss/_mobile-flyout.scss +108 -108
- package/dist/scss/_modal.scss +9 -8
- package/dist/scss/_navbar-menu.scss +351 -351
- package/dist/scss/_navbar.scss +258 -258
- package/dist/scss/_popover.scss +201 -201
- package/dist/scss/_progressbar.scss +67 -67
- package/dist/scss/_radio.scss +152 -152
- package/dist/scss/_root.scss +111 -111
- package/dist/scss/_search-input.scss +92 -92
- package/dist/scss/_select.scss +95 -95
- package/dist/scss/_stepper-horizontal.scss +127 -127
- package/dist/scss/_stepper-vertical.scss +121 -121
- package/dist/scss/_table.scss +150 -150
- package/dist/scss/_timepicker.scss +68 -68
- package/dist/scss/_tree.scss +211 -211
- package/dist/scss/_variables.scss +252 -252
- package/dist/scss/festo-web-essentials.scss +1 -1
- package/dist/scss/fonts/festo_icons-16.woff2 +0 -0
- package/dist/scss/fonts/festo_icons-24.woff2 +0 -0
- package/dist/scss/fonts/festo_icons-32.woff2 +0 -0
- package/dist/scss/organisms/_footer.scss +142 -142
- package/dist/scss/organisms/_header-slider.scss +153 -153
- package/dist/scss/organisms/_image-gallery.scss +257 -257
- package/dist/scss/organisms/_login.scss +59 -57
- package/dist/scss/organisms/_side-menu.scss +54 -54
- package/dist/scss/organisms/festo-web-essentials-organisms.scss +15 -15
- package/dist/scss/themes/flatpickr/festo.scss +834 -834
- package/package.json +88 -9
- package/scss/_breadcrumb.scss +37 -37
- package/scss/_button.scss +128 -128
- package/scss/_cards.scss +98 -98
- package/scss/_checkbox.scss +153 -153
- package/scss/_chips.scss +145 -145
- package/scss/_fonts.scss +59 -59
- package/scss/_icons.scss +1524 -1446
- package/scss/_loading-indicator.scss +176 -176
- package/scss/_mixins.scss +2 -2
- package/scss/_mobile-flyout.scss +108 -108
- package/scss/_modal.scss +9 -8
- package/scss/_navbar-menu.scss +351 -351
- package/scss/_navbar.scss +258 -258
- package/scss/_popover.scss +201 -201
- package/scss/_progressbar.scss +67 -67
- package/scss/_radio.scss +152 -152
- package/scss/_root.scss +111 -111
- package/scss/_search-input.scss +92 -92
- package/scss/_select.scss +95 -95
- package/scss/_stepper-horizontal.scss +127 -127
- package/scss/_stepper-vertical.scss +121 -121
- package/scss/_table.scss +150 -150
- package/scss/_timepicker.scss +68 -68
- package/scss/_tree.scss +211 -211
- package/scss/_variables.scss +252 -252
- package/scss/festo-web-essentials.scss +1 -1
- package/scss/organisms/_footer.scss +142 -142
- package/scss/organisms/_header-slider.scss +153 -153
- package/scss/organisms/_image-gallery.scss +257 -257
- package/scss/organisms/_login.scss +59 -57
- package/scss/organisms/_side-menu.scss +54 -54
- package/scss/organisms/festo-web-essentials-organisms.scss +15 -15
- package/scss/themes/flatpickr/festo.scss +834 -834
package/dist/scss/_checkbox.scss
CHANGED
|
@@ -1,153 +1,153 @@
|
|
|
1
|
-
$defaultHeight: 16px;
|
|
2
|
-
$defaultWidth: 16px;
|
|
3
|
-
$lgHeight: 24px;
|
|
4
|
-
$lgWidth: 24px;
|
|
5
|
-
|
|
6
|
-
%label-before {
|
|
7
|
-
flex-direction: row-reverse;
|
|
8
|
-
justify-content: flex-end;
|
|
9
|
-
|
|
10
|
-
.fwe-checkbox-label-content {
|
|
11
|
-
margin-left: 0px;
|
|
12
|
-
margin-right: 8px;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
%label-below {
|
|
17
|
-
flex-direction: column;
|
|
18
|
-
|
|
19
|
-
.fwe-checkbox-label-content {
|
|
20
|
-
margin: 8px 0px 0px 0px;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
%checkmark-lg {
|
|
25
|
-
height: $lgHeight;
|
|
26
|
-
width: $lgWidth;
|
|
27
|
-
border-radius: $border-radius-s;
|
|
28
|
-
@extend .fwe-icon-lg;
|
|
29
|
-
&:before {
|
|
30
|
-
left: -1px;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.fwe-checkbox-group {
|
|
35
|
-
display: flex;
|
|
36
|
-
flex-wrap: wrap;
|
|
37
|
-
justify-content: space-evenly;
|
|
38
|
-
|
|
39
|
-
&.fwe-checkbox-lg {
|
|
40
|
-
label.fwe-checkbox {
|
|
41
|
-
.fwe-checkbox-checkmark {
|
|
42
|
-
@extend %checkmark-lg;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
&.fwe-checkbox-label-before {
|
|
48
|
-
label.fwe-checkbox {
|
|
49
|
-
@extend %label-before;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&.fwe-checkbox-label-below {
|
|
54
|
-
label.fwe-checkbox {
|
|
55
|
-
@extend %label-below;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
label.fwe-checkbox {
|
|
61
|
-
cursor: pointer;
|
|
62
|
-
display: flex;
|
|
63
|
-
align-items: center;
|
|
64
|
-
white-space: nowrap;
|
|
65
|
-
vertical-align: middle;
|
|
66
|
-
width: 100%;
|
|
67
|
-
user-select: none;
|
|
68
|
-
|
|
69
|
-
.fwe-checkbox-checkmark {
|
|
70
|
-
box-sizing: border-box;
|
|
71
|
-
position: relative;
|
|
72
|
-
height: $defaultHeight;
|
|
73
|
-
width: $defaultWidth;
|
|
74
|
-
border: 1px solid $control-border;
|
|
75
|
-
background-color: $white;
|
|
76
|
-
border-radius: 2px;
|
|
77
|
-
font-size: $font-size-md;
|
|
78
|
-
@extend .fwe-icon;
|
|
79
|
-
@extend .fwe-icon-menu-check;
|
|
80
|
-
&:before {
|
|
81
|
-
display: none;
|
|
82
|
-
position: absolute;
|
|
83
|
-
color: $white;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
&.fwe-checkbox-lg {
|
|
88
|
-
.fwe-checkbox-checkmark {
|
|
89
|
-
@extend %checkmark-lg;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.fwe-checkbox-label-content {
|
|
94
|
-
line-height: 24px;
|
|
95
|
-
margin-left: 8px;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
&.fwe-checkbox-label-before {
|
|
99
|
-
@extend %label-before;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
&.fwe-checkbox-label-below {
|
|
103
|
-
@extend %label-below;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
input[type="checkbox"] {
|
|
107
|
-
position: absolute;
|
|
108
|
-
opacity: 0;
|
|
109
|
-
cursor: pointer;
|
|
110
|
-
|
|
111
|
-
&:hover ~ .fwe-checkbox-checkmark {
|
|
112
|
-
background-color: $control;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
&:active ~ .fwe-checkbox-checkmark {
|
|
116
|
-
background-color: $control-dark;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
&:checked ~ .fwe-checkbox-checkmark {
|
|
120
|
-
background-color: $hero;
|
|
121
|
-
border-color: $hero;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
&:hover:checked:not(:disabled) ~ .fwe-checkbox-checkmark {
|
|
125
|
-
background-color: $hero-dark;
|
|
126
|
-
border-color: $hero-dark;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
&:active:checked ~ .fwe-checkbox-checkmark {
|
|
130
|
-
background-color: $hero-darker;
|
|
131
|
-
border-color: $hero-darker;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
&:checked ~ .fwe-checkbox-checkmark:before {
|
|
135
|
-
display: block;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
&:disabled ~ .fwe-checkbox-checkmark {
|
|
139
|
-
background-color: $control-disabled;
|
|
140
|
-
border-color: $control-disabled;
|
|
141
|
-
cursor: not-allowed;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
&:disabled {
|
|
145
|
-
cursor: not-allowed;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
&:disabled ~ .fwe-checkbox-label-content {
|
|
149
|
-
color: $text-disabled;
|
|
150
|
-
cursor: not-allowed;
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
}
|
|
1
|
+
$defaultHeight: 16px;
|
|
2
|
+
$defaultWidth: 16px;
|
|
3
|
+
$lgHeight: 24px;
|
|
4
|
+
$lgWidth: 24px;
|
|
5
|
+
|
|
6
|
+
%label-before {
|
|
7
|
+
flex-direction: row-reverse;
|
|
8
|
+
justify-content: flex-end;
|
|
9
|
+
|
|
10
|
+
.fwe-checkbox-label-content {
|
|
11
|
+
margin-left: 0px;
|
|
12
|
+
margin-right: 8px;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
%label-below {
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
|
|
19
|
+
.fwe-checkbox-label-content {
|
|
20
|
+
margin: 8px 0px 0px 0px;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
%checkmark-lg {
|
|
25
|
+
height: $lgHeight;
|
|
26
|
+
width: $lgWidth;
|
|
27
|
+
border-radius: $border-radius-s;
|
|
28
|
+
@extend .fwe-icon-lg;
|
|
29
|
+
&:before {
|
|
30
|
+
left: -1px;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.fwe-checkbox-group {
|
|
35
|
+
display: flex;
|
|
36
|
+
flex-wrap: wrap;
|
|
37
|
+
justify-content: space-evenly;
|
|
38
|
+
|
|
39
|
+
&.fwe-checkbox-lg {
|
|
40
|
+
label.fwe-checkbox {
|
|
41
|
+
.fwe-checkbox-checkmark {
|
|
42
|
+
@extend %checkmark-lg;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&.fwe-checkbox-label-before {
|
|
48
|
+
label.fwe-checkbox {
|
|
49
|
+
@extend %label-before;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&.fwe-checkbox-label-below {
|
|
54
|
+
label.fwe-checkbox {
|
|
55
|
+
@extend %label-below;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
label.fwe-checkbox {
|
|
61
|
+
cursor: pointer;
|
|
62
|
+
display: flex;
|
|
63
|
+
align-items: center;
|
|
64
|
+
white-space: nowrap;
|
|
65
|
+
vertical-align: middle;
|
|
66
|
+
width: 100%;
|
|
67
|
+
user-select: none;
|
|
68
|
+
|
|
69
|
+
.fwe-checkbox-checkmark {
|
|
70
|
+
box-sizing: border-box;
|
|
71
|
+
position: relative;
|
|
72
|
+
height: $defaultHeight;
|
|
73
|
+
width: $defaultWidth;
|
|
74
|
+
border: 1px solid $control-border;
|
|
75
|
+
background-color: $white;
|
|
76
|
+
border-radius: 2px;
|
|
77
|
+
font-size: $font-size-md;
|
|
78
|
+
@extend .fwe-icon;
|
|
79
|
+
@extend .fwe-icon-menu-check;
|
|
80
|
+
&:before {
|
|
81
|
+
display: none;
|
|
82
|
+
position: absolute;
|
|
83
|
+
color: $white;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&.fwe-checkbox-lg {
|
|
88
|
+
.fwe-checkbox-checkmark {
|
|
89
|
+
@extend %checkmark-lg;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.fwe-checkbox-label-content {
|
|
94
|
+
line-height: 24px;
|
|
95
|
+
margin-left: 8px;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&.fwe-checkbox-label-before {
|
|
99
|
+
@extend %label-before;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
&.fwe-checkbox-label-below {
|
|
103
|
+
@extend %label-below;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
input[type="checkbox"] {
|
|
107
|
+
position: absolute;
|
|
108
|
+
opacity: 0;
|
|
109
|
+
cursor: pointer;
|
|
110
|
+
|
|
111
|
+
&:hover ~ .fwe-checkbox-checkmark {
|
|
112
|
+
background-color: $control;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
&:active ~ .fwe-checkbox-checkmark {
|
|
116
|
+
background-color: $control-dark;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
&:checked ~ .fwe-checkbox-checkmark {
|
|
120
|
+
background-color: $hero;
|
|
121
|
+
border-color: $hero;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&:hover:checked:not(:disabled) ~ .fwe-checkbox-checkmark {
|
|
125
|
+
background-color: $hero-dark;
|
|
126
|
+
border-color: $hero-dark;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
&:active:checked ~ .fwe-checkbox-checkmark {
|
|
130
|
+
background-color: $hero-darker;
|
|
131
|
+
border-color: $hero-darker;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
&:checked ~ .fwe-checkbox-checkmark:before {
|
|
135
|
+
display: block;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
&:disabled ~ .fwe-checkbox-checkmark {
|
|
139
|
+
background-color: $control-disabled;
|
|
140
|
+
border-color: $control-disabled;
|
|
141
|
+
cursor: not-allowed;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
&:disabled {
|
|
145
|
+
cursor: not-allowed;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
&:disabled ~ .fwe-checkbox-label-content {
|
|
149
|
+
color: $text-disabled;
|
|
150
|
+
cursor: not-allowed;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
package/dist/scss/_chips.scss
CHANGED
|
@@ -1,145 +1,145 @@
|
|
|
1
|
-
%chip-lg {
|
|
2
|
-
font-size: $font-size-base;
|
|
3
|
-
line-height: 22px;
|
|
4
|
-
border-radius: $border-radius-xl;
|
|
5
|
-
padding: 3px 16px 5px 16px;
|
|
6
|
-
i[class^="fwe-icon-"],
|
|
7
|
-
i[class*=" fwe-icon-"] {
|
|
8
|
-
@extend .fwe-icon-lg;
|
|
9
|
-
margin-bottom: -3px;
|
|
10
|
-
}
|
|
11
|
-
&.fwe-selected {
|
|
12
|
-
&.fwe-category {
|
|
13
|
-
padding-right: 30px;
|
|
14
|
-
&::after {
|
|
15
|
-
top: 4px;
|
|
16
|
-
font-family: $font-family-icons-24;
|
|
17
|
-
font-size: $font-size-xl;
|
|
18
|
-
line-height: $font-size-xl;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
&.fwe-filter {
|
|
22
|
-
padding-left: 30px;
|
|
23
|
-
&::before {
|
|
24
|
-
left: 9px;
|
|
25
|
-
top: 8px;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.fwe-chip-container {
|
|
32
|
-
display: flex;
|
|
33
|
-
flex-wrap: wrap;
|
|
34
|
-
margin: 0px -8px -8px 0px;
|
|
35
|
-
|
|
36
|
-
&.fwe-chip-container-lg {
|
|
37
|
-
.fwe-chip {
|
|
38
|
-
@extend %chip-lg;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.fwe-chip {
|
|
44
|
-
user-select: none;
|
|
45
|
-
position: relative;
|
|
46
|
-
display: flex;
|
|
47
|
-
align-items: flex-end;
|
|
48
|
-
font-size: $font-size-md;
|
|
49
|
-
line-height: calc(#{$font-size-md} + 7px);
|
|
50
|
-
text-align: center;
|
|
51
|
-
border-radius: $border-radius-l;
|
|
52
|
-
cursor: pointer;
|
|
53
|
-
background: $control;
|
|
54
|
-
color: $text;
|
|
55
|
-
border: 1px solid $control;
|
|
56
|
-
box-sizing: border-box;
|
|
57
|
-
padding: 0px 12px 1px 12px;
|
|
58
|
-
margin: 0px 8px 8px 0px;
|
|
59
|
-
i[class^="fwe-icon-"],
|
|
60
|
-
i[class*=" fwe-icon-"] {
|
|
61
|
-
margin-bottom: -1px;
|
|
62
|
-
margin-left: -4px;
|
|
63
|
-
padding-right: 8px;
|
|
64
|
-
}
|
|
65
|
-
&:hover {
|
|
66
|
-
background: $control-dark;
|
|
67
|
-
border: 1px solid $control-dark;
|
|
68
|
-
}
|
|
69
|
-
&:active {
|
|
70
|
-
background: $control-darker;
|
|
71
|
-
border: 1px solid $control-darker;
|
|
72
|
-
}
|
|
73
|
-
&.fwe-selected {
|
|
74
|
-
cursor: default;
|
|
75
|
-
background: transparent;
|
|
76
|
-
border: 1px solid $hero;
|
|
77
|
-
color: $hero;
|
|
78
|
-
&.fwe-category {
|
|
79
|
-
cursor: pointer;
|
|
80
|
-
padding-right: 24px;
|
|
81
|
-
&::after {
|
|
82
|
-
position: absolute;
|
|
83
|
-
right: 5px;
|
|
84
|
-
top: 3px;
|
|
85
|
-
color: $text;
|
|
86
|
-
font-family: $font-family-icons-16;
|
|
87
|
-
font-size: 16px;
|
|
88
|
-
content: "\ea1c";
|
|
89
|
-
line-height: 16px;
|
|
90
|
-
-webkit-font-smoothing: antialiased;
|
|
91
|
-
-moz-osx-font-smoothing: grayscale;
|
|
92
|
-
}
|
|
93
|
-
&:hover {
|
|
94
|
-
background: $gray-100;
|
|
95
|
-
&::after {
|
|
96
|
-
color: $hero;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
&:active {
|
|
100
|
-
background: $gray-200;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
&.fwe-filter {
|
|
104
|
-
cursor: pointer;
|
|
105
|
-
padding-left: 24px;
|
|
106
|
-
&::before {
|
|
107
|
-
position: absolute;
|
|
108
|
-
left: 5px;
|
|
109
|
-
top: 3px;
|
|
110
|
-
color: $hero;
|
|
111
|
-
font-family: $font-family-icons-16;
|
|
112
|
-
font-size: 16px;
|
|
113
|
-
content: "\e9d3";
|
|
114
|
-
line-height: 16px;
|
|
115
|
-
-webkit-font-smoothing: antialiased;
|
|
116
|
-
-moz-osx-font-smoothing: grayscale;
|
|
117
|
-
}
|
|
118
|
-
&:hover {
|
|
119
|
-
background: $gray-100;
|
|
120
|
-
&::after {
|
|
121
|
-
color: $hero;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
&:active {
|
|
125
|
-
background: $gray-200;
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
&.fwe-readonly {
|
|
130
|
-
cursor: default;
|
|
131
|
-
background: transparent;
|
|
132
|
-
color: $text-light;
|
|
133
|
-
border: 1px solid $text-light;
|
|
134
|
-
}
|
|
135
|
-
&.fwe-disabled {
|
|
136
|
-
cursor: default;
|
|
137
|
-
background: $control-disabled;
|
|
138
|
-
border: 1px solid $control-disabled;
|
|
139
|
-
color: $text-disabled;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
&.fwe-chip-lg {
|
|
143
|
-
@extend %chip-lg;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
1
|
+
%chip-lg {
|
|
2
|
+
font-size: $font-size-base;
|
|
3
|
+
line-height: 22px;
|
|
4
|
+
border-radius: $border-radius-xl;
|
|
5
|
+
padding: 3px 16px 5px 16px;
|
|
6
|
+
i[class^="fwe-icon-"],
|
|
7
|
+
i[class*=" fwe-icon-"] {
|
|
8
|
+
@extend .fwe-icon-lg;
|
|
9
|
+
margin-bottom: -3px;
|
|
10
|
+
}
|
|
11
|
+
&.fwe-selected {
|
|
12
|
+
&.fwe-category {
|
|
13
|
+
padding-right: 30px;
|
|
14
|
+
&::after {
|
|
15
|
+
top: 4px;
|
|
16
|
+
font-family: $font-family-icons-24;
|
|
17
|
+
font-size: $font-size-xl;
|
|
18
|
+
line-height: $font-size-xl;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
&.fwe-filter {
|
|
22
|
+
padding-left: 30px;
|
|
23
|
+
&::before {
|
|
24
|
+
left: 9px;
|
|
25
|
+
top: 8px;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.fwe-chip-container {
|
|
32
|
+
display: flex;
|
|
33
|
+
flex-wrap: wrap;
|
|
34
|
+
margin: 0px -8px -8px 0px;
|
|
35
|
+
|
|
36
|
+
&.fwe-chip-container-lg {
|
|
37
|
+
.fwe-chip {
|
|
38
|
+
@extend %chip-lg;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.fwe-chip {
|
|
44
|
+
user-select: none;
|
|
45
|
+
position: relative;
|
|
46
|
+
display: flex;
|
|
47
|
+
align-items: flex-end;
|
|
48
|
+
font-size: $font-size-md;
|
|
49
|
+
line-height: calc(#{$font-size-md} + 7px);
|
|
50
|
+
text-align: center;
|
|
51
|
+
border-radius: $border-radius-l;
|
|
52
|
+
cursor: pointer;
|
|
53
|
+
background: $control;
|
|
54
|
+
color: $text;
|
|
55
|
+
border: 1px solid $control;
|
|
56
|
+
box-sizing: border-box;
|
|
57
|
+
padding: 0px 12px 1px 12px;
|
|
58
|
+
margin: 0px 8px 8px 0px;
|
|
59
|
+
i[class^="fwe-icon-"],
|
|
60
|
+
i[class*=" fwe-icon-"] {
|
|
61
|
+
margin-bottom: -1px;
|
|
62
|
+
margin-left: -4px;
|
|
63
|
+
padding-right: 8px;
|
|
64
|
+
}
|
|
65
|
+
&:hover {
|
|
66
|
+
background: $control-dark;
|
|
67
|
+
border: 1px solid $control-dark;
|
|
68
|
+
}
|
|
69
|
+
&:active {
|
|
70
|
+
background: $control-darker;
|
|
71
|
+
border: 1px solid $control-darker;
|
|
72
|
+
}
|
|
73
|
+
&.fwe-selected {
|
|
74
|
+
cursor: default;
|
|
75
|
+
background: transparent;
|
|
76
|
+
border: 1px solid $hero;
|
|
77
|
+
color: $hero;
|
|
78
|
+
&.fwe-category {
|
|
79
|
+
cursor: pointer;
|
|
80
|
+
padding-right: 24px;
|
|
81
|
+
&::after {
|
|
82
|
+
position: absolute;
|
|
83
|
+
right: 5px;
|
|
84
|
+
top: 3px;
|
|
85
|
+
color: $text;
|
|
86
|
+
font-family: $font-family-icons-16;
|
|
87
|
+
font-size: 16px;
|
|
88
|
+
content: "\ea1c";
|
|
89
|
+
line-height: 16px;
|
|
90
|
+
-webkit-font-smoothing: antialiased;
|
|
91
|
+
-moz-osx-font-smoothing: grayscale;
|
|
92
|
+
}
|
|
93
|
+
&:hover {
|
|
94
|
+
background: $gray-100;
|
|
95
|
+
&::after {
|
|
96
|
+
color: $hero;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
&:active {
|
|
100
|
+
background: $gray-200;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
&.fwe-filter {
|
|
104
|
+
cursor: pointer;
|
|
105
|
+
padding-left: 24px;
|
|
106
|
+
&::before {
|
|
107
|
+
position: absolute;
|
|
108
|
+
left: 5px;
|
|
109
|
+
top: 3px;
|
|
110
|
+
color: $hero;
|
|
111
|
+
font-family: $font-family-icons-16;
|
|
112
|
+
font-size: 16px;
|
|
113
|
+
content: "\e9d3";
|
|
114
|
+
line-height: 16px;
|
|
115
|
+
-webkit-font-smoothing: antialiased;
|
|
116
|
+
-moz-osx-font-smoothing: grayscale;
|
|
117
|
+
}
|
|
118
|
+
&:hover {
|
|
119
|
+
background: $gray-100;
|
|
120
|
+
&::after {
|
|
121
|
+
color: $hero;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
&:active {
|
|
125
|
+
background: $gray-200;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
&.fwe-readonly {
|
|
130
|
+
cursor: default;
|
|
131
|
+
background: transparent;
|
|
132
|
+
color: $text-light;
|
|
133
|
+
border: 1px solid $text-light;
|
|
134
|
+
}
|
|
135
|
+
&.fwe-disabled {
|
|
136
|
+
cursor: default;
|
|
137
|
+
background: $control-disabled;
|
|
138
|
+
border: 1px solid $control-disabled;
|
|
139
|
+
color: $text-disabled;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
&.fwe-chip-lg {
|
|
143
|
+
@extend %chip-lg;
|
|
144
|
+
}
|
|
145
|
+
}
|