summaryrefslogtreecommitdiff
path: root/xpi/content/css/tabsontop_off2.css
blob: 508a9950e244a784dc80a10aa977cb8e17efa475 (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
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

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

	/* toolbars above navigator-toolbox (only one at a time can visible anyway) */
	#print-preview-toolbar,
	#printedit-toolbar,
	#titlebar {
	  -moz-box-ordinal-group: 0 !important;
	}
	
	/* START: navigator-toolbox toolbars */
	#navigator-toolbox #toolbar-menubar {
	  -moz-box-ordinal-group: 1 !important;
	}
	#navigator-toolbox #nav-bar {
	  -moz-box-ordinal-group: 2 !important;
	}
	#navigator-toolbox toolbar[id^=ctraddon_extra-bar] {
	  -moz-box-ordinal-group: 3 !important;
	}
	#navigator-toolbox #PersonalToolbar {
	  -moz-box-ordinal-group: 4 !important;
	}
	/* other toolbars like google, amazon etc.*/
	#navigator-toolbox toolbar {
	  -moz-box-ordinal-group: 10 !important;
	}
	#navigator-toolbox #TabsToolbar {
	  -moz-box-ordinal-group: 100 !important;
	}
	/* END: navigator-toolbox toolbars */

	/* exclude CTRs prefwindow */
	#main-window[chromehidden~="menubar"][title^="about:preferences"][tabsontop="false"] #titlebar{
	  margin-bottom:0px !important;
	}

	#TabsToolbar,
	#TabsToolbar:not(:-moz-lwtheme),
	#main-window[tabsintitlebar][chromehidden~="menubar"][sizemode="normal"]:not([inFullscreen])[tabsontop="false"] #toolbar-menubar ~ #TabsToolbar,
	#main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen])[tabsontop="false"] #toolbar-menubar[autohide="true"][inactive] ~ #TabsToolbar,
	#main-window[tabsintitlebar][sizemode="normal"][tabsontop="false"] #toolbar-menubar[autohide="true"][inactive="true"]:not([customizing="true"]) ~ #TabsToolbar{
	  margin-top: 0px !important;
	}
	
	#main-window:-moz-lwtheme #navigator-toolbox::after {
	  background: none !important; 
	}

	#main-window[tabsintitlebar] #TabsToolbar .titlebar-placeholder{
	  visibility: collapse !important;
	}
	
	#tabbrowser-tabs .tab-drop-indicator {
	  margin-bottom:0px !important;
	}
	
	/* Windows 10 tweaks */
	@media (-moz-os-version: windows-win10) {
	  #main-window[defaultfxtheme="true"][tabsontop="false"] #TabsToolbar:not(:-moz-lwtheme) {
		margin-bottom: -1px !important;
	  }
	  #main-window[defaultfxtheme="true"][tabsontop="false"] #TabsToolbar:-moz-lwtheme {
		margin-bottom: -2px !important;
	  }
	}

	/* Personas support */
	#nav-bar:-moz-lwtheme {
	  background-image: none !important;
	  box-shadow: none !important;
	  border: none !important;
	}
	
	/* force min/max/close to be accessible*/
	#titlebar-buttonbox {
	  z-index: 99999 !important;
	}

}