@import "mocha.css";

* {
  font-family: "SauceCodePro NFM Bold";
  font-size: 16px;
  min-height: 0;
  font-weight: bold;
}

window#waybar {
  background: transparent;
  background-color: @crust;
  color: @overlay0;
  transition-property: background-color;
  transition-duration: 0.1s;
  /* border-bottom: 1px solid @overlay1; */
}

#window {
  margin: 8px;
  padding-left: 8;
  padding-right: 8;
}

button {
  box-shadow: inset 0 -3px transparent;
  border: none;
  border-radius: 0;
}

button:hover {
  background: inherit;
  color: @mauve;
  border-top: 2px solid @mauve;
}

#workspaces button {
  padding: 0 4px;
}

#workspaces button.focused {
  background-color: rgba(0, 0, 0, 0.3);
  color: @rosewater;
  border-top: 2px solid @rosewater;
}

#workspaces button.active {
  background-color: rgba(0, 0, 0, 0.3);
  color: @mauve;
  border-top: 2px solid @mauve;
}

#workspaces button.urgent {
  background-color: #eb4d4b;
}

#pulseaudio,
#clock,
#battery,
#cpu,
#memory,
#disk,
#temperature,
#backlight,
#wireplumber,
#tray,
#network,
#mode,
#scratchpad,
#custom-swaync {
  margin-top: 2px;
  margin-bottom: 2px;
  margin-left: 4px;
  margin-right: 4px;
  padding-left: 4px;
  padding-right: 4px;
}

#clock {
  color: @maroon;
  border-bottom: 2px solid @maroon;
}

#clock.date {
  color: @mauve;
  border-bottom: 2px solid @mauve;
}

#pulseaudio {
  color: @blue;
  border-bottom: 2px solid @blue;
}

#network {
  color: @yellow;
  border-bottom: 2px solid @yellow;
}

#idle_inhibitor {
  margin-right: 12px;
  color: #7cb342;
}

#idle_inhibitor.activated {
  color: @red;
}

#battery {
  color: @green;
  border-bottom: 2px solid @green;
}

#tray menu {
  background-color: @crust;
  color: @text;
}

#custom-swaync,
#custom-logout {
  margin-right: 16px;
}

/* If workspaces is the leftmost module, omit left margin */
.modules-left > widget:first-child > #workspaces {
  margin-left: 0;
}

/* If workspaces is the rightmost module, omit right margin */
.modules-right > widget:last-child > #workspaces {
  margin-right: 0;
}

#custom-vpn {
  color: @lavender;
  border-radius: 15px;
  padding-left: 6px;
  padding-right: 6px;
}
