Made the menu bar fully editable
This commit is contained in:
parent
12fc884cad
commit
96e16edd6f
2 changed files with 16 additions and 7 deletions
|
@ -16,6 +16,14 @@ html:root {
|
||||||
--menu-bar-button-border-activated-red: #a10000;
|
--menu-bar-button-border-activated-red: #a10000;
|
||||||
--menu-bar-button-border-activated-hover: #005fa1;
|
--menu-bar-button-border-activated-hover: #005fa1;
|
||||||
--menu-bar-button-border-activated-red-hover: #a10000;
|
--menu-bar-button-border-activated-red-hover: #a10000;
|
||||||
|
|
||||||
|
--menu-bar-dropdown: #c4c5c5;
|
||||||
|
--menu-bar-dropdown-border: #2c2525;
|
||||||
|
--menu-bar-dropdown-background: #2d3032;
|
||||||
|
--menu-bar-dropdown-hover-background: #252729;
|
||||||
|
|
||||||
|
--menu-bar-dropdown-arrow-background: #393c43;
|
||||||
|
--menu-bar-dropdown-arrow: #4a4c55;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* border etc */
|
/* border etc */
|
||||||
|
@ -137,11 +145,11 @@ html:root {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
|
|
||||||
color: #c4c5c5;
|
color: var(--menu-bar-dropdown);
|
||||||
|
|
||||||
background-color: #2d3032;
|
background-color: var(--menu-bar-dropdown-background);
|
||||||
align-items: center;
|
align-items: center;
|
||||||
border: .05em solid #2c2525;
|
border: .05em solid var(--menu-bar-dropdown-border);
|
||||||
border-radius: 0 $border_radius_middle $border_radius_middle $border_radius_middle;
|
border-radius: 0 $border_radius_middle $border_radius_middle $border_radius_middle;
|
||||||
|
|
||||||
width: 15em; /* fallback */
|
width: 15em; /* fallback */
|
||||||
|
@ -213,7 +221,7 @@ html:root {
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: #252729;
|
background-color: var(--menu-bar-dropdown-hover-background);
|
||||||
|
|
||||||
> .dropdown {
|
> .dropdown {
|
||||||
display: block;
|
display: block;
|
||||||
|
@ -238,8 +246,8 @@ html:root {
|
||||||
}
|
}
|
||||||
|
|
||||||
.button, .dropdown-arrow {
|
.button, .dropdown-arrow {
|
||||||
background-color: #393c43;
|
background-color: var(--menu-bar-dropdown-arrow-background);
|
||||||
border-color: #4a4c55;
|
border-color: var(--menu-bar-dropdown-arrow);
|
||||||
|
|
||||||
border-bottom-right-radius: 0;
|
border-bottom-right-radius: 0;
|
||||||
border-bottom-left-radius: 0;
|
border-bottom-left-radius: 0;
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
/* Variables */
|
/* Variables */
|
||||||
html:root {
|
html:root {
|
||||||
--menu-bar-background: #454545;
|
--menu-bar-background: #454545;
|
||||||
|
--menu-bar-divider: #393838;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* max height is 2em */
|
/* max height is 2em */
|
||||||
|
@ -25,7 +26,7 @@ html:root {
|
||||||
flex-grow: 0;
|
flex-grow: 0;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
|
||||||
border-left:2px solid #393838;
|
border-left:2px solid var(--menu-bar-divider);
|
||||||
height: calc(100% - 3px);
|
height: calc(100% - 3px);
|
||||||
margin: 3px;
|
margin: 3px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue