forked from deblan/side_menu
add colors as css vars
This commit is contained in:
parent
d07af9ddf9
commit
b9bb3989f4
|
@ -26,9 +26,9 @@
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 250px;
|
max-width: 250px;
|
||||||
background: #333;
|
background: var(--side-menu-background-color, #333);
|
||||||
z-index: 3000;
|
z-index: 3000;
|
||||||
color: #fff;
|
color: var(--side-menu-text-color, #fff);
|
||||||
box-shadow: rgba(0, 0, 0, 0.22) 0px 25.6px 57.6px 0px, rgba(0, 0, 0, 0.18) 0px 4.8px 14.4px 0px;
|
box-shadow: rgba(0, 0, 0, 0.22) 0px 25.6px 57.6px 0px, rgba(0, 0, 0, 0.18) 0px 4.8px 14.4px 0px;
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
@ -63,7 +63,7 @@
|
||||||
|
|
||||||
.side-menu-app a {
|
.side-menu-app a {
|
||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
color: #fff;
|
color: var(--side-menu-text-color, #fff);
|
||||||
display: block;
|
display: block;
|
||||||
padding: 7px 0 7px 15px;
|
padding: 7px 0 7px 15px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
@ -72,7 +72,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.side-menu-app a:hover, .side-menu-app.is-active a {
|
.side-menu-app a:hover, .side-menu-app.is-active a {
|
||||||
background: #444;
|
background: var(--side-menu-current-app-background-color, #444);
|
||||||
}
|
}
|
||||||
|
|
||||||
.side-menu-logo {
|
.side-menu-logo {
|
||||||
|
@ -87,7 +87,7 @@
|
||||||
height: 150px;
|
height: 150px;
|
||||||
z-index: 2300;
|
z-index: 2300;
|
||||||
max-width: 250px;
|
max-width: 250px;
|
||||||
background: #333;
|
background: var(--side-menu-background-color, #333);
|
||||||
position: fixed;
|
position: fixed;
|
||||||
padding-top: 2px;
|
padding-top: 2px;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
|
Loading…
Reference in a new issue