blue-web 1.14.0 → 1.14.1

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/merged.scss CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Blue Web v1.14.0 (https://bruegmann.github.io/blue-web)
2
+ * Blue Web v1.14.1 (https://bruegmann.github.io/blue-web)
3
3
  * Licensed under GNU General Public License v3.0 (https://github.com/bruegmann/blue-web/blob/master/LICENSE).
4
4
  */
5
5
 
@@ -11150,6 +11150,17 @@ body {
11150
11150
  border: 1px solid color-mix(in srgb, currentColor 15%, transparent);
11151
11151
  background-color: var(--blue-menu-item-dropdown-bg);
11152
11152
  }
11153
+
11154
+ &[popover] {
11155
+ position: fixed;
11156
+ margin: 0;
11157
+ padding: 0;
11158
+ z-index: 1000;
11159
+ border: none;
11160
+ background: transparent;
11161
+ border-radius: calc(#{$border-radius} + 0.1rem);
11162
+ box-shadow: $box-shadow;
11163
+ }
11153
11164
  }
11154
11165
 
11155
11166
  .blue-menu-item-dropdown-caret.blue-caret {
@@ -11200,7 +11211,8 @@ body {
11200
11211
 
11201
11212
  &:hover,
11202
11213
  &:active,
11203
- &.highlighted {
11214
+ &.highlighted,
11215
+ &:has(+ :popover-open) {
11204
11216
  color: inherit;
11205
11217
  border-color: transparent;
11206
11218
 
@@ -11210,7 +11222,8 @@ body {
11210
11222
  }
11211
11223
  }
11212
11224
 
11213
- &.highlighted {
11225
+ &.highlighted,
11226
+ &:has(+ :popover-open) {
11214
11227
  &::before {
11215
11228
  opacity: 0.16;
11216
11229
  }
@@ -12174,8 +12187,6 @@ dialog.blue-modal:has(.offcanvas-start) {
12174
12187
  }
12175
12188
 
12176
12189
  // Collapse with details and animated
12177
- // Right now not part of Blue Web, but could become one
12178
-
12179
12190
  .blue-collapse {
12180
12191
  interpolate-size: allow-keywords;
12181
12192
 
@@ -12209,14 +12220,20 @@ dialog.blue-modal:has(.offcanvas-start) {
12209
12220
 
12210
12221
  &::details-content {
12211
12222
  block-size: 0;
12223
+ opacity: 0;
12224
+ translate: 0 -100%;
12212
12225
  transition:
12213
12226
  block-size 0.2s,
12214
- content-visibility 0.2s;
12227
+ content-visibility 0.2s,
12228
+ opacity 0.2s,
12229
+ translate 0.2s;
12215
12230
  transition-behavior: allow-discrete;
12216
12231
  }
12217
12232
 
12218
12233
  &[open]::details-content {
12219
12234
  block-size: auto;
12235
+ opacity: 1;
12236
+ translate: 0;
12220
12237
  }
12221
12238
  }
12222
12239
 
@@ -12227,6 +12244,25 @@ dialog.blue-modal:has(.offcanvas-start) {
12227
12244
  }
12228
12245
  }
12229
12246
 
12247
+ // Let's you group a collapse together with another UI element like a button that should come before the collapse summary.
12248
+ .blue-collapse-group {
12249
+ display: grid;
12250
+ grid-template-rows: auto;
12251
+ grid-template-columns: 1fr;
12252
+
12253
+ & > details {
12254
+ display: contents;
12255
+
12256
+ & > summary {
12257
+ grid-column: 2;
12258
+
12259
+ & + * {
12260
+ width: calc(100% + 1rem - 2px);
12261
+ }
12262
+ }
12263
+ }
12264
+ }
12265
+
12230
12266
  .BLUE-actions {
12231
12267
  display: flex;
12232
12268
  white-space: nowrap;
@@ -12249,6 +12285,43 @@ dialog.blue-modal:has(.offcanvas-start) {
12249
12285
  position: absolute;
12250
12286
  }
12251
12287
 
12288
+ .blue-anchor {
12289
+ anchor-name: var(--blue-anchor-name, --anchor-1);
12290
+ }
12291
+
12292
+ .blue-anchored {
12293
+ top: anchor(var(--blue-anchor-name, --anchor-1) bottom);
12294
+ }
12295
+
12296
+ .blue-anchored-start {
12297
+ left: anchor(var(--blue-anchor-name, --anchor-1) left);
12298
+ }
12299
+
12300
+ .blue-anchored-end {
12301
+ left: anchor(var(--blue-anchor-name, --anchor-1) right);
12302
+ translate: -100%;
12303
+ }
12304
+
12305
+ @supports not (anchor-name: --anchor-1) {
12306
+ .blue-anchored-end {
12307
+ translate: none;
12308
+ }
12309
+
12310
+ .blue-anchored-fallback {
12311
+ left: 50%;
12312
+ top: 50%;
12313
+ translate: -50% -50%;
12314
+
12315
+ &::backdrop {
12316
+ --bs-backdrop-bg: #000;
12317
+ --bs-backdrop-opacity: 0.5;
12318
+ background-color: var(--bs-backdrop-bg);
12319
+ transition: opacity 0.2s;
12320
+ opacity: var(--bs-backdrop-opacity);
12321
+ }
12322
+ }
12323
+ }
12324
+
12252
12325
 
12253
12326
  /* Make DevExpress components look more like Bootstrap/Blue */
12254
12327
  [class^="dxbl-"] {