blue-web 1.21.1 → 1.21.2
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/LICENSE +164 -164
- package/README.md +74 -74
- package/dist/js/actions.d.ts +6 -6
- package/dist/js/color-mode.d.ts +4 -4
- package/dist/js/dialog.d.ts +18 -18
- package/dist/js/edit-view.d.ts +14 -14
- package/dist/js/edit-view.js +2 -2
- package/dist/js/input-splitted.d.ts +19 -19
- package/dist/js/odometer.d.ts +30 -30
- package/dist/js/odometer.js +8 -8
- package/dist/js/progress.d.ts +2 -2
- package/dist/js/read-view.d.ts +35 -35
- package/dist/js/read-view.js +18 -18
- package/dist/js/select-list.d.ts +46 -46
- package/dist/js/select-list.js +17 -17
- package/dist/js/shared.d.ts +14 -14
- package/dist/js/side-layout.d.ts +7 -7
- package/dist/js/utils.d.ts +18 -18
- package/dist/js/utils.js +6 -6
- package/dist/merged.scss +2170 -2170
- package/dist/neu.scss +92 -92
- package/dist/style.css +1 -1
- package/dist/style.min.css +1 -1
- package/dist/style.scss +62 -62
- package/dist/styles/_action-menu.scss +57 -57
- package/dist/styles/_actions.scss +37 -37
- package/dist/styles/_anchor.scss +42 -42
- package/dist/styles/_bootstrap-mixins_overwritten.scss +106 -106
- package/dist/styles/_bootstrap-variables.scss +46 -46
- package/dist/styles/_bootstrap.scss +64 -64
- package/dist/styles/_button-icon-wrapper.scss +28 -28
- package/dist/styles/_buttons.scss +120 -120
- package/dist/styles/_collapse.scss +72 -72
- package/dist/styles/_container-grid.scss +52 -52
- package/dist/styles/_devexpress.scss +104 -104
- package/dist/styles/_general.scss +55 -55
- package/dist/styles/_hover.scss +37 -37
- package/dist/styles/_input-group.scss +29 -29
- package/dist/styles/_inter.scss +19 -19
- package/dist/styles/_intro.scss +22 -22
- package/dist/styles/_keyframes.scss +73 -73
- package/dist/styles/_layout.scss +175 -175
- package/dist/styles/_menu-item.scss +86 -86
- package/dist/styles/_mixins.scss +6 -6
- package/dist/styles/_modal.scss +118 -118
- package/dist/styles/_page-header.scss +14 -14
- package/dist/styles/_scrollspy.scss +78 -78
- package/dist/styles/_status.scss +131 -131
- package/dist/styles/_text-icons.scss +15 -15
- package/dist/styles/_tooltips.scss +150 -150
- package/dist/styles/_utils.scss +20 -20
- package/dist/styles/_variables.scss +128 -128
- package/dist/styles/mixins/_action-menu.scss +64 -64
- package/dist/styles/mixins/_custom-property.scss +10 -10
- package/dist/styles/mixins/_menu-item.scss +136 -136
- package/dist/styles/mixins/_misc.scss +7 -7
- package/dist/styles/mixins/_scroll-shadow.scss +9 -9
- package/dist/styles/mixins/_switch.scss +91 -91
- package/package.json +88 -88
- package/dist/container-grid.css +0 -196
- package/dist/js/auto-theme.bundle.js +0 -1
- package/dist/js/auto-theme.d.ts +0 -26
- package/dist/js/auto-theme.js +0 -169
- package/dist/js/button.bundle.js +0 -1
- package/dist/js/button.d.ts +0 -6
- package/dist/js/button.js +0 -16
- package/dist/js/dialog.bundle.js.LICENSE.txt +0 -5
- package/dist/js/dxf-viewer.js +0 -129
- package/dist/js/searchbox.bundle.js +0 -2
- package/dist/js/searchbox.bundle.js.LICENSE.txt +0 -11
- package/dist/js/searchbox.d.ts +0 -16
- package/dist/js/searchbox.js +0 -158
- package/dist/tailwind-main.css +0 -737
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
@mixin show-action-menu-again() {
|
|
2
|
-
max-height: initial;
|
|
3
|
-
overflow: initial;
|
|
4
|
-
|
|
5
|
-
.blue-actions-menu {
|
|
6
|
-
max-width: initial;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
@mixin actions($breakpoint) {
|
|
11
|
-
@media (max-width: #{$breakpoint + 1px}) {
|
|
12
|
-
&.open {
|
|
13
|
-
display: block;
|
|
14
|
-
width: auto;
|
|
15
|
-
position: absolute;
|
|
16
|
-
z-index: 1;
|
|
17
|
-
left: unset;
|
|
18
|
-
top: 0.25rem;
|
|
19
|
-
box-shadow: 0.6rem 6rem 6rem rgba(0, 0, 0, 0.3);
|
|
20
|
-
animation: fadeInDown 0.5s;
|
|
21
|
-
|
|
22
|
-
@media (prefers-reduced-motion) {
|
|
23
|
-
animation-duration: 0s;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
border-radius: $border-radius;
|
|
27
|
-
|
|
28
|
-
@include show-action-menu-again();
|
|
29
|
-
|
|
30
|
-
.blue-actions-menu-item:not(.blue-actions-menu-toggle) {
|
|
31
|
-
display: flex;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.blue-actions-menu {
|
|
35
|
-
flex-direction: column;
|
|
36
|
-
.blue-menu-item-dropdown {
|
|
37
|
-
--blue-sidebar-bg: #{darken($theme, 34%)};
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.blue-actions-menu-item:not(.blue-actions-menu-toggle) {
|
|
43
|
-
display: none;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
@media (min-width: $breakpoint) {
|
|
48
|
-
@include show-action-menu-again();
|
|
49
|
-
|
|
50
|
-
.blue-actions-menu .blue-actions-label {
|
|
51
|
-
display: inline;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.blue-actions-menu-toggle {
|
|
55
|
-
display: none;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.blue-actions-menu > .blue-menu-item-wrapper > .blue-menu-item-dropdown,
|
|
59
|
-
.blue-actions-menu > .blue-menu-item-wrapper > * > .blue-menu-item-dropdown {
|
|
60
|
-
position: absolute;
|
|
61
|
-
right: 0;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
1
|
+
@mixin show-action-menu-again() {
|
|
2
|
+
max-height: initial;
|
|
3
|
+
overflow: initial;
|
|
4
|
+
|
|
5
|
+
.blue-actions-menu {
|
|
6
|
+
max-width: initial;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
@mixin actions($breakpoint) {
|
|
11
|
+
@media (max-width: #{$breakpoint + 1px}) {
|
|
12
|
+
&.open {
|
|
13
|
+
display: block;
|
|
14
|
+
width: auto;
|
|
15
|
+
position: absolute;
|
|
16
|
+
z-index: 1;
|
|
17
|
+
left: unset;
|
|
18
|
+
top: 0.25rem;
|
|
19
|
+
box-shadow: 0.6rem 6rem 6rem rgba(0, 0, 0, 0.3);
|
|
20
|
+
animation: fadeInDown 0.5s;
|
|
21
|
+
|
|
22
|
+
@media (prefers-reduced-motion) {
|
|
23
|
+
animation-duration: 0s;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
border-radius: $border-radius;
|
|
27
|
+
|
|
28
|
+
@include show-action-menu-again();
|
|
29
|
+
|
|
30
|
+
.blue-actions-menu-item:not(.blue-actions-menu-toggle) {
|
|
31
|
+
display: flex;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.blue-actions-menu {
|
|
35
|
+
flex-direction: column;
|
|
36
|
+
.blue-menu-item-dropdown {
|
|
37
|
+
--blue-sidebar-bg: #{darken($theme, 34%)};
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.blue-actions-menu-item:not(.blue-actions-menu-toggle) {
|
|
43
|
+
display: none;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@media (min-width: $breakpoint) {
|
|
48
|
+
@include show-action-menu-again();
|
|
49
|
+
|
|
50
|
+
.blue-actions-menu .blue-actions-label {
|
|
51
|
+
display: inline;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.blue-actions-menu-toggle {
|
|
55
|
+
display: none;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.blue-actions-menu > .blue-menu-item-wrapper > .blue-menu-item-dropdown,
|
|
59
|
+
.blue-actions-menu > .blue-menu-item-wrapper > * > .blue-menu-item-dropdown {
|
|
60
|
+
position: absolute;
|
|
61
|
+
right: 0;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
@mixin customProperty($name, $value) {
|
|
2
|
-
// fallback for older browser who do not support custom properties / css variables
|
|
3
|
-
#{$name}: #{$value};
|
|
4
|
-
|
|
5
|
-
// create a css variable (this might override the variable on any of the ancestor elements)
|
|
6
|
-
--#{$name}: #{$value};
|
|
7
|
-
|
|
8
|
-
// use the css variable on the property
|
|
9
|
-
#{$name}: var(--#{$name}, #{$value});
|
|
10
|
-
}
|
|
1
|
+
@mixin customProperty($name, $value) {
|
|
2
|
+
// fallback for older browser who do not support custom properties / css variables
|
|
3
|
+
#{$name}: #{$value};
|
|
4
|
+
|
|
5
|
+
// create a css variable (this might override the variable on any of the ancestor elements)
|
|
6
|
+
--#{$name}: #{$value};
|
|
7
|
+
|
|
8
|
+
// use the css variable on the property
|
|
9
|
+
#{$name}: var(--#{$name}, #{$value});
|
|
10
|
+
}
|
|
@@ -1,136 +1,136 @@
|
|
|
1
|
-
@mixin blue-menu-item-background() {
|
|
2
|
-
content: "";
|
|
3
|
-
position: absolute;
|
|
4
|
-
top: 0.125rem;
|
|
5
|
-
right: 0.125rem;
|
|
6
|
-
bottom: 0.125rem;
|
|
7
|
-
left: 0.125rem;
|
|
8
|
-
background-color: currentColor;
|
|
9
|
-
border-radius: $border-radius;
|
|
10
|
-
transform: scale(0.9);
|
|
11
|
-
opacity: 0;
|
|
12
|
-
transition: all 0.2s;
|
|
13
|
-
|
|
14
|
-
@media (prefers-reduced-motion) {
|
|
15
|
-
transition: none;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
@mixin blue-menu-item-indicator() {
|
|
20
|
-
content: "";
|
|
21
|
-
position: absolute;
|
|
22
|
-
top: 0.625rem;
|
|
23
|
-
bottom: 0.625rem;
|
|
24
|
-
left: 0.125rem;
|
|
25
|
-
right: initial;
|
|
26
|
-
width: 3px;
|
|
27
|
-
height: auto;
|
|
28
|
-
background-color: var(--blue-menu-item-indicator-bg);
|
|
29
|
-
border-radius: 1rem;
|
|
30
|
-
animation: blue-menu-item-indicator-in-from-side 0.2s ease-in-out;
|
|
31
|
-
|
|
32
|
-
@media (prefers-reduced-motion) {
|
|
33
|
-
animation-duration: 0s;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
@mixin blue-menu-item-indicator-horizontal() {
|
|
38
|
-
top: initial;
|
|
39
|
-
bottom: 0.125rem;
|
|
40
|
-
left: 50%;
|
|
41
|
-
transform: translateX(-50%);
|
|
42
|
-
width: 2em;
|
|
43
|
-
height: 3px;
|
|
44
|
-
animation: blue-menu-item-indicator-in-from-below 0.2s ease-in-out;
|
|
45
|
-
|
|
46
|
-
@media (prefers-reduced-motion) {
|
|
47
|
-
animation-duration: 0s;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
@mixin blue-menu-item-dropdown-for-shrunk-sidebar() {
|
|
52
|
-
& > .blue-menu-item-wrapper {
|
|
53
|
-
display: block;
|
|
54
|
-
position: relative;
|
|
55
|
-
|
|
56
|
-
&:not(:has(.blue-menu-item-dropdown)) > .blue-menu-item:hover {
|
|
57
|
-
.blue-menu-item-label {
|
|
58
|
-
&::before,
|
|
59
|
-
& {
|
|
60
|
-
animation: tips-horz 150ms cubic-bezier(0.5, 0, 0.6, 1.3) 1ms forwards;
|
|
61
|
-
|
|
62
|
-
@media (prefers-reduced-motion) {
|
|
63
|
-
animation-duration: 0s;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
&::before {
|
|
68
|
-
content: "";
|
|
69
|
-
display: block;
|
|
70
|
-
position: absolute;
|
|
71
|
-
border: 5px solid transparent;
|
|
72
|
-
z-index: 1001;
|
|
73
|
-
|
|
74
|
-
top: 50%;
|
|
75
|
-
border-left-width: 0;
|
|
76
|
-
border-right-color: var(--bs-tooltip-bg, #353539);
|
|
77
|
-
left: calc(0em - 5px);
|
|
78
|
-
transform: translate(0.5em, -50%);
|
|
79
|
-
opacity: 0;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
display: block;
|
|
83
|
-
text-transform: none;
|
|
84
|
-
line-height: 1;
|
|
85
|
-
font-size: 0.9em;
|
|
86
|
-
-webkit-user-select: none;
|
|
87
|
-
user-select: none;
|
|
88
|
-
pointer-events: none;
|
|
89
|
-
position: absolute;
|
|
90
|
-
font-family: var(--bs-font-sans-serif);
|
|
91
|
-
text-align: center;
|
|
92
|
-
min-width: 3em;
|
|
93
|
-
max-width: var(--bs-tooltip-max-width, 21em);
|
|
94
|
-
padding: var(--bs-tooltip-padding-y, 1ch) var(--bs-tooltip-padding-x, 1.5ch);
|
|
95
|
-
border-radius: var(--bs-tooltip-border-radius, 0.3em);
|
|
96
|
-
box-shadow: 0 1em 2em -0.5em rgba(0, 0, 0, 0.35);
|
|
97
|
-
background: var(--bs-tooltip-bg, #353539);
|
|
98
|
-
color: var(--bs-tooltip-color, #fff);
|
|
99
|
-
z-index: 1000;
|
|
100
|
-
width: auto;
|
|
101
|
-
top: 50%;
|
|
102
|
-
left: calc(100% + 5px);
|
|
103
|
-
transform: translate(-0.5em, -50%);
|
|
104
|
-
overflow: visible;
|
|
105
|
-
opacity: 0;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
& > .blue-menu-item-dropdown,
|
|
110
|
-
& > .blue-outside > .blue-menu-item-dropdown {
|
|
111
|
-
@extend .ms-1;
|
|
112
|
-
@extend .rounded;
|
|
113
|
-
@extend .shadow;
|
|
114
|
-
@extend .blue-menu-item-dropdown-from-start;
|
|
115
|
-
|
|
116
|
-
position: absolute;
|
|
117
|
-
top: 0;
|
|
118
|
-
width: $bla-sidebar-width;
|
|
119
|
-
left: $normal-size;
|
|
120
|
-
max-height: calc(100vh - (var(--offset-top, 0px) + 1rem));
|
|
121
|
-
overflow-y: auto;
|
|
122
|
-
overflow-x: hidden;
|
|
123
|
-
background-color: var(--blue-sidebar-bg);
|
|
124
|
-
|
|
125
|
-
&::before {
|
|
126
|
-
content: none;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
&:has(.blue-menu-item-dropdown) {
|
|
131
|
-
& > .blue-menu-item {
|
|
132
|
-
@extend .highlighted;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
}
|
|
1
|
+
@mixin blue-menu-item-background() {
|
|
2
|
+
content: "";
|
|
3
|
+
position: absolute;
|
|
4
|
+
top: 0.125rem;
|
|
5
|
+
right: 0.125rem;
|
|
6
|
+
bottom: 0.125rem;
|
|
7
|
+
left: 0.125rem;
|
|
8
|
+
background-color: currentColor;
|
|
9
|
+
border-radius: $border-radius;
|
|
10
|
+
transform: scale(0.9);
|
|
11
|
+
opacity: 0;
|
|
12
|
+
transition: all 0.2s;
|
|
13
|
+
|
|
14
|
+
@media (prefers-reduced-motion) {
|
|
15
|
+
transition: none;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@mixin blue-menu-item-indicator() {
|
|
20
|
+
content: "";
|
|
21
|
+
position: absolute;
|
|
22
|
+
top: 0.625rem;
|
|
23
|
+
bottom: 0.625rem;
|
|
24
|
+
left: 0.125rem;
|
|
25
|
+
right: initial;
|
|
26
|
+
width: 3px;
|
|
27
|
+
height: auto;
|
|
28
|
+
background-color: var(--blue-menu-item-indicator-bg);
|
|
29
|
+
border-radius: 1rem;
|
|
30
|
+
animation: blue-menu-item-indicator-in-from-side 0.2s ease-in-out;
|
|
31
|
+
|
|
32
|
+
@media (prefers-reduced-motion) {
|
|
33
|
+
animation-duration: 0s;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@mixin blue-menu-item-indicator-horizontal() {
|
|
38
|
+
top: initial;
|
|
39
|
+
bottom: 0.125rem;
|
|
40
|
+
left: 50%;
|
|
41
|
+
transform: translateX(-50%);
|
|
42
|
+
width: 2em;
|
|
43
|
+
height: 3px;
|
|
44
|
+
animation: blue-menu-item-indicator-in-from-below 0.2s ease-in-out;
|
|
45
|
+
|
|
46
|
+
@media (prefers-reduced-motion) {
|
|
47
|
+
animation-duration: 0s;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@mixin blue-menu-item-dropdown-for-shrunk-sidebar() {
|
|
52
|
+
& > .blue-menu-item-wrapper {
|
|
53
|
+
display: block;
|
|
54
|
+
position: relative;
|
|
55
|
+
|
|
56
|
+
&:not(:has(.blue-menu-item-dropdown)) > .blue-menu-item:hover {
|
|
57
|
+
.blue-menu-item-label {
|
|
58
|
+
&::before,
|
|
59
|
+
& {
|
|
60
|
+
animation: tips-horz 150ms cubic-bezier(0.5, 0, 0.6, 1.3) 1ms forwards;
|
|
61
|
+
|
|
62
|
+
@media (prefers-reduced-motion) {
|
|
63
|
+
animation-duration: 0s;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&::before {
|
|
68
|
+
content: "";
|
|
69
|
+
display: block;
|
|
70
|
+
position: absolute;
|
|
71
|
+
border: 5px solid transparent;
|
|
72
|
+
z-index: 1001;
|
|
73
|
+
|
|
74
|
+
top: 50%;
|
|
75
|
+
border-left-width: 0;
|
|
76
|
+
border-right-color: var(--bs-tooltip-bg, #353539);
|
|
77
|
+
left: calc(0em - 5px);
|
|
78
|
+
transform: translate(0.5em, -50%);
|
|
79
|
+
opacity: 0;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
display: block;
|
|
83
|
+
text-transform: none;
|
|
84
|
+
line-height: 1;
|
|
85
|
+
font-size: 0.9em;
|
|
86
|
+
-webkit-user-select: none;
|
|
87
|
+
user-select: none;
|
|
88
|
+
pointer-events: none;
|
|
89
|
+
position: absolute;
|
|
90
|
+
font-family: var(--bs-font-sans-serif);
|
|
91
|
+
text-align: center;
|
|
92
|
+
min-width: 3em;
|
|
93
|
+
max-width: var(--bs-tooltip-max-width, 21em);
|
|
94
|
+
padding: var(--bs-tooltip-padding-y, 1ch) var(--bs-tooltip-padding-x, 1.5ch);
|
|
95
|
+
border-radius: var(--bs-tooltip-border-radius, 0.3em);
|
|
96
|
+
box-shadow: 0 1em 2em -0.5em rgba(0, 0, 0, 0.35);
|
|
97
|
+
background: var(--bs-tooltip-bg, #353539);
|
|
98
|
+
color: var(--bs-tooltip-color, #fff);
|
|
99
|
+
z-index: 1000;
|
|
100
|
+
width: auto;
|
|
101
|
+
top: 50%;
|
|
102
|
+
left: calc(100% + 5px);
|
|
103
|
+
transform: translate(-0.5em, -50%);
|
|
104
|
+
overflow: visible;
|
|
105
|
+
opacity: 0;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
& > .blue-menu-item-dropdown,
|
|
110
|
+
& > .blue-outside > .blue-menu-item-dropdown {
|
|
111
|
+
@extend .ms-1;
|
|
112
|
+
@extend .rounded;
|
|
113
|
+
@extend .shadow;
|
|
114
|
+
@extend .blue-menu-item-dropdown-from-start;
|
|
115
|
+
|
|
116
|
+
position: absolute;
|
|
117
|
+
top: 0;
|
|
118
|
+
width: $bla-sidebar-width;
|
|
119
|
+
left: $normal-size;
|
|
120
|
+
max-height: calc(100vh - (var(--offset-top, 0px) + 1rem));
|
|
121
|
+
overflow-y: auto;
|
|
122
|
+
overflow-x: hidden;
|
|
123
|
+
background-color: var(--blue-sidebar-bg);
|
|
124
|
+
|
|
125
|
+
&::before {
|
|
126
|
+
content: none;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
&:has(.blue-menu-item-dropdown) {
|
|
131
|
+
& > .blue-menu-item {
|
|
132
|
+
@extend .highlighted;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
@mixin header-bg() {
|
|
2
|
-
background-image: linear-gradient(
|
|
3
|
-
var(--blue-header-bg, $header-bg),
|
|
4
|
-
rgba(var(--blue-header-bg-rgb, var(--bs-theme-rgb)), var(--blue-shimmering, $shimmering))
|
|
5
|
-
);
|
|
6
|
-
backdrop-filter: blur(3px) saturate(125%);
|
|
7
|
-
}
|
|
1
|
+
@mixin header-bg() {
|
|
2
|
+
background-image: linear-gradient(
|
|
3
|
+
var(--blue-header-bg, $header-bg),
|
|
4
|
+
rgba(var(--blue-header-bg-rgb, var(--bs-theme-rgb)), var(--blue-shimmering, $shimmering))
|
|
5
|
+
);
|
|
6
|
+
backdrop-filter: blur(3px) saturate(125%);
|
|
7
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
@mixin scroll-shadow($bg, $light-base: white) {
|
|
2
|
-
background: linear-gradient($bg 30%, rgba($light-base, 0)),
|
|
3
|
-
linear-gradient(rgba($light-base, 0) 10px, $bg 70%) bottom,
|
|
4
|
-
radial-gradient(at top, rgba(0, 0, 0, 0.2), transparent 70%),
|
|
5
|
-
radial-gradient(at bottom, rgba(0, 0, 0, 0.2), transparent 70%) bottom;
|
|
6
|
-
background-repeat: no-repeat;
|
|
7
|
-
background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px;
|
|
8
|
-
background-attachment: local, local, scroll, scroll;
|
|
9
|
-
}
|
|
1
|
+
@mixin scroll-shadow($bg, $light-base: white) {
|
|
2
|
+
background: linear-gradient($bg 30%, rgba($light-base, 0)),
|
|
3
|
+
linear-gradient(rgba($light-base, 0) 10px, $bg 70%) bottom,
|
|
4
|
+
radial-gradient(at top, rgba(0, 0, 0, 0.2), transparent 70%),
|
|
5
|
+
radial-gradient(at bottom, rgba(0, 0, 0, 0.2), transparent 70%) bottom;
|
|
6
|
+
background-repeat: no-repeat;
|
|
7
|
+
background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px;
|
|
8
|
+
background-attachment: local, local, scroll, scroll;
|
|
9
|
+
}
|
|
@@ -1,91 +1,91 @@
|
|
|
1
|
-
@mixin switch($width: 35px, $height: 20px, $padding: 3px, $color: $body-color, $color-active: $success) {
|
|
2
|
-
$slider-size: $height - ($padding * 2);
|
|
3
|
-
|
|
4
|
-
& {
|
|
5
|
-
position: relative;
|
|
6
|
-
display: inline-block;
|
|
7
|
-
width: $width;
|
|
8
|
-
height: $height;
|
|
9
|
-
|
|
10
|
-
input {
|
|
11
|
-
display: none;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
&.disabled {
|
|
15
|
-
opacity: 0.8;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
&:not(.disabled) {
|
|
19
|
-
.slider {
|
|
20
|
-
cursor: pointer;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.slider {
|
|
25
|
-
position: absolute;
|
|
26
|
-
top: 0;
|
|
27
|
-
left: 0;
|
|
28
|
-
right: 0;
|
|
29
|
-
bottom: 0;
|
|
30
|
-
background-color: $input-group-addon-bg;
|
|
31
|
-
transition: 0.4s;
|
|
32
|
-
|
|
33
|
-
@media (prefers-reduced-motion) {
|
|
34
|
-
transition: none;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
box-shadow: inset 0 0 0 1px rgba($color, 0.5);
|
|
38
|
-
|
|
39
|
-
&::before {
|
|
40
|
-
content: "";
|
|
41
|
-
position: absolute;
|
|
42
|
-
height: $slider-size;
|
|
43
|
-
width: $slider-size;
|
|
44
|
-
left: $padding;
|
|
45
|
-
bottom: $padding;
|
|
46
|
-
background-color: $color;
|
|
47
|
-
transition: 0.4s;
|
|
48
|
-
|
|
49
|
-
@media (prefers-reduced-motion) {
|
|
50
|
-
transition: none;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
&::after {
|
|
55
|
-
content: attr(data-label);
|
|
56
|
-
position: absolute;
|
|
57
|
-
top: 50%;
|
|
58
|
-
left: 50%;
|
|
59
|
-
transform: translate(-50%, -50%);
|
|
60
|
-
margin-left: ($slider-size * 0.5);
|
|
61
|
-
transition: margin-left 0.4s;
|
|
62
|
-
|
|
63
|
-
@media (prefers-reduced-motion) {
|
|
64
|
-
transition: none;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
color: $color;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
input:checked {
|
|
72
|
-
& + .slider {
|
|
73
|
-
background-color: $color-active;
|
|
74
|
-
box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.3);
|
|
75
|
-
|
|
76
|
-
&::before {
|
|
77
|
-
transform: translateX($width - $slider-size - ($padding * 2));
|
|
78
|
-
background-color: white;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
&::after {
|
|
82
|
-
color: white;
|
|
83
|
-
margin-left: ($slider-size * 0.5) * -1;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
input:focus + .slider {
|
|
88
|
-
box-shadow: 0 0 1px $color-active;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
1
|
+
@mixin switch($width: 35px, $height: 20px, $padding: 3px, $color: $body-color, $color-active: $success) {
|
|
2
|
+
$slider-size: $height - ($padding * 2);
|
|
3
|
+
|
|
4
|
+
& {
|
|
5
|
+
position: relative;
|
|
6
|
+
display: inline-block;
|
|
7
|
+
width: $width;
|
|
8
|
+
height: $height;
|
|
9
|
+
|
|
10
|
+
input {
|
|
11
|
+
display: none;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&.disabled {
|
|
15
|
+
opacity: 0.8;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&:not(.disabled) {
|
|
19
|
+
.slider {
|
|
20
|
+
cursor: pointer;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.slider {
|
|
25
|
+
position: absolute;
|
|
26
|
+
top: 0;
|
|
27
|
+
left: 0;
|
|
28
|
+
right: 0;
|
|
29
|
+
bottom: 0;
|
|
30
|
+
background-color: $input-group-addon-bg;
|
|
31
|
+
transition: 0.4s;
|
|
32
|
+
|
|
33
|
+
@media (prefers-reduced-motion) {
|
|
34
|
+
transition: none;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
box-shadow: inset 0 0 0 1px rgba($color, 0.5);
|
|
38
|
+
|
|
39
|
+
&::before {
|
|
40
|
+
content: "";
|
|
41
|
+
position: absolute;
|
|
42
|
+
height: $slider-size;
|
|
43
|
+
width: $slider-size;
|
|
44
|
+
left: $padding;
|
|
45
|
+
bottom: $padding;
|
|
46
|
+
background-color: $color;
|
|
47
|
+
transition: 0.4s;
|
|
48
|
+
|
|
49
|
+
@media (prefers-reduced-motion) {
|
|
50
|
+
transition: none;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&::after {
|
|
55
|
+
content: attr(data-label);
|
|
56
|
+
position: absolute;
|
|
57
|
+
top: 50%;
|
|
58
|
+
left: 50%;
|
|
59
|
+
transform: translate(-50%, -50%);
|
|
60
|
+
margin-left: ($slider-size * 0.5);
|
|
61
|
+
transition: margin-left 0.4s;
|
|
62
|
+
|
|
63
|
+
@media (prefers-reduced-motion) {
|
|
64
|
+
transition: none;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
color: $color;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
input:checked {
|
|
72
|
+
& + .slider {
|
|
73
|
+
background-color: $color-active;
|
|
74
|
+
box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.3);
|
|
75
|
+
|
|
76
|
+
&::before {
|
|
77
|
+
transform: translateX($width - $slider-size - ($padding * 2));
|
|
78
|
+
background-color: white;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&::after {
|
|
82
|
+
color: white;
|
|
83
|
+
margin-left: ($slider-size * 0.5) * -1;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
input:focus + .slider {
|
|
88
|
+
box-shadow: 0 0 1px $color-active;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|