blue-web 1.0.2 → 1.1.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.0.2 (https://bruegmann.github.io/blue-web)
2
+ * Blue Web v1.1.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
 
@@ -11,32 +11,7 @@
11
11
  @import "./styles/_mixins";
12
12
  @import "./styles/_keyframes";
13
13
 
14
- // @import "./styles/_bootstrap";
15
- @import "node_modules/bootstrap/scss/bootstrap";
16
-
17
- @import "node_modules/bootstrap/scss/functions";
18
- @import "node_modules/bootstrap/scss/variables";
19
- @import "node_modules/bootstrap/scss/variables-dark";
20
- @import "node_modules/bootstrap/scss/maps";
21
- @import "node_modules/bootstrap/scss/mixins";
22
- @import "node_modules/bootstrap/scss/utilities";
23
-
24
- // Extended Bootstrap utilities with responsive position as mentioned on
25
- // https://getbootstrap.com/docs/5.3/utilities/api/#enable-responsive
26
- $utilities: map-merge(
27
- $utilities,
28
- (
29
- "position":
30
- map-merge(
31
- map-get($utilities, "position"),
32
- (
33
- responsive: true
34
- )
35
- )
36
- )
37
- );
38
-
39
- @import "node_modules/bootstrap/scss/utilities/api";
14
+ @import "./styles/bootstrap";
40
15
 
41
16
  // Per CSS-Variablen überschreibbar machen, da es von Bootstrap aus noch nicht möglich ist.
42
17
  // Bei neuer Bootstrap-Version prüfen, ob es noch nötig ist.
@@ -57,3 +32,4 @@ $utilities: map-merge(
57
32
  @import "./styles/_tooltips";
58
33
  @import "./styles/_hover";
59
34
  @import "./styles/buttons";
35
+ @import "./styles/container-grid";
@@ -1,24 +1,17 @@
1
- /*!
2
- * Bootstrap v5.2.0 (https://getbootstrap.com/)
3
- * Copyright 2011-2021 The Bootstrap Authors
4
- * Copyright 2011-2021 Twitter, Inc.
5
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
6
- */
1
+ @import "node_modules/bootstrap/scss/mixins/banner";
2
+ @include bsBanner("");
7
3
 
8
4
  // scss-docs-start import-stack
9
5
  // Configuration
10
6
  @import "node_modules/bootstrap/scss/functions";
11
7
  @import "node_modules/bootstrap/scss/variables";
8
+ @import "node_modules/bootstrap/scss/variables-dark";
12
9
  @import "node_modules/bootstrap/scss/maps";
13
10
  @import "node_modules/bootstrap/scss/mixins";
14
-
15
- // @import "./_bootstrap-mixins_overwritten.scss";
16
-
17
11
  @import "node_modules/bootstrap/scss/utilities";
18
12
 
19
13
  // Layout & components
20
14
  @import "node_modules/bootstrap/scss/root";
21
-
22
15
  @import "node_modules/bootstrap/scss/reboot";
23
16
  @import "node_modules/bootstrap/scss/type";
24
17
  @import "node_modules/bootstrap/scss/images";
@@ -53,6 +46,20 @@
53
46
  // Helpers
54
47
  @import "node_modules/bootstrap/scss/helpers";
55
48
 
49
+ // Custom added utilities for Blue Web
50
+ $utilities: map-merge(
51
+ $utilities,
52
+ (
53
+ "position":
54
+ map-merge(
55
+ map-get($utilities, "position"),
56
+ (
57
+ responsive: true
58
+ )
59
+ )
60
+ )
61
+ );
62
+
56
63
  // Utilities
57
64
  @import "node_modules/bootstrap/scss/utilities/api";
58
65
  // scss-docs-end import-stack
@@ -0,0 +1,52 @@
1
+ @import "node_modules/bootstrap/scss/functions";
2
+
3
+ @import "node_modules/bootstrap/scss/variables";
4
+ @import "node_modules/bootstrap/scss/variables-dark";
5
+
6
+ @import "node_modules/bootstrap/scss/maps";
7
+ @import "node_modules/bootstrap/scss/mixins";
8
+
9
+ @mixin make-grid-columns-cq($columns: $grid-columns, $gutter: $grid-gutter-width, $breakpoints: $grid-breakpoints) {
10
+ .col {
11
+ flex: initial;
12
+ max-width: initial;
13
+ width: 100%;
14
+ }
15
+
16
+ @each $breakpoint in map-keys($breakpoints) {
17
+ $infix: breakpoint-infix($breakpoint, $breakpoints);
18
+
19
+ @for $i from 1 through $columns {
20
+ .col#{$infix}-#{$i} {
21
+ @extend .col;
22
+ }
23
+ }
24
+ }
25
+
26
+ @each $breakpoint in map-keys($breakpoints) {
27
+ $infix: breakpoint-infix($breakpoint, $breakpoints);
28
+
29
+ // @for $i from 1 through $columns {
30
+ // .col#{$infix}-#{$i} {
31
+ // flex: initial;
32
+ // max-width: initial;
33
+ // width: 100%;
34
+ // }
35
+ // }
36
+
37
+ @if breakpoint-min($breakpoint, $breakpoints) {
38
+ @container (min-width: #{breakpoint-min($breakpoint, $breakpoints)}) {
39
+ @for $i from 1 through $columns {
40
+ .col#{$infix}-#{$i} {
41
+ @include make-col($i, $columns);
42
+ }
43
+ }
44
+ }
45
+ }
46
+ }
47
+ }
48
+
49
+ .blue-container-grid {
50
+ container-type: inline-size;
51
+ @include make-grid-columns-cq();
52
+ }
@@ -308,7 +308,9 @@
308
308
  bottom: 0.125rem;
309
309
  left: 0.125rem;
310
310
  border-radius: $border-radius;
311
- box-shadow: $box-shadow;
311
+ box-shadow: 0 0.5rem 1rem $black;
312
+ border: 1px solid;
313
+ opacity: 0.15;
312
314
  }
313
315
  }
314
316
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blue-web",
3
- "version": "1.0.2",
3
+ "version": "1.1.1",
4
4
  "description": "UI components built on top of Bootstrap 5",
5
5
  "license": "LGPL-3.0-or-later",
6
6
  "homepage": "https://bruegmann.github.io/blue-web/v1",