/*
 * SPDX-FileCopyrightText: 2011 Erick Pérez Castellanos <erick.red@gmail.com>
 * SPDX-FileCopyrightText: 2019 Florian Müllner <fmuellner@gnome.org>
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 */

.window-list-workspace-indicator.previews:active {
  background-color: none !important;
  box-shadow: none !important;
}

.window-list-workspace-indicator.name-label {
  box-shadow: inset 0 0 0 100px rgba(255, 255, 255, 0.17) !important;
}
.window-list-workspace-indicator.name-label:hover,
.window-list-workspace-indicator.name-label:focus {
  box-shadow: inset 0 0 0 100px rgba(255, 255, 255, 0.28) !important;
}
.window-list-workspace-indicator.name-label:active {
  box-shadow: inset 0 0 0 100px rgba(255, 255, 255, 0.32) !important;
}
.window-list-workspace-indicator.name-label:active:hover {
  box-shadow: inset 0 0 0 100px rgba(255, 255, 255, 0.36) !important;
}

.window-list-workspace-indicator .status-label {
  width: 8em;
  padding: 0 8px;
}
.window-list-workspace-indicator .status-label:ltr { padding-right: 4px; }
.window-list-workspace-indicator .status-label:rtl { padding-left: 4px; }

.window-list-workspace-indicator .system-status-icon {
  padding: 0 !important;
  margin: 0 !important;
}

.window-list-workspace-indicator .workspaces-view.hfade {
  -st-hfade-offset: 20px;
}

.window-list-workspace-indicator .workspaces-box {
  spacing: 3px;
}

.window-list-workspace-indicator .workspace-box {
  padding-top: 5px;
  padding-bottom: 5px;
}

.window-list-workspace-indicator StButton:first-child:ltr > .workspace-box,
.window-list-workspace-indicator StButton:last-child:rtl > .workspace-box {
  padding-left: 5px;
}
.window-list-workspace-indicator StButton:last-child:ltr > .workspace-box,
.window-list-workspace-indicator StButton:first-child:rtl > .workspace-box {
  padding-right: 5px;
}

.window-list-workspace-indicator .workspace {
  border: 1px solid transparent;
  border-radius: 4px;
  background-color: #3f3f3f;
}

.window-list-workspace-indicator .workspace {
  width: 52px;
}

.window-list-workspace-indicator .workspace.active {
  border-color: #fff;
}

.window-list-workspace-indicator-window-preview {
  background-color: #bebebe;
  border: 1px solid #828282;
  border-radius: 1px;
}

.window-list-workspace-indicator-window-preview.active {
  background-color: #d4d4d4;
}

.window-list-workspace-indicator-menu {
  min-width: 17em;
}

.window-list-workspace-indicator-menu .editable-menu-item.popup-menu-item {
  padding: 3px 12px;
}

.window-list-workspace-indicator-menu .editable-menu-item .icon-button {
  padding: 6px;
}

.window-list-workspace-indicator-menu .editable-menu-item .icon-button.flat {
  background-color: transparent;
}

.window-list-workspace-indicator-menu .editable-menu-item .icon-button.flat:hover {
  background-color: st-transparentize(white, 90%);
}

.window-list-workspace-indicator-menu .editable-menu-item .icon-button.flat:active {
  background-color: st-transparentize(white, 85%);
}

.window-list-workspace-indicator-menu .editable-menu-item .icon-button.flat:checked {
  color: -st-accent-fg-color;
  background-color: -st-accent-color;
}

.window-list-workspace-indicator-menu .editable-menu-item .icon-button.flat:checked:hover {
  background-color: st-lighten(-st-accent-color, 10%);
}

.window-list-workspace-indicator-menu .editable-menu-item .icon-button.flat:checked:active {
  background-color: st-lighten(-st-accent-color, 15%);
}

.window-list-workspace-indicator-menu .editable-menu-item StLabel {
  padding: 0 11px;
  width: 6.5em;
}

.window-list-workspace-indicator-menu .editable-menu-item StEntry {
  padding: 9px 9px;
  width: 6.5em;
}
