@import "colors/mocha.css";

/* margin: top right bottom left */
/* Spacing outside the element */

/* Spacing inside the element */

* {
  font-family: FiraCode Mono Nerd Font;
  font-size: 13px;
  min-height: 0;
  margin: 0px;
  padding: 2px 0px;
  border-radius: 6px;
}

#clock,
#battery,
#cpu,
#temperature,
#backlight,
#network,
#pulseaudio {
  color: @crust;
  font-family: FiraCode Mono Nerd Font;
  font-size: 13px;
  min-height: 0;
  margin: 4px;
  padding: 6px 1px;
  background: #1B1B1B;
}


window#waybar {
  background-color: #070707;
  color: @text;
  transition-property: background-color;
  transition-duration: 0.5s;
  transition-duration: .5s;
  border-radius: 0px;
  margin: 0px;
  padding: 0px;
}


#workspaces button {
  color: #A9A1E1;
  background: #1B1B1B;
  transition: all 0.3s ease-in-out;
}

#workspaces button:hover {
  background: @surface0;
  color: @text;
}

#workspaces button.active {
  color: #1B1B1B;
  background: #A9A1E1;
  padding: 0px;
  margin: 7px;
}

#cpu {
  color: #51AFEF;
}

#temperature {
  color: #51AFEF;
}

#pulseaudio {
  background-color: @joksi-bg;
  color: #A9A1E1;
}

#network {
  color: #A9A1E1;
}

#battery {
  background-color: @joksi-bg;
  color: #EC5F67;
}

#clock {
  color: #98BE65;
}



@keyframes blink {
  to {
    background-color: rgba(30, 34, 42, 0.5);
    color: #abb2bf;
  }
}

#battery.critical:not(.charging) {
  color: #f53c3c;
  animation-name: blink;
  animation-duration: 0.5s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

label:focus {
  background-color: #000000;
}


