aboutsummaryrefslogtreecommitdiff
path: root/.config/ags/widget/dock/dock.scss
blob: 9dc6256a356eb3a738a61774fd87dc3925533fdd (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
@use 'sass:color';

.floating-dock {
    padding-left: 0.2rem;
    padding-right: 0.2rem;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    border-radius: 1rem;
}

.dock {
    // @include floating-widget;
    border-radius: $radius;
    background-color: transparentize($bg, 0.07);
    min-width: 0;
    padding: 6;

    // Common styles for both PinnedApps and Taskbar buttons
    button {
        @include button($flat: true);
        border-radius: 4;
        padding: 2;

        .box {
            margin: 0em;
            min-width: 1em;
            min-height: 0em;
            padding: 0;
        }

        image {
            margin: 0px;
        }

        .indicator {
            background-color: transparentize($primary-bg, 0.3);
            border-radius: $radius;
            min-height: 1pt;
            min-width: 16pt;
            margin: 1pt;
        }
    }
}

.toolbox {
    // @include floating-widget;
    border-radius: $radius;
    background-color: transparentize($bg, 0.07);
    min-width: 0;
    padding: 6;

    // Common styles for both PinnedApps and Taskbar buttons
    button {
        @include button($flat: true);
        border-radius: 0;
        padding: 0;

        image {
            margin: 0px;
            font-size: 32px;
        }

        &:hover,
        &:active,
        &:focus {
            // Override hover, active, and focus styles for buttons in .toolbox
            background-color: transparent;
            border: none;
            box-shadow: none;
            outline: none;
        }
    }
}