nice-elements 1.11.2 → 1.12.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/dist/style.css CHANGED
@@ -10217,6 +10217,47 @@ p.nice {
10217
10217
  }
10218
10218
  }
10219
10219
 
10220
+ .nice-alert {
10221
+ padding: 2rem;
10222
+ border: 1px solid var(--nice-border-color);
10223
+ border-radius: var(--nice-border-radius);
10224
+ display: flex;
10225
+ gap: 1rem;
10226
+ }
10227
+
10228
+ .nice-alert.nice-alert-fit {
10229
+ width: fit-content;
10230
+ }
10231
+
10232
+ .nice-alert .nice-alert-icon {
10233
+ height: 30px;
10234
+ width: 30px;
10235
+ flex-shrink: 0;
10236
+ }
10237
+
10238
+ .nice-alert .nice-alert-title {
10239
+ font-size: 1.2em;
10240
+ font-weight: bold;
10241
+ }
10242
+
10243
+ .nice-alert.nice-alert-danger, .nice-alert.nice-alert-error {
10244
+ color: var(--nice-danger-color);
10245
+ background: var(--nice-danger-color-plain);
10246
+ border-color: var(--nice-danger-color-lighter);
10247
+ }
10248
+
10249
+ .nice-alert.nice-alert-warning {
10250
+ color: var(--nice-warning-color-darker);
10251
+ background: var(--nice-warning-color-plain);
10252
+ border-color: var(--nice-warning-color-lighter);
10253
+ }
10254
+
10255
+ .nice-alert.nice-alert-info {
10256
+ color: var(--nice-info-color-darker);
10257
+ background: var(--nice-info-color-plain);
10258
+ border-color: var(--nice-info-color-lighter);
10259
+ }
10260
+
10220
10261
  .nice-virtual-scroll {
10221
10262
  position: relative;
10222
10263
  width: 100%;