blue-web 1.34.0 → 1.35.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/style.scss CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Blue Web v1.34.0 (https://bruegmann.github.io/blue-web)
2
+ * Blue Web v1.35.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
 
@@ -1,5 +1,5 @@
1
1
  // Main color theme. E.g. used for background for body and sidebar.
2
- $theme: hsl(217, 17%, 98%) !default;
2
+ $theme: hsl(217, 17%, 96%) !default;
3
3
  $theme-dark: hsl(217deg 10% 8%) !default;
4
4
  $primary: hsl(221, 97%, 53%) !default;
5
5
  $white: #fff !default;
@@ -20,6 +20,7 @@ $light: #ecedf0 !default;
20
20
  //
21
21
 
22
22
  $font-size-base: 1rem !default;
23
+ $font-size-lg: $font-size-base * 1.125 !default;
23
24
 
24
25
  $h1-font-size: $font-size-base * 2 !default;
25
26
  $h2-font-size: $font-size-base * 1.5 !default;
@@ -29,10 +30,10 @@ $h5-font-size: $font-size-base * 1.1 !default;
29
30
  $h6-font-size: $font-size-base !default;
30
31
 
31
32
  $border-radius-sm: 0.4rem !default;
32
- $border-radius: 0.7rem !default;
33
- $border-radius-lg: 1rem !default;
34
- $border-radius-xl: 1.5rem !default;
35
- $border-radius-xxl: 2rem !default;
33
+ $border-radius: 0.625rem !default;
34
+ $border-radius-lg: 0.75rem !default;
35
+ $border-radius-xl: 1rem !default;
36
+ $border-radius-xxl: 1.5rem !default;
36
37
  $border-radius-pill: 50rem !default;
37
38
  $border-radius-2xl: $border-radius-xxl !default; // Deprecated in v5.3.0
38
39
 
@@ -46,6 +47,15 @@ $link-hover-decoration: underline !default;
46
47
  $focus-ring-color: #{rgba(var(--bs-primary-rgb), 25%)} !default;
47
48
  $input-focus-border-color: #{rgba(var(--bs-primary-rgb), 50%)} !default;
48
49
 
50
+ $input-btn-padding-y: 0.25rem !default;
51
+ $input-btn-padding-x: 0.625rem !default;
52
+
53
+ $input-btn-padding-y-sm: 0.15rem !default;
54
+ $input-btn-padding-x-sm: 0.4rem !default;
55
+
56
+ $input-btn-padding-y-lg: 0.5rem !default;
57
+ $input-btn-padding-x-lg: 0.75rem !default;
58
+
49
59
  $enable-button-pointers: true !default;
50
60
  $focus-ring-width: 0.125rem !default;
51
61
 
@@ -10,6 +10,8 @@
10
10
  & > svg {
11
11
  width: $icon-link-icon-size;
12
12
  height: $icon-link-icon-size;
13
+ min-width: 16px;
14
+ min-height: 16px;
13
15
  fill: currentcolor;
14
16
  }
15
17
  }
@@ -15,7 +15,7 @@
15
15
  }
16
16
 
17
17
  &[open] > summary .blue-collapse-chevron {
18
- --blue-collapse-chevron-rotate: 90deg;
18
+ --blue-collapse-chevron-rotate: -180deg;
19
19
  transform: rotate(var(--blue-collapse-chevron-rotate));
20
20
  }
21
21
 
@@ -1,7 +1,7 @@
1
1
  /* Make DevExpress components look more like Bootstrap/Blue */
2
2
  [class^="dxbl-"]:not(.dxbl-btn-tool):not(.dxbl-toolbar-item):not(:is(.dxbl-toolbar-btn-ellipsis > .dxbl-btn)) {
3
- --dxbl-btn-padding-x: 0.75rem !important;
4
- --dxbl-btn-padding-y: 0.375rem !important;
3
+ --dxbl-btn-padding-x: #{$input-btn-padding-x} !important;
4
+ --dxbl-btn-padding-y: #{$input-btn-padding-y} !important;
5
5
  }
6
6
 
7
7
  .dxbl-toolbar-btn-ellipsis > .dxbl-btn {
@@ -11,8 +11,8 @@
11
11
 
12
12
  [class^="dxbl-"] {
13
13
  --dxbl-text-edit-border-radius: var(--bs-border-radius) !important;
14
- --dxbl-text-edit-padding-x: 0.75rem !important;
15
- --dxbl-text-edit-padding-y: 0.375rem !important;
14
+ --dxbl-text-edit-padding-x: #{$input-btn-padding-x} !important;
15
+ --dxbl-text-edit-padding-y: #{$input-btn-padding-y} !important;
16
16
  --dxbl-text-edit-line-height: 1.5 !important;
17
17
  --dxbl-text-edit-focus-shadow-spread: #{$focus-ring-width} !important;
18
18
  --dxbl-listbox-border-radius: var(--bs-border-radius) !important;
@@ -213,3 +213,7 @@ body.modal-open .dxbl-popup-cell[style="z-index: 1050;"] {
213
213
  .dxbl-checkbox:not(.dxbl-disabled):not(:disabled):not(.dxbl-readonly) label {
214
214
  cursor: initial;
215
215
  }
216
+
217
+ .dxbl-grid-header-content {
218
+ @extend .blue-label;
219
+ }
@@ -24,7 +24,7 @@
24
24
  }
25
25
 
26
26
  &::before {
27
- --visual-padding: 0.125rem;
27
+ --visual-padding: 1px;
28
28
 
29
29
  content: "";
30
30
  position: absolute;
@@ -22,10 +22,10 @@
22
22
 
23
23
  // Styling for a form control label.
24
24
  .blue-label {
25
- color: var(--bs-primary-text-emphasis);
26
- font-weight: 500;
27
- font-size: 1rem;
25
+ font-size: 0.875rem;
26
+ font-weight: 400;
28
27
  margin-bottom: 0;
28
+ padding-inline: #{$input-btn-padding-x};
29
29
  }
30
30
 
31
31
  // Vertically alignment, especially for Bootstrap Icons.
@@ -33,4 +33,6 @@
33
33
  .bi {
34
34
  display: inline-block;
35
35
  vertical-align: -0.125em;
36
+ min-width: 16px;
37
+ min-height: 16px;
36
38
  }
@@ -116,8 +116,8 @@ $corner-shape: #{round} !default;
116
116
 
117
117
  :root,
118
118
  :host {
119
- --blue-read-view-padding-x: 0.5rem;
120
- --blue-read-view-padding-y: 0.25rem;
119
+ --blue-read-view-padding-x: #{$input-btn-padding-x};
120
+ --blue-read-view-padding-y: #{$input-btn-padding-y};
121
121
  --blue-read-view-transition: background 0.2s;
122
122
  }
123
123
 
@@ -13,7 +13,7 @@
13
13
  color: rgba(var(--bs-body-color-rgb), var(--bs-text-opacity, 1));
14
14
  box-shadow: var(--bs-box-shadow-sm);
15
15
  border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);
16
- border-radius: var(--bs-border-radius-lg);
16
+ border-radius: var(--bs-border-radius-2xl);
17
17
 
18
18
  @include color-mode(dark, false) {
19
19
  & {
@@ -19,9 +19,9 @@
19
19
  @mixin blue-menu-item-indicator() {
20
20
  content: "";
21
21
  position: absolute;
22
- top: 0.625rem;
23
- bottom: 0.625rem;
24
- left: 0.125rem;
22
+ top: 0.5rem;
23
+ bottom: 0.5rem;
24
+ left: 0;
25
25
  right: initial;
26
26
  width: 3px;
27
27
  height: auto;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blue-web",
3
- "version": "1.34.0",
3
+ "version": "1.35.1",
4
4
  "description": "UI components built on top of Bootstrap 5",
5
5
  "license": "LGPL-3.0-or-later",
6
6
  "type": "module",