gtk-3.0/widgets/_progress-bars.scss 1.2 K raw
1
/*****************
2
 * Progress bars *
3
 *****************/
4
progressbar {
5
  // sizing
6
  &.horizontal {
7
    trough,
8
    progress { min-height: 6px; }
9
  }
10
11
  &.vertical {
12
    trough,
13
    progress { min-width: 6px; }
14
  }
15
16
  &.horizontal progress { margin: 0; } // the progress node is positioned after the trough border
17
  &.vertical progress { margin: 0; }   // this moves it over it.
18
19
20
  // FIXME: insensitive state missing and some other state should be set probably
21
  font-size: smaller;
22
  color: transparentize($fg_color, 0.6);
23
24
  &:backdrop {
25
    box-shadow: none;
26
    transition: $backdrop_transition;
27
  }
28
29
  trough { @extend %scale_trough; }
30
31
  &:backdrop trough { @extend %scale_trough:backdrop; } // looks like states are not passed to the trough component here
32
33
  progress {
34
    @extend %scale_highlight;
35
  }
36
37
  &:backdrop progress { @extend %scale_highlight:backdrop; } // states not passed here as well
38
39
  &.osd { // progressbar.osd used for epiphany page loading progress
40
    min-width: 3px;
41
    min-height: 3px;
42
    background-color: transparent;
43
44
    trough {
45
      border-style: none;
46
      border-radius: 0;
47
      background-color: transparent;
48
      box-shadow: none;
49
    }
50
51
    progress {
52
      border-style: none;
53
      border-radius: 0;
54
    }
55
  }
56
}