gtk-3.0/widgets/_calendar.scss 1.0 K raw
1
/************
2
 * Calendar *
3
 ***********/
4
calendar {
5
  color: $text_color;
6
  border: 1px solid $borders_color;
7
8
  &:selected {
9
    @extend %selected_items;
10
11
    border-radius: 3px;
12
  }
13
14
  &.header {
15
    border-bottom: 1px solid transparentize(black, 0.9);
16
    border-radius: 0;
17
18
    &:backdrop { border-color: transparentize(black, 0.9); }
19
  }
20
21
  &.button {
22
    @extend %undecorated_button;
23
24
    color: transparentize($fg_color, 0.55);
25
26
    &:hover {
27
      @extend %undecorated_button;
28
29
      color: $fg_color;
30
    }
31
32
    &:backdrop {
33
      @extend %undecorated_button;
34
35
      color: transparentize($backdrop_fg_color,0.55);
36
    }
37
38
    &:disabled {
39
      @extend %undecorated_button;
40
41
      color:  transparentize($insensitive_fg_color,0.55);
42
    }
43
  }
44
45
  &:indeterminate,
46
  &:indeterminate:backdrop { color: gtkalpha(currentColor, 0.55); }
47
48
  &.highlight,
49
  &.highlight:backdrop {
50
    font-size: smaller;
51
    color: $fg_color;
52
  }
53
54
55
  &:backdrop {
56
    color: $backdrop_text_color;
57
    border-color: $backdrop_borders_color;
58
  }
59
}