Reworked toggle buttons and added power menu

This commit is contained in:
2025-02-07 22:09:12 -08:00
parent 0fea2069f1
commit ffc8737756
16 changed files with 281 additions and 109 deletions

View File

@@ -21,10 +21,10 @@ button {
color: $text-1;
padding: 0;
> box, > overlay > box {
> box, > overlay > box, > label {
transition: ease-out 0.2s;
border-radius: 12px;
padding: 0 6px 0 6px;
padding: 0 6px;
margin: 2px 6px 4px 6px;
color: $text-1;
}
@@ -38,11 +38,11 @@ button {
&:hover {
color: transparent;
> box, > overlay > box {
> box, > overlay > box, > label {
background: $background-2;
}
&.selected {
> box, > overlay > box {
> box, > overlay > box, > label {
background: $highlight-1s;
}
}
@@ -118,7 +118,7 @@ button {
> box {
background: $background-3;
border-radius: 10px;
box-shadow: 0 0 10px 4px black;
box-shadow: 0 0 16px 4px black;
padding: 10px;
margin: 48px 40px 40px 12px;
}
@@ -157,13 +157,19 @@ button {
}
.toggleButton {
> box {
padding: 0;
}
label {
color: white;
}
:not(.toggleIndicator) {
background: none;
}
&.bt {
icon {
margin-right: 8px;
}
box {
background: none;
}
label {
margin-top: 2px;
margin-right: 60px;
@@ -172,19 +178,10 @@ button {
&:hover .toggleIndicator {
box-shadow: 0 0 6px 0px $highlight-3;
}
> overlay {
margin: 0;
padding: 6px 0px 6px 0px;
> label {
color: $text-1;
font-size: 16px;
margin: 2px;
}
> .active {
margin: 4px 12px 4px 0;
min-width: 32px;
background: $highlight-3;
}
> label {
color: $text-1;
font-size: 16px;
margin: 2px;
}
}
@@ -302,9 +299,14 @@ button {
min-height: 6px;
min-width: 24px;
padding: 0;
margin: 4px 16px 4px 0;
margin: 4px 4px 4px 0;
border: 2px solid $highlight-3;
border-radius: 8px;
&.active {
margin: 4px 0px 4px 0;
min-width: 32px;
background: $highlight-3;
}
}
@keyframes notifIn {
@@ -315,7 +317,7 @@ button {
@keyframes glowIn {
from {
background: white;
box-shadow: 0 0 10px 4px white;
box-shadow: 0 0 16px 4px white;
}
}
@@ -325,15 +327,19 @@ button {
background: $background-3;
border-radius: 10px;
padding: 8px;
box-shadow: 0 0 10px 4px black;
box-shadow: 0 0 16px 4px black;
min-width: 300px;
margin: 12px 12px 40px 40px;
}
.notifIcon {
min-width: 64px;
min-height: 64px;
min-width: 48px;
min-height: 48px;
margin: 8px;
background-size: contain;
border-radius: 10px;
}
.panelNotifBox {
min-width: 400px;
}