@carbon/styles 1.113.0 → 1.114.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/css/styles.css +2167 -536
- package/css/styles.min.css +1 -1
- package/index.scss +2 -1
- package/package.json +9 -9
- package/scss/__tests__/__snapshots__/border-radius-test.js.snap +24 -0
- package/scss/__tests__/__snapshots__/colors-test.js.snap +1 -1
- package/scss/__tests__/__snapshots__/config-test.js.snap +1 -1
- package/scss/__tests__/__snapshots__/spacing-test.js.snap +1 -1
- package/scss/__tests__/__snapshots__/type-test.js.snap +1 -1
- package/scss/__tests__/border-radius-test.js +31 -0
- package/scss/_border-radius.scss +10 -0
- package/scss/components/EditInPlace/_edit-in-place.scss +188 -0
- package/scss/components/EditInPlace/_index.scss +11 -0
- package/scss/components/FullPageError/_full-page-error.scss +91 -0
- package/scss/components/FullPageError/_index.scss +11 -0
- package/scss/components/InterstitialScreen/_index.scss +11 -0
- package/scss/components/InterstitialScreen/_interstitial-screen.scss +181 -0
- package/scss/components/OptionsTile/_index.scss +11 -0
- package/scss/components/OptionsTile/_options-tile.scss +240 -0
- package/scss/components/__tests__/button-test.js +27 -0
- package/scss/components/__tests__/data-table-test.js +43 -1
- package/scss/components/__tests__/file-uploader.js +30 -0
- package/scss/components/__tests__/overflow-menu-test.js +40 -1
- package/scss/components/__tests__/structured-list-test.js +38 -1
- package/scss/components/__tests__/tag-test.js +1 -2
- package/scss/components/__tests__/text-input-test.js +1 -1
- package/scss/components/__tests__/treeview-test.js +60 -1
- package/scss/components/_index.scss +9 -1
- package/scss/components/big-number/_big-number.scss +164 -0
- package/scss/components/big-number/_index.scss +11 -0
- package/scss/components/button/_button.scss +0 -1
- package/scss/components/card/_card.scss +37 -12
- package/scss/components/coachmark/_coachmark-beacon.scss +159 -0
- package/scss/components/coachmark/_coachmark-tagline.scss +142 -0
- package/scss/components/coachmark/_coachmark.scss +56 -0
- package/scss/components/coachmark/_index.scss +17 -0
- package/scss/components/data-table/_data-table.scss +140 -110
- package/scss/components/data-table/expandable/_data-table-expandable.scss +86 -59
- package/scss/components/data-table/skeleton/_data-table-skeleton.scss +10 -8
- package/scss/components/date-picker/_date-picker-next.scss +20 -20
- package/scss/components/date-picker/_date-picker.scss +5 -3
- package/scss/components/date-picker/_flatpickr.scss +46 -28
- package/scss/components/file-uploader/_file-uploader.scss +23 -10
- package/scss/components/loading/_loading.scss +2 -1
- package/scss/components/overflow-menu/_overflow-menu.scss +12 -6
- package/scss/components/pagination/_pagination.scss +12 -0
- package/scss/components/pagination-nav/_pagination-nav.scss +5 -3
- package/scss/components/scroll-gradient/_index.scss +11 -0
- package/scss/components/scroll-gradient/_scroll-gradient.scss +107 -0
- package/scss/components/slider/_slider.scss +38 -15
- package/scss/components/structured-list/_structured-list.scss +27 -20
- package/scss/components/tabs/_tabs.scss +11 -0
- package/scss/components/tag/_mixins.scss +9 -5
- package/scss/components/tag/_tag.scss +44 -26
- package/scss/components/text-input/_text-input.scss +11 -7
- package/scss/components/treeview/_treeview.scss +52 -33
- package/scss/components/ui-shell/side-nav/_side-nav.scss +58 -42
- package/scss/components/ui-shell/switcher/_switcher.scss +7 -5
- package/scss/components/user-avatar/_index.scss +11 -0
- package/scss/components/user-avatar/_user-avatar.scss +160 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//
|
|
2
|
-
// Copyright IBM Corp. 2016,
|
|
2
|
+
// Copyright IBM Corp. 2016, 2026
|
|
3
3
|
//
|
|
4
4
|
// This source code is licensed under the Apache-2.0 license found in the
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
|
@@ -236,8 +236,10 @@
|
|
|
236
236
|
transition: none;
|
|
237
237
|
}
|
|
238
238
|
|
|
239
|
-
|
|
240
|
-
|
|
239
|
+
@media (any-hover: hover) {
|
|
240
|
+
&:hover {
|
|
241
|
+
background-color: $layer-hover;
|
|
242
|
+
}
|
|
241
243
|
}
|
|
242
244
|
}
|
|
243
245
|
|
|
@@ -247,9 +249,11 @@
|
|
|
247
249
|
fill: $icon-disabled;
|
|
248
250
|
}
|
|
249
251
|
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
252
|
+
@media (any-hover: hover) {
|
|
253
|
+
.flatpickr-next-month.disabled:hover svg,
|
|
254
|
+
.flatpickr-prev-month.disabled:hover svg {
|
|
255
|
+
fill: $icon-disabled;
|
|
256
|
+
}
|
|
253
257
|
}
|
|
254
258
|
|
|
255
259
|
.flatpickr-current-month {
|
|
@@ -265,8 +269,10 @@
|
|
|
265
269
|
.flatpickr-current-month .cur-month {
|
|
266
270
|
margin-inline: $spacing-02 $spacing-02;
|
|
267
271
|
|
|
268
|
-
|
|
269
|
-
|
|
272
|
+
@media (any-hover: hover) {
|
|
273
|
+
&:hover {
|
|
274
|
+
background-color: $layer-hover;
|
|
275
|
+
}
|
|
270
276
|
}
|
|
271
277
|
}
|
|
272
278
|
|
|
@@ -274,8 +280,10 @@
|
|
|
274
280
|
position: relative;
|
|
275
281
|
inline-size: convert.to-rem(60px);
|
|
276
282
|
|
|
277
|
-
|
|
278
|
-
|
|
283
|
+
@media (any-hover: hover) {
|
|
284
|
+
&:hover {
|
|
285
|
+
background-color: $background-hover;
|
|
286
|
+
}
|
|
279
287
|
}
|
|
280
288
|
}
|
|
281
289
|
|
|
@@ -351,9 +359,11 @@
|
|
|
351
359
|
inset-block-start: 33%;
|
|
352
360
|
}
|
|
353
361
|
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
362
|
+
@media (any-hover: hover) {
|
|
363
|
+
&:hover::after {
|
|
364
|
+
border-block-end-color: $button-primary;
|
|
365
|
+
border-block-start-color: $button-primary;
|
|
366
|
+
}
|
|
357
367
|
}
|
|
358
368
|
|
|
359
369
|
&:active::after {
|
|
@@ -370,14 +380,16 @@
|
|
|
370
380
|
border-block-start-color: $text-disabled;
|
|
371
381
|
}
|
|
372
382
|
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
383
|
+
@media (any-hover: hover) {
|
|
384
|
+
.numInputWrapper:hover .arrowUp,
|
|
385
|
+
.numInputWrapper:hover .arrowDown {
|
|
386
|
+
opacity: 1;
|
|
387
|
+
}
|
|
377
388
|
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
389
|
+
.numInputWrapper:hover .numInput[disabled] ~ .arrowUp,
|
|
390
|
+
.numInputWrapper:hover .numInput[disabled] ~ .arrowDown {
|
|
391
|
+
opacity: 0;
|
|
392
|
+
}
|
|
381
393
|
}
|
|
382
394
|
|
|
383
395
|
.flatpickr-weekdays {
|
|
@@ -445,8 +457,10 @@
|
|
|
445
457
|
inline-size: convert.to-rem(40px);
|
|
446
458
|
transition: all $duration-fast-01 motion(standard, productive);
|
|
447
459
|
|
|
448
|
-
|
|
449
|
-
|
|
460
|
+
@media (any-hover: hover) {
|
|
461
|
+
&:hover {
|
|
462
|
+
background: $layer-hover;
|
|
463
|
+
}
|
|
450
464
|
}
|
|
451
465
|
|
|
452
466
|
&:focus {
|
|
@@ -522,11 +536,13 @@
|
|
|
522
536
|
background: $layer-01;
|
|
523
537
|
}
|
|
524
538
|
|
|
525
|
-
|
|
526
|
-
|
|
539
|
+
@media (any-hover: hover) {
|
|
540
|
+
.flatpickr-day.endRange:hover {
|
|
541
|
+
@include focus-outline('outline');
|
|
527
542
|
|
|
528
|
-
|
|
529
|
-
|
|
543
|
+
background: $layer-01;
|
|
544
|
+
color: $text-primary;
|
|
545
|
+
}
|
|
530
546
|
}
|
|
531
547
|
|
|
532
548
|
.flatpickr-day.endRange.inRange.selected {
|
|
@@ -538,8 +554,10 @@
|
|
|
538
554
|
color: $text-disabled;
|
|
539
555
|
cursor: not-allowed;
|
|
540
556
|
|
|
541
|
-
|
|
542
|
-
|
|
557
|
+
@media (any-hover: hover) {
|
|
558
|
+
&:hover {
|
|
559
|
+
background-color: transparent;
|
|
560
|
+
}
|
|
543
561
|
}
|
|
544
562
|
}
|
|
545
563
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//
|
|
2
|
-
// Copyright IBM Corp. 2016,
|
|
2
|
+
// Copyright IBM Corp. 2016, 2026
|
|
3
3
|
//
|
|
4
4
|
// This source code is licensed under the Apache-2.0 license found in the
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
|
@@ -72,13 +72,18 @@
|
|
|
72
72
|
outline-offset: -2px;
|
|
73
73
|
transition: $duration-fast-02 motion(standard, productive);
|
|
74
74
|
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
@media (any-hover: hover) {
|
|
76
|
+
&:hover {
|
|
77
|
+
outline: 2px solid $focus;
|
|
78
|
+
text-decoration: underline;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&:focus {
|
|
77
83
|
outline: 2px solid $focus;
|
|
84
|
+
text-decoration: underline;
|
|
78
85
|
}
|
|
79
86
|
|
|
80
|
-
&:hover,
|
|
81
|
-
&:focus,
|
|
82
87
|
&:active,
|
|
83
88
|
&:active:visited {
|
|
84
89
|
text-decoration: underline;
|
|
@@ -94,8 +99,14 @@
|
|
|
94
99
|
cursor: no-drop;
|
|
95
100
|
text-decoration: none;
|
|
96
101
|
transition: none;
|
|
102
|
+
@media (any-hover: hover) {
|
|
103
|
+
&:hover {
|
|
104
|
+
color: $text-disabled;
|
|
105
|
+
outline: none;
|
|
106
|
+
text-decoration: none;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
97
109
|
|
|
98
|
-
&:hover,
|
|
99
110
|
&:focus {
|
|
100
111
|
color: $text-disabled;
|
|
101
112
|
outline: none;
|
|
@@ -103,10 +114,6 @@
|
|
|
103
114
|
}
|
|
104
115
|
}
|
|
105
116
|
|
|
106
|
-
.#{$prefix}--file-browse-btn--disabled .#{$prefix}--file__drop-container {
|
|
107
|
-
border: 1px dashed button.$button-disabled;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
117
|
.#{$prefix}--label-description {
|
|
111
118
|
@include reset;
|
|
112
119
|
@include type-style('body-compact-01');
|
|
@@ -418,6 +425,12 @@
|
|
|
418
425
|
block-size: convert.to-rem(96px);
|
|
419
426
|
}
|
|
420
427
|
|
|
428
|
+
.#{$prefix}--file-browse-btn--disabled.#{$prefix}--file__drop-container,
|
|
429
|
+
.#{$prefix}--file-browse-btn--disabled .#{$prefix}--file__drop-container {
|
|
430
|
+
border: 1px dashed button.$button-disabled;
|
|
431
|
+
cursor: no-drop;
|
|
432
|
+
}
|
|
433
|
+
|
|
421
434
|
.#{$prefix}--file__drop-container--drag-over {
|
|
422
435
|
background: none;
|
|
423
436
|
outline: 2px solid $focus;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//
|
|
2
|
-
// Copyright IBM Corp. 2016,
|
|
2
|
+
// Copyright IBM Corp. 2016, 2026
|
|
3
3
|
//
|
|
4
4
|
// This source code is licensed under the Apache-2.0 license found in the
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
|
@@ -96,6 +96,7 @@
|
|
|
96
96
|
inset-block-start: 0;
|
|
97
97
|
inset-inline-start: 0;
|
|
98
98
|
transition: background-color $duration-slow-02 motion(standard, expressive);
|
|
99
|
+
user-select: none;
|
|
99
100
|
}
|
|
100
101
|
|
|
101
102
|
.#{$prefix}--loading-overlay--stop {
|
|
@@ -50,8 +50,10 @@
|
|
|
50
50
|
@include focus-outline('outline');
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
@media (any-hover: hover) {
|
|
54
|
+
&:hover {
|
|
55
|
+
background-color: $background-hover;
|
|
56
|
+
}
|
|
55
57
|
}
|
|
56
58
|
}
|
|
57
59
|
|
|
@@ -123,8 +125,10 @@
|
|
|
123
125
|
}
|
|
124
126
|
}
|
|
125
127
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
+
@media (any-hover: hover) {
|
|
129
|
+
.#{$prefix}--overflow-menu.#{$prefix}--overflow-menu--open:hover {
|
|
130
|
+
background-color: $layer;
|
|
131
|
+
}
|
|
128
132
|
}
|
|
129
133
|
|
|
130
134
|
.#{$prefix}--overflow-menu-options--light {
|
|
@@ -135,8 +139,10 @@
|
|
|
135
139
|
}
|
|
136
140
|
}
|
|
137
141
|
|
|
138
|
-
|
|
139
|
-
|
|
142
|
+
@media (any-hover: hover) {
|
|
143
|
+
.#{$prefix}--overflow-menu.#{$prefix}--overflow-menu--light.#{$prefix}--overflow-menu--open:hover {
|
|
144
|
+
background-color: $layer-hover;
|
|
145
|
+
}
|
|
140
146
|
}
|
|
141
147
|
|
|
142
148
|
.#{$prefix}--overflow-menu-options[data-floating-menu-direction='bottom']:not(
|
|
@@ -134,6 +134,14 @@
|
|
|
134
134
|
|
|
135
135
|
.#{$prefix}--pagination__right {
|
|
136
136
|
border-inline-start: 1px solid $border-subtle;
|
|
137
|
+
|
|
138
|
+
@container pagination (max-width: 42rem) {
|
|
139
|
+
border-inline-start: 0;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
&.#{$prefix}--pagination__right--no-content {
|
|
143
|
+
border-inline-start: 0;
|
|
144
|
+
}
|
|
137
145
|
}
|
|
138
146
|
|
|
139
147
|
.#{$prefix}--pagination__left,
|
|
@@ -178,6 +186,10 @@
|
|
|
178
186
|
.#{$prefix}--pagination__left {
|
|
179
187
|
padding: 0 $spacing-05 0 0;
|
|
180
188
|
|
|
189
|
+
&.#{$prefix}--pagination__left--no-sizer {
|
|
190
|
+
padding: 0;
|
|
191
|
+
}
|
|
192
|
+
|
|
181
193
|
// 42rem = 'md' breakpoint width
|
|
182
194
|
@container pagination (min-width: 42rem) {
|
|
183
195
|
padding: 0 $spacing-05;
|
|
@@ -92,9 +92,11 @@
|
|
|
92
92
|
color $duration-fast-02 motion(standard, productive);
|
|
93
93
|
user-select: none;
|
|
94
94
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
95
|
+
@media (any-hover: hover) {
|
|
96
|
+
&:hover {
|
|
97
|
+
background-color: $background-color-hover;
|
|
98
|
+
color: $text-primary;
|
|
99
|
+
}
|
|
98
100
|
}
|
|
99
101
|
|
|
100
102
|
&:focus {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright IBM Corp. 2024, 2026
|
|
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
|
+
@forward 'scroll-gradient';
|
|
9
|
+
@use 'scroll-gradient';
|
|
10
|
+
|
|
11
|
+
@include scroll-gradient.scroll-gradient;
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright IBM Corp. 2024, 2026
|
|
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
|
+
//-----------------------------
|
|
9
|
+
// Scroll gradient
|
|
10
|
+
//-----------------------------
|
|
11
|
+
|
|
12
|
+
@use '../../config' as *;
|
|
13
|
+
@use '../../spacing' as *;
|
|
14
|
+
|
|
15
|
+
/// ScrollGradient styles
|
|
16
|
+
/// @access public
|
|
17
|
+
/// @group scroll-gradient
|
|
18
|
+
@mixin scroll-gradient {
|
|
19
|
+
$intersection-value: 3rem;
|
|
20
|
+
|
|
21
|
+
.#{$prefix}--scroll-gradient {
|
|
22
|
+
position: relative;
|
|
23
|
+
display: flex;
|
|
24
|
+
align-items: stretch;
|
|
25
|
+
justify-content: stretch;
|
|
26
|
+
block-size: inherit;
|
|
27
|
+
inline-size: inherit;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.#{$prefix}--scroll-gradient__content {
|
|
31
|
+
display: grid;
|
|
32
|
+
overflow: auto;
|
|
33
|
+
block-size: inherit;
|
|
34
|
+
grid-template-columns: 1fr;
|
|
35
|
+
inline-size: 100%;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.#{$prefix}--scroll-gradient__content-children {
|
|
39
|
+
block-size: 100%;
|
|
40
|
+
grid-column-start: 1;
|
|
41
|
+
grid-row-start: 1;
|
|
42
|
+
inline-size: 100%;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.#{$prefix}--scroll-gradient__content-children > * {
|
|
46
|
+
grid-area: 1 / 1;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.#{$prefix}--scroll-gradient__start-vertical,
|
|
50
|
+
.#{$prefix}--scroll-gradient__start-horizontal,
|
|
51
|
+
.#{$prefix}--scroll-gradient__end-vertical,
|
|
52
|
+
.#{$prefix}--scroll-gradient__end-horizontal {
|
|
53
|
+
position: absolute;
|
|
54
|
+
z-index: 1;
|
|
55
|
+
display: none;
|
|
56
|
+
pointer-events: none;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.#{$prefix}--scroll-gradient--y-scrollable
|
|
60
|
+
.#{$prefix}--scroll-gradient__start-vertical {
|
|
61
|
+
block-size: $spacing-09;
|
|
62
|
+
inset-block-start: 0;
|
|
63
|
+
inset-inline-start: 0;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.#{$prefix}--scroll-gradient--y-scrollable
|
|
67
|
+
.#{$prefix}--scroll-gradient__end-vertical {
|
|
68
|
+
block-size: $spacing-09;
|
|
69
|
+
inset-block-end: 0;
|
|
70
|
+
inset-inline-start: 0;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.#{$prefix}--scroll-gradient--x-scrollable
|
|
74
|
+
.#{$prefix}--scroll-gradient__start-horizontal {
|
|
75
|
+
inline-size: $spacing-09;
|
|
76
|
+
inset-block-start: 0;
|
|
77
|
+
inset-inline-start: 0;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.#{$prefix}--scroll-gradient--x-scrollable
|
|
81
|
+
.#{$prefix}--scroll-gradient__end-horizontal {
|
|
82
|
+
inline-size: $spacing-09;
|
|
83
|
+
inset-block-start: 0;
|
|
84
|
+
inset-inline-end: 0;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.#{$prefix}--scroll-gradient [data-start-vertical],
|
|
88
|
+
.#{$prefix}--scroll-gradient [data-end-vertical] {
|
|
89
|
+
block-size: $intersection-value;
|
|
90
|
+
grid-column-start: 1;
|
|
91
|
+
grid-row-start: 1;
|
|
92
|
+
inline-size: 100%;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.#{$prefix}--scroll-gradient [data-end-vertical],
|
|
96
|
+
.#{$prefix}--scroll-gradient [data-end-horizontal] {
|
|
97
|
+
place-self: flex-end;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.#{$prefix}--scroll-gradient [data-start-horizontal],
|
|
101
|
+
.#{$prefix}--scroll-gradient [data-end-horizontal] {
|
|
102
|
+
block-size: 100%;
|
|
103
|
+
grid-column-start: 1;
|
|
104
|
+
grid-row-start: 1;
|
|
105
|
+
inline-size: $intersection-value;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//
|
|
2
|
-
// Copyright IBM Corp. 2016,
|
|
2
|
+
// Copyright IBM Corp. 2016, 2026
|
|
3
3
|
//
|
|
4
4
|
// This source code is licensed under the Apache-2.0 license found in the
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
|
@@ -198,9 +198,11 @@
|
|
|
198
198
|
background $duration-fast-02 motion(standard, productive),
|
|
199
199
|
box-shadow $duration-fast-02 motion(standard, productive);
|
|
200
200
|
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
201
|
+
@media (any-hover: hover) {
|
|
202
|
+
&:hover {
|
|
203
|
+
// 20px / 14px = 1.4286
|
|
204
|
+
transform: scale(1.4286);
|
|
205
|
+
}
|
|
204
206
|
}
|
|
205
207
|
|
|
206
208
|
&:focus {
|
|
@@ -248,11 +250,13 @@
|
|
|
248
250
|
inset-inline-end: 0;
|
|
249
251
|
}
|
|
250
252
|
|
|
251
|
-
|
|
252
|
-
|
|
253
|
+
@media (any-hover: hover) {
|
|
254
|
+
&:hover {
|
|
255
|
+
transform: none;
|
|
253
256
|
|
|
254
|
-
|
|
255
|
-
|
|
257
|
+
.#{$prefix}--slider__thumb-icon {
|
|
258
|
+
fill: $text-secondary;
|
|
259
|
+
}
|
|
256
260
|
}
|
|
257
261
|
}
|
|
258
262
|
|
|
@@ -289,11 +293,16 @@
|
|
|
289
293
|
inset-inline: 0 auto;
|
|
290
294
|
}
|
|
291
295
|
|
|
292
|
-
&:hover,
|
|
293
296
|
&:active,
|
|
294
297
|
&:focus {
|
|
295
298
|
transform: none;
|
|
296
299
|
}
|
|
300
|
+
|
|
301
|
+
@media (any-hover: hover) {
|
|
302
|
+
&:hover {
|
|
303
|
+
transform: none;
|
|
304
|
+
}
|
|
305
|
+
}
|
|
297
306
|
}
|
|
298
307
|
|
|
299
308
|
.#{$prefix}--slider__input {
|
|
@@ -376,9 +385,11 @@
|
|
|
376
385
|
.#{$prefix}--slider--disabled .#{$prefix}--slider__thumb {
|
|
377
386
|
background-color: $border-disabled;
|
|
378
387
|
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
388
|
+
@media (any-hover: hover) {
|
|
389
|
+
&:hover {
|
|
390
|
+
cursor: not-allowed;
|
|
391
|
+
transform: none;
|
|
392
|
+
}
|
|
382
393
|
}
|
|
383
394
|
|
|
384
395
|
&:focus {
|
|
@@ -400,12 +411,18 @@
|
|
|
400
411
|
background-color: transparent;
|
|
401
412
|
|
|
402
413
|
&:active,
|
|
403
|
-
&:hover,
|
|
404
414
|
&:focus {
|
|
405
415
|
background-color: transparent;
|
|
406
416
|
transform: none;
|
|
407
417
|
}
|
|
408
418
|
|
|
419
|
+
@media (any-hover: hover) {
|
|
420
|
+
&:hover {
|
|
421
|
+
background-color: transparent;
|
|
422
|
+
transform: none;
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
|
|
409
426
|
.#{$prefix}--slider__thumb-icon {
|
|
410
427
|
fill: $border-disabled;
|
|
411
428
|
}
|
|
@@ -430,11 +447,17 @@
|
|
|
430
447
|
transition: none;
|
|
431
448
|
|
|
432
449
|
&:active,
|
|
433
|
-
&:focus
|
|
434
|
-
&:hover {
|
|
450
|
+
&:focus {
|
|
435
451
|
color: $text-disabled;
|
|
436
452
|
outline: none;
|
|
437
453
|
}
|
|
454
|
+
|
|
455
|
+
@media (any-hover: hover) {
|
|
456
|
+
&:hover {
|
|
457
|
+
color: $text-disabled;
|
|
458
|
+
outline: none;
|
|
459
|
+
}
|
|
460
|
+
}
|
|
438
461
|
}
|
|
439
462
|
|
|
440
463
|
// readonly state
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//
|
|
2
|
-
// Copyright IBM Corp. 2016,
|
|
2
|
+
// Copyright IBM Corp. 2016, 2026
|
|
3
3
|
//
|
|
4
4
|
// This source code is licensed under the Apache-2.0 license found in the
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
|
@@ -87,21 +87,23 @@
|
|
|
87
87
|
border: none;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
|
|
91
|
-
.#{$prefix}--structured-list
|
|
92
|
-
.#{$prefix}--structured-list-row
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
90
|
+
@media (any-hover: hover) {
|
|
91
|
+
.#{$prefix}--structured-list--selection
|
|
92
|
+
.#{$prefix}--structured-list-row:hover:not(
|
|
93
|
+
.#{$prefix}--structured-list-row--header-row
|
|
94
|
+
):not(.#{$prefix}--structured-list-row--selected) {
|
|
95
|
+
border-color: $layer-hover;
|
|
96
|
+
background-color: $layer-hover;
|
|
97
|
+
cursor: pointer;
|
|
98
|
+
}
|
|
98
99
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
100
|
+
.#{$prefix}--structured-list--selection
|
|
101
|
+
.#{$prefix}--structured-list-row:hover:not(
|
|
102
|
+
.#{$prefix}--structured-list-row--header-row
|
|
103
|
+
):not(.#{$prefix}--structured-list-row--selected)
|
|
104
|
+
+ .#{$prefix}--structured-list-row {
|
|
105
|
+
border-color: $layer-hover;
|
|
106
|
+
}
|
|
105
107
|
}
|
|
106
108
|
|
|
107
109
|
.#{$prefix}--structured-list--selection
|
|
@@ -126,11 +128,16 @@
|
|
|
126
128
|
cursor: inherit;
|
|
127
129
|
}
|
|
128
130
|
|
|
129
|
-
|
|
130
|
-
.#{$prefix}--structured-list
|
|
131
|
-
.#{$prefix}--structured-list-row
|
|
132
|
-
|
|
133
|
-
|
|
131
|
+
@media (any-hover: hover) {
|
|
132
|
+
.#{$prefix}--structured-list--selection
|
|
133
|
+
.#{$prefix}--structured-list-row:hover:not(
|
|
134
|
+
.#{$prefix}--structured-list-row--header-row
|
|
135
|
+
)
|
|
136
|
+
> .#{$prefix}--structured-list-td {
|
|
137
|
+
color: $text-primary;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
134
141
|
.#{$prefix}--structured-list--selection
|
|
135
142
|
.#{$prefix}--structured-list-row.#{$prefix}--structured-list-row--selected
|
|
136
143
|
> .#{$prefix}--structured-list-td {
|
|
@@ -827,6 +827,17 @@
|
|
|
827
827
|
}
|
|
828
828
|
}
|
|
829
829
|
|
|
830
|
+
//-----------------------------
|
|
831
|
+
// Popover tooltip
|
|
832
|
+
//-----------------------------
|
|
833
|
+
.#{$prefix}--tabs .#{$prefix}--icon-tooltip .#{$prefix}--popover-content {
|
|
834
|
+
@include custom-property.declaration('popover-offset', convert.to-rem(8px));
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
.#{$prefix}--tabs .#{$prefix}--icon-tooltip .#{$prefix}--popover-caret {
|
|
838
|
+
@include custom-property.declaration('popover-offset', convert.to-rem(8px));
|
|
839
|
+
}
|
|
840
|
+
|
|
830
841
|
.#{$prefix}--tabs.#{$prefix}--tabs--vertical.#{$prefix}--layout--size-sm {
|
|
831
842
|
.#{$prefix}--tabs__nav-link {
|
|
832
843
|
.#{$prefix}--tabs__nav-item-label {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//
|
|
2
|
-
// Copyright IBM Corp. 2016,
|
|
2
|
+
// Copyright IBM Corp. 2016, 2026
|
|
3
3
|
//
|
|
4
4
|
// This source code is licensed under the Apache-2.0 license found in the
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
|
@@ -20,14 +20,18 @@
|
|
|
20
20
|
&.#{$prefix}--tag--operational {
|
|
21
21
|
border: 1px solid $border-color;
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
@media (any-hover: hover) {
|
|
24
|
+
&:hover {
|
|
25
|
+
background-color: $filter-hover-color;
|
|
26
|
+
}
|
|
25
27
|
}
|
|
26
28
|
}
|
|
27
29
|
|
|
28
30
|
.#{$prefix}--tag__close-icon {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
+
@media (any-hover: hover) {
|
|
32
|
+
&:hover {
|
|
33
|
+
background-color: $filter-hover-color;
|
|
34
|
+
}
|
|
31
35
|
}
|
|
32
36
|
}
|
|
33
37
|
|