@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@namespace html url("http://www.w3.org/1999/xhtml");
+@namespace svg url("http://www.w3.org/2000/svg");
toolbar {
-moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar");
/* margin-top: 3px;*/
}
-#main-window[tabsintitlebar][sizemode="normal"][chromehidden~="menubar"] #toolbar-menubar ~ #TabsToolbar,
-#main-window[tabsintitlebar][sizemode="normal"] #toolbar-menubar[autohide="true"][inactive] ~ #TabsToolbar {
+#main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen])[chromehidden~="menubar"] #toolbar-menubar ~ #TabsToolbar,
+#main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen]) #toolbar-menubar[autohide="true"][inactive] ~ #TabsToolbar {
/* margin-top: 15px;*/
}
visibility: visible;
}
-/* Make the menu inherit the toolbar's color. On non-compositor (Aero Basic, XP modern, classic)
- * this is defined above, but only for tabsintitlebar. Otherwise (Aero Glass, Windows 8),
- * this is hardcoded to black in browser-aero.css, even without tabsintitlebar. */
- #main-window[tabsintitlebar] #main-menubar > menu:not(:-moz-lwtheme) {
-/* color: inherit; */
- }
-
#nav-bar {
/* Position the toolbar above the bottom of background tabs */
position: relative;
* themes with Aero Glass.
*/
#titlebar-buttonbox {
- margin-top: 5px;
+ -moz-appearance: none;
+ margin-top: 6px;
+ margin-top: 4px;
-moz-margin-end: 3px;
z-index: 1;
}
}
#nav-bar .toolbarbutton-1 > menupopup.cui-widget-panel {
-/* margin-top: -8px;*/
+ margin-top: -4px;
}
#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
#nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container,
#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
-window:not([chromehidden~="toolbar"]) #urlbar-container > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
/* padding: 2px 6px;
border: 1px solid;
border-color: transparent;
*/
}
-window:not([chromehidden~="toolbar"]) #urlbar-container > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
}
+#nav-bar .toolbarbutton-1:not([disabled=true]) > .toolbarbutton-menubutton-button[open] + .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
#nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-icon,
#nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-text,
#nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-badge-container,
-window:not([chromehidden~="toolbar"]) #urlbar-container > #forward-button:not([open]):not(:active):not([disabled=true]):hover > .toolbarbutton-icon,
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button:not([open]):not(:active):not([disabled=true]):hover > .toolbarbutton-icon,
#nav-bar .toolbarbutton-1:not([buttonover]):not([open]):not(:active):hover > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon {
}
-#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):hover:active > .toolbarbutton-icon,
+#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):-moz-any(:hover:active, [open]) > .toolbarbutton-icon,
#nav-bar .toolbarbutton-1[open] > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon,
#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-icon,
#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-text,
border-radius: 10000px 0 0 10000px;
}
+/* pre-31 forward button */
window:not([chromehidden~="toolbar"]) #urlbar-container:not([switchingtabs]) > #forward-button {
transition: opacity 150ms ease-out;
}
visibility: hidden;
}
+/* post-31 forward button */
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #forward-button {
+ transition: margin-left,opacity 150ms ease-out;
+}
+
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] {
+ margin-left: -30px !important;
+ opacity: 0;
+}
+
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] {
+ /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */
+ transition-delay: 100s;
+}
+
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] {
+ /* when not hovered anymore, trigger a new transition to hide the forward button immediately */
+ margin-left: -30.01px !important;
+ opacity: 0;
+}
+
#back-button {
/* padding-top: 3px !important;
padding-bottom: 3px !important;
box-shadow: 0 1px 0 0 hsla(210,80%,20%,.1) inset !important;*/
}
-#back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
-#forward-button:-moz-locale-dir(rtl) {
+#back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
transform: scaleX(-1);
}
/*
/* background-color: white;*/
}
+/* pre-31 forward button */
window:not([chromehidden~="toolbar"]) #urlbar-container > #urlbar-wrapper {
padding-left: 22px;
-moz-margin-start: -22px;
pointer-events: all;
}
+/* The next rule is a workaround to deal with the above rules in post-31 */
+window:not([chromehidden~="toolbar"]) #urlbar-container > #urlbar-wrapper > #forward-button {
+ pointer-events: all;
+}
+
window:not([chromehidden~="toolbar"]) #urlbar-container:not([switchingtabs]) > #urlbar-wrapper > #urlbar {
transition: margin-left 150ms ease-out;
}
transform: scaleX(-1);
}
+/* post-31 forward button */
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar {
+ -moz-border-start: none;
+/* margin-left: 0;*/
+}
+
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(ltr) {
+/* border-top-left-radius: 0;
+ border-bottom-left-radius: 0; */
+}
+
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
+/* border-top-right-radius: 0;
+ border-bottom-right-radius: 0; */
+}
+
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
+/* clip-path: url("chrome://browser/content/browser.xul#urlbar-back-button-clip-path");*/
+ -moz-margin-start: -5px;
+}
+
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl),
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
+ /* let urlbar-back-button-clip-path clip the urlbar's right side for RTL */
+ transform: scaleX(-1);
+}
+
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl) {
+ -moz-box-direction: reverse;
+}
+
html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
.searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder {
color: #E7ADE7;
border-radius: 0;
}
-window:not([chromehidden~="toolbar"]) #urlbar-container > #urlbar-wrapper > #urlbar > #identity-box {
+window:not([chromehidden~="toolbar"]) #urlbar-container > #urlbar-wrapper > #urlbar > #identity-box,
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box {
/* border-radius: 0; */
-moz-padding-start: 2px;
-moz-padding-end: 2px;
-moz-margin-end: 1px;
}
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #urlbar > #identity-box {
+ transition: padding-left, padding-right;
+}
+
window:not([chromehidden~="toolbar"]) #urlbar-container[forwarddisabled] > #urlbar-wrapper > #urlbar >
+ #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr),
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
#notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
padding-left: 2px;
- transition: padding-left;
+ transition: padding-left; /* pre-31 */
}
-window:not([chromehidden~="toolbar"]) #urlbar-container[forwarddisabled] > #urlbar-wrapper > #urlbar >
+window:not([chromehidden~="toolbar"]) #urlbar-container[forwarddisabled] > #urlbar-wrapper > #urlbar >
+ #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl),
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
#notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
padding-right: 2px;
- transition: padding-right;
+ transition: padding-right; /* pre-31 */
}
-window:not([chromehidden~="toolbar"]) #urlbar-container[forwarddisabled]:hover:not([switchingtabs]) > #urlbar-wrapper > #urlbar >
+window:not([chromehidden~="toolbar"]) #urlbar-container[forwarddisabled]:hover:not([switchingtabs]) > #urlbar-wrapper > #urlbar >
+ #notification-popup-box[hidden] + #identity-box,
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] + #urlbar >
#notification-popup-box[hidden] + #identity-box {
/* forward button hiding is delayed when hovered */
transition-delay: 100s;
}
-window:not([chromehidden~="toolbar"]) #urlbar-container[forwarddisabled]:not(:hover) > #urlbar-wrapper > #urlbar >
+window:not([chromehidden~="toolbar"]) #urlbar-container[forwarddisabled]:not(:hover) > #urlbar-wrapper > #urlbar >
+ #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr),
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
#notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
/* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
padding-left: 2.01px;
}
-window:not([chromehidden~="toolbar"]) #urlbar-container[forwarddisabled]:not(:hover) > #urlbar-wrapper > #urlbar >
+window:not([chromehidden~="toolbar"]) #urlbar-container[forwarddisabled]:not(:hover) > #urlbar-wrapper > #urlbar >
+ #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl),
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
#notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
/* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
padding-right: 2.01px;
-moz-image-region: rect(0, 42px, 14px, 28px);
}
-#urlbar-go-button:hover,
+#urlbar-go-button:hover {
-moz-image-region: rect(14px, 42px, 28px, 28px);
}
/* End selected tab */
-/* Background tabs */
-
-/* Decrease the height of the hoverable region of background tabs whenever the tabs are at the top
- of the window (e.g. no menubar, tabs in titlebar, etc.) to make it easier to drag the window by
- the titlebar. We don't need this in fullscreen since window dragging is not an issue there. */
-#main-window[tabsintitlebar]:not([sizemode="maximized"]):not([inFullscreen]) #toolbar-menubar:-moz-any([autohide="true"][inactive], :not([autohide])) + #TabsToolbar .tab-background-middle:not([selected=true]) {
-}
-
-/* End background tabs */
-
/* Tab pointer-events */
/*
.tabbrowser-tab {
/* === END tabs.inc.css === */
+/* Background tabs:
+ *
+ * Decrease the height of the hoverable region of background tabs whenever the tabs are at the top
+ * of the window (e.g. no menubar, tabs in titlebar, etc.) to make it easier to drag the window by
+ * the titlebar. We don't need this in fullscreen since window dragging is not an issue there.
+ */
+#main-window[tabsintitlebar][sizemode=normal] #toolbar-menubar[autohide="true"][inactive] + #TabsToolbar .tab-background-middle:not([selected=true]) {
+/* clip-path: url(chrome://browser/content/browser.xul#tab-hover-clip-path);*/
+}
+
/* Tab DnD indicator */
.tab-drop-indicator {
list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-lwtheme-brighttext,
.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-lwtheme-brighttext {
}
-
+
.tabbrowser-arrowscrollbox > .scrollbutton-up[disabled],
.tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] {
}
list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png");
}
+.popup-notification-icon[popupid="webRTC-sharingMicrophone"],
+.popup-notification-icon[popupid="webRTC-shareMicrophone"] {
+ list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-64.png");
+}
+
.popup-notification-icon[popupid="pointerLock"] {
list-style-image: url("chrome://browser/skin/pointerLock-64.png");
}
/* Notification icon box */
+#notification-popup .panel-promo-box {
+/* margin: 10px -10px -10px; */
+}
+
#notification-popup-box {
position: relative;
background-color: #000000;
border-right-width: 8px;
}
-window:not([chromehidden~="toolbar"]) #urlbar-container[forwarddisabled] > #urlbar-wrapper > #urlbar > #notification-popup-box {
+window:not([chromehidden~="toolbar"]) #urlbar-container[forwarddisabled] > #urlbar-wrapper > #urlbar > #notification-popup-box,
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper[forwarddisabled] > #urlbar > #notification-popup-box {
/* padding-left: 5px; */
}
list-style-image: url("chrome://browser/skin/webRTC-sharingDevice-16.png");
}
+.webRTC-shareMicrophone-notification-icon,
+#webRTC-shareMicrophone-notification-icon {
+ list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-16.png");
+}
+
+.webRTC-sharingMicrophone-notification-icon,
+#webRTC-sharingMicrophone-notification-icon {
+ list-style-image: url("chrome://browser/skin/webRTC-sharingMicrophone-16.png");
+}
+
.web-notifications-notification-icon,
#web-notifications-notification-icon {
list-style-image: url("chrome://browser/skin/notification-16.png");
/* Sync Panel */
.sync-panel-icon {
+ height:32px;
width: 32px;
background: url("chrome://browser/content/abouthome/sync.png") top left no-repeat;
}
#sync-error-panel-title,
#sync-start-panel-title {
+ font-size: 120%;
font-weight: bold;
+ margin-bottom: 5px;
}
#sync-start-panel-subtitle,
/* === BEGIN highlighter.inc.css === */
-/* Highlighter */
+/* Box model highlighter */
+svg|g.box-model-container {
+ opacity: 0.4;
+}
+
+svg|polygon.box-model-content {
+ fill: #008484;
+}
+
+svg|polygon.box-model-padding {
+ fill: #9C9CFF;
+}
+
+svg|polygon.box-model-border {
+ fill: #FFCF00;
+}
+
+svg|polygon.box-model-margin {
+ fill: #A09090;
+}
-.highlighter-outline {
- box-shadow: 0 0 0 1px black;
- outline: 1px dashed #A09090;
+svg|polygon.box-model-content,
+svg|polygon.box-model-padding,
+svg|polygon.box-model-border,
+svg|polygon.box-model-margin {
+ stroke: none;
+}
+
+svg|line.box-model-guide-top,
+svg|line.box-model-guide-right,
+svg|line.box-model-guide-bottom,
+svg|line.box-model-guide-left {
+ stroke: #E7ADE7;
+ stroke-dasharray: 5 3;
}
/* Highlighter - Node Infobar */
#servicesInstall-notification-icon {
list-style-image: url("chrome://browser/skin/social/services-16.png");
}
-#social-undoactivation-button,
-#servicesInstall-learnmore-link {
+#social-undoactivation-button {
-moz-margin-start: 0; /* override default label margin to match description margin */
}
#customization-titlebar-visibility-button {
list-style-image: url("chrome://browser/skin/customizableui/customize-titleBar-toggle.png");
- -moz-image-region: rect(0, 24px, 24px, 0);
- padding: 2px 7px;
+ -moz-image-region: rect(0, 16px, 16px, 0);
+ padding: 0px 5px;
-moz-margin-end: 10px;
}
+#customization-titlebar-visibility-button:hover {
+ -moz-image-region: rect(16px, 16px, 32px, 0);
+}
+
+#customization-titlebar-visibility-button > .button-box {
+ padding-top: 0;
+ padding-bottom: 1px;
+}
+
+#customization-titlebar-visibility-button:hover:active > .button-box {
+ padding-top: 1px;
+ padding-bottom: 0;
+}
+
#customization-titlebar-visibility-button > .button-box > .button-text {
/* Sadly, button.css thinks its margins are perfect for everyone. */
- -moz-margin-start: 6px !important;
+ -moz-margin-start: 5px !important;
}
#customization-titlebar-visibility-button[checked] {
- -moz-image-region: rect(0, 48px, 24px, 24px);
+ -moz-image-region: rect(0, 32px, 16px, 16px);
background-color: #008484;
}
+#customization-titlebar-visibility-button[checked]:hover {
+ -moz-image-region: rect(16px, 32px, 32px, 16px);
+ background-color: #FFCF00;
+}
+
+#customization-titlebar-visibility-button[checked]:hover:active {
+ background-color: #FF9F00;
+}
+
#customization-undo-reset-button {
-moz-margin-end: 10px;
}
#UITourTooltipButtons {
margin: 24px -4px -4px;
}
+
+/* === BEGIN contextmenu.inc.css === */
+
+menugroup > .menuitem-iconic[disabled="true"] > .menu-iconic-left {
+}
+
+#context-navigation > .menuitem-iconic {
+ -moz-box-flex: 1;
+ -moz-box-pack: center;
+ -moz-box-align: center;
+}
+
+#context-navigation > .menuitem-iconic[disabled="true"] {
+ background-color: transparent;
+}
+
+#context-navigation > .menuitem-iconic > .menu-iconic-left {
+ -moz-appearance: none;
+}
+
+#context-navigation > #context-back > .menu-iconic-left {
+ list-style-image: url("chrome://browser/skin/ToolbarFx.png");
+ -moz-image-region: rect(0, 54px, 18px, 36px);
+}
+
+#context-navigation > #context-back:not([disabled="true"]):hover > .menu-iconic-left {
+ -moz-image-region: rect(18px, 54px, 36px, 36px);
+}
+
+#context-navigation > #context-back[disabled="true"] > .menu-iconic-left {
+ -moz-image-region: rect(36px, 54px, 54px, 36px);
+}
+
+#context-navigation > #context-forward > .menu-iconic-left {
+ list-style-image: url("chrome://browser/skin/ToolbarFx.png");
+ -moz-image-region: rect(0, 72px, 18px, 54px);
+}
+
+#context-navigation > #context-forward:not([disabled="true"]):hover > .menu-iconic-left {
+ -moz-image-region: rect(18px, 72px, 36px, 54px);
+}
+
+#context-navigation > #context-forward[disabled="true"] > .menu-iconic-left {
+ -moz-image-region: rect(36px, 72px, 54px, 54px);
+}
+
+#context-navigation > #context-reload > .menu-iconic-left {
+ list-style-image: url("chrome://browser/skin/reload-stop-go.png");
+ -moz-image-region: rect(0, 14px, 14px, 0);
+}
+
+#context-navigation > #context-reload:not([disabled="true"]):hover > .menu-iconic-left {
+ -moz-image-region: rect(14px, 14px, 28px, 0);
+}
+
+#context-navigation > #context-reload[disabled="true"] > .menu-iconic-left {
+ -moz-image-region: rect(28px, 14px, 42px, 0);
+}
+
+#context-navigation > #context-stop > .menu-iconic-left {
+ list-style-image: url("chrome://browser/skin/reload-stop-go.png");
+ -moz-image-region: rect(0, 28px, 14px, 14px);
+}
+
+#context-navigation > #context-stop:not([disabled="true"]):hover > .menu-iconic-left {
+ -moz-image-region: rect(14px, 28px, 28px, 14px);
+}
+
+#context-navigation > #context-stop[disabled="true"] > .menu-iconic-left {
+ -moz-image-region: rect(28px, 28px, 42px, 14px);
+}
+
+#context-navigation > #context-bookmarkpage > .menu-iconic-left {
+ list-style-image: url("chrome://browser/skin/ToolbarFx.png");
+ -moz-image-region: rect(0, 144px, 18px, 126px);
+}
+
+#context-navigation > #context-bookmarkpage:not([disabled="true"]):hover > .menu-iconic-left {
+ -moz-image-region: rect(18px, 144px, 36px, 126px);
+}
+
+#context-navigation > #context-bookmarkpage[disabled="true"] > .menu-iconic-left {
+ -moz-image-region: rect(36px, 144px, 54px, 126px);
+}
+
+#context-back:-moz-locale-dir(rtl),
+#context-forward:-moz-locale-dir(rtl),
+#context-reload:-moz-locale-dir(rtl) {
+ transform: scaleX(-1);
+}
+
+#context-navigation > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
+ width: 18px;
+ height: 18px;
+ margin: 7px;
+}
+
+#context-navigation > #context-reload > .menu-iconic-left > .menu-iconic-icon,
+#context-navigation > #context-stop > .menu-iconic-left > .menu-iconic-icon {
+ width: 14px;
+ height: 14px;
+ margin: 9px;
+}
+
+/* === END contextmenu.inc.css === */