-
Notifications
You must be signed in to change notification settings - Fork 79
/
Copy pathtabCenterReborn.css
116 lines (99 loc) · 2.26 KB
/
tabCenterReborn.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
114
115
116
/* Overwrite some colours */
:root {
--tab-separator: transparent;
--tab-selected-line: transparent;
--tablist-separator: #cccccc;
}
@media (prefers-color-scheme: dark) {
:root {
--background: #1c1b22;
--icons: rgb(251,251,254);
--tab-separator: transparent;
--tab-active-background: rgb(66,65,77);
--tab-active-text: rgb(251,251,254);
--tab-text: #fbfbfe;
--toolbar-background: rgb(43,42,51);
--toolbar-text: rgb(251, 251, 254);
--input-background: rgb(28,27,34);
--input-border: transparent;
--input-background-focus: rgb(66,65,77);
--input-selected-text: rgb(251,251,254);
--input-text: rgb(251,251,254);
--input-text-focus: rgb(251,251,254);
--identity-color-toolbar: rgb(251,251,254);
--tablist-separator: #333333;
}
}
/* Move topmenu to bottom */
#topmenu {
order: 2;
background: transparent;
border: none;
}
#newtab {
margin-left: 6px;
}
#settings {
margin-right: 2px;
}
/* Hide filterbox */
#filterbox-icon,
#filterbox-input {
display: none;
}
/* Right-align settings icon */
#settings {
margin-left: auto;
}
#tablist-wrapper {
height: auto;
margin: 0 6px;
}
#tablist-wrapper::after {
content: "";
max-width: 34px;
margin: 2px 0;
border: 1px solid var(--tablist-separator);
transition: all 0.2s ease;
transition-delay: 200ms;
}
#tablist-wrapper .tab-title-wrapper {
visibility: hidden;
transition: all 0.2s ease;
transition-delay: 200ms;
}
.tab,
.tab.active {
max-width: 36px;
border-radius: 4px;
margin: 1px 0;
transition: max-width 12s ease;
}
#pinnedtablist:not(.compact) .tab,
#tablist .tab {
padding: 0;
}
#pinnedtablist:not(.compact) .tab {
padding-left: 6px;
}
/* Show more when hovering over the sidebar */
body:hover #tablist-wrapper .tab-title-wrapper {
visibility: visible;
}
body #newtab::after {
content: "New tab";
visibility: hidden;
margin-left: 10px;
transition: all 0.2s ease;
transition-delay: 200ms;
}
body:hover #newtab::after {
visibility: visible;
}
body:hover #tablist-wrapper::after,
body:hover .tab {
max-width: 100%;
}
body:hover #pinnedtablist:not(.compact) .tab {
padding-left: 0;
}