Files
custum-hyprpanel/scss/menus/menu.scss
2024-06-29 18:10:21 -07:00

250 lines
4.0 KiB
SCSS

.menu-slider {
trough {
border-radius: 0.3rem;
background: $surface0;
highlight,
progress {
background: $peach;
border-radius: 0.3rem;
}
}
slider {
box-shadow: none;
background-color: transparent;
min-height: 0.6rem;
min-width: 0.6rem;
border: 0rem solid transparent;
border-radius: 0.3rem;
}
&:hover {
trough {
background: $surface0;
}
slider {
background: $overlay0;
box-shadow: none;
}
}
}
.menu-switch {
background-color: $surface0;
border-radius: 0.3rem;
&:checked {
background: $sky;
}
trough {
highlight,
progress {
background-color: $peach;
border-radius: 0.3rem;
}
}
slider {
box-shadow: none;
background-color: $overlay0;
min-height: 1.2rem;
min-width: 1.2rem;
border: 0rem solid transparent;
border-radius: 0.3rem;
margin: 0.1rem 0.2rem;
}
&:hover {
trough {
background: $surface0;
}
slider {
background: $overlay0;
box-shadow: none;
}
}
&:active {
background-color: $sky;
}
&:disabled {
}
trough:focus {
}
}
tooltip label {
font-size: 0.9em;
}
.menu-separator {
min-height: .1rem;
margin: .6rem 0rem;
background: $surface1;
}
.menu-items {
background: $crust;
border: .13em solid $surface0;
border-radius: .7rem;
min-width: 400px;
color: $text;
}
.menu-items-container {
border-radius: 0.4em;
min-width: 400px;
}
.menu-section-container {
margin: 1.35em 0em;
.menu-label {
color: $text;
font-size: 1.1em;
font-weight: bold;
}
.menu-label-container {
background: $base;
border-radius: 0.4em;
border-bottom-left-radius: 0em;
border-bottom-right-radius: 0em;
margin: 0em 1.35em ;
min-height: 2em;
}
&:first-child {
margin-bottom: 0em;
}
&:last-child {
margin-top: 0em;
}
&:nth-child(2) {
margin-top: 1.35em;
}
.menu-items-section {
background: $base;
border-radius: 0.4em;
border-top-left-radius: 0em;
border-top-right-radius: 0em;
padding: 0.9em;
margin: 0em 1.35em;
}
}
.menu-active {
font-size: 0.9em;
font-weight: bold;
margin: 0rem 1em;
margin-bottom: 0.9em;
}
.menu-active-container {
&:first-child {
margin-bottom: 0.5em;
}
}
.menu-active-button {
padding: 0.1em;
margin-bottom: -0.2em;
.menu-active-icon {
color: $overlay1;
font-size: 1.4em;
font-weight: bold;
}
&.muted image {
color: $maroon;
}
&:hover image {
color: $maroon;
}
}
.menu-active-percentage {
font-size: 0.9em;
min-width: 2.5em;
font-weight: bold;
}
.menu-active-slider {
margin-left: 1rem;
margin-right: 1.5rem;
}
.menu-active-slider * {
min-height: 0.85em;
border-radius: .2em;
}
.menu-slider-container {
margin-bottom: .7rem;
}
.menu-label-dim {
color: $overlay0;
margin-right: 1rem;
font-size: 1em;
font-weight: bold;
}
.dim {
color: $overlay0;
}
.menu-icon-button {
&:hover {
color: $surface2;
}
}
.menu-dropdown-label-container {
background: $base;
border-radius: 0.4em;
}
.menu-button {
margin-bottom: .4em;
}
.menu-button-name {
font-size: 0.95em;
font-weight: bold;
margin-left: 1rem;
margin-right: 1.2rem;
}
.menu-button-icon {
font-size: 1.3em;
font-weight: bold;
color: $overlay0;
margin-right: .5rem;
&.active {
color: $maroon;
}
}
.menu-item-box {
margin-bottom: 0.5rem;
}
.dropdown-menu-container {
// margin: 1.5em;
// box-shadow: 0 0 0.6em $mantle;
}
.top-right-event-box_top *{
min-height: 0em;
margin-top: 2.5em;
}