/* OSD */

%osd_panel {
  color: on($osd, secondary);
  background-color: $osd;
  border: none;
  box-shadow: 0 3px 8px 0 rgba(black, 0.25);
  margin: 5px 8px 11px;
  border-radius: $menu_radius;
  padding: $base_padding * 2;
}

.osd-window {
  @extend %osd_panel;
  text-align: center;
  font-weight: bold;

  .osd-monitor-label { font-size: 3em; }

  .level {
    height: 3px;
    min-width: 160px;
    border-radius: 2px;
    background-color: rgba($inverse-indicator, 0.15);
    color: white;

    // For >= 3.29.90
    -barlevel-height: 3px;
    // FIXME: above 'background-color' property rendered correct trough
    // colour already, so keep -background-color style-property transparent
    -barlevel-background-color: rgba($inverse-indicator, 0.15);
    -barlevel-active-background-color: $inverse-indicator;
    -barlevel-overdrive-color: $destructive;
    -barlevel-overdrive-separator-width: 2px;
    -barlevel-border-width: 0;
    -barlevel-border-color: $border;
  }

  .level-bar {
    background-color: $inverse-indicator;
    border-radius: 2px;
  }
}

// Pad OSD
.pad-osd-window {
  padding: 32px;
  background-color: $osd;

  .pad-osd-title-box { spacing: $base_spacing * 2; }
  .pad-osd-title-menu-box { spacing: $base_spacing; }
}

.combo-box-label {
  width: 15em;
}

.resize-popup {
  @extend %osd_panel;
}
