aboutsummaryrefslogtreecommitdiff
path: root/.themes/MikunoNaka/cinnamon/scss/sections/_desklets.scss
blob: 74f8866432bc064b85365061a6c6ae1396b04c9e (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
// desklets - the base .desklet selector is for 'undecorated' desklets however some subtle background themeing is desirable
// to maintain visibility irrespctive of wallpaper and to allow for the highlighting scheme to work
.desklet {
    font-size: 0.9em;
    padding: 8px;
    color: $dark_fg_color;
    border-radius: $roundness;
    background-color: $dark_bg_color_trans;
    &:highlight {
        background-color: $selected_bg_color;
    }
}
// these do not inherit from .desklet
.desklet-with-borders {
    @extend %desklet-shared;

    font-size: 0.9em;
    border-radius: $roundness;
    &:highlight {
        background-color: $selected_bg_color;
    }
}
.desklet-with-borders-and-header {
    @extend %desklet-shared;

    font-size: 0.9em;
    border-radius-bottomleft: $roundness;
    border-radius-bottomright: $roundness;
    &:highlight {
        background-color: $selected_bg_color;
    }
}
.desklet-header {
    @extend %desklet-shared;

    font-size: 1.2em;
    border-radius-topleft: $roundness;
    border-radius-topright: $roundness;
    &:highlight {
        background-color: $selected_bg_color;
    }
}
.photoframe-box {
    @extend %desklet-shared;

    border-radius: $roundness;
    &:highlight {
        background-color: $selected_bg_color;
    }
}
.desklet-drag-placeholder {
    border: 2px solid $selected_bg_color;
    background-color: $dark_bg_color_trans;
    border-radius: $roundness;
}
.launcher {
    padding: 1px;
    transition-duration: 150;
    .icon-box {
        padding-top: 2px;
    }
}
// inherits font characteristics from .desklet-header
.clock-desklet-label {
}