benivo-ui-library 1.8.32 → 1.8.34
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/benivoLogo.less +30 -0
- package/drawer.less +62 -0
- package/index.js +1 -1
- package/package.json +1 -1
- package/sidebarMenu.less +91 -0
- package/variables.less +6 -0
package/benivoLogo.less
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
.bnvLogo {
|
|
2
|
+
height: @header-height;
|
|
3
|
+
max-width: 185px;
|
|
4
|
+
padding: 15px 25px 15px 0;
|
|
5
|
+
position: relative;
|
|
6
|
+
pointer-events: unset !important;
|
|
7
|
+
transition: none;
|
|
8
|
+
|
|
9
|
+
@media @lg-max {
|
|
10
|
+
flex: 1;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
a {
|
|
14
|
+
display: block;
|
|
15
|
+
height: 100%;
|
|
16
|
+
background-image: @bnv-logo-dark;
|
|
17
|
+
background-position: left center;
|
|
18
|
+
background-repeat: no-repeat;
|
|
19
|
+
background-size: auto;
|
|
20
|
+
text-decoration: none;
|
|
21
|
+
pointer-events: unset !important;
|
|
22
|
+
white-space: nowrap;
|
|
23
|
+
transition: none;
|
|
24
|
+
|
|
25
|
+
&:hover,
|
|
26
|
+
&:focus {
|
|
27
|
+
text-decoration: none;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
package/drawer.less
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
.drawer-container {
|
|
2
|
+
--transition-speed: 0.3s;
|
|
3
|
+
|
|
4
|
+
.drawer-overlay {
|
|
5
|
+
position: fixed;
|
|
6
|
+
top: 0;
|
|
7
|
+
left: 0;
|
|
8
|
+
width: 100%;
|
|
9
|
+
height: 100%;
|
|
10
|
+
z-index: @zindex-fixed-high-priority;
|
|
11
|
+
background-color: @overlay-bg;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.drawer {
|
|
16
|
+
width: 272px;
|
|
17
|
+
height: 100%;
|
|
18
|
+
padding-left: calc(272px - 76px);
|
|
19
|
+
position: fixed;
|
|
20
|
+
transition: transform var(--transition-speed) ease, width var(--transition-speed) ease;
|
|
21
|
+
background: @white;
|
|
22
|
+
border-right: 1px solid @extra-light-gray-border;
|
|
23
|
+
z-index: @zindex-fixed-high-priority;
|
|
24
|
+
|
|
25
|
+
@media @lg-max {
|
|
26
|
+
width: 90%;
|
|
27
|
+
padding-left: 0;
|
|
28
|
+
box-shadow: none;
|
|
29
|
+
|
|
30
|
+
.close-modal.icon {
|
|
31
|
+
position: absolute;
|
|
32
|
+
top: 25px;
|
|
33
|
+
right: 25px;
|
|
34
|
+
z-index: @zindex-fixed-high-priority;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.drawer.left {
|
|
40
|
+
top: 0;
|
|
41
|
+
left: 0;
|
|
42
|
+
width: 76px;
|
|
43
|
+
padding-left: 0;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.drawer-container.open .left {
|
|
47
|
+
width: 272px;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.drawer.right {
|
|
51
|
+
top: 0;
|
|
52
|
+
right: 0;
|
|
53
|
+
transform: translateX(calc(-272px + 76px));
|
|
54
|
+
|
|
55
|
+
@media @lg-max {
|
|
56
|
+
transform: translateX(calc(100%));
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.drawer-container.open .right {
|
|
61
|
+
transform: translateX(0);
|
|
62
|
+
}
|