style.css (1523B)
1 @define-color background #282828; 2 @define-color foreground #e4e4e4; 3 @define-color red #f53c3c; 4 @define-color cyan #005577; 5 6 * { 7 border-radius: 0; 8 font-family: Iosevka Nerd Font, Roboto, Helvetica, Arial, sans-serif; 9 font-size: 13px; 10 min-height: 0; 11 } 12 13 window#waybar { 14 background: @background; 15 color: @foreground; 16 } 17 18 tooltip { 19 background: rgba(43, 48, 59, 0.5); 20 } 21 22 tooltip label { 23 color: white; 24 } 25 26 #tags button { 27 padding: 0 5px; 28 color: white; 29 } 30 31 #tags button.urgent { 32 background: @red; 33 } 34 35 #tags button.focused { 36 background: @cyan; 37 } 38 39 #tags button:not(.occupied):not(.focused) { 40 font-size: 0; 41 min-width: 0; 42 min-height: 0; 43 margin: -17px; 44 padding: 0; 45 border: 0; 46 opacity: 0; 47 box-shadow: none; 48 background-color: transparent; 49 } 50 51 #mode, #clock, #battery, #pulseaudio, #custom-mail { 52 padding: 0 10px; 53 } 54 55 #mode { 56 background: #64727D; 57 } 58 59 #clock { 60 background-color: #64727D; 61 } 62 63 #battery { 64 background-color: #ffffff; 65 color: black; 66 } 67 68 #battery.charging { 69 color: white; 70 background-color: #26A65B; 71 } 72 73 #pulseaudio { 74 background-color: #64727D; 75 } 76 77 #custom-mail { 78 background-color: #ffffff; 79 color: black; 80 } 81 82 @keyframes blink { 83 to { 84 background-color: #ffffff; 85 color: black; 86 } 87 } 88 89 #battery.warning:not(.charging) { 90 background: #f53c3c; 91 color: white; 92 animation-name: blink; 93 animation-duration: 0.5s; 94 animation-timing-function: steps(12); 95 animation-iteration-count: infinite; 96 animation-direction: alternate; 97 }