summaryrefslogtreecommitdiffstats
path: root/data/theme/gnome-shell-sass/widgets/_switcher-popup.scss
blob: cec6c9aab8f3869acf9b23f0a4b3f8d15af92667 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
/* App Switcher */

// same as dash
$switcher_padding: $base_padding + 4px; // 10px
$switcher_border_radius: $modal_radius + 8px;


// the full screen container of the switcher
.switcher-popup {
  padding: 0;
  spacing: $base_padding * 4;
}

// switcher onscreen panel
.switcher-list {
  @extend %osd_panel;
  padding: $switcher_padding;
  border-radius: $switcher_border_radius;
  box-shadow: 0 8px 8px 0 rgba(0,0,0,0.1);

  // container for items in list
  .switcher-list-item-container {
    spacing: $base_padding * 2;
  }

  // each item in the list
  .item-box {
    @include tile_button($osd_fg_color);
    // override over style so mouse doesn't steal focus
    &:hover {background: none;}
  }

  .separator {
    width: 1px;
    background: $borders_color;
  }

  // container of thumbnails
  .thumbnail-box {
    padding: 2px;
    spacing: $base_padding;
  }

  // window thumbnail itself
  .thumbnail {
    width: 256px; // equal to THUMBNAIL_DEFAULT_SIZE in altTab.js
    border-radius:$base_border_radius;
  }
}

// arrow if app has multiple windows
.switcher-arrow {
  border-color: transparentize($osd_fg_color, 0.2);
  color: transparentize($osd_fg_color, 0.2);

  &:highlighted {
    border-color: $osd_fg_color;
    color: $osd_fg_color;
  }
}

// Input Source Switcher
.input-source-switcher-symbol {
  font-size: 34pt;
  width: 96px;
  height: 96px;
}

// Window cycler highlight
.cycler-highlight {
  border: 5px solid $selected_bg_color;
}