@carbon/styles 1.60.0 → 1.61.0-rc.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 +5 -31
- package/css/styles.min.css +1 -1
- package/package.json +2 -2
- package/scss/components/modal/_modal.scss +5 -41
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/styles",
|
|
3
3
|
"description": "Styles for the Carbon Design System",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.61.0-rc.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"scss/**/*.css",
|
|
69
69
|
"css/**/*.css"
|
|
70
70
|
],
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "04d8d1c59329f12d94e4878e44d13c980eae68ac"
|
|
72
72
|
}
|
|
@@ -51,47 +51,6 @@
|
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
// V11: Question for design: do we have an updated tokens for fields that exist on `layer`?
|
|
55
|
-
.#{$prefix}--pagination,
|
|
56
|
-
.#{$prefix}--pagination__control-buttons,
|
|
57
|
-
.#{$prefix}--text-input,
|
|
58
|
-
.#{$prefix}--text-area,
|
|
59
|
-
.#{$prefix}--search-input,
|
|
60
|
-
.#{$prefix}--select-input,
|
|
61
|
-
.#{$prefix}--dropdown,
|
|
62
|
-
.#{$prefix}--dropdown-list,
|
|
63
|
-
.#{$prefix}--number input[type='number'],
|
|
64
|
-
.#{$prefix}--date-picker__input,
|
|
65
|
-
.#{$prefix}--multi-select,
|
|
66
|
-
.#{$prefix}--number__control-btn::before,
|
|
67
|
-
.#{$prefix}--number__control-btn::after,
|
|
68
|
-
.#{$prefix}--list-box input[role='combobox'] {
|
|
69
|
-
background-color: $field-02;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
// Override to align layer token with field
|
|
73
|
-
.#{$prefix}--list-box__menu {
|
|
74
|
-
background-color: $layer-02;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.#{$prefix}--number__rule-divider {
|
|
78
|
-
background-color: $border-subtle-02;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.#{$prefix}--list-box__menu-item__option {
|
|
82
|
-
border-block-start-color: $border-subtle-02;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.#{$prefix}--list-box__menu-item:hover
|
|
86
|
-
.#{$prefix}--list-box__menu-item__option {
|
|
87
|
-
border-block-start-color: $layer-hover-02;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.#{$prefix}--list-box__menu-item--active:hover
|
|
91
|
-
.#{$prefix}--list-box__menu-item__option {
|
|
92
|
-
border-block-start-color: $layer-selected-hover-02;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
54
|
// Fluid inputs
|
|
96
55
|
.#{$prefix}--text-input--fluid .#{$prefix}--text-input,
|
|
97
56
|
.#{$prefix}--text-area--fluid .#{$prefix}--text-area__wrapper,
|
|
@@ -361,6 +320,11 @@
|
|
|
361
320
|
linear-gradient(to top, $layer 0, 2px, transparent 2px);
|
|
362
321
|
}
|
|
363
322
|
|
|
323
|
+
//removing mask image in case we have dropdown in modal
|
|
324
|
+
.#{$prefix}--modal-scroll-content:has(.#{$prefix}--dropdown--autoalign) {
|
|
325
|
+
mask-image: none;
|
|
326
|
+
}
|
|
327
|
+
|
|
364
328
|
// Required so overflow-indicator disappears at end of content
|
|
365
329
|
.#{$prefix}--modal-scroll-content > *:last-child {
|
|
366
330
|
margin-block-end: $spacing-06;
|