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,15 +1,15 @@
|
|
|
1
|
-
// 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.
|
|
2
|
-
// Unfortunately his class was removed in Bootstrap 5, so it's now part of Blue Web CSS.
|
|
3
|
-
.blue-page-header,
|
|
4
|
-
.page-header {
|
|
5
|
-
padding-bottom: 0.563rem;
|
|
6
|
-
margin: 2.5rem 0 1.25rem;
|
|
7
|
-
border-bottom: 0.25rem solid var(--blue-page-header-border-color, $table-border-color);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
// Vertically alignment, especially for Bootstrap Icons.
|
|
11
|
-
.blue-icon,
|
|
12
|
-
.bi {
|
|
13
|
-
display: inline-block;
|
|
14
|
-
vertical-align: -0.125em;
|
|
15
|
-
}
|
|
1
|
+
// 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.
|
|
2
|
+
// Unfortunately his class was removed in Bootstrap 5, so it's now part of Blue Web CSS.
|
|
3
|
+
.blue-page-header,
|
|
4
|
+
.page-header {
|
|
5
|
+
padding-bottom: 0.563rem;
|
|
6
|
+
margin: 2.5rem 0 1.25rem;
|
|
7
|
+
border-bottom: 0.25rem solid var(--blue-page-header-border-color, $table-border-color);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
// Vertically alignment, especially for Bootstrap Icons.
|
|
11
|
+
.blue-icon,
|
|
12
|
+
.bi {
|
|
13
|
+
display: inline-block;
|
|
14
|
+
vertical-align: -0.125em;
|
|
15
|
+
}
|
|
@@ -1,150 +1,150 @@
|
|
|
1
|
-
.blue-tooltip,
|
|
2
|
-
.blue-tooltip-start,
|
|
3
|
-
.blue-tooltip-end,
|
|
4
|
-
.blue-tooltip-up,
|
|
5
|
-
.blue-tooltip-down {
|
|
6
|
-
--#{$prefix}tooltip-zindex: #{$zindex-tooltip};
|
|
7
|
-
--#{$prefix}tooltip-max-width: #{$tooltip-max-width};
|
|
8
|
-
--#{$prefix}tooltip-padding-x: #{$tooltip-padding-x};
|
|
9
|
-
--#{$prefix}tooltip-padding-y: #{$tooltip-padding-y};
|
|
10
|
-
@include rfs($tooltip-font-size, --#{$prefix}tooltip-font-size);
|
|
11
|
-
--#{$prefix}tooltip-color: #{$tooltip-color};
|
|
12
|
-
--#{$prefix}tooltip-bg: #{$tooltip-bg};
|
|
13
|
-
--#{$prefix}tooltip-border-radius: #{$tooltip-border-radius};
|
|
14
|
-
--#{$prefix}tooltip-opacity: #{$tooltip-opacity};
|
|
15
|
-
|
|
16
|
-
// @apply relative inline-block;
|
|
17
|
-
position: relative;
|
|
18
|
-
display: inline-block;
|
|
19
|
-
|
|
20
|
-
--tt-bg: var(--#{$prefix}tooltip-bg, black);
|
|
21
|
-
--tt-off: calc(100% + 0.5rem);
|
|
22
|
-
--tt-tail: calc(100% + 1px + 0.25rem);
|
|
23
|
-
|
|
24
|
-
> :where(.blue-tooltip-content),
|
|
25
|
-
&[data-tooltip]:before {
|
|
26
|
-
// @apply text-neutral-content rounded-field absolute max-w-[20rem] px-2 py-1 text-center whitespace-normal opacity-0;
|
|
27
|
-
|
|
28
|
-
@include reset-text();
|
|
29
|
-
@include font-size(var(--#{$prefix}tooltip-font-size));
|
|
30
|
-
|
|
31
|
-
color: var(--#{$prefix}tooltip-color);
|
|
32
|
-
@include border-radius(var(--#{$prefix}tooltip-border-radius));
|
|
33
|
-
position: absolute;
|
|
34
|
-
max-width: var(--#{$prefix}tooltip-max-width);
|
|
35
|
-
padding: var(--#{$prefix}tooltip-padding-y) var(--#{$prefix}tooltip-padding-x);
|
|
36
|
-
text-align: center;
|
|
37
|
-
white-space: normal;
|
|
38
|
-
opacity: 0;
|
|
39
|
-
|
|
40
|
-
line-height: 1.25em;
|
|
41
|
-
transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1) 75ms, transform 0.2s cubic-bezier(0.4, 0, 0.2, 1) 75ms;
|
|
42
|
-
background-color: var(--tt-bg);
|
|
43
|
-
width: max-content;
|
|
44
|
-
pointer-events: none;
|
|
45
|
-
z-index: var(--#{$prefix}tooltip-zindex);
|
|
46
|
-
--tw-content: attr(data-tooltip);
|
|
47
|
-
content: var(--tw-content);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&:after {
|
|
51
|
-
// @apply absolute opacity-0;
|
|
52
|
-
position: absolute;
|
|
53
|
-
opacity: 0;
|
|
54
|
-
|
|
55
|
-
background-color: var(--tt-bg);
|
|
56
|
-
transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1) 75ms, transform 0.2s cubic-bezier(0.4, 0, 0.2, 1) 75ms;
|
|
57
|
-
content: "";
|
|
58
|
-
pointer-events: none;
|
|
59
|
-
width: 0.625rem;
|
|
60
|
-
height: 0.25rem;
|
|
61
|
-
display: block;
|
|
62
|
-
position: absolute;
|
|
63
|
-
mask-repeat: no-repeat;
|
|
64
|
-
mask-position: -1px 0;
|
|
65
|
-
--mask-tooltip: url("data:image/svg+xml,%3Csvg width='10' height='4' viewBox='0 0 8 4' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.500009 1C3.5 1 3.00001 4 5.00001 4C7 4 6.5 1 9.5 1C10 1 10 0.499897 10 0H0C-1.99338e-08 0.5 0 1 0.500009 1Z' fill='black'/%3E%3C/svg%3E%0A");
|
|
66
|
-
mask-image: var(--mask-tooltip);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.blue-tooltip,
|
|
71
|
-
.blue-tooltip-up {
|
|
72
|
-
> .blue-tooltip-content,
|
|
73
|
-
&[data-tooltip]:before {
|
|
74
|
-
transform: translateX(-50%) translateY(var(--tt-pos, 0.25rem));
|
|
75
|
-
inset: auto auto var(--tt-off) 50%;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.blue-tooltip-down {
|
|
80
|
-
> .blue-tooltip-content,
|
|
81
|
-
&[data-tooltip]:before {
|
|
82
|
-
transform: translateX(-50%) translateY(var(--tt-pos, -0.25rem));
|
|
83
|
-
inset: var(--tt-off) auto auto 50%;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.blue-tooltip-start {
|
|
88
|
-
> .blue-tooltip-content,
|
|
89
|
-
&[data-tooltip]:before {
|
|
90
|
-
transform: translateX(calc(var(--tt-pos, 0.25rem) - 0.25rem)) translateY(-50%);
|
|
91
|
-
inset: 50% var(--tt-off) auto auto;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.blue-tooltip-end {
|
|
96
|
-
> .blue-tooltip-content,
|
|
97
|
-
&[data-tooltip]:before {
|
|
98
|
-
transform: translateX(calc(var(--tt-pos, -0.25rem) + 0.25rem)) translateY(-50%);
|
|
99
|
-
inset: 50% auto auto var(--tt-off);
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.blue-tooltip,
|
|
104
|
-
.blue-tooltip-start,
|
|
105
|
-
.blue-tooltip-end,
|
|
106
|
-
.blue-tooltip-up,
|
|
107
|
-
.blue-tooltip-down {
|
|
108
|
-
&.blue-tooltip-open,
|
|
109
|
-
&[data-tooltip]:hover,
|
|
110
|
-
&:hover,
|
|
111
|
-
&:has(:focus-visible) {
|
|
112
|
-
> .blue-tooltip-content,
|
|
113
|
-
&[data-tooltip]:before,
|
|
114
|
-
&:after {
|
|
115
|
-
// @apply opacity-100;
|
|
116
|
-
opacity: var(--#{$prefix}tooltip-opacity);
|
|
117
|
-
--tt-pos: 0rem;
|
|
118
|
-
transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1) 0s, transform 0.2s cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.blue-tooltip,
|
|
124
|
-
.blue-tooltip-up {
|
|
125
|
-
&:after {
|
|
126
|
-
transform: translateX(-50%) translateY(var(--tt-pos, 0.25rem));
|
|
127
|
-
inset: auto auto var(--tt-tail) 50%;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.blue-tooltip-down {
|
|
132
|
-
&:after {
|
|
133
|
-
transform: translateX(-50%) translateY(var(--tt-pos, -0.25rem)) rotate(180deg);
|
|
134
|
-
inset: var(--tt-tail) auto auto 50%;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.blue-tooltip-start {
|
|
139
|
-
&:after {
|
|
140
|
-
transform: translateX(var(--tt-pos, 0.25rem)) translateY(-50%) rotate(-90deg);
|
|
141
|
-
inset: 50% calc(var(--tt-tail) + 1px) auto auto;
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.blue-tooltip-end {
|
|
146
|
-
&:after {
|
|
147
|
-
transform: translateX(var(--tt-pos, -0.25rem)) translateY(-50%) rotate(90deg);
|
|
148
|
-
inset: 50% auto auto calc(var(--tt-tail) + 1px);
|
|
149
|
-
}
|
|
150
|
-
}
|
|
1
|
+
.blue-tooltip,
|
|
2
|
+
.blue-tooltip-start,
|
|
3
|
+
.blue-tooltip-end,
|
|
4
|
+
.blue-tooltip-up,
|
|
5
|
+
.blue-tooltip-down {
|
|
6
|
+
--#{$prefix}tooltip-zindex: #{$zindex-tooltip};
|
|
7
|
+
--#{$prefix}tooltip-max-width: #{$tooltip-max-width};
|
|
8
|
+
--#{$prefix}tooltip-padding-x: #{$tooltip-padding-x};
|
|
9
|
+
--#{$prefix}tooltip-padding-y: #{$tooltip-padding-y};
|
|
10
|
+
@include rfs($tooltip-font-size, --#{$prefix}tooltip-font-size);
|
|
11
|
+
--#{$prefix}tooltip-color: #{$tooltip-color};
|
|
12
|
+
--#{$prefix}tooltip-bg: #{$tooltip-bg};
|
|
13
|
+
--#{$prefix}tooltip-border-radius: #{$tooltip-border-radius};
|
|
14
|
+
--#{$prefix}tooltip-opacity: #{$tooltip-opacity};
|
|
15
|
+
|
|
16
|
+
// @apply relative inline-block;
|
|
17
|
+
position: relative;
|
|
18
|
+
display: inline-block;
|
|
19
|
+
|
|
20
|
+
--tt-bg: var(--#{$prefix}tooltip-bg, black);
|
|
21
|
+
--tt-off: calc(100% + 0.5rem);
|
|
22
|
+
--tt-tail: calc(100% + 1px + 0.25rem);
|
|
23
|
+
|
|
24
|
+
> :where(.blue-tooltip-content),
|
|
25
|
+
&[data-tooltip]:before {
|
|
26
|
+
// @apply text-neutral-content rounded-field absolute max-w-[20rem] px-2 py-1 text-center whitespace-normal opacity-0;
|
|
27
|
+
|
|
28
|
+
@include reset-text();
|
|
29
|
+
@include font-size(var(--#{$prefix}tooltip-font-size));
|
|
30
|
+
|
|
31
|
+
color: var(--#{$prefix}tooltip-color);
|
|
32
|
+
@include border-radius(var(--#{$prefix}tooltip-border-radius));
|
|
33
|
+
position: absolute;
|
|
34
|
+
max-width: var(--#{$prefix}tooltip-max-width);
|
|
35
|
+
padding: var(--#{$prefix}tooltip-padding-y) var(--#{$prefix}tooltip-padding-x);
|
|
36
|
+
text-align: center;
|
|
37
|
+
white-space: normal;
|
|
38
|
+
opacity: 0;
|
|
39
|
+
|
|
40
|
+
line-height: 1.25em;
|
|
41
|
+
transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1) 75ms, transform 0.2s cubic-bezier(0.4, 0, 0.2, 1) 75ms;
|
|
42
|
+
background-color: var(--tt-bg);
|
|
43
|
+
width: max-content;
|
|
44
|
+
pointer-events: none;
|
|
45
|
+
z-index: var(--#{$prefix}tooltip-zindex);
|
|
46
|
+
--tw-content: attr(data-tooltip);
|
|
47
|
+
content: var(--tw-content);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&:after {
|
|
51
|
+
// @apply absolute opacity-0;
|
|
52
|
+
position: absolute;
|
|
53
|
+
opacity: 0;
|
|
54
|
+
|
|
55
|
+
background-color: var(--tt-bg);
|
|
56
|
+
transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1) 75ms, transform 0.2s cubic-bezier(0.4, 0, 0.2, 1) 75ms;
|
|
57
|
+
content: "";
|
|
58
|
+
pointer-events: none;
|
|
59
|
+
width: 0.625rem;
|
|
60
|
+
height: 0.25rem;
|
|
61
|
+
display: block;
|
|
62
|
+
position: absolute;
|
|
63
|
+
mask-repeat: no-repeat;
|
|
64
|
+
mask-position: -1px 0;
|
|
65
|
+
--mask-tooltip: url("data:image/svg+xml,%3Csvg width='10' height='4' viewBox='0 0 8 4' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.500009 1C3.5 1 3.00001 4 5.00001 4C7 4 6.5 1 9.5 1C10 1 10 0.499897 10 0H0C-1.99338e-08 0.5 0 1 0.500009 1Z' fill='black'/%3E%3C/svg%3E%0A");
|
|
66
|
+
mask-image: var(--mask-tooltip);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.blue-tooltip,
|
|
71
|
+
.blue-tooltip-up {
|
|
72
|
+
> .blue-tooltip-content,
|
|
73
|
+
&[data-tooltip]:before {
|
|
74
|
+
transform: translateX(-50%) translateY(var(--tt-pos, 0.25rem));
|
|
75
|
+
inset: auto auto var(--tt-off) 50%;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.blue-tooltip-down {
|
|
80
|
+
> .blue-tooltip-content,
|
|
81
|
+
&[data-tooltip]:before {
|
|
82
|
+
transform: translateX(-50%) translateY(var(--tt-pos, -0.25rem));
|
|
83
|
+
inset: var(--tt-off) auto auto 50%;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.blue-tooltip-start {
|
|
88
|
+
> .blue-tooltip-content,
|
|
89
|
+
&[data-tooltip]:before {
|
|
90
|
+
transform: translateX(calc(var(--tt-pos, 0.25rem) - 0.25rem)) translateY(-50%);
|
|
91
|
+
inset: 50% var(--tt-off) auto auto;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.blue-tooltip-end {
|
|
96
|
+
> .blue-tooltip-content,
|
|
97
|
+
&[data-tooltip]:before {
|
|
98
|
+
transform: translateX(calc(var(--tt-pos, -0.25rem) + 0.25rem)) translateY(-50%);
|
|
99
|
+
inset: 50% auto auto var(--tt-off);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.blue-tooltip,
|
|
104
|
+
.blue-tooltip-start,
|
|
105
|
+
.blue-tooltip-end,
|
|
106
|
+
.blue-tooltip-up,
|
|
107
|
+
.blue-tooltip-down {
|
|
108
|
+
&.blue-tooltip-open,
|
|
109
|
+
&[data-tooltip]:hover,
|
|
110
|
+
&:hover,
|
|
111
|
+
&:has(:focus-visible) {
|
|
112
|
+
> .blue-tooltip-content,
|
|
113
|
+
&[data-tooltip]:before,
|
|
114
|
+
&:after {
|
|
115
|
+
// @apply opacity-100;
|
|
116
|
+
opacity: var(--#{$prefix}tooltip-opacity);
|
|
117
|
+
--tt-pos: 0rem;
|
|
118
|
+
transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1) 0s, transform 0.2s cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.blue-tooltip,
|
|
124
|
+
.blue-tooltip-up {
|
|
125
|
+
&:after {
|
|
126
|
+
transform: translateX(-50%) translateY(var(--tt-pos, 0.25rem));
|
|
127
|
+
inset: auto auto var(--tt-tail) 50%;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.blue-tooltip-down {
|
|
132
|
+
&:after {
|
|
133
|
+
transform: translateX(-50%) translateY(var(--tt-pos, -0.25rem)) rotate(180deg);
|
|
134
|
+
inset: var(--tt-tail) auto auto 50%;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.blue-tooltip-start {
|
|
139
|
+
&:after {
|
|
140
|
+
transform: translateX(var(--tt-pos, 0.25rem)) translateY(-50%) rotate(-90deg);
|
|
141
|
+
inset: 50% calc(var(--tt-tail) + 1px) auto auto;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.blue-tooltip-end {
|
|
146
|
+
&:after {
|
|
147
|
+
transform: translateX(var(--tt-pos, -0.25rem)) translateY(-50%) rotate(90deg);
|
|
148
|
+
inset: 50% auto auto calc(var(--tt-tail) + 1px);
|
|
149
|
+
}
|
|
150
|
+
}
|
package/dist/styles/_utils.scss
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
// Sets `margin: 0` to last child.
|
|
2
|
-
// Useful for creating a gap between items together with `mb-3`.
|
|
3
|
-
// Inspired by Tailwind CSS class `last:m-0`.
|
|
4
|
-
.m-last-0:last-child {
|
|
5
|
-
margin: 0 !important;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
// Shows empty message if the element has no children.
|
|
9
|
-
// Can be used for lists and such.
|
|
10
|
-
// For localization you should override CSS variable `--message` dynamically.
|
|
11
|
-
.blue-empty-message {
|
|
12
|
-
--message: "No items found.";
|
|
13
|
-
&:empty::before {
|
|
14
|
-
content: var(--message);
|
|
15
|
-
color: var(--bs-secondary-color);
|
|
16
|
-
display: flex;
|
|
17
|
-
padding: 1rem;
|
|
18
|
-
justify-content: center;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
1
|
+
// Sets `margin: 0` to last child.
|
|
2
|
+
// Useful for creating a gap between items together with `mb-3`.
|
|
3
|
+
// Inspired by Tailwind CSS class `last:m-0`.
|
|
4
|
+
.m-last-0:last-child {
|
|
5
|
+
margin: 0 !important;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
// Shows empty message if the element has no children.
|
|
9
|
+
// Can be used for lists and such.
|
|
10
|
+
// For localization you should override CSS variable `--message` dynamically.
|
|
11
|
+
.blue-empty-message {
|
|
12
|
+
--message: "No items found.";
|
|
13
|
+
&:empty::before {
|
|
14
|
+
content: var(--message);
|
|
15
|
+
color: var(--bs-secondary-color);
|
|
16
|
+
display: flex;
|
|
17
|
+
padding: 1rem;
|
|
18
|
+
justify-content: center;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -1,128 +1,128 @@
|
|
|
1
|
-
$theme-colors: () !default;
|
|
2
|
-
// stylelint-disable-next-line scss/dollar-variable-default
|
|
3
|
-
$theme-colors: map-merge(
|
|
4
|
-
(
|
|
5
|
-
"theme": $theme
|
|
6
|
-
),
|
|
7
|
-
$theme-colors
|
|
8
|
-
);
|
|
9
|
-
|
|
10
|
-
// Alpha value (RGBA) e.g. for header background.
|
|
11
|
-
$shimmering: 0.8 !default;
|
|
12
|
-
|
|
13
|
-
// Thumb color of scrollbar.
|
|
14
|
-
$scrollbar-thumb-color: white !default;
|
|
15
|
-
|
|
16
|
-
// Thumb color of scrollbar as RGB (like `255, 255, 255`).
|
|
17
|
-
$scrollbar-thumb-color-rgb:
|
|
18
|
-
red($scrollbar-thumb-color), green($scrollbar-thumb-color), blue($scrollbar-thumb-color) !default;
|
|
19
|
-
|
|
20
|
-
// Default size for many components, like sidebar menu items.
|
|
21
|
-
$normal-size: calc(
|
|
22
|
-
var(--bs-btn-border-width, 1px) + var(--bs-btn-padding-y, 0.375rem) +
|
|
23
|
-
(var(--bs-btn-font-size, 1rem) * var(--bs-btn-line-height, 1.5)) + var(--bs-btn-padding-y, 0.375rem) +
|
|
24
|
-
var(--bs-btn-border-width, 1px)
|
|
25
|
-
) !default;
|
|
26
|
-
|
|
27
|
-
// Height of actions menu when it is expanded, like on mobile devices.
|
|
28
|
-
$actions-height: 7.5rem !default;
|
|
29
|
-
|
|
30
|
-
// Background color of menu toggle button.
|
|
31
|
-
$bla-button-bg-normal: rgba(0, 0, 0, 0.1) !default;
|
|
32
|
-
|
|
33
|
-
// Background color of menu toggle button on hover state.
|
|
34
|
-
$bla-button-bg-hover: rgba(white, 0.25) !default;
|
|
35
|
-
|
|
36
|
-
// Font size for sidebar menu items.
|
|
37
|
-
$bla-btn-font-size: 1em !default;
|
|
38
|
-
|
|
39
|
-
// Padding for action menu items.
|
|
40
|
-
$bla-header-nav-padding: 0.75rem !default;
|
|
41
|
-
|
|
42
|
-
// Width of the sidebar.
|
|
43
|
-
$bla-sidebar-width: 16.563rem !default;
|
|
44
|
-
|
|
45
|
-
// Background of sidebar.
|
|
46
|
-
$sidebar-bg: $theme !default;
|
|
47
|
-
$sidebar-bg-dark: $theme-dark !default;
|
|
48
|
-
|
|
49
|
-
// Background of sidebar when it's opened (on mobile devices).
|
|
50
|
-
$sidebar-open-bg: darken($sidebar-bg, 30%) !default;
|
|
51
|
-
|
|
52
|
-
// Background of sidebar menu dropdown menus
|
|
53
|
-
$sidebar-deep-bg: darken($sidebar-bg, 4%) !default;
|
|
54
|
-
|
|
55
|
-
// Text color of sidebar.
|
|
56
|
-
$sidebar-color: color-contrast($sidebar-bg, $gray-900) !default;
|
|
57
|
-
$sidebar-color-dark: color-contrast($sidebar-bg-dark, $gray-900) !default;
|
|
58
|
-
|
|
59
|
-
// Color of indicator for active menu item in sidebar.
|
|
60
|
-
$sidebar-indicator-color: $primary !default;
|
|
61
|
-
$sidebar-indicator-color-dark: $white !default;
|
|
62
|
-
|
|
63
|
-
// Background of search control in sidebar.
|
|
64
|
-
$sidebar-search-bg: $input-bg !default;
|
|
65
|
-
|
|
66
|
-
// Background of the body element
|
|
67
|
-
$app-bg: $theme !default;
|
|
68
|
-
$app-bg-dark: $theme-dark !default;
|
|
69
|
-
|
|
70
|
-
// Background color of Header
|
|
71
|
-
$header-bg: $theme !default;
|
|
72
|
-
$header-bg-dark: $theme-dark !default;
|
|
73
|
-
|
|
74
|
-
// Text color of header elements
|
|
75
|
-
$header-color: color-contrast($header-bg, $gray-900) !default;
|
|
76
|
-
$header-color-dark: color-contrast($header-bg-dark, $gray-900) !default;
|
|
77
|
-
|
|
78
|
-
// Background of header action menu dropdown menus
|
|
79
|
-
$header-deep-bg: darken($header-bg, 4%) !default;
|
|
80
|
-
|
|
81
|
-
// Background color, when hovering action menu item.
|
|
82
|
-
$actions-control-bg-hover: $bla-button-bg-hover !default;
|
|
83
|
-
|
|
84
|
-
// Shrink sidebar on smaller screens
|
|
85
|
-
$sidebar-shrink: true !default;
|
|
86
|
-
|
|
87
|
-
// Breakpoint for sidebar shrink
|
|
88
|
-
$sidebar-shrink-breakpoint: 600px !default;
|
|
89
|
-
|
|
90
|
-
// Breakpoint for sidebar fully expanded
|
|
91
|
-
$sidebar-expanded-breakpoint: 1400px !default;
|
|
92
|
-
|
|
93
|
-
$corner-shape: #{round} !default;
|
|
94
|
-
|
|
95
|
-
:root {
|
|
96
|
-
--blue-app-bg: #{$app-bg};
|
|
97
|
-
|
|
98
|
-
--blue-scrollbar-thumb-color-rgb: #{$scrollbar-thumb-color-rgb};
|
|
99
|
-
|
|
100
|
-
--blue-sidebar-width: #{$bla-sidebar-width};
|
|
101
|
-
--blue-sidebar-color: #{$sidebar-color};
|
|
102
|
-
--blue-theme: var(--theme, #{$theme});
|
|
103
|
-
--blue-shimmering: 0.9;
|
|
104
|
-
|
|
105
|
-
--blue-sidebar-bg: #{$sidebar-bg};
|
|
106
|
-
--blue-header-bg: #{$header-bg};
|
|
107
|
-
|
|
108
|
-
--blue-header-height: 3.429rem;
|
|
109
|
-
--blue-header-color: #{$header-color};
|
|
110
|
-
--blue-action-link-bg-color: var(--blue-theme);
|
|
111
|
-
--blue-menu-item-indicator-bg: #{$sidebar-indicator-color};
|
|
112
|
-
--blue-menu-item-height: #{$normal-size};
|
|
113
|
-
|
|
114
|
-
--blue-corner-shape: #{$corner-shape};
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
@include color-mode(dark, true) {
|
|
118
|
-
--blue-app-bg: #{$app-bg-dark};
|
|
119
|
-
|
|
120
|
-
--blue-sidebar-color: #{$sidebar-color-dark};
|
|
121
|
-
|
|
122
|
-
--blue-sidebar-bg: #{$sidebar-bg-dark};
|
|
123
|
-
--blue-header-bg: #{$header-bg-dark};
|
|
124
|
-
|
|
125
|
-
--blue-header-color: #{$header-color-dark};
|
|
126
|
-
|
|
127
|
-
--blue-menu-item-indicator-bg: #{$sidebar-indicator-color-dark};
|
|
128
|
-
}
|
|
1
|
+
$theme-colors: () !default;
|
|
2
|
+
// stylelint-disable-next-line scss/dollar-variable-default
|
|
3
|
+
$theme-colors: map-merge(
|
|
4
|
+
(
|
|
5
|
+
"theme": $theme
|
|
6
|
+
),
|
|
7
|
+
$theme-colors
|
|
8
|
+
);
|
|
9
|
+
|
|
10
|
+
// Alpha value (RGBA) e.g. for header background.
|
|
11
|
+
$shimmering: 0.8 !default;
|
|
12
|
+
|
|
13
|
+
// Thumb color of scrollbar.
|
|
14
|
+
$scrollbar-thumb-color: white !default;
|
|
15
|
+
|
|
16
|
+
// Thumb color of scrollbar as RGB (like `255, 255, 255`).
|
|
17
|
+
$scrollbar-thumb-color-rgb:
|
|
18
|
+
red($scrollbar-thumb-color), green($scrollbar-thumb-color), blue($scrollbar-thumb-color) !default;
|
|
19
|
+
|
|
20
|
+
// Default size for many components, like sidebar menu items.
|
|
21
|
+
$normal-size: calc(
|
|
22
|
+
var(--bs-btn-border-width, 1px) + var(--bs-btn-padding-y, 0.375rem) +
|
|
23
|
+
(var(--bs-btn-font-size, 1rem) * var(--bs-btn-line-height, 1.5)) + var(--bs-btn-padding-y, 0.375rem) +
|
|
24
|
+
var(--bs-btn-border-width, 1px)
|
|
25
|
+
) !default;
|
|
26
|
+
|
|
27
|
+
// Height of actions menu when it is expanded, like on mobile devices.
|
|
28
|
+
$actions-height: 7.5rem !default;
|
|
29
|
+
|
|
30
|
+
// Background color of menu toggle button.
|
|
31
|
+
$bla-button-bg-normal: rgba(0, 0, 0, 0.1) !default;
|
|
32
|
+
|
|
33
|
+
// Background color of menu toggle button on hover state.
|
|
34
|
+
$bla-button-bg-hover: rgba(white, 0.25) !default;
|
|
35
|
+
|
|
36
|
+
// Font size for sidebar menu items.
|
|
37
|
+
$bla-btn-font-size: 1em !default;
|
|
38
|
+
|
|
39
|
+
// Padding for action menu items.
|
|
40
|
+
$bla-header-nav-padding: 0.75rem !default;
|
|
41
|
+
|
|
42
|
+
// Width of the sidebar.
|
|
43
|
+
$bla-sidebar-width: 16.563rem !default;
|
|
44
|
+
|
|
45
|
+
// Background of sidebar.
|
|
46
|
+
$sidebar-bg: $theme !default;
|
|
47
|
+
$sidebar-bg-dark: $theme-dark !default;
|
|
48
|
+
|
|
49
|
+
// Background of sidebar when it's opened (on mobile devices).
|
|
50
|
+
$sidebar-open-bg: darken($sidebar-bg, 30%) !default;
|
|
51
|
+
|
|
52
|
+
// Background of sidebar menu dropdown menus
|
|
53
|
+
$sidebar-deep-bg: darken($sidebar-bg, 4%) !default;
|
|
54
|
+
|
|
55
|
+
// Text color of sidebar.
|
|
56
|
+
$sidebar-color: color-contrast($sidebar-bg, $gray-900) !default;
|
|
57
|
+
$sidebar-color-dark: color-contrast($sidebar-bg-dark, $gray-900) !default;
|
|
58
|
+
|
|
59
|
+
// Color of indicator for active menu item in sidebar.
|
|
60
|
+
$sidebar-indicator-color: $primary !default;
|
|
61
|
+
$sidebar-indicator-color-dark: $white !default;
|
|
62
|
+
|
|
63
|
+
// Background of search control in sidebar.
|
|
64
|
+
$sidebar-search-bg: $input-bg !default;
|
|
65
|
+
|
|
66
|
+
// Background of the body element
|
|
67
|
+
$app-bg: $theme !default;
|
|
68
|
+
$app-bg-dark: $theme-dark !default;
|
|
69
|
+
|
|
70
|
+
// Background color of Header
|
|
71
|
+
$header-bg: $theme !default;
|
|
72
|
+
$header-bg-dark: $theme-dark !default;
|
|
73
|
+
|
|
74
|
+
// Text color of header elements
|
|
75
|
+
$header-color: color-contrast($header-bg, $gray-900) !default;
|
|
76
|
+
$header-color-dark: color-contrast($header-bg-dark, $gray-900) !default;
|
|
77
|
+
|
|
78
|
+
// Background of header action menu dropdown menus
|
|
79
|
+
$header-deep-bg: darken($header-bg, 4%) !default;
|
|
80
|
+
|
|
81
|
+
// Background color, when hovering action menu item.
|
|
82
|
+
$actions-control-bg-hover: $bla-button-bg-hover !default;
|
|
83
|
+
|
|
84
|
+
// Shrink sidebar on smaller screens
|
|
85
|
+
$sidebar-shrink: true !default;
|
|
86
|
+
|
|
87
|
+
// Breakpoint for sidebar shrink
|
|
88
|
+
$sidebar-shrink-breakpoint: 600px !default;
|
|
89
|
+
|
|
90
|
+
// Breakpoint for sidebar fully expanded
|
|
91
|
+
$sidebar-expanded-breakpoint: 1400px !default;
|
|
92
|
+
|
|
93
|
+
$corner-shape: #{round} !default;
|
|
94
|
+
|
|
95
|
+
:root {
|
|
96
|
+
--blue-app-bg: #{$app-bg};
|
|
97
|
+
|
|
98
|
+
--blue-scrollbar-thumb-color-rgb: #{$scrollbar-thumb-color-rgb};
|
|
99
|
+
|
|
100
|
+
--blue-sidebar-width: #{$bla-sidebar-width};
|
|
101
|
+
--blue-sidebar-color: #{$sidebar-color};
|
|
102
|
+
--blue-theme: var(--theme, #{$theme});
|
|
103
|
+
--blue-shimmering: 0.9;
|
|
104
|
+
|
|
105
|
+
--blue-sidebar-bg: #{$sidebar-bg};
|
|
106
|
+
--blue-header-bg: #{$header-bg};
|
|
107
|
+
|
|
108
|
+
--blue-header-height: 3.429rem;
|
|
109
|
+
--blue-header-color: #{$header-color};
|
|
110
|
+
--blue-action-link-bg-color: var(--blue-theme);
|
|
111
|
+
--blue-menu-item-indicator-bg: #{$sidebar-indicator-color};
|
|
112
|
+
--blue-menu-item-height: #{$normal-size};
|
|
113
|
+
|
|
114
|
+
--blue-corner-shape: #{$corner-shape};
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
@include color-mode(dark, true) {
|
|
118
|
+
--blue-app-bg: #{$app-bg-dark};
|
|
119
|
+
|
|
120
|
+
--blue-sidebar-color: #{$sidebar-color-dark};
|
|
121
|
+
|
|
122
|
+
--blue-sidebar-bg: #{$sidebar-bg-dark};
|
|
123
|
+
--blue-header-bg: #{$header-bg-dark};
|
|
124
|
+
|
|
125
|
+
--blue-header-color: #{$header-color-dark};
|
|
126
|
+
|
|
127
|
+
--blue-menu-item-indicator-bg: #{$sidebar-indicator-color-dark};
|
|
128
|
+
}
|