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
|
/*
Copyright (C) 2018 Christian Dywan <christian@twotoats.de>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
See the file COPYING for the full license text.
*/
/* Tab styling */
.tab box {
margin: 0 4px;
padding: 4px 4px;
}
.tab:not(:checked) {
opacity: 0.7;
}
.tab:hover {
box-shadow: inset 0 3px darker(@theme_selected_bg_color),
inset 0 -1px @borders;
}
.tab:checked {
box-shadow: inset 0 3px @theme_selected_bg_color;
}
.tab label {
text-shadow: none;
}
/* No padding around close buttons */
.tab .close {
padding: 0;
margin: 0;
}
/* Visually merge active tab label with navigationbar */
.split_headerbar {
padding-bottom: 0;
}
.split_headerbar, headerbar {
border-bottom-width: 0;
}
headerbar {
box-shadow: inset 0 -1px @theme_bg_color;
}
.navigationbar, .navigationbar box {
border-top-width: 0;
background: transparent;
}
.tabbar {
box-shadow: inset 0 -2px @theme_bg_color;
}
/* Active tab label styling */
.titlebar .tab:checked:not(:only-child),
.split_headerbar:not(.titlebar) .tab:checked {
box-shadow: inset 0 3px @theme_selected_bg_color;
border-left: 1px solid @borders;
border-right: 1px solid @borders;
background-color: @theme_bg_color;
}
.titlebar:backdrop .tab:checked:not(:only-child),
.split_headerbar:not(.titlebar):backdrop .tab:checked {
border-left: 1px solid alpha(@borders, 0.5);
border-right: 1px solid alpha(@borders, 0.5);
}
.titlebar .tab:checked:not(:only-child) *,
.split_headerbar:not(.titlebar) .tab:checked * {
color: @theme_fg_color;
}
/* A single tab should really just be a label */
.titlebar .tab:only-child {
box-shadow: none;
}
.titlebar .tab:only-child image,
.titlebar .tab:only-child spinner,
.titlebar .tab:only-child button {
opacity: 0.0;
}
/* Visible indication of private browsing */
.incognito .split_headerbar {
background: transparent -gtk-icontheme("user-not-tracked-symbolic") 80% 30%/auto 160% no-repeat, linear-gradient(to left, #81ca45 8%, #4da80d 25%);
color: rgba(0, 0, 0, 0.3);
}
.incognito .split_headerbar * {
background: transparent;
color: #eee;
}
/* Overlay statusbar */
statusbar button {
margin: 4px;
padding: 0 4px;
}
/* Emphasize security indicator */
.urlbar image.left {
color: @theme_selected_bg_color;
}
.suggestion button {
margin: 0;
padding: 0;
}
|