@import "colors/mocha.css";

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

/* padding: top right bottom left */
/* Spacing inside the element */

* {
  font-family: FiraCode Mono Nerd Font;
  font-size: 17px;
}

window#waybar {
  background-color: rgba(08, 08, 08, 0.2);
  color: @text;
  transition-property: background-color;
  transition-duration: 0.5s;
  border-radius: 0px;
  transition-duration: .5s;
  margin: 16px 16px;
}

window#waybar.hidden {
  opacity: 0.2;
}

#workspaces button {
  color: #666666;
  background: @joksi-bg;
  border-radius: 7px;
  padding: 0px 10px 0px 10px;
  margin: 7px 5px 10px 5px;
  transition: all 0.3s ease-in-out;
}

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

#workspaces button.active {
  color: #666666;
  background: @joksi-bg;
  border-radius: 7px;
  background-size: 200% 200%;
  border-left: 3px solid #666666;
  border-right: 3px solid #666666;
  transition: all 0.3s ease-in-out;
}

#custom-launcher,
#clock,
#battery,
#cpu,
#temperature,
#backlight,
#network,
#pulseaudio,
#custom-dunst,
#custom-powermenu{
  padding: 0px 20px;
  margin: 7px 0px 10px 0px;
  border-radius: 7px;
  color: @crust;
}

#window,

#custom-launcher {
  padding: 0px 15px 0px 10px;
  margin: 7px 0px 10px 10px;
  background-color: @joksi-bg;
  color: #C678DD;
}

#cpu {
  background-color: @joksi-bg;
  color: #51AFEF;
  border-radius: 7px 0px 0px 7px;
  padding: 0px 10px 0px 10px;
  margin: 7px 0px 10px 10px;

}

#temperature{
  background-color: @joksi-bg;
  color: #51AFEF;
  border-radius: 0px 7px 7px 0px;
  margin: 7px 10px 10px 0px;
  padding: 0px 10px 0px 0px;

}

#backlight {
  background-color: #CCCCCC;
  padding: 0px 10px 0px 10px;
  border-radius: 7px 0px 0px 7px;
}


#pulseaudio {
  background-color: @joksi-bg;
  color:#A9A1E1;
  padding: 0px 10px 0px 10px;
  border-radius: 7px 0px 0px 7px;

}

#network {
  padding: 0px 10px 0px 10px;
  margin: 7px 10px 10px 0px;
  background-color: @joksi-bg;
  color:#A9A1E1;
  border-radius: 0px 7px 7px 0px;
}

#battery {
  background-color: @joksi-bg;
  color: #EC5F67;
  margin: 7px 10px 10px 0px;
  padding: 0px 5px 0px 0px;
}

#clock {
  padding: 0px 10px 0px 10px;
  margin: 7px 10px 10px 0px;
  color: #98BE65;
  background-color: @joksi-bg;
}



@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;
}


