blue-react 8.1.0 → 8.1.3
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.css +54 -38
- package/dist/style.min.css +4 -4
- package/dist/style.scss +1 -1
- package/dist/styles/_bootstrap-variables.scss +3 -0
- package/dist/styles/_general.scss +4 -1
- package/dist/styles/_grid.scss +46 -13
- package/dist/styles/_variables.scss +8 -7
- package/dist/styles/mixins/_sidebar.scss +6 -8
- package/package.json +1 -1
package/dist/style.scss
CHANGED
|
@@ -11,3 +11,6 @@ $custom-checkbox-indicator-border-radius: $border-radius-sm !default;
|
|
|
11
11
|
|
|
12
12
|
$link-decoration: none !default;
|
|
13
13
|
$link-hover-decoration: underline !default;
|
|
14
|
+
|
|
15
|
+
$font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu,
|
|
16
|
+
Cantarell, "Helvetica Neue", sans-serif !default;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
:root {
|
|
2
|
+
--app-bg: #{$app-bg};
|
|
2
3
|
--sidebar-bg: #{$sidebar-bg};
|
|
4
|
+
--header-bg: #{$header-bg};
|
|
3
5
|
--action-link-bg-color: var(--theme);
|
|
4
6
|
}
|
|
5
7
|
|
|
@@ -50,7 +52,7 @@ body {
|
|
|
50
52
|
}
|
|
51
53
|
|
|
52
54
|
body {
|
|
53
|
-
background: var(--
|
|
55
|
+
background: var(--app-bg, #{$app-bg});
|
|
54
56
|
|
|
55
57
|
.blue-wrapper {
|
|
56
58
|
position: fixed;
|
|
@@ -171,4 +173,5 @@ label {
|
|
|
171
173
|
transform: translateX(-100%);
|
|
172
174
|
transition: transform 0.4s;
|
|
173
175
|
background: var(--sidebar-bg);
|
|
176
|
+
color: $sidebar-color;
|
|
174
177
|
}
|
package/dist/styles/_grid.scss
CHANGED
|
@@ -62,9 +62,9 @@
|
|
|
62
62
|
z-index: 3;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
.blue-sidebar-toggler,
|
|
66
65
|
.blue-header {
|
|
67
66
|
@include header-bg();
|
|
67
|
+
color: $header-color;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
// .blue-layout:not(.wrapper-in) .blue-header {
|
|
@@ -73,7 +73,6 @@
|
|
|
73
73
|
|
|
74
74
|
.blue-header {
|
|
75
75
|
height: $normal-size;
|
|
76
|
-
color: $header-color;
|
|
77
76
|
position: fixed;
|
|
78
77
|
top: 0;
|
|
79
78
|
left: $normal-size;
|
|
@@ -192,14 +191,13 @@
|
|
|
192
191
|
position: absolute !important;
|
|
193
192
|
margin-top: 0 !important;
|
|
194
193
|
left: 0;
|
|
195
|
-
background-color: $bla-button-bg-normal !important;
|
|
196
|
-
border-color: transparent !important;
|
|
197
194
|
justify-content: center;
|
|
198
195
|
|
|
196
|
+
&,
|
|
199
197
|
&:hover,
|
|
200
198
|
&:focus {
|
|
201
199
|
color: $sidebar-color;
|
|
202
|
-
background-color: $
|
|
200
|
+
background-color: $sidebar-bg;
|
|
203
201
|
border-color: transparent;
|
|
204
202
|
}
|
|
205
203
|
}
|
|
@@ -242,7 +240,7 @@
|
|
|
242
240
|
z-index: 1;
|
|
243
241
|
|
|
244
242
|
a {
|
|
245
|
-
color:
|
|
243
|
+
color: inherit;
|
|
246
244
|
|
|
247
245
|
&:focus {
|
|
248
246
|
text-decoration: none;
|
|
@@ -257,8 +255,7 @@
|
|
|
257
255
|
}
|
|
258
256
|
|
|
259
257
|
.blue-menu-item {
|
|
260
|
-
transition: width 0.5s, background-color 0.3s, color 0.15s, box-shadow 0.3s,
|
|
261
|
-
opacity 0.3s !important;
|
|
258
|
+
transition: width 0.5s, background-color 0.3s, color 0.15s, box-shadow 0.3s, opacity 0.3s !important;
|
|
262
259
|
padding: 0.5rem 0.75rem;
|
|
263
260
|
border: none;
|
|
264
261
|
margin-top: 0.125rem;
|
|
@@ -305,16 +302,24 @@
|
|
|
305
302
|
animation: blue-menu-item-dropdown 0.15s;
|
|
306
303
|
position: relative;
|
|
307
304
|
|
|
308
|
-
--sidebar-bg: #{$sidebar-deep-bg};
|
|
309
|
-
|
|
310
305
|
&::before {
|
|
311
306
|
content: "";
|
|
312
307
|
position: absolute;
|
|
313
|
-
top: 0.125rem;
|
|
314
|
-
|
|
308
|
+
top: 0.125rem;
|
|
309
|
+
right: 0.125rem;
|
|
310
|
+
bottom: 0.125rem;
|
|
311
|
+
left: 0.125rem;
|
|
315
312
|
border-radius: $border-radius;
|
|
316
313
|
box-shadow: $box-shadow;
|
|
317
314
|
}
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.blue-sidebar .blue-menu-item-dropdown {
|
|
318
|
+
--sidebar-bg: #{$sidebar-deep-bg};
|
|
319
|
+
|
|
320
|
+
&::before {
|
|
321
|
+
background-color: var(--sidebar-bg);
|
|
322
|
+
}
|
|
318
323
|
|
|
319
324
|
.blue-menu-item-dropdown {
|
|
320
325
|
--sidebar-bg: #{darken($sidebar-deep-bg, 4%)};
|
|
@@ -337,6 +342,34 @@
|
|
|
337
342
|
}
|
|
338
343
|
}
|
|
339
344
|
|
|
345
|
+
.blue-header .blue-menu-item-dropdown {
|
|
346
|
+
--sidebar-bg: #{$header-deep-bg};
|
|
347
|
+
|
|
348
|
+
&::before {
|
|
349
|
+
background-color: var(--header-bg);
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.blue-menu-item-dropdown {
|
|
353
|
+
--sidebar-bg: #{darken($header-deep-bg, 4%)};
|
|
354
|
+
|
|
355
|
+
.blue-menu-item-dropdown {
|
|
356
|
+
--sidebar-bg: #{darken($header-deep-bg, 8%)};
|
|
357
|
+
|
|
358
|
+
.blue-menu-item-dropdown {
|
|
359
|
+
--sidebar-bg: #{darken($header-deep-bg, 12%)};
|
|
360
|
+
|
|
361
|
+
.blue-menu-item-dropdown {
|
|
362
|
+
--sidebar-bg: #{darken($header-deep-bg, 16%)};
|
|
363
|
+
|
|
364
|
+
.blue-menu-item-dropdown {
|
|
365
|
+
--sidebar-bg: #{darken($header-deep-bg, 20%)};
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
|
|
340
373
|
.blue-menu-item-dropdown-caret.caret {
|
|
341
374
|
display: none;
|
|
342
375
|
position: absolute;
|
|
@@ -344,4 +377,4 @@
|
|
|
344
377
|
top: 50%;
|
|
345
378
|
transform: translateY(-50%);
|
|
346
379
|
align-items: center;
|
|
347
|
-
}
|
|
380
|
+
}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
$primary-color: #007bff !default;
|
|
2
|
-
|
|
3
1
|
/* Bootstrap */
|
|
4
|
-
$primary:
|
|
2
|
+
$primary: #007bff !default;
|
|
5
3
|
$success: #4bd763 !default;
|
|
6
4
|
$info: rgb(62, 158, 187) !default;
|
|
7
5
|
$warning: #f0ad4e !default;
|
|
@@ -44,7 +42,7 @@ $actions-height: 7.5rem !default;
|
|
|
44
42
|
$bla-button-bg-normal: rgba(0, 0, 0, 0.1) !default;
|
|
45
43
|
|
|
46
44
|
// Background color of menu toggle button on hover state.
|
|
47
|
-
$bla-button-bg-hover: rgba(white, 0.
|
|
45
|
+
$bla-button-bg-hover: rgba(white, 0.25) !default;
|
|
48
46
|
|
|
49
47
|
// Font size for sidebar menu items.
|
|
50
48
|
$bla-btn-font-size: 1em !default;
|
|
@@ -73,18 +71,21 @@ $sidebar-color: white !default;
|
|
|
73
71
|
// Color of indicator for active sidebar item.
|
|
74
72
|
$sidebar-indicator-color: $sidebar-color !default;
|
|
75
73
|
|
|
76
|
-
// Background color, when hovering sidebar menu item.
|
|
77
|
-
$sidebar-control-bg-hover: $bla-button-bg-hover !default;
|
|
78
|
-
|
|
79
74
|
// Background of search control in sidebar.
|
|
80
75
|
$sidebar-search-bg: $input-bg !default;
|
|
81
76
|
|
|
77
|
+
// Background of the body element
|
|
78
|
+
$app-bg: $sidebar-bg !default;
|
|
79
|
+
|
|
82
80
|
// Text color of header elements
|
|
83
81
|
$header-color: #fff !default;
|
|
84
82
|
|
|
85
83
|
// Background color of Header
|
|
86
84
|
$header-bg: $theme !default;
|
|
87
85
|
|
|
86
|
+
// Background of header action menu dropdown menus
|
|
87
|
+
$header-deep-bg: darken($header-bg, 4%) !default;
|
|
88
|
+
|
|
88
89
|
// Background color, when hovering action menu item.
|
|
89
90
|
$actions-control-bg-hover: $bla-button-bg-hover !default;
|
|
90
91
|
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
|
|
65
65
|
@mixin blue-sidebar($width) {
|
|
66
66
|
.blue-menu-item {
|
|
67
|
-
color:
|
|
67
|
+
color: inherit;
|
|
68
68
|
width: $normal-size;
|
|
69
69
|
height: $normal-size;
|
|
70
70
|
padding: 0.25rem 0.75rem;
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
content: "";
|
|
79
79
|
position: absolute;
|
|
80
80
|
top: 0.25rem; right: 0.25rem; bottom: 0.25rem; left: 0.25rem;
|
|
81
|
-
background-color:
|
|
81
|
+
background-color: currentColor;
|
|
82
82
|
border-radius: $border-radius;
|
|
83
83
|
transform: scale(0.9);
|
|
84
84
|
opacity: 0;
|
|
@@ -87,13 +87,12 @@
|
|
|
87
87
|
|
|
88
88
|
&:hover,
|
|
89
89
|
&:active {
|
|
90
|
-
color:
|
|
91
|
-
// background-color: $sidebar-control-bg-hover !important;
|
|
90
|
+
color: inherit;
|
|
92
91
|
border-color: transparent;
|
|
93
92
|
|
|
94
93
|
&::before {
|
|
95
94
|
transform: scale(1);
|
|
96
|
-
opacity:
|
|
95
|
+
opacity: 0.25;
|
|
97
96
|
}
|
|
98
97
|
}
|
|
99
98
|
|
|
@@ -102,11 +101,10 @@
|
|
|
102
101
|
position: absolute;
|
|
103
102
|
top: 0.625rem;
|
|
104
103
|
bottom: 0.625rem;
|
|
105
|
-
left: 0;
|
|
104
|
+
left: 0.125rem;
|
|
106
105
|
width: 0.25rem;
|
|
107
106
|
background-color: $sidebar-indicator-color;
|
|
108
|
-
border-
|
|
109
|
-
border-bottom-right-radius: 1rem;
|
|
107
|
+
border-radius: 1rem;
|
|
110
108
|
animation: sidebar-menu-item-indicator-in 0.2s ease-in-out;
|
|
111
109
|
}
|
|
112
110
|
|