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

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

	#main-window:not([defaultfxtheme="true"]) #notification-popup-box[hidden] + *,
	#main-window:not([defaultfxtheme="true"]) #notification-popup-box + .notification-anchor-icon {
	  -moz-padding-start: 0px !important;
	  transition: none !important;
	}
	
	#main-window[defaultfxtheme="true"] #notification-popup-box + .notification-anchor-icon{
	  -moz-padding-start: 5px !important;
	  transition: none !important;
	}

	#main-window[defaultfxtheme="true"] #notification-popup-box[hidden] + * {
	  -moz-padding-start: 2px !important;
	  transition: none !important;
	}
	
	#main-window[fx42plus="true"][defaultfxtheme="true"] #nav-bar #notification-popup-box[hidden] + * {
	  -moz-padding-start: 4px !important;
	  -moz-padding-end: 3px !important;
	}

	#main-window[defaultfxtheme="true"] #notification-popup-box:not([hidden]) {
	  padding-left:0px !important;
	  padding-right:0px !important;
	  transition: none !important;
	}
	
	@media (-moz-os-version: windows-win10) {
	  #main-window[fx40plus="true"]:not([fx42plus="true"])[defaultfxtheme="true"] #notification-popup-box[hidden] + * {
		-moz-padding-start: 0px !important;
	  }
	
	  #main-window[fx42plus="true"][defaultfxtheme="true"] #nav-bar #notification-popup-box[hidden] + * {
		-moz-padding-start: 4px !important;
	  }
	}
	
	/* START: urlbar border tweaking (default theme does not provide left urlbar border) */
	#main-window[fx42plus="true"][defaultfxtheme="true"] #urlbar {
	  min-height: 24px;
	}

	#main-window[defaultfxtheme="true"] #urlbar,
	#main-window[defaultfxtheme="true"] .searchbar-textbox {
	  border: 1px solid ThreeDShadow !important;
	}
	@media (-moz-windows-default-theme) {
	  #main-window[defaultfxtheme="true"] #urlbar,
	  #main-window[defaultfxtheme="true"] .searchbar-textbox {
		border-color: rgba(0,0,0,.32) !important;
	  }
	}
	#main-window[defaultfxtheme="true"] #urlbar:-moz-lwtheme,
	#main-window[defaultfxtheme="true"] .searchbar-textbox:-moz-lwtheme {
	  border-color: rgba(0,0,0,.32) !important;
	}
	@media (-moz-windows-default-theme) {
	  #main-window[defaultfxtheme="true"] #urlbar:not(:-moz-lwtheme),
	  #main-window[defaultfxtheme="true"] .searchbar-textbox:not(:-moz-lwtheme) {
		border-color: hsla(210,54%,20%,.25) hsla(210,54%,20%,.27) hsla(210,54%,20%,.3) hsla(210,54%,20%,.27) !important;
	  }

	  #main-window[defaultfxtheme="true"] #urlbar:not(:-moz-lwtheme)[focused],
	  #main-window[defaultfxtheme="true"] .searchbar-textbox:not(:-moz-lwtheme)[focused] {
		border-color: Highlight !important;
	  }
	}
	
	@media (-moz-os-version: windows-win10) {
		#main-window[defaultfxtheme="true"] #urlbar,
		#main-window[defaultfxtheme="true"] .searchbar-textbox {
		  border: 1px solid hsl(0,0%,90%) !important;
		}
		@media (-moz-windows-default-theme) {
		  #main-window[defaultfxtheme="true"] #urlbar,
		  #main-window[defaultfxtheme="true"] .searchbar-textbox {
			border-color: hsl(0,0%,90%) !important;
		  }
		}
		#main-window[defaultfxtheme="true"] #urlbar:-moz-lwtheme,
		#main-window[defaultfxtheme="true"] .searchbar-textbox:-moz-lwtheme {
		  border-color: rgba(0,0,0,.32) !important;
		}
		@media (-moz-windows-default-theme) {
		  #main-window[defaultfxtheme="true"] #urlbar:not(:-moz-lwtheme),
		  #main-window[defaultfxtheme="true"] .searchbar-textbox:not(:-moz-lwtheme) {
			border-color: hsl(0,0%,90%) !important;
		  }
		  #main-window[defaultfxtheme="true"] #urlbar:hover:not(:-moz-lwtheme),
		  #main-window[defaultfxtheme="true"] .searchbar-textbox:hover:not(:-moz-lwtheme) {
			border-color: hsl(0,0%,80%) !important;
		  }
		  #main-window[defaultfxtheme="true"] #urlbar:not(:-moz-lwtheme)[focused],
		  #main-window[defaultfxtheme="true"] .searchbar-textbox:not(:-moz-lwtheme)[focused] {
			border-color: Highlight !important;
		  }
		}
	}
	/* END: urlbar border tweaking (default theme does not provide left urlbar border) */
	
	#main-window:not([fx31="true"]) #urlbar-container > #urlbar-wrapper > #urlbar,
	#main-window:not([fx31="true"]) #urlbar-container[forwarddisabled] > #urlbar-wrapper > #urlbar {
	  margin-left: 4px !important;
	}
	
	#main-window[fx31="true"] #urlbar-container > #urlbar-wrapper > #urlbar,
	#main-window[fx31="true"] #urlbar-container[forwarddisabled] > #urlbar-wrapper > #urlbar {
	  margin-left: 8px !important;
	}

}