@dialpad/dialtone 7.13.0 → 7.14.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.
|
@@ -55,6 +55,14 @@
|
|
|
55
55
|
|
|
56
56
|
.d-modal--transparent {
|
|
57
57
|
--modal-backdrop-color-background: var(--d-bgc-transparent);
|
|
58
|
+
|
|
59
|
+
&[aria-hidden='false'] {
|
|
60
|
+
position: fixed;
|
|
61
|
+
top: 0;
|
|
62
|
+
left: 0;
|
|
63
|
+
width: 100%;
|
|
64
|
+
min-height: 100%;
|
|
65
|
+
}
|
|
58
66
|
}
|
|
59
67
|
|
|
60
68
|
// $$ MODAL DIALOG
|
|
@@ -65,6 +73,7 @@
|
|
|
65
73
|
display: flex;
|
|
66
74
|
flex-direction: column;
|
|
67
75
|
gap: var(--space-500); //
|
|
76
|
+
box-sizing: border-box;
|
|
68
77
|
width: 100%;
|
|
69
78
|
max-width: calc(var(--size-300) * 157); // 628
|
|
70
79
|
max-height: 100%;
|
|
@@ -162,6 +171,26 @@
|
|
|
162
171
|
border-radius: var(--size-500) var(--size-500) 0 0;
|
|
163
172
|
box-shadow: var(--modal-dialog-shadow);
|
|
164
173
|
|
|
174
|
+
&--warning {
|
|
175
|
+
--modal-banner-color-background: var(--bgc-warning);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
&--info {
|
|
179
|
+
--modal-banner-color-background: var(--bgc-info);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
&--critical {
|
|
183
|
+
--modal-banner-color-background: var(--bgc-critical);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
&--success {
|
|
187
|
+
--modal-banner-color-background: var(--bgc-success);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
&--general {
|
|
191
|
+
--modal-banner-color-background: var(--bgc-secondary);
|
|
192
|
+
}
|
|
193
|
+
|
|
165
194
|
&::before {
|
|
166
195
|
// 🤦 don't ask. or do, i'm not even sorry.
|
|
167
196
|
position: absolute;
|
|
@@ -2021,12 +2021,20 @@ legend .d-label {
|
|
|
2021
2021
|
.d-modal--transparent {
|
|
2022
2022
|
--modal-backdrop-color-background: var(--d-bgc-transparent);
|
|
2023
2023
|
}
|
|
2024
|
+
.d-modal--transparent[aria-hidden='false'] {
|
|
2025
|
+
position: fixed;
|
|
2026
|
+
top: 0;
|
|
2027
|
+
left: 0;
|
|
2028
|
+
width: 100%;
|
|
2029
|
+
min-height: 100%;
|
|
2030
|
+
}
|
|
2024
2031
|
.d-modal__dialog {
|
|
2025
2032
|
position: relative;
|
|
2026
2033
|
z-index: var(--zi-hide);
|
|
2027
2034
|
display: flex;
|
|
2028
2035
|
flex-direction: column;
|
|
2029
2036
|
gap: var(--space-500);
|
|
2037
|
+
box-sizing: border-box;
|
|
2030
2038
|
width: 100%;
|
|
2031
2039
|
max-width: calc(var(--size-300) * 157);
|
|
2032
2040
|
max-height: 100%;
|
|
@@ -2093,6 +2101,21 @@ legend .d-label {
|
|
|
2093
2101
|
border-radius: var(--size-500) var(--size-500) 0 0;
|
|
2094
2102
|
box-shadow: var(--modal-dialog-shadow);
|
|
2095
2103
|
}
|
|
2104
|
+
.d-modal__banner--warning {
|
|
2105
|
+
--modal-banner-color-background: var(--bgc-warning);
|
|
2106
|
+
}
|
|
2107
|
+
.d-modal__banner--info {
|
|
2108
|
+
--modal-banner-color-background: var(--bgc-info);
|
|
2109
|
+
}
|
|
2110
|
+
.d-modal__banner--critical {
|
|
2111
|
+
--modal-banner-color-background: var(--bgc-critical);
|
|
2112
|
+
}
|
|
2113
|
+
.d-modal__banner--success {
|
|
2114
|
+
--modal-banner-color-background: var(--bgc-success);
|
|
2115
|
+
}
|
|
2116
|
+
.d-modal__banner--general {
|
|
2117
|
+
--modal-banner-color-background: var(--bgc-secondary);
|
|
2118
|
+
}
|
|
2096
2119
|
.d-modal__banner::before {
|
|
2097
2120
|
position: absolute;
|
|
2098
2121
|
right: 0;
|