revert to basic styling

This commit is contained in:
Benjamin Palko 2024-03-20 12:36:49 -05:00
parent 1106ae4dd6
commit 1610d3a732
13 changed files with 83 additions and 137 deletions

View file

@ -9,6 +9,7 @@
*/
@import url('./styles/waybar.css');
@import url('./styles/animations.css');
@import url('./styles/common.css');
/*
* Modules
@ -18,66 +19,12 @@
@import url('./styles/modules/idle.css');
@import url('./styles/modules/memory.css');
@import url('./styles/modules/network.css');
@import url('./styles/modules/spotify.css');
@import url('./styles/modules/temperature.css');
@import url('./styles/modules/tray.css');
@import url('./styles/modules/window.css');
@import url('./styles/modules/wireplumber.css');
@import url('./styles/modules/workspaces.css');
/*
window#waybar.empty {
background-color: transparent;
}
window#waybar.solo {
background-color: #FFFFFF;
}
*/
button {
/* Use box-shadow instead of border so the text isn't offset */
box-shadow: inset 0 -3px transparent;
/* Avoid rounded borders under each button name */
border: none;
border-radius: 4px;
}
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
button:hover {
background: inherit;
/*box-shadow: inset 0 -1px #5e81ac;*/
}
#clock,
#cpu,
#memory,
#temperature,
#network,
#wireplumber,
#custom-media,
#tray,
#idle_inhibitor,
#scratchpad,
#mpd {
padding: 0 10px;
color: #ddd;
}
#window,
#workspaces {
margin: 0 4px;
}
/* If workspaces is the leftmost module, omit left margin */
.modules-left > widget:first-child > #workspaces {
margin-left: 8px;
}
/* If workspaces is the rightmost module, omit right margin */
.modules-right > widget:last-child > #workspaces {
margin-right: 0;
}
@keyframes blink {
to {
background-color: #ffffff;
@ -85,52 +32,3 @@ button:hover {
}
}
label:focus {
background-color: #000000;
}
#mpd {
background-color: #66cc99;
color: #2a5c45;
}
#mpd.disconnected {
background-color: #f53c3c;
}
#mpd.stopped {
background-color: #90b1b1;
}
#mpd.paused {
background-color: #51a37a;
}
#scratchpad {
background: rgba(0, 0, 0, 0.2);
}
#scratchpad.empty {
background-color: transparent;
}
#privacy {
padding: 0;
}
#privacy-item {
padding: 0 5px;
color: white;
}
#privacy-item.screenshare {
background-color: #cf5700;
}
#privacy-item.audio-in {
background-color: #1ca000;
}
#privacy-item.audio-out {
background-color: #0069d4;
}

View file

@ -1,4 +1,18 @@
.module-base {
button {
/* Use box-shadow instead of border so the text isn't offset */
box-shadow: inset 0 -3px transparent;
/* Avoid rounded borders under each button name */
border: none;
}
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
button:hover {
background: inherit;
box-shadow: inset 0 -1px #5e81ac;
}
.module {
padding: 0 10px;
color: #ddd
}

View file

@ -1,10 +1,4 @@
@import url('../common.css');
#clock {
border: solid 1px #5e81ac;
border-radius: 9999px;
padding: 0 10px;
color: #eee;
background: linear-gradient(144deg, #8fbcbb 0%, #5e81ac 100%);
color: white;
}

View file

@ -1,6 +1,4 @@
#cpu {
padding: 0 10px;
background-color: #2ecc71;
color: #333;
color: white;
}

View file

@ -1,4 +1,5 @@
#idle_inhibitor {
border-radius: 9999px;
background-color: #2d3436;
}

View file

@ -1,6 +1,4 @@
#memory {
padding: 0 10px;
color: #ddd;
background-color: #9b59b6;
color: white;
}

View file

@ -1,10 +1,8 @@
#network {
padding: 10px;
color: #ddd;
background-color: #2980b9;
color: #2980b9;
}
#network.disconnected {
background-color: #f53c3c;
color: #f53c3c;
}

View file

@ -0,0 +1,4 @@
.custom-spotify {
color: #1DB954;
}

View file

@ -1,10 +1,8 @@
#temperature {
padding: 0 10px;
color: #ddd;
background-color: #f0932b;
color: #f0932b;
}
#temperature.critical {
background-color: #eb4d4b;
color: #eb4d4b;
}

View file

@ -1,2 +0,0 @@

View file

@ -1,10 +1,8 @@
#wireplumber {
background-color: #fff0f5;
padding: 0 10px;
color: #000000;
color: white;
}
#wireplumber.muted {
background-color: #f53c3c;
color: #f53c3c;
}

View file

@ -26,3 +26,13 @@
background-color: #eb4d4b;
}
/* If workspaces is the leftmost module, omit left margin */
.modules-left > widget:first-child > #workspaces {
margin-left: 8px;
}
/* If workspaces is the rightmost module, omit right margin */
.modules-right > widget:last-child > #workspaces {
margin-right: 0;
}

View file

@ -1,9 +1,5 @@
window#waybar {
background-color: rgba(43, 48, 59, 0.5);
border-bottom: 2px solid rgba(100, 114, 125, 0.5);
color: #ffffff;
transition-property: background-color;
transition-duration: 0.5s;
background-color: rgba(0, 0, 0, 0.2);
}
window#waybar.hidden {
@ -19,3 +15,44 @@ window#waybar.chromium {
border: none;
}
.modules-left {
background-color: rgba(43, 48, 59, 0.5);
border-bottom: 2px solid rgba(100, 114, 125, 0.5);
border-left: 2px solid white;
border-radius: 5px;
color: #ffffff;
padding: 0 2px 0 2px;
transition-property: background-color;
transition-duration: 0.5s;
}
.moadules-left:first-child {
border-right: none;
}
.modules-center {
background-color: rgba(43, 48, 59, 0.5);
border-bottom: 2px solid rgba(100, 114, 125, 0.5);
border-radius: 5px;
color: #ffffff;
padding: 0 2px 0 2px;
transition-property: background-color;
transition-duration: 0.5s;
}
.modules-right {
background-color: rgba(43, 48, 59, 0.5);
border-bottom: 2px solid rgba(100, 114, 125, 0.5);
border-radius: 5px;
color: #ffffff;
padding: 0 2px 0 2px;
transition-property: background-color;
transition-duration: 0.5s;
}
.modules-right:last-child {
border-right: none;
}