@import url("resource:///org/gnome/builder/themes/shared.css");

/* Darker grey accents used throughtout */
@define-color theme_accent_color #858c98;
@define-color theme_accent_bg_color #353945;
/*@define-color theme_accent_unfocused_color #89929e;
@define-color theme_accent_bg_unfocused_color #313843;*/
@define-color theme_button_hover_bg_color #454C5C;
@define-color theme_button_hover_border_color #262932;

perspectiveswitcher {
  background-color: @theme_accent_bg_color;
  border-top: 1px solid @borders;
  border-right: 1px solid @borders;
}

perspectiveswitcher button {
  color: @theme_accent_color;
  background-color: @theme_accent_bg_color;
  border-radius: 3px;
  box-shadow: none;
  border: none;
  margin: 1px;
}

perspectiveswitcher button:hover {
  border-color: @theme_button_hover_border_color;
  background-color: @theme_button_hover_bg_color;
}

perspectiveswitcher button:checked {
  color: white;
  background-color: @wm_button_active_bg;
}

perspectiveswitcher button:checked:backdrop {
  color: #c2c4c7;
}


layoutpane stackswitcher button {
  color: @theme_fg_color;
  background-color: transparent;
  border: none;
}
layoutpane stackswitcher button:checked {
  color: @theme_selected_bg_color;
}
/* All boxes */
layoutpane > box > box.horizontal > stackswitcher > button:hover {
  border: 1px solid @borders;
}
/* Box above file switcher */
layoutpane > box.vertical:first-child > box.horizontal {
  border: 1px solid @borders;
}


/* Builder pane */
window.workbench buildperspective list {
  border-right: 1px solid @borders;
  background-color: @theme_base_color;
}
window.workbench buildperspective list row {
  padding: 10px;
  border-bottom: 1px solid alpha(@borders, 0.50);
}
window.workbench buildperspective list row:last-child {
  border-bottom: none;
}


/* omnibar popover, remove popover padding */
popover.messagepopover > * > * {
  margin: 0;
  padding: 0;
}


/* utilities stack switcher */
ideeditorutilities > dzldockpaned > box > stackswitcher {
  margin: 6px;
}
