File: layer.css

package info (click to toggle)
akira 0.0.16-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 4,024 kB
  • sloc: xml: 40; python: 13; makefile: 11; sh: 8
file content (107 lines) | stat: -rw-r--r-- 1,661 bytes parent folder | download | duplicates (2)
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
/* initial status */
.layer {
    transition: all 240ms ease;
}

.layer.transparent {
    opacity: 0.5;
}

/* selected status */
.layer,
.layer:selected {
    background-color: @base_color;
}

.layer:selected {
    box-shadow: inset 4px 0 0 @primary;
}

.layer:selected image,
.layer:selected button {
    background-color: transparent;
    color: @fg_color;
}

/* zebra */
.layer.even,
.layer.even:focus,
.layer.even:selected {
    background-color: shade (@bg_color, 1);
}

/* Hovered */
.layer.hovered:not(:selected),
.layer.even.hovered:not(:selected) {
  box-shadow: inset 0 0 0 2px @highlight;
}

/* label */
.layer label,
.layer:selected label {
    color: @fg_color;
    padding: 8px 0;
}

/* actions */
.layer-action {
    border: none;
    background: transparent;
    padding: 0 2px;
    opacity: 0;
    box-shadow: none;
}

.layer.hover > grid > .layer-action,
.layer.hover > grid > grid > .layer-action {
    opacity: 0.5;
}

.layer.hover > grid > .layer-action:hover,
.layer-action:hover {
    opacity: 1;
}

.layer-action.show {
    opacity: 0.5;
}

.layer-action image,
.layer-action {
    color: @fg_color;
}

/* revealer */
.layer .revealer-button {
    border-bottom: none;
}

.revealer-button {
    padding: 0 8px;
    border-radius: 0;
    border: none;
    box-shadow: none;
    background: transparent;
}

.revealer-button image {
    transition: all 160ms ease-in-out;
}

.revealer-button.closed image {
    -gtk-icon-transform: rotate(-90deg);
}

/* group */
.group-container {
    background-color: @bg_color;
}

.group-container .layer {
    padding-left: 15px;
}

/* drag and drop */
.grid-motion {
    background-color: @primary;
}