summaryrefslogtreecommitdiff
path: root/data/css/endless-widgets.css
blob: bfa2027fdc0bb6247260ca5be29be65eda826b7d (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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
/* Wipe all theming CSS to start with */

@import url("resource:///com/endlessm/sdk/css/reset.css");

@define-color endless_theme_bg_color #2e3436;
@define-color endless_wm_shadow alpha(black, 0.5);

/* Endless app window */

EosWindow {
    background-color: @endless_theme_bg_color;
}

.window-frame {
    border-color: darker(@endless_theme_bg_color);
    border-radius: 7px 7px 0 0;
    border-width: 1px;
    border-style: solid;

    box-shadow: 0 2px 8px 3px @endless_wm_shadow;

    /* this is used for the resize cursor area */
    margin: 10px;
}

.window-frame:backdrop {
    box-shadow: 0 2px 5px 1px @endless_wm_shadow;
}

/* Endless window top bar */

.top-bar {
    font-family: "Lato";
    font-weight: bold;
    font-size: 11px;
    background-image: -gtk-gradient(linear, center top, center bottom,
        from(#464646), to(#1e1e1e));
}

.top-bar:backdrop {
    background-image: -gtk-gradient(linear, center top, center bottom,
        from(#282828), to(#1e1e1e));
}

.top-bar .button {
    border-radius: 2px;
    color: #8c8c8c;
    icon-shadow: 0px -1px alpha(black, 0.25);
}

.top-bar .button:backdrop {
    color: #646464;
}

.top-bar .button:hover {
    color: #dcdcdc;
    icon-shadow: 0px -1px alpha(black, 0.35);
    background-image: -gtk-gradient(linear, left bottom, left top,
        color-stop(0.98, rgb(131, 131, 131)),
        color-stop(0.95, rgb(108, 108, 108)),
        color-stop(0, rgb(68, 68, 68)));
}

.top-bar .button:active {
    color: #787878;
    icon-shadow: none;
    background-image: -gtk-gradient(linear, left bottom, left top,
        color-stop(0.98, rgb(79, 79, 79)),
        color-stop(0.95, rgb(71, 71, 71)),
        color-stop(0, rgb(67, 67, 67)));
}

/* Endless action button */

EosActionButton {
	background-color: transparent;
	border-style: solid;
	border-image: none;
	margin: 10px;

	border-radius: 40px;
	border-width: 8px;
}

EosActionButton GtkLabel {
	font-weight: normal;
	font-size: 13px;
}

/* Endless action button: sizes */

EosActionButton.primary {
	border-radius: 40px;
	border-width: 8px;
}

EosActionButton.secondary {
	border-radius: 30px;
	border-width: 6px;
}

EosActionButton.tertiary {
	border-radius: 23px;
	border-width: 5px;
}

EosActionButton.quaternary {
	border-radius: 17px;
	border-width: 4px;
}

/* Endless action button: light background */

/* normal */
EosActionButton,
EosActionButton:selected,
EosActionButton:focused {
	border-color: alpha(#323232, 0.5);
	box-shadow: 1px 1px 1px alpha(black, 0.8) inset,
	            0px -1px 1px alpha(white, 0.65);
}

EosActionButton GtkImage,
EosActionButton GtkImage:selected,
EosActionButton GtkImage:focused {
	color: alpha(#323232, 0.5);
}

EosActionButton GtkLabel,
EosActionButton GtkLabel:selected,
EosActionButton GtkLabel:focused {
	color: alpha(#323232, 0.65);
}

/* hover */
EosActionButton:hover {
	border-color: alpha(#323232, 0.8);
	box-shadow: 1px 1px 1px alpha(black, 0.8) inset;
}

EosActionButton GtkImage:hover {
	color: alpha(#282828, 0.8);
}

EosActionButton GtkLabel:hover {
	color: alpha(#1E1E1E, 0.8);
}

/* pressed */
EosActionButton:active {
	border-color: alpha(#323232, 0.65);
	box-shadow: 1px 1px 1px alpha(black, 0.8) inset;
}	

EosActionButton GtkImage:active {
	color: alpha(#282828, 0.65);
}

EosActionButton GtkLabel:active {
	color: alpha(#1E1E1E, 0.8);
}

/* insensitive, just in case */
EosActionButton:insensitive,
EosActionButton:inconsistent {
	border-color: alpha(#888888, 0.50);
	box-shadow: none;
}

/* Endless action button: dark background */

/* normal */
.dark EosActionButton,
.dark EosActionButton:selected,
.dark EosActionButton:focused {
	border-color: alpha(#E6E6E6, 0.5);
	box-shadow: 1px 1px 1px alpha(black, 0.95) inset,
	            0px -1px 1px alpha(white, 0.5) inset;
}

.dark EosActionButton GtkImage,
.dark EosActionButton GtkImage:selected,
.dark EosActionButton GtkImage:selected,
.dark EosActionButton GtkLabel,
.dark EosActionButton GtkLabel:selected,
.dark EosActionButton GtkLabel:focused {
	color: alpha(#E6E6E6, 0.5);
}

/* hover */
.dark EosActionButton:hover {
	border-color: alpha(white, 0.8);
	box-shadow: 1px 1px 1px alpha(black, 0.95) inset,
	            0px -1px 1px alpha(white, 0.85) inset;
}

.dark EosActionButton GtkImage:hover,
.dark EosActionButton GtkLabel:hover {
	color: alpha(white, 0.8);
}

/* pressed */
.dark EosActionButton:active {
	border-color: alpha(white, 0.65);
	box-shadow: 1px 1px 1px alpha(black, 0.95) inset,
	            0px -1px 1px alpha(white, 0.7) inset;
}	

.dark EosActionButton GtkImage:active {
	color: alpha(white, 0.65);
}

.dark EosActionButton GtkLabel:active {
	color: alpha(white, 0.8);
}