// Window picker
.window-picker {
  // Space between window thumbnails
  spacing: $base_spacing;
}

// Window titles
.window-caption {
  color: on($scrim-alt);
  background-color: $scrim-alt;
  border-radius: $circular_radius;
  padding: $base_padding $base_padding * 2;
  border: none;
  box-shadow: none;
}

$window_close_button_size: 30px;
$window_close_button_padding: 3px;

// Close button
.window-close {
  background-color: $scrim;
  color: on($scrim);
  border-radius: $window_close_button_size * 0.5 + $window_close_button_padding * 2;
  padding: $window_close_button_padding;
  height: $window_close_button_size;
  width: $window_close_button_size;
  box-shadow: 0 2px 5px 0 rgba(black, 0.5);
  transition-duration: 200ms;

  &:hover {
    color: on($scrim);
    background-color: lighten($scrim, 6%);
  }

  &:active {
    color: on($scrim);
    background-color: darken($scrim, 6%);
  }

  StIcon { icon-size: 24px; }
}

.workspace-background {
  // keep in sync with BACKGROUND_CORNER_RADIUS_PIXELS in workspace.js
  border-radius: 30px;
  background-color: $system;
  box-shadow: 0 4px 16px 4px rgba(black, 0.25);
}
