@import "frappe.css";
@import "colors.css";
* {
  font-family: "JetBrainsMono Nerd Font", "Font Awesome 6 Free", "sans-serif", "Noto Sans";
  font-size: 17px;
  min-height: 0;
  padding-left: 8px;
  padding-right: 8px;
}

#waybar {
  background: transparent;
  color: @on_primary;
  margin: 5px 5px;
}

#workspaces {
  border-radius: 1rem;
  margin: 5px;
  background-color: @secondary;
  margin-left: 1rem;
}

#workspaces button {
  color: @on_secondary;
  border-radius: 1rem;
  padding: 0.4rem;
}

#workspaces button.active {
  background: @primary;
  color: @on_primary;
  border-radius: 1rem;
}

#workspaces button:hover {
  color: @surface_color;
  border-radius: 1rem;
}

#custom-music,
#tray,
#backlight,
#clock,
#battery,
#wireplumber,
#custom-lock,
#network,
#temperature,
#memory,
#cpu,
#custom-power {
  background-color: @secondary;
  padding: 0.5rem 1rem;
  margin: 5px 0;
  color: @on_secondary;
}

#clock {
  color: @inverse_primary;
  border-radius: 0px 1rem 1rem 0px;
  margin-right: 1rem;
}

#battery {
  color: @green;
}

#battery.charging {
  color: @green;
}

#battery.warning:not(.charging) {
  color: @red;
}

#backlight {
  color: @yellow;
}

#backlight, #battery {
    border-radius: 0;
}

#wireplumber {
  color: @on_primary;
  border-radius: 1rem 0px 0px 1rem;
  margin-left: 1rem;
}

#custom-music {
  color: @mauve;
  border-radius: 1rem;
}

#custom-lock {
    border-radius: 1rem 0px 0px 1rem;
}

#custom-power {
    margin-right: 1rem;
    border-radius: 0px 1rem 1rem 0px;
    color: @error_container;
}

#tray {
  border-radius: 1rem;
  padding: 5px; /* Etwas Abstand um das Tray herum */
}

