@gitlab/ui 90.4.0 → 90.5.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/CHANGELOG.md +7 -0
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/package.json +1 -1
- package/src/components/base/alert/alert.scss +8 -6
package/package.json
CHANGED
|
@@ -42,6 +42,7 @@ $gl-alert-top-border-size: 2px;
|
|
|
42
42
|
position: relative;
|
|
43
43
|
padding-inline: calc(#{$gl-spacing-scale-9} + #{$gl-alert-padding-x});
|
|
44
44
|
@include gl-py-5;
|
|
45
|
+
@apply gl-rounded-base;
|
|
45
46
|
|
|
46
47
|
@media (forced-colors: active) {
|
|
47
48
|
border: 1px solid transparent;
|
|
@@ -81,9 +82,7 @@ $gl-alert-top-border-size: 2px;
|
|
|
81
82
|
}
|
|
82
83
|
|
|
83
84
|
.gl-alert-title {
|
|
84
|
-
@
|
|
85
|
-
@include gl-mb-3;
|
|
86
|
-
color: var(--gl-text-color-heading);
|
|
85
|
+
@apply gl-heading-scale-400 -gl-mt-1 gl-mb-2;
|
|
87
86
|
}
|
|
88
87
|
|
|
89
88
|
.gl-alert-icon-container {
|
|
@@ -95,8 +94,7 @@ $gl-alert-top-border-size: 2px;
|
|
|
95
94
|
height: $gl-line-height-20;
|
|
96
95
|
|
|
97
96
|
.gl-alert-has-title & {
|
|
98
|
-
|
|
99
|
-
height: $gl-line-height-heading * 1em; // give unit to unitless relative line-height (1.25)
|
|
97
|
+
top: calc(#{$gl-spacing-scale-4} + #{$gl-alert-top-border-size});
|
|
100
98
|
}
|
|
101
99
|
}
|
|
102
100
|
|
|
@@ -107,7 +105,7 @@ $gl-alert-top-border-size: 2px;
|
|
|
107
105
|
|
|
108
106
|
.gl-alert-actions {
|
|
109
107
|
@include gl-display-flex;
|
|
110
|
-
@include gl-mt-
|
|
108
|
+
@include gl-mt-3;
|
|
111
109
|
}
|
|
112
110
|
|
|
113
111
|
.gl-alert-action {
|
|
@@ -121,6 +119,10 @@ $gl-alert-top-border-size: 2px;
|
|
|
121
119
|
position: absolute;
|
|
122
120
|
top: calc(#{$gl-spacing-scale-4} + #{$gl-alert-top-border-size});
|
|
123
121
|
right: calc(#{$gl-spacing-scale-4} + #{$gl-alert-padding-x});
|
|
122
|
+
|
|
123
|
+
.gl-alert-has-title & {
|
|
124
|
+
top: $gl-spacing-scale-4;
|
|
125
|
+
}
|
|
124
126
|
}
|
|
125
127
|
|
|
126
128
|
/* Variants */
|