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
|
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
/*@-moz-document url(chrome://browser/content/browser.xul){*/
/* tab colors */
.tabs-newtab-button:not(:-moz-lwtheme),
.tabbrowser-tab:not(:-moz-lwtheme) .tab-content {
background-image: linear-gradient(transparent, hsla(0,0%,45%,.1) 1px, hsla(0,0%,32%,.2) 80%, hsla(0,0%,0%,.2)),
linear-gradient(-moz-dialog, -moz-dialog) !important;
}
.tabs-newtab-button:hover:not(:-moz-lwtheme),
.tabbrowser-tab:not([selected]):hover:not(:-moz-lwtheme) .tab-content {
background-image: linear-gradient(hsla(0,0%,100%,.3) 1px, hsla(0,0%,75%,.2) 80%, hsla(0,0%,60%,.2)),
linear-gradient(-moz-dialog, -moz-dialog) !important;
}
.tabbrowser-tab[selected]:not(:-moz-lwtheme) .tab-content {
background-image: linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,.4) 50%),
linear-gradient(-moz-dialog, -moz-dialog) !important;
}
.tabbrowser-tab:not(:-moz-lwtheme):not([selected=true]):not(:hover),
.tabbrowser-tab:not(:-moz-lwtheme):not([selected=true]):hover {
color:black !important;
}
/* tab colors lightweight theme */
.tabbrowser-tab[selected]:-moz-lwtheme .tab-content {
background-image: linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,.46) 50%) !important;
}
/* tab tweaks */
.tabbrowser-tab .tab-stack {
-moz-appearance: none !important;
margin-top: 0px !important;
margin-bottom: -5px !important;
}
#TabsToolbar .tabbrowser-tab .tab-content{
-moz-appearance: none !important;
-moz-border-image: none !important;
margin: 0 0 5px 0 !important;
}
/* lightweight theme tweaks*/
#navigator-toolbox #TabsToolbar:-moz-lwtheme{
box-shadow:none !important;
border-bottom: 1px solid transparent !important;
}
#navigator-toolbox #nav-bar:-moz-lwtheme{
box-shadow:none !important;
border-top: 1px solid transparent !important;
}
/* Windows 10 tweaks */
@media (-moz-os-version: windows-win10) {
#main-window #navigator-toolbox #TabsToolbar:-moz-lwtheme,
#main-window[defaultfxtheme="true"][fx32plus="true"] #TabsToolbar:not(:-moz-lwtheme),
#main-window[defaultfxtheme="true"][fx32plus="true"] #TabsToolbar:-moz-lwtheme {
border-bottom: 0 !important;
}
}
/* other */
#TabsToolbar:not(:-moz-lwtheme){
box-shadow:none !important;
border-bottom: 1px solid transparent !important;
}
#navigator-toolbox #nav-bar:not(:-moz-lwtheme){
box-shadow:none !important;
/*border-top: 1px solid transparent !important;*/
}
@media (-moz-os-version: windows-win10) {
#main-window[fx40plus="true"] #navigator-toolbox #nav-bar:not(:-moz-lwtheme){
box-shadow:none !important;
border-top: 1px solid rgba(0,0,0,.2) !important;
}
}
/* Tabs toolbar tab close button (Fx31+) */
#ctraddon_tabs-closebutton{
-moz-image-region: rect(0, 16px, 16px, 0) !important;
-moz-appearance: none !important;
border: none !important;
padding: 0px !important;
list-style-image: url("chrome://classic_theme_restorer/content/images/close.png") !important;
}
#ctraddon_tabs-closebutton:hover{
-moz-image-region: rect(0, 32px, 16px, 16px) !important;
}
#ctraddon_tabs-closebutton:hover:active {
-moz-image-region: rect(0, 48px, 16px, 32px) !important;
}
/* Tab close button */
.tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button {
-moz-appearance: none !important;
-moz-image-region: rect(0, 64px, 16px, 48px) !important;
border: none !important;
padding: 0px !important;
list-style-image: url("chrome://classic_theme_restorer/content/images/close.png") !important;
}
.tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button:hover,
.tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button:hover[selected="true"] {
-moz-image-region: rect(0, 32px, 16px, 16px) !important;
}
.tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button:hover:active,
.tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button:hover:active[selected="true"] {
-moz-image-region: rect(0, 48px, 16px, 32px) !important;
}
.tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button[selected="true"] {
-moz-image-region: rect(0, 16px, 16px, 0) !important;
}
#TabsToolbar .close-icon > .toolbarbutton-icon {
width: 16px !important;
}
/*TabUtilities autoreload extra*/
.tabbrowser-tab:not([pinned]):not([protected])[autoReload] .tab-close-button:hover,
.tabbrowser-tab:not([pinned]):not([protected])[autoReload] .tab-close-button:hover[selected="true"] {
-moz-image-region: rect(0, 32px, 16px, 16px) !important;
border: none !important;
padding: 0px !important;
list-style-image: url("chrome://classic_theme_restorer/content/images/close.png") !important;
}
.tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox {
-moz-padding-start: 3px !important;
}
.tabs-newtab-button{
margin-right:-12px !important;
}
/* TU workaround */
#PinnedTabsBarItems {
-moz-margin-start:-15px !important;
-moz-margin-end:0px !important;
}
#tabbrowser-tabs[overflow] #PinnedTabsBarItems {
-moz-margin-end:-15px !important;
}
/**/
/*}*/
|