pub / dotfiles

Configuration of software on my computer
git clone https://src.jayvii.de/pub/dotfiles.git
Home | Log | Files | Exports | Refs | RSS

style.css (5009B)


      1 * {
      2     border: none;
      3     border-radius: 5px;
      4     /* `otf-font-awesome` is required to be installed for icons */
      5     font-family: Roboto, Helvetica, Arial, sans-serif;
      6     font-size: 13px;
      7     min-height: 0;
      8 }
      9 
     10 window#waybar {
     11     background-color: transparent;
     12     color: #ffffff;
     13     transition-property: background-color;
     14     transition-duration: .5s;
     15 }
     16 
     17 window#waybar.hidden {
     18     opacity: 0.2;
     19 }
     20 
     21 
     22 #workspaces button {
     23     background: #1f1f1f;
     24     color: #ffffff;
     25     border-radius: 20px;
     26 
     27 }
     28 
     29 /* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
     30 #workspaces button:hover {
     31     background: lightblue;
     32     color: black;
     33     border-bottom: 3px solid #ffffff;
     34 
     35 }
     36 
     37 #workspaces button.focused {
     38     background: #1f1f1f;
     39 }
     40 
     41 #workspaces button.focused:hover {
     42     background: lightblue;
     43     color: black;
     44     border-bottom: 3px solid #ffffff;
     45 
     46 }
     47 
     48 #workspaces button.urgent {
     49     background-color: #eb4d4b;
     50 }
     51 
     52 #mode {
     53     background-color: #64727D;
     54     border-bottom: 3px solid #ffffff;
     55 }
     56 
     57 #clock,
     58 #battery,
     59 #cpu,
     60 #memory,
     61 #disk,
     62 #temperature,
     63 #backlight,
     64 #network,
     65 #pulseaudio,
     66 #custom-media,
     67 #custom-launcher,
     68 #custom-power,
     69 #custom-layout,
     70 #custom-updater,
     71 #custom-snip,
     72 #custom-donotdisturb,
     73 #taskbar,
     74 #tray,
     75 #mode,
     76 #idle_inhibitor,
     77 #mpd {
     78     padding: 0 10px;
     79     color: #ffffff;
     80 }
     81 
     82 #window,
     83 #workspaces {
     84     margin: 0px 4px;
     85 }
     86 
     87 /* If workspaces is the leftmost module, omit left margin */
     88 .modules-left > widget:first-child > #workspaces {
     89     margin-left: 0px;
     90 }
     91 
     92 /* If workspaces is the rightmost module, omit right margin */
     93 .modules-right > widget:last-child > #workspaces {
     94     margin-right: 0px;
     95 }
     96 
     97 #clock {
     98     background-color: #171717;
     99     color: #ffffff;
    100 }
    101 
    102 #battery {
    103     background-color: #ffffff;
    104     color: #000000;
    105 }
    106 
    107 #battery.charging, #battery.plugged {
    108     color: #ffffff;
    109     background-color: #26A65B;
    110 }
    111 
    112 @keyframes blink {
    113     to {
    114         background-color: #ffffff;
    115         color: #000000;
    116     }
    117 }
    118 
    119 #battery.critical:not(.charging) {
    120     background-color: #f53c3c;
    121     color: #ffffff;
    122     animation-name: blink;
    123     animation-duration: 0.5s;
    124     animation-timing-function: linear;
    125     animation-iteration-count: infinite;
    126     animation-direction: alternate;
    127 }
    128 
    129 label:focus {
    130     background-color: #000000;
    131 }
    132 
    133 #cpu {
    134     background-color: #171717;
    135     color: #ffffff;
    136 }
    137 
    138 #memory {
    139     background-color: #171717;
    140     color: #ffffff;
    141 }
    142 
    143 #disk {
    144     background-color: #171717;
    145     color: #ffffff;
    146 }
    147 
    148 #backlight {
    149     background-color: #171717;
    150     color: #ffffff;
    151 }
    152 
    153 #network {
    154     background-color: #171717;
    155     color: #ffffff;
    156 }
    157 
    158 #network.disconnected {
    159     background-color: #171717;
    160     color: red;
    161 }
    162 
    163 #pulseaudio {
    164     background-color: #171717;
    165     color: #ffffff;
    166 }
    167 
    168 #pulseaudio.muted {
    169     background-color: #171717;
    170     color: red;
    171 }
    172 
    173 #custom-media {
    174     background-color: #8EC5FC;
    175     background-image: linear-gradient(62deg, #8EC5FC 0%, #E0C3FC 100%);
    176     color: black;
    177     border-radius: 20px;
    178     margin-right: 5px;
    179     margin-left: 5px;
    180 }
    181 
    182 #custom-media.custom-spotify {
    183     background-color: #8EC5FC;
    184     background-image: linear-gradient(62deg, #8EC5FC 0%, #E0C3FC 100%);
    185     color: black;
    186     border-radius: 20px;
    187     margin-right: 5px;
    188 
    189 }
    190 
    191 #custom-media.custom-vlc {
    192     background-color: #8EC5FC;
    193     background-image: linear-gradient(62deg, #8EC5FC 0%, #E0C3FC 100%);
    194     color: black;
    195     border-radius: 20px;
    196     margin-right: 5px;
    197 }
    198 
    199 #custom-power{
    200     background-color: #171717;
    201     font-size: 18px;
    202     border-radius: 0px 20px 20px 0px;
    203     margin-right: 5px;
    204 }
    205 
    206 #custom-launcher{
    207     background-color: #171717;
    208     font-size: 20px;
    209     border-radius: 20px 0px 0px 20px;
    210     margin-left: 5px;
    211 
    212 }
    213 
    214 #custom-layout{
    215     background-color: #171717;
    216     color: white;
    217     font-size:20px;
    218 }
    219 
    220 #custom-updater {
    221     background-color: #171717;
    222     color: white;
    223 }
    224 
    225 #custom-snip {
    226     background-color: #171717;
    227     color: skyblue;
    228     font-size: 20px;
    229 }
    230 
    231 #custom-donotdisturb {
    232     background-color: #171717;
    233     color: skyblue;
    234 }
    235 
    236 
    237 
    238 #taskbar{
    239     background-color: #171717;
    240     border-radius: 0px 20px 20px 0px;
    241 }
    242 
    243 #temperature {
    244     background-color: #171717;
    245     color: #ffffff;
    246 }
    247 
    248 #temperature.critical {
    249     background-color: #eb4d4b;
    250 }
    251 
    252 #tray {
    253     background-color: #171717;
    254     color: #ffffff;
    255 }
    256 
    257 #tray > .passive {
    258     -gtk-icon-effect: dim;
    259     background-color: #171717;
    260     color: #ffffff;
    261 }
    262 
    263 #tray > .needs-attention {
    264     -gtk-icon-effect: highlight;
    265     background-color: #171717;
    266     color: #ffffff;
    267 }
    268 
    269 #idle_inhibitor {
    270     background-color: #171717;
    271     border-radius: 20px 0px 0px 20px;
    272 
    273 }
    274 
    275 #idle_inhibitor.activated {
    276     background-color: #171717;
    277     color: #ffffff;
    278     border-radius: 20px 0px 0px 20px;
    279 
    280 }
    281 
    282 #language {
    283     background-color: #171717;
    284     color: #ffffff;
    285     min-width: 16px;
    286 }
    287 
    288 #keyboard-state {
    289     background: #97e1ad;
    290     color: #000000;
    291     min-width: 16px;
    292 }
    293 
    294 #keyboard-state > label {
    295     padding: 0px 5px;
    296 }
    297 
    298 #keyboard-state > label.locked {
    299     background: rgba(0, 0, 0, 0.2);
    300 }