@import "../../theming/library/entry.scss";

$red: $color1;
$green: $color2;
$orange: $color3;
$yellow: $color4;

$dim: rgba($background, 0.75);


* {
	font-family: "JetBrainsMono Nerd Font";
	font-weight: bold;
	min-height: 0;
	/* set font-size to 100% if font scaling is set to 1.00 using nwg-look */
	font-size: 100%;
	font-feature-settings: '"zero", "ss01", "ss02", "ss03", "ss04", "ss05", "cv31"';

  border-radius: $border-radius;
}

window {
  background: $background-semitransparent;
  color: $foreground;
  transition-property: background-color;
  transition-duration: 0.5s;
}

window.semi-hidden {
  background-color: transparent;


  .modules-left, .modules-center, .modules-right {
    border-radius: $border-radius 0 0 $border-radius;

    border-right: none;
    background-color: $background;
    border-bottom: 1px solid rgba($foreground, 0.4);
    border-left: 1px solid rgba($foreground, 0.4);
    border-top: 1px solid rgba($foreground, 0.4);
  }

  .modules-center {
    padding-left: 0.3rem;
  }

  .modules-left {
    padding-right: 1rem;
  }

  #laptop {
    border-radius: 0;
    padding-bottom: 1px;
    border-bottom: 1px solid $foreground;
  }

  #app_drawer,
  #audio {
    border-radius: 0;
    padding-bottom: 1px;
    border-bottom: 1px dashed $foreground;
  }
}

#taskbar button,
#workspaces button {
  color: $foreground;
}

#taskbar button.active,
#workspaces button.active {
  border-bottom: 1px solid $green;
}

#taskbar button.urgent,
#workspaces button.urgent {
  border-bottom: 2px solid $orange;
}

#submap {
  border-bottom: 1px solid $red;
}

@import "./_modules.scss";
