/*@import "./waybar.css";
  @import "../huegen/themes/waybar.css";
  @import "../huegen/themes/waybar.css";
*/

@import url("./waybar.css");
@define-color active @color0;

* {
  border: none;
  font-size: 14px;
  font-family: "JetBrainsMono Nerd Font,JetBrainsMono NF";
  font-weight: bold;
  min-height: 10px;
  box-shadow: none;
}

window#waybar {
  /* background: rgba(26, 27, 38, 0.9);    70% opacity 
  background: rgba(0, 0, 0, 0.6); */
  background: rgba(32, 29, 42, 0.9);
  border: @active 1px solid;
}

tooltip {
  background: rgba(32, 29, 42, 0.9);
  border-radius: 0px;
  border: @active 1px solid;
  color: @active;
}

tooltip label {
  color: @active;
}

#custom-logo {
  padding: 0 10px 0 5px;
}

.modules-right {
  border-radius: 15px 0 0 15px;
  padding: 0px 10px;
  margin: 2px 0px;
}

.modules-center {
  margin: 2px 0px;
  padding: 0px 10px;
  border-radius: 15px 15px 15px 15px;
}

.modules-left {
  border-radius: 0 15px 15px 0;
  margin: 2px 0px;
  padding: 0px 10px;
}

#pulseaudio.bluetooth,
#custom-clipboard,
#custom-colorpicker,
#custom-powerDraw,
#custom-cava,
#custom-cpu-governer,
#group-hardware,
#custom-updates,
#custom-hotspot,
#custom-pacman,
#custom-weather,
#custom-tasks,
#pulseaudio.mic,
#idle_inhibitor,
#temperature,
#custom-logo,
#pulseaudio,
#bluetooth,
#backlight,
#battery,
#network,
#privacy,
#memory,
#window,
#disk,
#cpu,
#jack,
#tray,
#clock {
  padding: 0px 5px;
  color: @active;
}

#workspaces button {
  border-radius: 0px;
  color: @active;
}

#workspaces button.active {
  border-bottom: solid 2px @active;
}

#workspaces button:not(.empty) {
  color: #ffffff;
}

#custom-colorpicker {
  padding: 0 4px 0 10px;
}
#pulseaudio {
  padding-top: 3px;
}
#pulseaudio.mic {
  font-size: 14px;
}
#pulseaudio.mic.muted {
  font-size: 14px;
  color: red;
}
#pulseaudio.muted {
  color: #ff0000;
  padding-top: 2px;
  padding-right: 10px;
}

#backlight-slider,
#pulseaudio-slider {
  padding: 0 5px 0 8px;
}

#backlight-slider slider,
#pulseaudio-slider slider {
  background-color: transparent;
  box-shadow: none;
}

#custom-cpu-governer {
  font-size: 14px;
}

#backlight-slider trough,
#pulseaudio-slider trough {
  min-width: 50px;
  min-height: 5px;
  border-radius: 8px;
}

#backlight-slider highlight,
#pulseaudio-slider highlight {
  min-width: 5px;
  min-height: 5px;
  background-color: #ffffff;
}

#custom-launcher {
  background-image: url("/home/ashishk/.config/utility/avatar.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

#battery.charging {
  color: #77dd77;
}

#battery.warning:not(.charging) {
  background-color: #ffbe61;
  color: black;
}

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

@keyframes blink {
  to {
    background-color: #ffffff;
    color: #000000;
  }
}
