blue-react 8.0.0-next.5 → 8.1.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/style.scss CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Blue React v8.0.0-next.5 (https://bruegmann.github.io/blue-react)
2
+ * Blue React v8.1.0 (https://bruegmann.github.io/blue-react)
3
3
  * Licensed under GNU General Public License v3.0 (https://github.com/bruegmann/blue-react/blob/master/LICENSE).
4
4
  */
5
5
 
@@ -258,7 +258,7 @@
258
258
 
259
259
  .blue-menu-item {
260
260
  transition: width 0.5s, background-color 0.3s, color 0.15s, box-shadow 0.3s,
261
- opacity 0.3s !important;
261
+ opacity 0.3s !important;
262
262
  padding: 0.5rem 0.75rem;
263
263
  border: none;
264
264
  margin-top: 0.125rem;
@@ -303,9 +303,18 @@
303
303
  .blue-menu-item-dropdown {
304
304
  margin-left: 1rem;
305
305
  animation: blue-menu-item-dropdown 0.15s;
306
+ position: relative;
306
307
 
307
308
  --sidebar-bg: #{$sidebar-deep-bg};
308
- background: var(--sidebar-bg);
309
+
310
+ &::before {
311
+ content: "";
312
+ position: absolute;
313
+ top: 0.125rem; right: 0.125rem; bottom: 0.125rem; left: 0.125rem;
314
+ background-color: var(--sidebar-bg);
315
+ border-radius: $border-radius;
316
+ box-shadow: $box-shadow;
317
+ }
309
318
 
310
319
  .blue-menu-item-dropdown {
311
320
  --sidebar-bg: #{darken($sidebar-deep-bg, 4%)};
@@ -1,5 +1,4 @@
1
1
  .blue-search {
2
- height: $normal-size;
3
2
  display: flex;
4
3
  align-items: center;
5
4
  border-radius: $input-border-radius;
@@ -74,14 +74,30 @@
74
74
  border-color: transparent;
75
75
  @include slide-transition();
76
76
 
77
+ &::before {
78
+ content: "";
79
+ position: absolute;
80
+ top: 0.25rem; right: 0.25rem; bottom: 0.25rem; left: 0.25rem;
81
+ background-color: $sidebar-control-bg-hover;
82
+ border-radius: $border-radius;
83
+ transform: scale(0.9);
84
+ opacity: 0;
85
+ transition: all 0.2s;
86
+ }
87
+
77
88
  &:hover,
78
89
  &:active {
79
90
  color: $sidebar-color;
80
- background-color: $sidebar-control-bg-hover !important;
91
+ // background-color: $sidebar-control-bg-hover !important;
81
92
  border-color: transparent;
93
+
94
+ &::before {
95
+ transform: scale(1);
96
+ opacity: 1;
97
+ }
82
98
  }
83
99
 
84
- &.active::before {
100
+ &.active::after {
85
101
  content: "";
86
102
  position: absolute;
87
103
  top: 0.625rem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blue-react",
3
- "version": "8.0.0-next.5",
3
+ "version": "8.1.0",
4
4
  "description": "Blue React Components",
5
5
  "license": "LGPL-3.0-or-later",
6
6
  "main": "index.js",