@festo-ui/web-essentials 3.2.1 → 4.0.0-pre-20220920.2
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 +16 -0
- package/dist/css/festo-web-essentials.css +397 -108
- package/dist/css/festo-web-essentials.css.map +1 -1
- package/dist/css/festo-web-essentials.min.css +2 -2
- package/dist/css/festo-web-essentials.min.css.map +1 -1
- package/dist/css/fonts/FestoW05-Bold.woff +0 -0
- package/dist/css/fonts/FestoW05-Bold.woff2 +0 -0
- package/dist/css/fonts/FestoW05-Regular.woff +0 -0
- package/dist/css/fonts/FestoW05-Regular.woff2 +0 -0
- 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 +66 -3
- 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 +1 -4
- 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/FestoW05-Bold.woff +0 -0
- package/dist/fonts/FestoW05-Bold.woff2 +0 -0
- package/dist/fonts/FestoW05-Regular.woff +0 -0
- package/dist/fonts/FestoW05-Regular.woff2 +0 -0
- 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 +0 -2
- package/dist/scss/_button.scss +1 -5
- package/dist/scss/_cards.scss +1 -1
- package/dist/scss/_checkbox.scss +1 -2
- package/dist/scss/_chips.scss +2 -2
- package/dist/scss/_fonts.scss +5 -4
- package/dist/scss/_icons.scss +1 -3
- package/dist/scss/_loading-indicator.scss +151 -62
- package/dist/scss/_navbar-menu.scss +1 -0
- package/dist/scss/_progressbar.scss +2 -2
- package/dist/scss/_radio.scss +0 -1
- package/dist/scss/_search-input.scss +1 -1
- package/dist/scss/_select.scss +1 -0
- package/dist/scss/_stepper-horizontal.scss +1 -0
- package/dist/scss/_stepper-vertical.scss +1 -0
- package/dist/scss/_table.scss +2 -1
- package/dist/scss/_timepicker.scss +1 -1
- package/dist/scss/_tree.scss +211 -0
- package/dist/scss/_variables.scss +6 -1
- package/dist/scss/festo-web-essentials.scss +2 -1
- package/dist/scss/fonts/FestoW05-Bold.woff +0 -0
- package/dist/scss/fonts/FestoW05-Bold.woff2 +0 -0
- package/dist/scss/fonts/FestoW05-Regular.woff +0 -0
- package/dist/scss/fonts/FestoW05-Regular.woff2 +0 -0
- 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 +1 -1
- package/dist/scss/organisms/_header-slider.scss +1 -1
- package/dist/scss/organisms/_login.scss +59 -0
- package/dist/scss/organisms/festo-web-essentials-organisms.scss +2 -1
- package/dist/scss/themes/flatpickr/festo.scss +2 -2
- package/package.json +1 -1
- package/scss/_breadcrumb.scss +0 -2
- package/scss/_button.scss +1 -5
- package/scss/_cards.scss +1 -1
- package/scss/_checkbox.scss +1 -2
- package/scss/_chips.scss +2 -2
- package/scss/_fonts.scss +5 -4
- package/scss/_icons.scss +1 -3
- package/scss/_loading-indicator.scss +151 -62
- package/scss/_navbar-menu.scss +1 -0
- package/scss/_progressbar.scss +2 -2
- package/scss/_radio.scss +0 -1
- package/scss/_search-input.scss +1 -1
- package/scss/_select.scss +1 -0
- package/scss/_stepper-horizontal.scss +1 -0
- package/scss/_stepper-vertical.scss +1 -0
- package/scss/_table.scss +2 -1
- package/scss/_timepicker.scss +1 -1
- package/scss/_tree.scss +211 -0
- package/scss/_variables.scss +6 -1
- package/scss/festo-web-essentials.scss +1 -0
- package/scss/organisms/_footer.scss +1 -1
- package/scss/organisms/_header-slider.scss +1 -1
- package/scss/organisms/_login.scss +59 -0
- package/scss/organisms/festo-web-essentials-organisms.scss +1 -0
- package/scss/themes/flatpickr/festo.scss +1 -1
- package/dist/css/fonts/MetaPro-Bold.otf +0 -0
- package/dist/css/fonts/MetaPro-Bold.woff +0 -0
- package/dist/css/fonts/MetaPro-Bold.woff2 +0 -0
- package/dist/css/fonts/MetaPro-Regular.otf +0 -0
- package/dist/css/fonts/MetaPro-Regular.woff +0 -0
- package/dist/css/fonts/MetaPro-Regular.woff2 +0 -0
- package/dist/fonts/MetaPro-Bold.otf +0 -0
- package/dist/fonts/MetaPro-Bold.woff +0 -0
- package/dist/fonts/MetaPro-Bold.woff2 +0 -0
- package/dist/fonts/MetaPro-Regular.otf +0 -0
- package/dist/fonts/MetaPro-Regular.woff +0 -0
- package/dist/fonts/MetaPro-Regular.woff2 +0 -0
- package/dist/scss/fonts/MetaPro-Bold.otf +0 -0
- package/dist/scss/fonts/MetaPro-Bold.woff +0 -0
- package/dist/scss/fonts/MetaPro-Bold.woff2 +0 -0
- package/dist/scss/fonts/MetaPro-Regular.otf +0 -0
- package/dist/scss/fonts/MetaPro-Regular.woff +0 -0
- package/dist/scss/fonts/MetaPro-Regular.woff2 +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Festo UI - Web Essentials
|
|
2
|
+
* Festo UI - Web Essentials v4.0.0-pre-20220920.2 (https://storybook.festo.design/)
|
|
3
3
|
* Copyright 2022 Festo SE & Co. KG
|
|
4
4
|
* Licensed under Apache-2.0
|
|
5
5
|
*/
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
width: 324px;
|
|
33
33
|
background: $white;
|
|
34
34
|
box-shadow: $control-box-shadow;
|
|
35
|
-
border-radius:
|
|
35
|
+
border-radius: $border-radius-m;
|
|
36
36
|
padding: $spacer-xs;
|
|
37
37
|
padding-bottom: $spacer-xl;
|
|
38
38
|
display: inline-block;
|
package/package.json
CHANGED
package/scss/_breadcrumb.scss
CHANGED
package/scss/_button.scss
CHANGED
|
@@ -21,10 +21,6 @@ button.fwe-btn {
|
|
|
21
21
|
padding-right: 8px;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
span {
|
|
25
|
-
margin: -1px 0px 1px 0px;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
24
|
&:hover {
|
|
29
25
|
color: $btn-text-hover;
|
|
30
26
|
background: $btn-hover;
|
|
@@ -95,7 +91,7 @@ button.fwe-btn {
|
|
|
95
91
|
|
|
96
92
|
&:disabled,
|
|
97
93
|
&.fwe-disabled {
|
|
98
|
-
color: $text-
|
|
94
|
+
color: $btn-text-disabled;
|
|
99
95
|
}
|
|
100
96
|
}
|
|
101
97
|
|
package/scss/_cards.scss
CHANGED
package/scss/_checkbox.scss
CHANGED
|
@@ -24,7 +24,7 @@ $lgWidth: 24px;
|
|
|
24
24
|
%checkmark-lg {
|
|
25
25
|
height: $lgHeight;
|
|
26
26
|
width: $lgWidth;
|
|
27
|
-
border-radius:
|
|
27
|
+
border-radius: $border-radius-s;
|
|
28
28
|
@extend .fwe-icon-lg;
|
|
29
29
|
&:before {
|
|
30
30
|
left: -1px;
|
|
@@ -74,7 +74,6 @@ label.fwe-checkbox {
|
|
|
74
74
|
border: 1px solid $control-border;
|
|
75
75
|
background-color: $white;
|
|
76
76
|
border-radius: 2px;
|
|
77
|
-
margin-top: 2px;
|
|
78
77
|
font-size: $font-size-md;
|
|
79
78
|
@extend .fwe-icon;
|
|
80
79
|
@extend .fwe-icon-menu-check;
|
package/scss/_chips.scss
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
%chip-lg {
|
|
2
2
|
font-size: $font-size-base;
|
|
3
3
|
line-height: 22px;
|
|
4
|
-
border-radius:
|
|
4
|
+
border-radius: $border-radius-xl;
|
|
5
5
|
padding: 3px 16px 5px 16px;
|
|
6
6
|
i[class^="fwe-icon-"],
|
|
7
7
|
i[class*=" fwe-icon-"] {
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
font-size: $font-size-md;
|
|
49
49
|
line-height: calc(#{$font-size-md} + 7px);
|
|
50
50
|
text-align: center;
|
|
51
|
-
border-radius:
|
|
51
|
+
border-radius: $border-radius-l;
|
|
52
52
|
cursor: pointer;
|
|
53
53
|
background: $control;
|
|
54
54
|
color: $text;
|
package/scss/_fonts.scss
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
|
+
/* MetaPro regular */
|
|
1
2
|
@font-face {
|
|
2
3
|
font-family: "MetaPro";
|
|
3
|
-
src: url("../fonts/
|
|
4
|
-
url("../fonts/MetaPro-Regular.otf") format("truetype");
|
|
4
|
+
src: url("../fonts/FestoW05-Regular.woff2") format("woff2"), url("../fonts/FestoW05-Regular.woff") format("woff");
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
+
/* MetaPro bold */
|
|
7
8
|
@font-face {
|
|
8
9
|
font-family: "MetaPro";
|
|
9
10
|
font-weight: bold;
|
|
10
|
-
src: url("../fonts/
|
|
11
|
-
url("../fonts/MetaPro-Bold.otf") format("truetype");
|
|
11
|
+
src: url("../fonts/FestoW05-Bold.woff2") format("woff2"), url("../fonts/FestoW05-Bold.woff") format("woff");
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
+
/* Festo Icon Font */
|
|
14
15
|
@font-face {
|
|
15
16
|
font-family: "festo_icons-16";
|
|
16
17
|
src: url("../fonts/festo_icons-16.woff2") format("woff2");
|
package/scss/_icons.scss
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@mixin icon-base {
|
|
2
|
+
font-family: $font-family-icons-16; // this is needed to center the icons vertically
|
|
2
3
|
font-size: $font-size-base;
|
|
3
4
|
display: inline-block;
|
|
4
5
|
&:before {
|
|
@@ -1398,9 +1399,6 @@
|
|
|
1398
1399
|
.fwe-icon-iot:before {
|
|
1399
1400
|
content: "\eaba";
|
|
1400
1401
|
}
|
|
1401
|
-
.fwe-icon-learning-path1:before {
|
|
1402
|
-
content: "\eabb";
|
|
1403
|
-
}
|
|
1404
1402
|
.fwe-icon-mobotic:before {
|
|
1405
1403
|
content: "\eabc";
|
|
1406
1404
|
}
|
|
@@ -1,87 +1,176 @@
|
|
|
1
|
+
$spinner-duration: 3s;
|
|
2
|
+
|
|
3
|
+
.fwe-waiting-container {
|
|
4
|
+
width: 100%;
|
|
5
|
+
height: 100%;
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
justify-content: center;
|
|
9
|
+
align-items: center;
|
|
10
|
+
.fwe-waiting-content-container {
|
|
11
|
+
margin-top: 12px;
|
|
12
|
+
color: $hero;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.fwe-waiting-container-sm {
|
|
17
|
+
flex-direction: row;
|
|
18
|
+
.fwe-waiting-content-container {
|
|
19
|
+
margin-top: unset;
|
|
20
|
+
margin-left: 8px;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
1
24
|
.fwe-waiting-indicator {
|
|
25
|
+
display: inline-block;
|
|
2
26
|
position: relative;
|
|
3
27
|
width: 96px;
|
|
4
28
|
height: 96px;
|
|
5
|
-
|
|
29
|
+
|
|
30
|
+
div {
|
|
31
|
+
box-sizing: border-box;
|
|
32
|
+
display: block;
|
|
6
33
|
position: absolute;
|
|
7
|
-
|
|
34
|
+
width: 96px;
|
|
35
|
+
height: 96px;
|
|
36
|
+
border: 8px solid $hero;
|
|
8
37
|
border-radius: 50%;
|
|
9
|
-
|
|
38
|
+
border-color: $hero transparent transparent transparent;
|
|
10
39
|
}
|
|
11
40
|
.fwe-waiting-circle-1 {
|
|
12
|
-
|
|
13
|
-
opacity: 0.15;
|
|
14
|
-
animation-delay: 0s;
|
|
15
|
-
width: 96px;
|
|
16
|
-
height: 96px;
|
|
41
|
+
animation: fwe-wi-animation-1 $spinner-duration linear infinite;
|
|
17
42
|
}
|
|
18
43
|
.fwe-waiting-circle-2 {
|
|
19
|
-
|
|
20
|
-
opacity: 0.3;
|
|
21
|
-
animation-delay: 0.25s;
|
|
22
|
-
width: 64px;
|
|
23
|
-
height: 64px;
|
|
24
|
-
left: (96px - 64px) * 0.5;
|
|
25
|
-
top: (96px - 64px) * 0.5;
|
|
44
|
+
animation: fwe-wi-animation-2 $spinner-duration linear infinite;
|
|
26
45
|
}
|
|
27
46
|
.fwe-waiting-circle-3 {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
height: 32px;
|
|
33
|
-
left: (96px - 32px) * 0.5;
|
|
34
|
-
top: (96px - 32px) * 0.5;
|
|
47
|
+
animation: fwe-wi-animation-3 $spinner-duration linear infinite;
|
|
48
|
+
}
|
|
49
|
+
.fwe-waiting-circle-4 {
|
|
50
|
+
animation: fwe-wi-animation-4 $spinner-duration linear infinite;
|
|
35
51
|
}
|
|
36
52
|
|
|
37
53
|
&.fwe-waiting-indicator-md {
|
|
38
|
-
height:
|
|
39
|
-
width:
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
.fwe-waiting-circle-2 {
|
|
45
|
-
width: 42px;
|
|
46
|
-
height: 42px;
|
|
47
|
-
left: 11px;
|
|
48
|
-
top: 11px;
|
|
49
|
-
}
|
|
50
|
-
.fwe-waiting-circle-3 {
|
|
51
|
-
width: 22px;
|
|
52
|
-
height: 22px;
|
|
53
|
-
left: 21px;
|
|
54
|
-
top: 21px;
|
|
54
|
+
height: 48px;
|
|
55
|
+
width: 48px;
|
|
56
|
+
div {
|
|
57
|
+
height: 48px;
|
|
58
|
+
width: 48px;
|
|
59
|
+
border-width: 4px;
|
|
55
60
|
}
|
|
56
61
|
}
|
|
57
62
|
|
|
58
63
|
&.fwe-waiting-indicator-sm {
|
|
59
|
-
height:
|
|
60
|
-
width:
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
.fwe-waiting-circle-2 {
|
|
66
|
-
width: 22px;
|
|
67
|
-
height: 22px;
|
|
68
|
-
left: 5px;
|
|
69
|
-
top: 5px;
|
|
70
|
-
}
|
|
71
|
-
.fwe-waiting-circle-3 {
|
|
72
|
-
width: 10px;
|
|
73
|
-
height: 10px;
|
|
74
|
-
left: 11px;
|
|
75
|
-
top: 11px;
|
|
64
|
+
height: 16px;
|
|
65
|
+
width: 16px;
|
|
66
|
+
div {
|
|
67
|
+
height: 16px;
|
|
68
|
+
width: 16px;
|
|
69
|
+
border-width: 2px;
|
|
76
70
|
}
|
|
77
71
|
}
|
|
78
|
-
}
|
|
79
72
|
|
|
80
|
-
@keyframes
|
|
81
|
-
|
|
82
|
-
|
|
73
|
+
@keyframes fwe-wi-animation-1 {
|
|
74
|
+
0% {
|
|
75
|
+
transform: rotate(0deg);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
20% {
|
|
79
|
+
transform: rotate(315deg);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
40% {
|
|
83
|
+
transform: rotate(500deg);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
60% {
|
|
87
|
+
transform: rotate(900deg);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
80% {
|
|
91
|
+
transform: rotate(1170deg);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
100% {
|
|
95
|
+
transform: rotate(1440deg);
|
|
96
|
+
}
|
|
83
97
|
}
|
|
84
|
-
|
|
85
|
-
|
|
98
|
+
|
|
99
|
+
@keyframes fwe-wi-animation-2 {
|
|
100
|
+
0% {
|
|
101
|
+
transform: rotate(0deg);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
20% {
|
|
105
|
+
transform: rotate(270deg);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
40% {
|
|
109
|
+
transform: rotate(500deg);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
60% {
|
|
113
|
+
transform: rotate(900deg);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
80% {
|
|
117
|
+
transform: rotate(1120deg);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
100% {
|
|
121
|
+
transform: rotate(1440deg);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
@keyframes fwe-wi-animation-3 {
|
|
126
|
+
0% {
|
|
127
|
+
transform: rotate(0deg);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
20% {
|
|
131
|
+
transform: rotate(180deg);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
40% {
|
|
135
|
+
transform: rotate(500deg);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
60% {
|
|
139
|
+
transform: rotate(900deg);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
80% {
|
|
143
|
+
transform: rotate(1070deg);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
100% {
|
|
147
|
+
transform: rotate(1440deg);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
@keyframes fwe-wi-animation-4 {
|
|
152
|
+
0% {
|
|
153
|
+
transform: rotate(0deg);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
20% {
|
|
157
|
+
transform: rotate(90deg);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
40% {
|
|
161
|
+
transform: rotate(500deg);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
60% {
|
|
165
|
+
transform: rotate(900deg);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
80% {
|
|
169
|
+
transform: rotate(1040deg);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
100% {
|
|
173
|
+
transform: rotate(1440deg);
|
|
174
|
+
}
|
|
86
175
|
}
|
|
87
176
|
}
|
package/scss/_navbar-menu.scss
CHANGED
package/scss/_progressbar.scss
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
display: flex;
|
|
3
3
|
height: 8px;
|
|
4
4
|
background-color: $control;
|
|
5
|
-
border-radius:
|
|
5
|
+
border-radius: $border-radius-m;
|
|
6
6
|
overflow: hidden;
|
|
7
7
|
|
|
8
8
|
.fwe-progress-bar {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
overflow: hidden;
|
|
13
13
|
transition: width 0.6s ease;
|
|
14
14
|
background-color: $hero;
|
|
15
|
-
border-radius:
|
|
15
|
+
border-radius: $border-radius-m;
|
|
16
16
|
box-shadow: 4px 0px 0px 0px $white;
|
|
17
17
|
|
|
18
18
|
&.fwe-progress-bar-black {
|
package/scss/_radio.scss
CHANGED
package/scss/_search-input.scss
CHANGED
package/scss/_select.scss
CHANGED
package/scss/_table.scss
CHANGED
|
@@ -27,6 +27,7 @@ table.fwe-table {
|
|
|
27
27
|
direction: rtl;
|
|
28
28
|
@extend .fwe-icon;
|
|
29
29
|
@extend .fwe-icon-arrows-expand;
|
|
30
|
+
font-family: $font-family-base;
|
|
30
31
|
display: table-cell;
|
|
31
32
|
font-size: $font-size-md;
|
|
32
33
|
&::before {
|
|
@@ -35,7 +36,7 @@ table.fwe-table {
|
|
|
35
36
|
position: relative;
|
|
36
37
|
top: 3px;
|
|
37
38
|
left: 8px;
|
|
38
|
-
transform-origin:
|
|
39
|
+
transform-origin: 8px 7px;
|
|
39
40
|
transition: transform 0.3s;
|
|
40
41
|
}
|
|
41
42
|
|
package/scss/_timepicker.scss
CHANGED
package/scss/_tree.scss
ADDED
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
.fwe-tree {
|
|
2
|
+
@include custom-scrollbar();
|
|
3
|
+
position: relative;
|
|
4
|
+
|
|
5
|
+
&-node {
|
|
6
|
+
position: relative;
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-basis: 100%;
|
|
9
|
+
min-width: 0;
|
|
10
|
+
height: $spacer * 2.5;
|
|
11
|
+
|
|
12
|
+
&-indicator {
|
|
13
|
+
position: absolute;
|
|
14
|
+
left: 0;
|
|
15
|
+
width: 100%;
|
|
16
|
+
height: $spacer * 2.5;
|
|
17
|
+
|
|
18
|
+
&::before {
|
|
19
|
+
position: absolute;
|
|
20
|
+
content: "";
|
|
21
|
+
width: 1px;
|
|
22
|
+
height: $spacer * 2.5;
|
|
23
|
+
left: 0;
|
|
24
|
+
background-color: $caerul;
|
|
25
|
+
transform-origin: left top;
|
|
26
|
+
transform: scaleX(0);
|
|
27
|
+
transition: none;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&-container {
|
|
32
|
+
position: relative;
|
|
33
|
+
width: 100%;
|
|
34
|
+
display: flex;
|
|
35
|
+
align-items: center;
|
|
36
|
+
|
|
37
|
+
&--selected {
|
|
38
|
+
> .fwe-tree-node-indicator {
|
|
39
|
+
background-color: $background;
|
|
40
|
+
|
|
41
|
+
&::before {
|
|
42
|
+
transform: scaleX(4);
|
|
43
|
+
transition: transform 0.2s;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
> .fwe-tree-node {
|
|
48
|
+
.fwe-btn--tree-node-toggle {
|
|
49
|
+
.fwe-icon {
|
|
50
|
+
color: $caerul;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.fwe-btn--tree-node-select {
|
|
55
|
+
.fwe-icon {
|
|
56
|
+
color: $caerul;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.fwe-tree-node-text {
|
|
61
|
+
color: $caerul;
|
|
62
|
+
font-weight: $font-weight-bold;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&--disabled {
|
|
68
|
+
pointer-events: none;
|
|
69
|
+
> .fwe-tree-node {
|
|
70
|
+
.fwe-tree-node-alert {
|
|
71
|
+
.fwe-icon {
|
|
72
|
+
color: $btn-text-disabled !important;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
$levels: 10;
|
|
79
|
+
@for $i from 1 through $levels {
|
|
80
|
+
&[aria-level="#{$i}"] {
|
|
81
|
+
padding-left: $spacer * ($i - 1);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&[aria-expanded="false"] {
|
|
86
|
+
> .fwe-tree-node {
|
|
87
|
+
.fwe-icon-arrows-right-2 {
|
|
88
|
+
&::before {
|
|
89
|
+
transform: rotate(0deg);
|
|
90
|
+
transition: transform 0.2s;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&[aria-expanded="true"] {
|
|
97
|
+
> .fwe-tree-node {
|
|
98
|
+
.fwe-tree-node-text {
|
|
99
|
+
font-weight: $font-weight-bold;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.fwe-icon-arrows-right-2 {
|
|
103
|
+
&::before {
|
|
104
|
+
transform: rotate(90deg);
|
|
105
|
+
transition: transform 0.2s;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
&:not([aria-expanded]) {
|
|
112
|
+
> .fwe-tree-node {
|
|
113
|
+
margin-left: $spacer * 2.5;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
&-text {
|
|
119
|
+
font-size: $font-size-md;
|
|
120
|
+
height: $spacer-l;
|
|
121
|
+
line-height: $spacer-l;
|
|
122
|
+
white-space: nowrap;
|
|
123
|
+
overflow: hidden;
|
|
124
|
+
text-overflow: ellipsis;
|
|
125
|
+
margin: 0 $spacer-s 0 $spacer-xxs;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
&-alert {
|
|
129
|
+
width: $spacer * 2.5;
|
|
130
|
+
max-width: $spacer * 2.5;
|
|
131
|
+
flex-shrink: 0;
|
|
132
|
+
display: flex;
|
|
133
|
+
align-items: center;
|
|
134
|
+
justify-content: center;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
&--nested {
|
|
139
|
+
.fwe-tree-node-container {
|
|
140
|
+
display: block;
|
|
141
|
+
position: static;
|
|
142
|
+
min-width: 0;
|
|
143
|
+
width: inherit;
|
|
144
|
+
|
|
145
|
+
.fwe-tree-node-container {
|
|
146
|
+
margin-left: $spacer;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.fwe-btn.fwe-btn-link {
|
|
153
|
+
&.fwe-btn--tree-node-toggle {
|
|
154
|
+
color: $text;
|
|
155
|
+
padding: 0 $spacer-xxs 0 $spacer-s;
|
|
156
|
+
justify-content: flex-start;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
&.fwe-btn--tree-node-select {
|
|
160
|
+
color: $text;
|
|
161
|
+
justify-content: flex-start;
|
|
162
|
+
min-width: 0;
|
|
163
|
+
flex-basis: 100%;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.fwe-btn--tree-node-select {
|
|
168
|
+
.fwe-icon {
|
|
169
|
+
padding-right: 0;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.fwe-tree-node {
|
|
174
|
+
&:hover {
|
|
175
|
+
.fwe-tree-node-text {
|
|
176
|
+
color: $btn-hero-hover;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.fwe-btn--tree-node-select {
|
|
180
|
+
.fwe-icon {
|
|
181
|
+
color: $btn-hero-hover;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.fwe-btn--tree-node-toggle {
|
|
186
|
+
.fwe-icon {
|
|
187
|
+
color: $btn-hero-hover;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.fwe-tree-node {
|
|
194
|
+
&:active {
|
|
195
|
+
.fwe-tree-node-text {
|
|
196
|
+
color: $btn-hero-active;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.fwe-btn--tree-node-select {
|
|
200
|
+
.fwe-icon {
|
|
201
|
+
color: $btn-hero-active;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.fwe-btn--tree-node-toggle {
|
|
206
|
+
.fwe-icon {
|
|
207
|
+
color: $btn-hero-active;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
}
|