summaryrefslogtreecommitdiffstats
path: root/data/theme/gnome-shell-sass/widgets/_osd.scss
blob: f85124c713fa227ee67441b075463c67c5e18566 (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
/* OSD */

$osd_levelbar_height:8px;

.osd-window {
  @extend %osd_panel;
  text-align: center;
  font-weight: bold;
  spacing: $base_spacing * 2; // 12px
  margin: $base_margin * 8; // 32px
  min-width: 64px;
  min-height: 64px;

  StIcon {
    icon-size:$base_icon_size * 6;
  }

  .osd-monitor-label { font-size: 3em; }
  
  .level {
    height: $osd_levelbar_height;
    -barlevel-height: $osd_levelbar_height;
    -barlevel-background-color: transparentize($osd_fg_color, if($variant=='light', 0.7, 0.9));
    -barlevel-active-background-color: $osd_fg_color;
    -barlevel-overdrive-color: $destructive_color;
    -barlevel-overdrive-separator-width: 3px;
  }
}

/* Pad OSD */
.pad-osd-window {
  padding: 32px;
  background-color: transparentize(#000, 0.2);

  .pad-osd-title-box { spacing: 12px; }
  .pad-osd-title-menu-box { spacing: 6px; }
}

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

.resize-popup {
  @extend %osd_panel;
}