summaryrefslogtreecommitdiff
path: root/xpi/content/css/tabs_curvedall.css
blob: 7fabd4ab19e66c77b341d012d46cfec1991bd67a (plain)
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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

@-moz-document url(chrome://browser/content/browser.xul){

	#titlebar-placeholder-on-TabsToolbar-for-captions-buttons:not(:-moz-lwtheme){
	  -moz-margin-start: 0px !important;
	}
	
	#main-window[tabsintitlebar][sizemode="normal"] #toolbar-menubar[autohide="true"][inactive="true"]:not([customizing="true"]) ~ #TabsToolbar:not(:-moz-lwtheme) #ctraddon_appbutton{
	  margin-left:-2px !important;
	}
	
	.tab-background-start[visuallyselected=true]:-moz-locale-dir(ltr):not(:-moz-lwtheme)::before,
	.tab-background-end[visuallyselected=true]:-moz-locale-dir(rtl):not(:-moz-lwtheme)::before,
	.tab-background-end[visuallyselected=true]:-moz-locale-dir(ltr):not(:-moz-lwtheme)::before,
	.tab-background-start[visuallyselected=true]:-moz-locale-dir(rtl):not(:-moz-lwtheme)::before {
	  background-image: unset !important;
	}
	.tab-background-middle[visuallyselected=true]:not(:-moz-lwtheme) {
	  background-color: unset !important;
	  background-image: unset !important;
	}

	.tab-background-start[visuallyselected=true]:-moz-locale-dir(ltr):not(:-moz-lwtheme)::before,
	.tab-background-end[visuallyselected=true]:-moz-locale-dir(rtl):not(:-moz-lwtheme)::before ,
	.tab-background-end[visuallyselected=true]:-moz-locale-dir(ltr):not(:-moz-lwtheme)::before,
	.tab-background-start[visuallyselected=true]:-moz-locale-dir(rtl):not(:-moz-lwtheme)::before,
	.tab-background-start[visuallyselected=true]:-moz-locale-dir(ltr):not(:-moz-lwtheme)::after,
	.tab-background-end[visuallyselected=true]:-moz-locale-dir(rtl):not(:-moz-lwtheme)::after,
	.tab-background-end[visuallyselected=true]:-moz-locale-dir(ltr):not(:-moz-lwtheme)::after,
	.tab-background-start[visuallyselected=true]:-moz-locale-dir(rtl):not(:-moz-lwtheme)::after,
	.tab-background-middle[visuallyselected=true]:not(:-moz-lwtheme),
	.tabbrowser-tab:not(:-moz-lwtheme):hover > .tab-stack > .tab-background:not([visuallyselected=true]),
	/*.tabbrowser-tab:not(:-moz-lwtheme)[pinned][titlechanged]:not([visuallyselected="true"]) > .tab-stack > .tab-content,*/
	#tabbrowser-tabs:not(:-moz-lwtheme)::before {
	  background-image: none !important;
	}

	.tabbrowser-tab:hover > .tab-stack > .tab-background > .tab-background-middle:not([selected=true]):not(:-moz-lwtheme),
	.tabbrowser-tab:hover > .tab-stack > .tab-background > .tab-background-start:not([selected=true]):not(:-moz-lwtheme),
	.tabbrowser-tab:hover > .tab-stack > .tab-background > .tab-background-end:not([selected=true]):not(:-moz-lwtheme),
	.tabbrowser-tab:hover > .tab-stack > .tab-background > .tab-background-start:not([selected=true]):not(:-moz-lwtheme),
	.tabbrowser-tab:hover > .tab-stack > .tab-background > .tab-background-end:not([selected=true]):not(:-moz-lwtheme),
	.tabbrowser-tab:not(:-moz-lwtheme) .tab-background-middle[selected=true],
	.tabbrowser-tab:not(:-moz-lwtheme) .tab-background-start[selected=true]::before,
	.tabbrowser-tab:not(:-moz-lwtheme) .tab-background-end[selected=true]::before,
	.tabbrowser-tab:hover:not(:-moz-lwtheme) > .tab-stack > .tab-background:not([selected=true]){
	  background:none !important;
	}
	
	.tabbrowser-tab:not(:-moz-lwtheme) .tab-background-start[selected=true]:-moz-locale-dir(ltr)::after,
	.tabbrowser-tab:not(:-moz-lwtheme) .tab-background-end[selected=true]:-moz-locale-dir(rtl)::after,
	.tabbrowser-tab:not(:-moz-lwtheme) .tab-background-start[selected=true]:-moz-locale-dir(rtl)::after,
	.tabbrowser-tab:not(:-moz-lwtheme) .tab-background-end[selected=true]:-moz-locale-dir(ltr)::after{
	  content:none !important;
	}
	
	#TabsToolbar:not(:-moz-lwtheme)::after,
	#TabsToolbar:not(:-moz-lwtheme)::before {
	  box-shadow: none !important;
	}
	
	#main-window[fx51plus="true"] .tabbrowser-tab::after,
	#main-window[fx51plus="true"] .tabbrowser-tab::before {
	  opacity: 0 !important;
	}

	#tabbrowser-tabs[movingtab] > .tabbrowser-tab[beforeselected]:not([last-visible-tab])::after:not(:-moz-lwtheme),
	.tabbrowser-tab:not([selected]):not([afterselected-visible]):not([afterhovered]):not([first-visible-tab]):not(:hover)::before:not(:-moz-lwtheme),
	#tabbrowser-tabs:not([overflow]) > .tabbrowser-tab[last-visible-tab]:not([selected]):not([beforehovered]):not(:hover)::after:not(:-moz-lwtheme) {
	  background-image: none !important;
	  background-color: unset !important;
	}

    .tabs-newtab-button:not(:-moz-lwtheme) {
      -moz-margin-start: -20px !important;
      background: url("chrome://classic_theme_restorer/content/images/atab.png") 3px 0px no-repeat !important;
    }
    .tabs-newtab-button:hover:not(:-moz-lwtheme) {
      background: url("chrome://classic_theme_restorer/content/images/atab_hov.png") 3px 0px no-repeat !important;
    }
	
	#main-window[tabsontop='false'] .tabs-newtab-button:not(:-moz-lwtheme) {
      -moz-margin-start: -20px !important;
      background: url("chrome://classic_theme_restorer/content/images/atab.png") 3px 1px no-repeat !important;
    }
    #main-window[tabsontop='false'] .tabs-newtab-button:hover:not(:-moz-lwtheme) {
      background: url("chrome://classic_theme_restorer/content/images/atab_hov.png") 3px 1px no-repeat !important;
    }

    .tabbrowser-tab:not(:-moz-lwtheme) .tab-content {
      border: solid transparent;
      border-width: 2px 28px;
      -moz-margin-start: -20px;
      -moz-margin-end: -10px;
    }
    
    .tabbrowser-tab:not([pinned]):not(:-moz-lwtheme) .tab-close-button {
      pointer-events: auto;
      -moz-margin-end: -16px !important;
    }

    .tabbrowser-tab:not(:-moz-lwtheme) .tab-text {
      -moz-margin-start: -4px !important;
	  -moz-margin-end: -6px !important;
    }

    .tabbrowser-tab:not([pinned]):not(:-moz-lwtheme) .tab-icon-image,
    .tabbrowser-tab:not([pinned]):not(:-moz-lwtheme) .tab-throbber {
      pointer-events: auto;
      -moz-margin-start: -16px !important;
    }
    .tabbrowser-tab[pinned]:not(:-moz-lwtheme) .tab-icon-image,
    .tabbrowser-tab[pinned]:not(:-moz-lwtheme) .tab-throbber {
      pointer-events: auto;
      margin-left: -16px !important;
      margin-right: -16px !important;
	  max-width:16px !important;
    }

    .tabbrowser-tab[pinned]:not(:-moz-lwtheme) .tab-text {
      visibility: collapse !important;
    }

    .tabbrowser-tab:not(:-moz-lwtheme) > .tab-stack > .tab-content {
      -moz-border-image: url("chrome://classic_theme_restorer/content/images/atab.png") 2 28 fill repeat stretch !important;
      border-style:solid;
    }
    
    .tabbrowser-tab:hover:not(:-moz-lwtheme) > .tab-stack > .tab-content:not([selected="true"]) {
      -moz-border-image: url("chrome://classic_theme_restorer/content/images/atab_hov.png") 2 28 fill repeat stretch !important;
      border-style:solid;
    }
    
    .tabbrowser-tab:not(:-moz-lwtheme) > .tab-stack > .tab-content[selected="true"] {
      -moz-border-image: url("chrome://classic_theme_restorer/content/images/atab_act.png") 2 28 fill repeat stretch !important;
      border-style:solid;
    }
    
    #tabbrowser-tabs::before:not(:-moz-lwtheme),
	#tabbrowser-tabs::after:not(:-moz-lwtheme) {
      content: '';
      display: block;
      background-image:
        url(chrome://classic_theme_restorer/content/images/atab.png),
        url(chrome://classic_theme_restorer/content/images/atab_act.png),
        url(chrome://classic_theme_restorer/content/images/atab_hov.png),
		url(chrome://classic_theme_restorer/content/images/atab_tc.png),
		url(chrome://classic_theme_restorer/content/images/atab_hov_tc.png);
    }
 
	.tabbrowser-tab[pinned][titlechanged]:not(:-moz-lwtheme) > .tab-stack > .tab-content:not([selected="true"]) {
      -moz-border-image: url("chrome://classic_theme_restorer/content/images/atab_tc.png") 2 28 fill repeat stretch !important;
      border-style:solid;
    }
	
    .tabbrowser-tab[pinned][titlechanged]:hover:not(:-moz-lwtheme) > .tab-stack > .tab-content:not([selected="true"]) {
      -moz-border-image: url("chrome://classic_theme_restorer/content/images/atab_hov_tc.png") 2 28 fill repeat stretch !important;
      border-style:solid;
    }
	
	/* Tabs toolbar tab close button (Fx31+) */
	#ctraddon_tabs-closebutton:not(:-moz-lwtheme){
	  -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:not(:-moz-lwtheme):hover{
	  -moz-image-region: rect(0, 32px, 16px, 16px) !important;
	}
	#ctraddon_tabs-closebutton:not(:-moz-lwtheme):hover:active {
	  -moz-image-region: rect(0, 48px, 16px, 32px) !important;
	}
	
	/* Tab close button */
	.tabbrowser-tab:not(:-moz-lwtheme):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(:-moz-lwtheme):not([pinned]):not([protected]):not([autoReload]) .tab-close-button:hover,
	.tabbrowser-tab:not(:-moz-lwtheme):not([pinned]):not([protected]):not([autoReload]) .tab-close-button:hover[selected="true"] {
	  -moz-image-region: rect(0, 32px, 16px, 16px) !important;
	}
	
	.tabbrowser-tab:not(:-moz-lwtheme):not([pinned]):not([protected]):not([autoReload]) .tab-close-button:hover:active,
	.tabbrowser-tab:not(:-moz-lwtheme):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(:-moz-lwtheme):not([pinned]):not([protected]):not([autoReload]) .tab-close-button[selected="true"] {
	  -moz-image-region: rect(0, 16px, 16px, 0) !important;
	}
	
	/*TabUtilities autoreload extra*/
	.tabbrowser-tab:not(:-moz-lwtheme):not([pinned]):not([protected])[autoReload] .tab-close-button:hover,
	.tabbrowser-tab:not(:-moz-lwtheme):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;
	}
	
	/* remove ridiculous clipping */
	#main-window[tabsintitlebar]:not([sizemode="maximized"]):not([inFullscreen]) #toolbar-menubar:-moz-any([autohide="true"][inactive],:not([autohide])) + #TabsToolbar:not(:-moz-lwtheme) .tab-background-middle:not([selected=true]) {
	  clip-path: none !important;
	}

	/* TabMixPlus pinned tabs: icon size fix*/
    #main-window[tabmix_lwt="true"] .tabbrowser-tab[pinned]:not(:-moz-lwtheme) .tab-icon-image,
    #main-window[tabmix_lwt="true"] .tabbrowser-tab[pinned]:not(:-moz-lwtheme) .tab-throbber,
	#main-window[tabmix_lwt="false"] .tabbrowser-tab[pinned]:not(:-moz-lwtheme) .tab-icon-image,
    #main-window[tabmix_lwt="false"] .tabbrowser-tab[pinned]:not(:-moz-lwtheme) .tab-throbber {
	  padding-left: 8px !important;
	  padding-right: 8px !important;
	}
	
	.tabbrowser-tab:not([pinned])[locked] .tab-throbber{
	  -moz-margin-start:-3px !important;
	  -moz-margin-end:3px !important;
	}

	/*Faviconise tab add-on */
	#tabbrowser-tabs:not(:-moz-lwtheme) .tabbrowser-tab[faviconized="true"] .tab-icon-image{
	  -moz-margin-start:-12px !important;
	  -moz-margin-end:-14px !important;
	}
}

@-moz-document url(chrome://classic_theme_restorer/content/options.xul) {
	.tabcolorbox,
	.tabhovcolorbox,
	.tabactcolorbox,
	#ntabcolorbox,
	#ntabhovcolorbox,
	#ctraddon_customsqtab_cb,
	#ctraddon_ccap_t_default{
	  visibility: collapse !important;
	}
	
	#ctraddon_ccap_t_curvedaero{
	  visibility: visible !important;
	}
}