blue-web 1.14.3 → 1.15.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.3 (https://bruegmann.github.io/blue-web)
2
+ * Blue Web v1.15.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
 
@@ -33,9 +33,9 @@ $h4-font-size: $font-size-base * 1.125 !default;
33
33
  $h5-font-size: $font-size-base * 1.1 !default;
34
34
  $h6-font-size: $font-size-base !default;
35
35
 
36
- $border-radius: 0.5rem !default;
37
- $border-radius-lg: 0.7rem !default;
38
- $border-radius-sm: 0.3rem !default;
36
+ $border-radius: 0.7rem !default;
37
+ $border-radius-lg: 1rem !default;
38
+ $border-radius-sm: 0.5rem !default;
39
39
 
40
40
  $custom-checkbox-indicator-border-radius: $border-radius-sm !default;
41
41
 
@@ -47,6 +47,8 @@ $link-hover-decoration: underline !default;
47
47
  $focus-ring-color: #{rgba(var(--bs-primary-rgb), 25%)} !default;
48
48
  $input-focus-border-color: #{rgba(var(--bs-primary-rgb), 50%)} !default;
49
49
 
50
+ $enable-button-pointers: false !default;
51
+
50
52
 
51
53
  // Bootstrap functions
52
54
  //
@@ -10771,13 +10773,21 @@ $utilities: map-merge(
10771
10773
  // scss-docs-end import-stack
10772
10774
 
10773
10775
 
10774
- // Per CSS-Variablen überschreibbar machen, da es von Bootstrap aus noch nicht möglich ist.
10775
- // Bei neuer Bootstrap-Version prüfen, ob es noch nötig ist.
10776
+ // Make it overridable via CSS variables, as it is not yet possible in Bootstrap.
10777
+ // Check with a newer Bootstrap version to see if it is still necessary.
10776
10778
  .form-check-input:checked {
10777
10779
  background-color: var(--bs-primary, #{$form-check-input-checked-bg-color});
10778
10780
  border-color: var(--bs-primary, #{$form-check-input-checked-border-color});
10779
10781
  }
10780
10782
 
10783
+ // Resets cursor from Bootstrap' _reboot.scss based on option.
10784
+ @if ($enable-button-pointers: false) {
10785
+ summary,
10786
+ [role="button"] {
10787
+ cursor: unset;
10788
+ }
10789
+ }
10790
+
10781
10791
  // In previous versions of Bootstrap, `.page-header` was a class that could be used to add a border to the bottom of a page header.
10782
10792
  // Unfortunately his class was removed in Bootstrap 5, so it's now part of Blue Web CSS.
10783
10793
  .blue-page-header,
@@ -11071,6 +11081,8 @@ body {
11071
11081
  }
11072
11082
 
11073
11083
  border: none;
11084
+ box-shadow: none;
11085
+ background-image: none;
11074
11086
 
11075
11087
  &:focus {
11076
11088
  box-shadow: none;
@@ -11288,77 +11300,40 @@ body {
11288
11300
  }
11289
11301
 
11290
11302
  .blue-header-title-image {
11291
- width: 2rem;
11292
- height: 2rem;
11303
+ width: var(--blue-header-title-image-width, var(--blue-header-title-image-size, 2rem));
11304
+ height: var(--blue-header-title-image-height, var(--blue-header-title-image-size, 2rem));
11293
11305
  }
11294
11306
 
11295
- .blue-search {
11296
- display: flex;
11297
- align-items: center;
11307
+ .blue-input-group {
11298
11308
  border: $input-border-width solid $input-border-color;
11299
11309
  border-radius: $input-border-radius;
11300
11310
  background-color: $input-bg;
11301
11311
 
11302
- &.blue-search-body {
11303
- border: 1px solid $input-border-color;
11312
+ &.focus,
11313
+ &:has(input:focus) {
11314
+ box-shadow: $input-btn-focus-box-shadow;
11315
+ border-color: $input-focus-border-color;
11304
11316
 
11305
- .blue-search-input-group {
11306
- display: flex;
11307
- }
11308
-
11309
- &.focus {
11310
- box-shadow: $input-btn-focus-box-shadow;
11317
+ .input-group-text {
11318
+ color: #{var(--bs-primary-text-emphasis)};
11311
11319
  }
11312
11320
  }
11313
11321
 
11314
- &.focus {
11315
- box-shadow: inset $input-btn-focus-box-shadow;
11316
- }
11317
- }
11318
-
11319
- .blue-sidebar .blue-search:not(.blue-search-body) {
11320
- margin-left: map-get($spacers, 1);
11321
- margin-right: map-get($spacers, 1);
11322
- }
11323
-
11324
- .blue-search-input-group {
11325
- display: none;
11326
-
11327
11322
  .input-group-text {
11328
11323
  border-color: transparent;
11329
11324
  background-color: transparent;
11330
11325
  }
11331
- }
11332
-
11333
- .blue-search-control {
11334
- border: none;
11335
- background-color: transparent !important;
11336
-
11337
- &:focus {
11338
- box-shadow: none;
11339
- }
11340
- }
11341
-
11342
- .blue-search-reset-btn {
11343
- color: rgba($input-color, 0.7);
11344
-
11345
- &:hover {
11346
- color: $input-color;
11347
- }
11348
- }
11349
11326
 
11350
- .blue-search.blue-search-sidebar {
11351
- transition: opacity 0.2s ease-in-out;
11327
+ .form-control {
11328
+ border: none;
11329
+ background-color: transparent !important;
11352
11330
 
11353
- @media (prefers-reduced-motion) {
11354
- transition: none;
11331
+ &:focus {
11332
+ box-shadow: none;
11333
+ }
11355
11334
  }
11356
11335
  }
11357
11336
 
11358
- .blue-search.blue-search-sidebar:not(:hover):not(.focus) {
11359
- opacity: 0.7;
11360
- }
11361
-
11362
11337
  .blue-actions {
11363
11338
  --max-width: calc(
11364
11339
  var(--bs-btn-border-width, 1px) + var(--bs-btn-padding-x, 0.75rem) + var(--bs-btn-font-size, 1rem) +
@@ -11750,6 +11725,11 @@ body {
11750
11725
  );
11751
11726
 
11752
11727
  .blue-btn-plain-#{$color} {
11728
+ &:not(:hover) {
11729
+ box-shadow: none;
11730
+ background-image: none;
11731
+ }
11732
+
11753
11733
  @if $color == "light" {
11754
11734
  $text-color: color-contrast($value);
11755
11735
  }
@@ -11758,19 +11738,14 @@ body {
11758
11738
  transparent,
11759
11739
  transparent,
11760
11740
  $text-color,
11761
- $hover-background: shade-color($bg, $btn-hover-bg-shade-amount),
11762
- $hover-border: shade-color($bg, $btn-hover-border-shade-amount),
11763
- $active-background: $active-background,
11764
- $active-border:
11765
- if(
11766
- $color == $color-contrast-light,
11767
- shade-color($value, $btn-active-border-shade-amount),
11768
- tint-color($value, $btn-active-border-tint-amount)
11769
- ),
11770
- $active-color: color-contrast($active-background),
11771
- $disabled-background: $value,
11772
- $disabled-border: $value,
11773
- $disabled-color: color-contrast($value)
11741
+ $hover-background: tint-color($value, 80%),
11742
+ $hover-border: tint-color($value, 80%),
11743
+ $hover-color: if($color == "light", color-contrast($value), shade-color($value, 60%)),
11744
+ $active-background: shade-color($bg, $btn-hover-bg-shade-amount),
11745
+ $active-border: shade-color($bg, $btn-hover-border-shade-amount),
11746
+ $disabled-background: transparent,
11747
+ $disabled-border: transparent,
11748
+ $disabled-color: $text-color
11774
11749
  );
11775
11750
  }
11776
11751
  }
@@ -11778,7 +11753,7 @@ body {
11778
11753
  @include color-mode(dark) {
11779
11754
  @each $color, $value in $theme-colors {
11780
11755
  $bg: shade-color($value, 80%);
11781
- $text-color: $value;
11756
+ $text-color: tint-color($value, 40%);
11782
11757
 
11783
11758
  .blue-btn-plain-#{$color} {
11784
11759
  @if $color == "dark" {
@@ -11865,10 +11840,13 @@ body {
11865
11840
 
11866
11841
  position: relative;
11867
11842
  order: 0;
11868
- cursor: pointer;
11869
11843
  user-select: none;
11870
11844
  -webkit-appearance: none;
11871
11845
  appearance: none;
11846
+
11847
+ @if ($enable-button-pointers) {
11848
+ cursor: pointer;
11849
+ }
11872
11850
  }
11873
11851
 
11874
11852
  .blue-tab::before {
@@ -12311,6 +12289,10 @@ dialog.blue-modal:has(.offcanvas-start) {
12311
12289
  font-size: 1rem;
12312
12290
  }
12313
12291
 
12292
+ .dxbl-pager-page-edit {
12293
+ min-width: 2.5em;
12294
+ }
12295
+
12314
12296
  .dxbl-toolbar {
12315
12297
  --dxbl-toolbar-font-size: var(--bs-body-font-size) !important;
12316
12298
  font-size: var(--dxbl-toolbar-font-size);