This repository has been archived by the owner on Dec 20, 2024. It is now read-only.
forked from leodr/ulauncher-theme-libadwaita
-
Notifications
You must be signed in to change notification settings - Fork 0
/
theme.css
113 lines (98 loc) · 2.23 KB
/
theme.css
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
@import url("./reset.css");
/**
* App Window
*/
@define-color window_shadow rgba(0, 0, 0, 0.5);
@define-color window_bg rgb(36,36,36);
@define-color prefs_backgroud rgba(0,0,0,0.08);
/**
* Input
*/
@define-color selected_bg_color #ffffff;
@define-color selected_fg_color rgba(0,0,0,0.8);
@define-color input_color rgba(255,255,255,0.8);
@define-color caret_color rgba(255,255,255,0.8);
/**
* Result items
*/
@define-color item_name rgba(255,255,255,0.8);
@define-color item_text rgba(255,255,255,0.44);
@define-color item_box_selected rgba(255,255,255,0.08);
@define-color item_text_selected @item_text;
@define-color item_name_selected @item_name;
@define-color item_shortcut_color @item_text;
@define-color item_shortcut_color_sel @item_text;
.app {
/* This is the actual box-shadow for active GTK4 windows, it however is too large. */
/* box-shadow: 0 2px 8px 2px rgba(0, 0, 0, 0.13),
0 3px 20px 10px rgba(0, 0, 0, 0.09), 0 6px 32px 16px rgba(0, 0, 0, 0.04),
0 0 0 1px rgba(0, 0, 0, 0.05); */
box-shadow: 0 3px 7px 1px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(0, 0, 0, 0.1);
background-color: @window_bg;
border: none;
border-radius: 12px;
margin: 40px -12px;
}
.input {
caret-color: @caret_color;
color: @input_color;
font-size: 170%;
padding: 5px 0 5px 7px;
}
/**
* Selected text in input
*/
.input *:selected,
.input *:focus,
*:selected:focus {
background-color: alpha (@selected_bg_color, 0.9);
color: @selected_fg_color;
}
.result-box {
margin: 0px 6px -4px 6px;
}
.item-text {
color: @item_text;
}
.item-name {
color: @item_name;
font-size: 120%;
}
.selected.item-box {
background-color: @item_box_selected;
border: none;
border-radius: 6px;
}
.selected.item-box .item-text {
color: @item_text_selected;
}
.selected.item-box .item-name {
color: @item_name_selected;
}
.item-shortcut {
color: @item_shortcut_color;
text-shadow: none;
}
.selected.item-box .item-shortcut {
color: @item_shortcut_color_sel;
text-shadow: none;
}
.item-descr {
font-size: 80%;
}
.no-window-shadow {
margin: -80px;
}
/**
* Small result item
*/
.small-result-item .item-name {
font-size: 100%;
}
.prefs-btn {
border-radius: 12px;
opacity: 0.8;
}
.prefs-btn:hover {
background-color: @prefs_backgroud;
}