@progressiveui/styles 10.30.0 → 11.0.0
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/index.scss +0 -2
- package/package.json +2 -2
- package/scss/_breakpoint.scss +191 -2
- package/scss/_carbonMotion.scss +79 -0
- package/scss/_motion.scss +2 -9
- package/scss/_type.scss +22 -23
- package/scss/components/_index.scss +3 -1
- package/scss/components/accordion/_accordion.scss +6 -4
- package/scss/components/banner-navigation/_banner-navigation.scss +7 -5
- package/scss/components/breadcrumb/_breadcrumb.scss +3 -3
- package/scss/components/button/_button.scss +5 -3
- package/scss/components/button/_mixins.scss +2 -0
- package/scss/components/card/_card.scss +1 -1
- package/scss/components/checkbox/_checkbox.scss +3 -4
- package/scss/components/content-switcher/_content-switcher.scss +12 -17
- package/scss/components/credits/_credits.scss +4 -3
- package/scss/components/date-picker/_date-picker.scss +5 -3
- package/scss/components/date-picker-new/_date-picker-new.scss +5 -10
- package/scss/components/date-picker-new/react-datepicker/datepicker.scss +2 -2
- package/scss/components/date-picker-new/react-datepicker/mixins.scss +1 -0
- package/scss/components/file-uploader/_file-uploader.scss +2 -3
- package/scss/components/footer/_footer.scss +7 -6
- package/scss/components/form/_form.scss +21 -17
- package/scss/components/hero/_hero.scss +15 -13
- package/scss/components/link/_link.scss +12 -12
- package/scss/components/loading/_keyframes.scss +1 -8
- package/scss/components/main-navigation/_main-navigation.scss +8 -10
- package/scss/components/notification/_notification.scss +6 -5
- package/scss/components/number-input/_number-input.scss +30 -31
- package/scss/components/pagination/_pagination.scss +14 -11
- package/scss/components/radio-button/_radio-button.scss +12 -10
- package/scss/components/read-more/_read-more.scss +5 -4
- package/scss/components/search/_search.scss +26 -29
- package/scss/components/secondary-navigation/_secondary-navigation.scss +4 -8
- package/scss/components/select/_select.scss +4 -2
- package/scss/components/sidebar/_sidebar.scss +4 -4
- package/scss/components/skeleton-text/_skeleton-text.scss +1 -2
- package/scss/components/step-navigation/_step-navigation.scss +9 -8
- package/scss/components/story/_story.scss +8 -8
- package/scss/components/tabs/_tabs.scss +11 -9
- package/scss/components/tag/_tag.scss +11 -27
- package/scss/components/text-area/_text-area.scss +5 -12
- package/scss/components/toggle/_toggle.scss +2 -3
- package/scss/components/tooltip/_tooltip.scss +12 -20
- package/scss/components/tooltip/animations/fade.scss +2 -2
- package/scss/components/tooltip/themes/light-border.scss +2 -2
- package/scss/components/tooltip/themes/light.scss +2 -2
- package/scss/utilities/_button-reset.scss +3 -1
- package/scss/utilities/_component-reset.scss +0 -7
- package/scss/utilities/_config-breakpoints.scss +84 -0
- package/scss/utilities/_convert.scss +37 -14
- package/scss/utilities/_focus-outline.scss +4 -3
- package/scss/utilities/_input-base.scss +19 -24
- package/scss/utilities/_layer.scss +5 -3
- package/scss/utilities/_z-index.scss +3 -8
- package/styles.css +1 -1
|
@@ -12,23 +12,20 @@
|
|
|
12
12
|
@use "../../utilities/input-base" as *;
|
|
13
13
|
|
|
14
14
|
@use "./react-datepicker/datepicker.scss" as *;
|
|
15
|
+
@use "sass:color";
|
|
15
16
|
|
|
16
17
|
/// Date picker styles
|
|
17
18
|
/// @access public
|
|
18
19
|
/// @group date-picker
|
|
19
20
|
|
|
20
|
-
$datepicker__background-color:
|
|
21
|
+
$datepicker__background-color: #000000; //TODO:$background !default;
|
|
21
22
|
$datepicker__border-color: #aeaeae !default;
|
|
22
23
|
$datepicker__highlighted-color: #3dcc4a !default;
|
|
23
24
|
$datepicker__muted-color: $text-body-secondary !default;
|
|
24
25
|
$datepicker__selected-color: #216ba5 !default;
|
|
25
26
|
$datepicker__text-color: $text-body-default !default;
|
|
26
27
|
$datepicker__header-color: $text-body-default !default;
|
|
27
|
-
$datepicker__navigation-disabled-color:
|
|
28
|
-
$datepicker__muted-color,
|
|
29
|
-
10%
|
|
30
|
-
) !default;
|
|
31
|
-
|
|
28
|
+
$datepicker__navigation-disabled-color: #000000; //TODO: color.scale($datepicker__muted-color, $lightness: 10%) !default;
|
|
32
29
|
$datepicker__border-radius: 0rem !default;
|
|
33
30
|
$datepicker__day-margin: 0.166rem !default;
|
|
34
31
|
$datepicker__font-size: 0.8rem !default;
|
|
@@ -52,10 +49,9 @@ $datepicker__triangle-size: 8px !default;
|
|
|
52
49
|
.#{$prefix}--date-picker__input {
|
|
53
50
|
position: relative;
|
|
54
51
|
input {
|
|
55
|
-
@include input-base;
|
|
56
52
|
min-width: 10em !important;
|
|
57
53
|
max-width: 10em !important;
|
|
58
|
-
|
|
54
|
+
@include input-base;
|
|
59
55
|
}
|
|
60
56
|
}
|
|
61
57
|
.#{$prefix}--date-picker__icon {
|
|
@@ -82,10 +78,9 @@ $datepicker__triangle-size: 8px !default;
|
|
|
82
78
|
.#{$prefix}--date-ranger-picker__input {
|
|
83
79
|
position: relative;
|
|
84
80
|
input {
|
|
85
|
-
@include input-base;
|
|
86
81
|
min-width: 10em !important;
|
|
87
82
|
max-width: 10em !important;
|
|
88
|
-
|
|
83
|
+
@include input-base;
|
|
89
84
|
}
|
|
90
85
|
}
|
|
91
86
|
.#{$prefix}--date-ranger-picker__icon {
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
// New code should use link-style "select file" UI (`.bx--file-browse-btn`)
|
|
54
54
|
// TODO: deprecate this block
|
|
55
55
|
.#{$prefix}--file-btn {
|
|
56
|
-
display: inline-flex;
|
|
57
56
|
padding-right: calcRem(64px);
|
|
57
|
+
display: inline-flex;
|
|
58
58
|
margin: 0;
|
|
59
59
|
}
|
|
60
60
|
|
|
@@ -173,12 +173,11 @@
|
|
|
173
173
|
|
|
174
174
|
// TODO: deprecate this block
|
|
175
175
|
.#{$prefix}--file__selected-file--invalid__wrapper {
|
|
176
|
-
@include focus-outline("invalid");
|
|
177
|
-
|
|
178
176
|
max-width: calcRem(320px);
|
|
179
177
|
margin-bottom: $spacing-05;
|
|
180
178
|
background-color: $fill-field;
|
|
181
179
|
outline-width: 1px;
|
|
180
|
+
@include focus-outline("invalid");
|
|
182
181
|
}
|
|
183
182
|
|
|
184
183
|
.#{$prefix}--file__selected-file--invalid {
|
|
@@ -28,10 +28,12 @@
|
|
|
28
28
|
.#{$prefix}--footer {
|
|
29
29
|
@include reset;
|
|
30
30
|
@include font-family("sans");
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
& {
|
|
32
|
+
color: $neutral-neutral100-white;
|
|
33
|
+
background-color: $brand-dark-blue-dark-blue20;
|
|
34
|
+
z-index: z("footer");
|
|
35
|
+
padding: calcRem(20px) 0;
|
|
36
|
+
}
|
|
35
37
|
@media print {
|
|
36
38
|
display: none;
|
|
37
39
|
}
|
|
@@ -184,11 +186,10 @@
|
|
|
184
186
|
|
|
185
187
|
.#{$prefix}--footer__info {
|
|
186
188
|
order: 1;
|
|
189
|
+
line-height: 1.5;
|
|
187
190
|
@include breakpoint("md") {
|
|
188
191
|
width: 40%;
|
|
189
192
|
}
|
|
190
|
-
// @include line-height('body');
|
|
191
|
-
line-height: 1.5;
|
|
192
193
|
}
|
|
193
194
|
|
|
194
195
|
.#{$prefix}--footer__cta {
|
|
@@ -18,23 +18,25 @@ $input-label-weight: 400 !default;
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.#{$prefix}--form-item {
|
|
21
|
-
@include font-family("sans");
|
|
22
21
|
display: flex;
|
|
23
22
|
flex-direction: column;
|
|
24
23
|
flex: 1;
|
|
25
24
|
align-items: flex-start;
|
|
25
|
+
@include font-family("sans");
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
.#{$prefix}--label {
|
|
29
29
|
@include reset;
|
|
30
30
|
@include font-family("sans");
|
|
31
31
|
@include type-style("body-short");
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
32
|
+
& {
|
|
33
|
+
color: $text-body-default;
|
|
34
|
+
font-weight: $input-label-weight;
|
|
35
|
+
font-weight: 600 !important;
|
|
36
|
+
display: inline-block;
|
|
37
|
+
vertical-align: baseline;
|
|
38
|
+
margin-bottom: $spacing-03;
|
|
39
|
+
}
|
|
38
40
|
}
|
|
39
41
|
|
|
40
42
|
.#{$prefix}--label + .#{$prefix}--form__helper-text {
|
|
@@ -68,9 +70,9 @@ $input-label-weight: 400 !default;
|
|
|
68
70
|
|
|
69
71
|
// Skeleton State
|
|
70
72
|
.#{$prefix}--label.#{$prefix}--skeleton {
|
|
71
|
-
@include skeleton;
|
|
72
73
|
width: calcRem(75px);
|
|
73
74
|
height: calcRem(14px);
|
|
75
|
+
@include skeleton;
|
|
74
76
|
}
|
|
75
77
|
|
|
76
78
|
input[data-invalid],
|
|
@@ -101,15 +103,17 @@ $input-label-weight: 400 !default;
|
|
|
101
103
|
.#{$prefix}--form-requirement {
|
|
102
104
|
@include reset;
|
|
103
105
|
@include type-style("caption");
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
106
|
+
& {
|
|
107
|
+
margin: $spacing-01 0 0;
|
|
108
|
+
font-weight: 600;
|
|
109
|
+
font-size: 0.8em;
|
|
110
|
+
max-height: 0;
|
|
111
|
+
line-height: 1.5;
|
|
112
|
+
display: none;
|
|
113
|
+
order: 3;
|
|
114
|
+
color: $support-error-main;
|
|
115
|
+
// TODO: check if there is a better auto sizing for icons
|
|
116
|
+
}
|
|
113
117
|
> svg {
|
|
114
118
|
width: auto;
|
|
115
119
|
height: 1em;
|
|
@@ -26,14 +26,8 @@
|
|
|
26
26
|
width: 100%;
|
|
27
27
|
text-decoration: none;
|
|
28
28
|
height: calcRem(200px);
|
|
29
|
-
|
|
30
|
-
height: calcRem(260px);
|
|
31
|
-
}
|
|
29
|
+
|
|
32
30
|
transition: all 0.1s;
|
|
33
|
-
@include layer(pop-out);
|
|
34
|
-
&.#{$prefix}--photo-card--link:hover {
|
|
35
|
-
@include layer(pop-out--hover);
|
|
36
|
-
}
|
|
37
31
|
color: $text-body-default;
|
|
38
32
|
background-size: cover;
|
|
39
33
|
background-position: 50% 50%;
|
|
@@ -41,6 +35,14 @@
|
|
|
41
35
|
.#{$prefix}--photo-card__info__title {
|
|
42
36
|
margin-top: 0;
|
|
43
37
|
}
|
|
38
|
+
&.#{$prefix}--photo-card--link:hover {
|
|
39
|
+
@include layer(pop-out--hover);
|
|
40
|
+
}
|
|
41
|
+
@include breakpoint("lg") {
|
|
42
|
+
height: calcRem(260px);
|
|
43
|
+
}
|
|
44
|
+
@include layer(pop-out);
|
|
45
|
+
|
|
44
46
|
}
|
|
45
47
|
|
|
46
48
|
.#{$prefix}--photo-card__background {
|
|
@@ -151,9 +153,6 @@
|
|
|
151
153
|
|
|
152
154
|
.#{$prefix}--photo-card--hero {
|
|
153
155
|
height: calcRem(300px);
|
|
154
|
-
@include breakpoint("lg") {
|
|
155
|
-
height: calcRem(500px);
|
|
156
|
-
}
|
|
157
156
|
box-shadow: none;
|
|
158
157
|
&.#{$prefix}--photo-card--link:hover {
|
|
159
158
|
box-shadow: none;
|
|
@@ -167,6 +166,9 @@
|
|
|
167
166
|
height: calcRem(500px);
|
|
168
167
|
}
|
|
169
168
|
}
|
|
169
|
+
@include breakpoint("lg") {
|
|
170
|
+
height: calcRem(500px);
|
|
171
|
+
}
|
|
170
172
|
}
|
|
171
173
|
|
|
172
174
|
.#{$prefix}--photo-card--emergencies,
|
|
@@ -285,14 +287,14 @@
|
|
|
285
287
|
}
|
|
286
288
|
.#{$prefix}--photo-card__info {
|
|
287
289
|
width: 70%;
|
|
288
|
-
@include breakpoint("md") {
|
|
289
|
-
width: 50%;
|
|
290
|
-
}
|
|
291
290
|
left: inherit;
|
|
292
291
|
bottom: 0;
|
|
293
292
|
top: 0;
|
|
294
293
|
right: 0;
|
|
295
294
|
@include text-gradient();
|
|
295
|
+
@include breakpoint("md") {
|
|
296
|
+
width: 50%;
|
|
297
|
+
}
|
|
296
298
|
}
|
|
297
299
|
.#{$prefix}--photo-card__info__title {
|
|
298
300
|
color: $action-default-fill-primary-default;
|
|
@@ -20,11 +20,12 @@
|
|
|
20
20
|
.#{$prefix}--link {
|
|
21
21
|
//@include reset;
|
|
22
22
|
@include font-family("sans");
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
& {
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
color: $action-default-link-default;
|
|
26
|
+
text-decoration: none;
|
|
27
|
+
transition: $transition--base;
|
|
28
|
+
}
|
|
28
29
|
|
|
29
30
|
&:hover,
|
|
30
31
|
&.#{$prefix}--link--hover {
|
|
@@ -70,14 +71,13 @@
|
|
|
70
71
|
}
|
|
71
72
|
|
|
72
73
|
.#{$prefix}--link--solid {
|
|
73
|
-
//@include reset;
|
|
74
74
|
@include font-family("sans");
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
75
|
+
& {
|
|
76
|
+
cursor: pointer;
|
|
77
|
+
color: $action-solid-link-default;
|
|
78
|
+
text-decoration: none;
|
|
79
|
+
transition: $transition--base;
|
|
80
|
+
}
|
|
81
81
|
&:hover,
|
|
82
82
|
&.#{$prefix}--link--solid--hover {
|
|
83
83
|
text-decoration: underline;
|
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
// Copyright IBM Corp. 2016, 2018
|
|
3
|
-
//
|
|
4
|
-
// This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
-
// LICENSE file in the root directory of this source tree.
|
|
6
|
-
//
|
|
7
|
-
|
|
8
|
-
@import './vars';
|
|
1
|
+
@use './vars' as *;
|
|
9
2
|
|
|
10
3
|
@keyframes rotate {
|
|
11
4
|
0% {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
@use "../../utilities/high-contrast-mode" as *;
|
|
13
13
|
@use "../../utilities/z-index" as *;
|
|
14
14
|
|
|
15
|
-
@
|
|
15
|
+
@use "../form" as *;
|
|
16
16
|
|
|
17
17
|
/// @type Number
|
|
18
18
|
/// @access public
|
|
@@ -65,12 +65,12 @@ $main-navigation-menu-width: calcRem(300px);
|
|
|
65
65
|
user-select: none;
|
|
66
66
|
display: flex;
|
|
67
67
|
align-items: center;
|
|
68
|
+
white-space: nowrap;
|
|
68
69
|
@include breakpoint-down("md") {
|
|
69
70
|
width: 100%;
|
|
70
71
|
justify-content: space-between;
|
|
71
72
|
}
|
|
72
73
|
// justify-content: center; // TODO: Check if needed
|
|
73
|
-
white-space: nowrap;
|
|
74
74
|
|
|
75
75
|
> a {
|
|
76
76
|
color: $action-default-link-default; // TODO change to $link_on_color token
|
|
@@ -159,13 +159,11 @@ $main-navigation-menu-width: calcRem(300px);
|
|
|
159
159
|
align-self: flex-start;
|
|
160
160
|
margin-right: 0.5em;
|
|
161
161
|
width: 3.1rem;
|
|
162
|
+
z-index: 100000;
|
|
163
|
+
padding: 0.3em 0em;
|
|
162
164
|
@include breakpoint-up("md") {
|
|
163
165
|
width: 4.7rem;
|
|
164
166
|
}
|
|
165
|
-
//position: absolute;
|
|
166
|
-
//top: 0;
|
|
167
|
-
z-index: 100000;
|
|
168
|
-
padding: 0.3em 0em;
|
|
169
167
|
}
|
|
170
168
|
|
|
171
169
|
svg {
|
|
@@ -232,6 +230,7 @@ $main-navigation-menu-width: calcRem(300px);
|
|
|
232
230
|
}
|
|
233
231
|
|
|
234
232
|
.#{$prefix}--main-navigation__item {
|
|
233
|
+
font-weight: 600;
|
|
235
234
|
@include breakpoint-down("md") {
|
|
236
235
|
width: 100%;
|
|
237
236
|
}
|
|
@@ -240,7 +239,6 @@ $main-navigation-menu-width: calcRem(300px);
|
|
|
240
239
|
}
|
|
241
240
|
@include type-style("body-short-02");
|
|
242
241
|
@include font-family("sans");
|
|
243
|
-
font-weight: 600;
|
|
244
242
|
|
|
245
243
|
&:last-child {
|
|
246
244
|
padding-right: 0;
|
|
@@ -285,9 +283,9 @@ $main-navigation-menu-width: calcRem(300px);
|
|
|
285
283
|
z-index: z("modal");
|
|
286
284
|
color: $text-body-default; // TODO: Replace
|
|
287
285
|
background: $background-main;
|
|
288
|
-
box-shadow: rgba(desaturate(#0b77c2, 50%), 0.15) 0 3px 12px,
|
|
289
|
-
|
|
290
|
-
rgba(desaturate(#0b77c2, 40%), 0.15) 0 32px 78px;
|
|
286
|
+
/* box-shadow: rgba(desaturate(#0b77c2, 50%), 0.15) 0 3px 12px,
|
|
287
|
+
TODO - convert raw color hex into color token in figma
|
|
288
|
+
rgba(desaturate(#0b77c2, 40%), 0.15) 0 32px 78px; */
|
|
291
289
|
.#{$prefix}--theme-dark & {
|
|
292
290
|
box-shadow: var(--modal-background-01) 0 3px 12px,
|
|
293
291
|
//TODO - create token for this color
|
|
@@ -26,16 +26,16 @@
|
|
|
26
26
|
vertical-align: initial;
|
|
27
27
|
border: 0;
|
|
28
28
|
display: flex;
|
|
29
|
-
|
|
30
|
-
width: 100%;
|
|
31
|
-
}
|
|
29
|
+
|
|
32
30
|
max-width: 28rem;
|
|
33
31
|
height: auto;
|
|
34
32
|
margin: 0.5rem 1rem 0.5rem 0;
|
|
35
33
|
padding: 0 0 0 0.875rem;
|
|
36
34
|
color: var(--cds-inverse-01, var(--ui-01));
|
|
37
35
|
box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.2);
|
|
38
|
-
|
|
36
|
+
@include breakpoint-down(md) {
|
|
37
|
+
width: 100%;
|
|
38
|
+
}
|
|
39
39
|
.#{$prefix}--toast-notification:first-child {
|
|
40
40
|
margin-top: 1rem;
|
|
41
41
|
}
|
|
@@ -423,6 +423,7 @@
|
|
|
423
423
|
|
|
424
424
|
.#{$prefix}--block-notification.#{$prefix}--inline-notification {
|
|
425
425
|
max-width: inherit;
|
|
426
|
+
width: 100%;
|
|
426
427
|
|
|
427
428
|
.#{$prefix}--inline-notification__details {
|
|
428
429
|
display: grid;
|
|
@@ -445,7 +446,7 @@
|
|
|
445
446
|
@include breakpoint(md) {
|
|
446
447
|
max-width: inherit;
|
|
447
448
|
}
|
|
448
|
-
|
|
449
|
+
|
|
449
450
|
.#{$prefix}--inline-notification__text-wrapper {
|
|
450
451
|
flex-direction: column;
|
|
451
452
|
grid-area: name;
|
|
@@ -27,15 +27,17 @@ $input-border: 1px solid $field-border;
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
.#{$prefix}--number input[type="number"] {
|
|
30
|
+
@include input-base;
|
|
30
31
|
@include type-style("body-short");
|
|
31
32
|
@include font-family("sans");
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
33
|
+
& {
|
|
34
|
+
box-sizing: border-box;
|
|
35
|
+
display: inline-flex;
|
|
36
|
+
width: 100%;
|
|
37
|
+
min-width: 9.375rem;
|
|
38
|
+
padding-right: $spacing-05;
|
|
39
|
+
padding-left: $spacing-05;
|
|
40
|
+
}
|
|
39
41
|
& ~ .#{$prefix}--label {
|
|
40
42
|
order: 1;
|
|
41
43
|
}
|
|
@@ -91,27 +93,25 @@ $input-border: 1px solid $field-border;
|
|
|
91
93
|
|
|
92
94
|
.#{$prefix}--number__control-btn {
|
|
93
95
|
@include button-reset.reset;
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
bottom: 1px;
|
|
114
|
-
right: 1px;
|
|
96
|
+
& {
|
|
97
|
+
display: inline-flex;
|
|
98
|
+
justify-content: center;
|
|
99
|
+
align-items: center;
|
|
100
|
+
position: relative;
|
|
101
|
+
min-width: $input-height;
|
|
102
|
+
max-width: $input-height;
|
|
103
|
+
font-weight: 600;
|
|
104
|
+
font-size: 1.5rem;
|
|
105
|
+
opacity: 0;
|
|
106
|
+
transition: all 0.1s;
|
|
107
|
+
border-left: 1px solid $field-border-color;
|
|
108
|
+
color: $action-default-fill-primary-default;
|
|
109
|
+
order: 3;
|
|
110
|
+
position: absolute;
|
|
111
|
+
top: 1px;
|
|
112
|
+
bottom: 1px;
|
|
113
|
+
right: 1px;
|
|
114
|
+
}
|
|
115
115
|
|
|
116
116
|
@include rtl {
|
|
117
117
|
left: 0;
|
|
@@ -126,8 +126,8 @@ $input-border: 1px solid $field-border;
|
|
|
126
126
|
|
|
127
127
|
&:focus {
|
|
128
128
|
border-left-color: transparent !important;
|
|
129
|
-
@include focus-outline;
|
|
130
129
|
z-index: 100;
|
|
130
|
+
@include focus-outline;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
&:hover {
|
|
@@ -184,10 +184,9 @@ $input-border: 1px solid $field-border;
|
|
|
184
184
|
|
|
185
185
|
// Skeleton State
|
|
186
186
|
.#{$prefix}--number.#{$prefix}--skeleton {
|
|
187
|
-
@include skeleton;
|
|
188
187
|
width: 100%;
|
|
189
188
|
height: 2.5rem;
|
|
190
|
-
|
|
189
|
+
@include skeleton;
|
|
191
190
|
input[type="number"] {
|
|
192
191
|
display: none;
|
|
193
192
|
}
|
|
@@ -30,13 +30,15 @@
|
|
|
30
30
|
.#{$prefix}--pagination {
|
|
31
31
|
@include component-reset.reset;
|
|
32
32
|
@include font-family("sans");
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
33
|
+
& {
|
|
34
|
+
width: 100%;
|
|
35
|
+
background-color: $background-main;
|
|
36
|
+
padding: $spacing-03 $spacing-05;
|
|
37
|
+
display: flex;
|
|
38
|
+
align-items: center;
|
|
39
|
+
border: 1px solid var(--ui-03);
|
|
40
|
+
height: calcRem(46px);
|
|
41
|
+
}
|
|
40
42
|
|
|
41
43
|
.#{$prefix}--form-item {
|
|
42
44
|
flex: auto;
|
|
@@ -80,10 +82,11 @@
|
|
|
80
82
|
|
|
81
83
|
.#{$prefix}--pagination__button {
|
|
82
84
|
@include component-reset.reset;
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
& {
|
|
86
|
+
border: none;
|
|
87
|
+
background: none;
|
|
88
|
+
cursor: pointer;
|
|
89
|
+
}
|
|
87
90
|
&:hover {
|
|
88
91
|
.#{$prefix}--pagination__button-icon {
|
|
89
92
|
fill: $action-default-fill-primary-default;
|
|
@@ -71,22 +71,24 @@ $radio-border-width: 2px !default;
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
.#{$prefix}--radio-button__label {
|
|
74
|
-
@include type.type-style("body-short");
|
|
75
|
-
@include type.font-family("sans");
|
|
76
74
|
display: flex;
|
|
77
75
|
align-items: center;
|
|
78
76
|
cursor: pointer;
|
|
77
|
+
@include type.type-style("body-short");
|
|
78
|
+
@include type.font-family("sans");
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
.#{$prefix}--radio-button__appearance {
|
|
82
82
|
@include reset;
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
83
|
+
& {
|
|
84
|
+
background-color: $background-main;
|
|
85
|
+
border-radius: 50%;
|
|
86
|
+
border: $radio-border-width solid $field-background-disabled;
|
|
87
|
+
flex-shrink: 0;
|
|
88
|
+
height: calcRem(18px);
|
|
89
|
+
width: calcRem(18px);
|
|
90
|
+
margin-right: $spacing-03;
|
|
91
|
+
}
|
|
90
92
|
@include rtl {
|
|
91
93
|
margin-left: $spacing-03;
|
|
92
94
|
margin-right: 0;
|
|
@@ -125,9 +127,9 @@ $radio-border-width: 2px !default;
|
|
|
125
127
|
|
|
126
128
|
// Skeleton State
|
|
127
129
|
.#{$prefix}--radio-button__label.#{$prefix}--skeleton {
|
|
128
|
-
@include skeleton;
|
|
129
130
|
width: calcRem(100px);
|
|
130
131
|
height: calcRem(18px);
|
|
132
|
+
@include skeleton;
|
|
131
133
|
}
|
|
132
134
|
|
|
133
135
|
.#{$prefix}--radio-button__label.#{$prefix}--skeleton
|
|
@@ -12,10 +12,11 @@
|
|
|
12
12
|
@mixin read-more {
|
|
13
13
|
.#{$prefix}--read-more {
|
|
14
14
|
@include component-reset.reset;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
& {
|
|
16
|
+
max-height: 400px;
|
|
17
|
+
overflow: hidden;
|
|
18
|
+
transition: all 0.3s;
|
|
19
|
+
}
|
|
19
20
|
&[aria-disabled="true"] {
|
|
20
21
|
opacity: 0.5;
|
|
21
22
|
pointer-events: none;
|