aboutsummaryrefslogtreecommitdiff
path: root/.themes/MikunoNaka/cinnamon/scss/sections/_stage.scss
blob: e6944a66bed7dc93cd4bd3594dd3705e90d0887d (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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
// defines font family and standard font size across the whole theme
// em is preferred for better support for text scaling
stage {
    font-family: roboto, Noto Sans, sans, sans-serif;
    font-size: 1em;
}
.cinnamon-link {
    color: $link_color;
    font-style: italic;
    &:hover {
        color: $selected_fg_color;
    }
}
.label-shadow {
    color: rgba(0,0,0,0.5);
}
// themeing for various standard elements
StScrollBar {
    padding: 2px;
    StButton {
        &#vhandle {
            background-color: $scrollbar_slider_color;
            border-radius: $roundness;
            &:hover {
                background-color: $scrollbar_slider_hover_color;
            }
        }
        &#hhandle {
            background-color: $scrollbar_slider_color;
            border-radius: $roundness;
            &:hover {
                background-color: $scrollbar_slider_hover_color;
            }
        }
    }
    StBin#trough {
        background-color: $scrollbar_bg_color;
        border-radius: $roundness;
    }
}
StScrollView {
    &.vfade {
        -st-vfade-offset: 68px;
    }
    &.hfade {
        -st-hfade-offset: 68px;
    }
    StScrollBar {
        min-width: 0.8em;
        min-height: 0.8em;
    }
}
.separator {
    @extend %separator-shared;
}
.slider {
    @extend %slider-shared;
}
.check-box {
    CinnamonGenericContainer {
        spacing: .2em;
    }
    StBin {
        @extend %check-box-shared;
    }
    &:focus {
        StBin {
            @extend %check-box-shared;
        }
        &:checked StBin {
            background-image: url(assets/checkbox.svg);
        }
    }
    StLabel {
        font-weight: normal;
    }
    &:checked StBin {
        background-image: url(assets/checkbox.svg);
    }
}
.radiobutton {
    CinnamonGenericContainer {
        spacing: .2em;
        height: 18px;
        padding-top: 2px;
    }
    StBin {
        @extend %radiobutton-shared;
    }
    &:focus {
        StBin {
            @extend %radiobutton-shared;
        }
        &:checked StBin {
            background-image: url(assets/radiobutton.svg);
        }
    }
    StLabel {
        padding-top: 4px;
        font-size: 0.8em;
        box-shadow: none;
    }
    &:checked StBin {
        background-image: url(assets/radiobutton.svg);
    }
}
#Tooltip {
    @extend %tooltip-bg-grad-to-top;

    padding: 5px 8px;
    color: $tooltip_fg_color;
    text-align: center;
    border-radius: $roundness;
}