-
Notifications
You must be signed in to change notification settings - Fork 0
/
treestyletabs.css
123 lines (99 loc) · 2.08 KB
/
treestyletabs.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
117
118
119
120
121
122
123
/* Hide border on tab bar, force its state to 'scroll', adjust margin-left for width of scrollbar. */
#tabbar {
border: 0;
overflow-y: scroll !important;
margin-left: -2px !important;
}
/* Hide .twisty and adjust margins so favicons have 7px on left. */
.tab .twisty {
visibility: hidden;
margin-left: -10px;
}
/* Push tab labels slightly to the right so they're completely hidden in collapsed state, but still look fine while expanded. */
.tab .label {
margin-left: 7px;
}
/* Hide close buttons on tabs. */
.tab .closebox {
visibility: collapse;
}
/* Hide sound playing/muted button. */
.sound-button {
display: none !important;
}
/* Hide 'new tab' button. */
.newtab-button {
display: none;
}
/* ##### THEME ############################################ */
@keyframes pulse {
0% {
width: 0px;
height: 0px;
opacity: 1;
}
100% {
width: 350px;
height: 350px;
opacity: 0;
top: calc(50% - 175px);
left: calc(50% - 175px);
}
}
#tabbar {
border-right: 1px solid #e0e0e0;
box-shadow: none !important;
background-color: #e0e0e0;
}
.tab {
background-color: transparent;
border-color: #bdbdbd;
box-shadow: none !important;
}
.tab .label {
color: rgba(100,100,100,0.75) !important;
}
.tab:hover {
background-color: #E0E0E0 !important;
}
.tab:hover .label {
color: rgba(100,100,100,1) !important;
}
.tab.discarded {
background-color: transparent;
}
.tab.discarded .label {
color: rgba(100,100,100,0.3) !important;
}
.tab.discarded:hover {
background-color: #e9e9e9 !important;
}
.tab.discared:hover .label {
color: rgba(100,100,100,0.5) !important;
}
.tab.active {
background-color: #9E9E9E;
}
.tab.active .label {
font-weight: bold;
color: rgba(250,250,250,1) !important;
}
.tab.active:hover {
background-color: #9E9E9E !important;
}
/* Adjust style for tab that has sound playing. */
.tab.sound-playing .favicon::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
border-radius: 50%;
background: #FFFFFF;
animation: pulse 2s ease-out 0s infinite;
z-index: -1;
opacity: 0;
}
/* Adjust style for tab that is muted. */
.tab.muted {
opacity: 0.5;
}