blue-web 1.11.1 → 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/merged.scss +115 -12
- package/dist/style.css +402 -340
- package/dist/style.css.map +1 -1
- package/dist/style.min.css +4 -4
- package/dist/style.scss +4 -1
- package/dist/styles/_bootstrap-variables.scss +17 -3
- package/dist/styles/_collapse.scss +57 -0
- package/dist/styles/_inter.scss +23 -0
- package/dist/styles/_layout.scss +4 -3
- package/dist/styles/_modal.scss +8 -1
- package/dist/styles/_variables.scss +2 -4
- package/package.json +1 -1
package/dist/merged.scss
CHANGED
|
@@ -1,8 +1,25 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Blue Web v1.
|
|
2
|
+
* Blue Web v1.12.0 (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
|
|
|
6
|
+
// Main color theme. E.g. used for background for body and sidebar.
|
|
7
|
+
$theme: hsl(217deg 10% 94%) !default;
|
|
8
|
+
$primary: hsl(217deg 91% 50%) !default;
|
|
9
|
+
$white: #fff !default;
|
|
10
|
+
$gray-100: hsl(217deg 17% 98%) !default;
|
|
11
|
+
$gray-200: hsl(217deg 16% 93%) !default;
|
|
12
|
+
$gray-300: hsl(217deg 14% 89%) !default;
|
|
13
|
+
$gray-400: hsl(217deg 14% 83%) !default;
|
|
14
|
+
$gray-500: hsl(217deg 11% 71%) !default;
|
|
15
|
+
$gray-600: hsl(217deg 7% 46%) !default;
|
|
16
|
+
$gray-700: hsl(217deg 9% 31%) !default;
|
|
17
|
+
$gray-800: hsl(217deg 10% 23%) !default;
|
|
18
|
+
$gray-900: hsl(217deg 11% 15%) !default;
|
|
19
|
+
$black: #000 !default;
|
|
20
|
+
$header-color: $gray-900 !default;
|
|
21
|
+
$sidebar-color: $gray-900 !default;
|
|
22
|
+
|
|
6
23
|
$light: #ecedf0 !default;
|
|
7
24
|
|
|
8
25
|
// Components
|
|
@@ -26,9 +43,6 @@ $custom-checkbox-indicator-border-radius: $border-radius-sm !default;
|
|
|
26
43
|
$link-decoration: none !default;
|
|
27
44
|
$link-hover-decoration: underline !default;
|
|
28
45
|
|
|
29
|
-
$font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Roboto, Oxygen-Sans,
|
|
30
|
-
Ubuntu, Cantarell, "Helvetica Neue", sans-serif !default;
|
|
31
|
-
|
|
32
46
|
// Tint focus border and shadow in primary color.
|
|
33
47
|
// In a future Bootstrap release, this might not be necessary anymore.
|
|
34
48
|
$focus-ring-color: #{rgba(var(--bs-primary-rgb), 25%)} !default;
|
|
@@ -2194,9 +2208,6 @@ $carousel-control-icon-filter-dark: $carousel-dark-control-icon-filter !defaul
|
|
|
2194
2208
|
$btn-close-filter-dark: $btn-close-white-filter !default;
|
|
2195
2209
|
// TODO: can be removed safely in v6, only here to avoid breaking changes in v5.3
|
|
2196
2210
|
|
|
2197
|
-
// Main color theme. E.g. used for background for body and sidebar.
|
|
2198
|
-
$theme: $primary !default;
|
|
2199
|
-
|
|
2200
2211
|
$theme-colors: () !default;
|
|
2201
2212
|
// stylelint-disable-next-line scss/dollar-variable-default
|
|
2202
2213
|
$theme-colors: map-merge(
|
|
@@ -2223,7 +2234,8 @@ $shimmering: 0.8 !default;
|
|
|
2223
2234
|
$scrollbar-thumb-color: white !default;
|
|
2224
2235
|
|
|
2225
2236
|
// Thumb color of scrollbar as RGB (like `255, 255, 255`).
|
|
2226
|
-
$scrollbar-thumb-color-rgb:
|
|
2237
|
+
$scrollbar-thumb-color-rgb:
|
|
2238
|
+
red($scrollbar-thumb-color), green($scrollbar-thumb-color), blue($scrollbar-thumb-color) !default;
|
|
2227
2239
|
|
|
2228
2240
|
// Default size for many components, like sidebar menu items.
|
|
2229
2241
|
$normal-size: calc(
|
|
@@ -12034,13 +12046,20 @@ input.blue-tab:checked + .blue-tab-content {
|
|
|
12034
12046
|
}
|
|
12035
12047
|
|
|
12036
12048
|
dialog.blue-modal {
|
|
12049
|
+
--ani-scale-from: 95%;
|
|
12050
|
+
--ani-scale-to: 100%;
|
|
12051
|
+
--ani-translate-from: 0 0;
|
|
12052
|
+
--ani-translate-to: 0 0;
|
|
12053
|
+
|
|
12037
12054
|
border: none;
|
|
12038
12055
|
background: none;
|
|
12039
12056
|
padding: 0;
|
|
12040
12057
|
margin: 0;
|
|
12041
12058
|
max-width: none;
|
|
12042
12059
|
max-height: none;
|
|
12043
|
-
transition:
|
|
12060
|
+
transition:
|
|
12061
|
+
display 0.2s allow-discrete,
|
|
12062
|
+
overlay 0.2s allow-discrete;
|
|
12044
12063
|
animation: blue-modal-close 0.2s forwards;
|
|
12045
12064
|
|
|
12046
12065
|
.offcanvas-backdrop {
|
|
@@ -12120,8 +12139,9 @@ dialog.blue-modal:has(.offcanvas-start) {
|
|
|
12120
12139
|
|
|
12121
12140
|
.blue-layout {
|
|
12122
12141
|
--spacing: 0.25rem;
|
|
12123
|
-
--drawer-side-shadow:
|
|
12124
|
-
rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0
|
|
12142
|
+
--drawer-side-shadow:
|
|
12143
|
+
rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px,
|
|
12144
|
+
rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;
|
|
12125
12145
|
--toggler-size: calc(
|
|
12126
12146
|
var(--bs-btn-border-width, 1px) + var(--bs-btn-padding-y, 0.375rem) +
|
|
12127
12147
|
(var(--bs-btn-font-size, 1rem) * var(--bs-btn-line-height, 1.5)) + var(--bs-btn-padding-y, 0.375rem) +
|
|
@@ -12134,7 +12154,7 @@ dialog.blue-modal:has(.offcanvas-start) {
|
|
|
12134
12154
|
--side-width: var(--blue-sidebar-width);
|
|
12135
12155
|
--toggler-size: var(--blue-menu-item-height);
|
|
12136
12156
|
|
|
12137
|
-
|
|
12157
|
+
height: 100dvh;
|
|
12138
12158
|
position: relative;
|
|
12139
12159
|
display: grid;
|
|
12140
12160
|
grid-template-columns: 0 var(--toggler-size) calc(var(--side-width) - var(--toggler-size)) auto;
|
|
@@ -12234,3 +12254,86 @@ dialog.blue-modal:has(.offcanvas-start) {
|
|
|
12234
12254
|
}
|
|
12235
12255
|
}
|
|
12236
12256
|
|
|
12257
|
+
// Collapse with details and animated
|
|
12258
|
+
// Right now not part of Blue Web, but could become one
|
|
12259
|
+
|
|
12260
|
+
.blue-collapse {
|
|
12261
|
+
interpolate-size: allow-keywords;
|
|
12262
|
+
|
|
12263
|
+
&:has(summary:focus) {
|
|
12264
|
+
overflow: hidden;
|
|
12265
|
+
}
|
|
12266
|
+
|
|
12267
|
+
summary {
|
|
12268
|
+
list-style: none;
|
|
12269
|
+
}
|
|
12270
|
+
|
|
12271
|
+
summary::-webkit-details-marker {
|
|
12272
|
+
display: none;
|
|
12273
|
+
}
|
|
12274
|
+
|
|
12275
|
+
.blue-collapse-chevron {
|
|
12276
|
+
transition: transform 0.2s;
|
|
12277
|
+
}
|
|
12278
|
+
|
|
12279
|
+
&[open] > summary > .blue-collapse-header > .blue-collapse-chevron,
|
|
12280
|
+
&[open] > summary > .blue-collapse-chevron {
|
|
12281
|
+
--blue-collapse-chevron-rotate: 90deg;
|
|
12282
|
+
|
|
12283
|
+
// If chevron is on the end, rotate has to be -90deg
|
|
12284
|
+
&:is(:last-child) {
|
|
12285
|
+
--blue-collapse-chevron-rotate: -90deg;
|
|
12286
|
+
}
|
|
12287
|
+
|
|
12288
|
+
&:is(:first-child) {
|
|
12289
|
+
--blue-collapse-chevron-rotate: 90deg;
|
|
12290
|
+
}
|
|
12291
|
+
|
|
12292
|
+
transform: rotate(var(--blue-collapse-chevron-rotate));
|
|
12293
|
+
}
|
|
12294
|
+
|
|
12295
|
+
&::details-content {
|
|
12296
|
+
block-size: 0;
|
|
12297
|
+
transition:
|
|
12298
|
+
block-size 0.2s,
|
|
12299
|
+
content-visibility 0.2s;
|
|
12300
|
+
transition-behavior: allow-discrete;
|
|
12301
|
+
}
|
|
12302
|
+
|
|
12303
|
+
&[open]::details-content {
|
|
12304
|
+
block-size: auto;
|
|
12305
|
+
}
|
|
12306
|
+
}
|
|
12307
|
+
|
|
12308
|
+
@media (prefers-reduced-motion) {
|
|
12309
|
+
.blue-collapse .blue-collapse-chevron,
|
|
12310
|
+
.blue-collapse::details-content {
|
|
12311
|
+
transition: none;
|
|
12312
|
+
}
|
|
12313
|
+
}
|
|
12314
|
+
|
|
12315
|
+
|
|
12316
|
+
:root {
|
|
12317
|
+
--bs-font-sans-serif: Inter, #{$font-family-sans-serif};
|
|
12318
|
+
font-feature-settings:
|
|
12319
|
+
"liga" 1,
|
|
12320
|
+
"calt" 1,
|
|
12321
|
+
"cv05" 1,
|
|
12322
|
+
"cv07" 1,
|
|
12323
|
+
"tnum" 1,
|
|
12324
|
+
"zero" 1;
|
|
12325
|
+
}
|
|
12326
|
+
@supports (font-variation-settings: normal) {
|
|
12327
|
+
:root {
|
|
12328
|
+
--bs-font-sans-serif: InterVariable, #{$font-family-sans-serif};
|
|
12329
|
+
}
|
|
12330
|
+
}
|
|
12331
|
+
|
|
12332
|
+
input,
|
|
12333
|
+
button,
|
|
12334
|
+
select,
|
|
12335
|
+
optgroup,
|
|
12336
|
+
textarea {
|
|
12337
|
+
font-feature-settings: inherit;
|
|
12338
|
+
}
|
|
12339
|
+
|