refactor and shizz

This commit is contained in:
2025-12-25 21:13:00 +01:00
parent a06c96f648
commit 9b5db719cb
27 changed files with 286 additions and 312 deletions

View File

@@ -1,142 +1,138 @@
/** biome-ignore-all lint/correctness/noUnknownTypeSelector: gtk css has more valid identifiers */
* {
all: unset;
all: unset;
}
window {
background-color: rgba(30, 30, 30, 0.8);
color: #ffffff;
font-family: "IBMPlexSans-Regular", sans-serif;
font-size: 14px;
padding: 2px 7px;
}
#clock-label {
font-weight: bold;
font-family: monospace;
}
.workspace-pill {
padding: 2px 5px;
margin-right: 6px;
border-radius: 5px;
}
.workspace-pill:hover {
background-color: rgba(255, 255, 255, 0.1);
}
.workspace-pill-focused {
background-color: #ffffff;
color: #1e1e1e;
font-weight: bold;
box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}
.workspace-pill-focused:hover {
box-shadow: none;
}
.workspace-pill-active {
background-color: rgba(255, 255, 255, 0.2);
}
.workspace-pill-urgent {
background-color: #ff5555;
color: #fff;
animation: workspace-blink 1s linear infinite;
}
/* blinking animation for urgent workspaces */
@keyframes workspace-blink {
0% {
opacity: 1;
}
50% {
opacity: 0.5;
}
100% {
opacity: 1;
}
}
.workspace-pill:last-child {
margin-right: 0;
}
button {
padding: 2px 5px;
margin: 0 2px;
border-radius: 3px;
background-color: transparent;
color: #ffffff;
border: none;
font-size: 20px;
}
button:hover {
background-color: #111111;
}
#spacer {
color: rgba(255, 255, 255, 0.3);
padding: 0 5px;
background-color: #191919c6;
color: #ffffff;
padding-left: 4px;
padding-right: 4px;
padding-top: 2px;
padding-bottom: 2px;
font-size: 14px;
font-family:
"Hack Nerd Font Mono", "Font Awesome 7 Brands", "Font Awesome 7 Free",
sans-serif;
}
popover {
background-color: rgba(30, 30, 30, 0.3);
color: #ffffff;
font-family: "IBMPlexSans-Regular", sans-serif;
padding: 5px;
border-radius: 8px;
border: 1px solid #444444;
margin-top: 5px;
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
margin-top: 4px;
font-family:
"Hack Nerd Font Mono", "Material Icons", "Font Awesome 7 Free", sans-serif;
padding: 6px;
border-radius: 8px;
background: rgba(25, 25, 25, 0.8);
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
border: 1px solid rgba(57, 57, 57, 0.71);
font-size: 14px;
}
.icon-label {
font-family: "Material Icons, Font Awesome 7 Brands, Hack Nerd Font Mono";
font-size: 19px;
tooltip {
background-color: #222222;
color: #ffffff;
padding: 4px 8px;
border-radius: 4px;
font-size: 12px;
}
.todo-popover-container {
background-color: #1e1e1e;
button {
font-family: "Material Icons", sans-serif;
font-size: 20px;
}
.todo-input-area {
margin-bottom: 10px;
#spacer {
font-weight: 900;
padding: 0 5px;
text-shadow: 0 0 5px #ffffffaa;
}
.todo-input {
padding: 5px;
border-radius: 4px;
border: 1px solid #555555;
background-color: #222222;
color: #ffffff;
.button {
padding: 4px 8px;
border-radius: 4px;
font-family: "Material Icons", sans-serif;
}
.toggle-button {
border-radius: 4px;
.button:hover {
background-color: #111111;
}
/* use background to highlight using same dark colors as in file */
.toggle-button-on {
background-color: rgba(0, 150, 136, 0.9);
border: 1px solid #009688;
.workspace-pill {
padding: 2px 5px;
margin-right: 6px;
border-radius: 5px;
text-shadow: 0 0 2px #646464;
transition:
background-color 0.2s,
color 0.2s,
box-shadow 0.2s;
}
.toggle-button-off {
background-color: rgba(244, 67, 54, 0.9);
border: 1px solid #f44336;
.workspace-pill:hover {
background-color: rgba(255, 255, 255, 0.1);
color: #ffffff;
}
.toggle-button-disabled {
background-color: rgba(100, 100, 100, 0.9);
border: 1px solid #666666;
color: #888888;
.workspace-pill-active {
background-color: #666666;
}
.disabled-popover-icon {
color: #888888;
}
.workspace-pill-focused {
background-color: #ffffff;
color: #1e1e1e;
box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}
.workspace-pill-focused:hover {
box-shadow: none;
}
.workspace-pill-urgent {
background-color: #ff5555;
color: #fff;
animation: workspace-blink 1s linear infinite;
}
.workspace-pill-six {
animation: workspace-updown 1.2s ease-in-out infinite;
margin-left: -4px;
margin-top: 4px;
font-size: 10px;
}
.workspace-pill-seven {
animation: workspace-updown 1.2s ease-in-out infinite;
animation-delay: 0.6s;
margin-right: -4px;
margin-top: 4px;
font-size: 10px;
}
@keyframes workspace-updown {
0% {
transform: translateY(4px);
}
50% {
transform: translateY(0px);
}
100% {
transform: translateY(4px);
}
}
@keyframes workspace-blink {
0% {
opacity: 1;
}
50% {
opacity: 0.5;
}
100% {
opacity: 1;
}
}