-moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-browsercustom");
}
+@media (-moz-mac-graphite-theme), (-moz-mac-lion-theme), (-moz-mac-yosemite-theme) {
+ /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
+ toolbar[customizable="true"]:not([nowindowdrag="true"]) {
+ -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom");
+ }
+}
+
toolbar[type="menubar"][autohide="true"] {
-moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide");
}
/* margin-top: 15px;*/
}
-#toolbar-menubar:not([autohide="true"]) {
- -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom");
+@media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) {
+ /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */
+ #toolbar-menubar:not([autohide="true"]) {
+ -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom");
+ }
+}
+
+@media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
+ /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
+ #main-window[tabsintitlebar]:not([inFullscreen="true"]) #TabsToolbar {
+ padding-left: 60px;
+ }
}
#main-window[tabsintitlebar] #toolbar-menubar .toolbar-endcap {
#navigator-toolbox > toolbar:not(:-moz-lwtheme) {
}
-@supports ( -moz-appearance:-moz-mac-unified-toolbar ){
- #navigator-toolbox {
- background-color: rebeccapurple;
- }
+#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(:-moz-lwtheme) {
}
-/* indent due to non-applicable aero rule */
- #toolbar-menubar {
- background-color: transparent !important;
- }
+@media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) {
+ /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */
+ /* Indent also due to non-applicable aero rule in original Windows theme. */
#main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme),
#main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme) {
/* like menubar */
/*color: inherit;*/
}
- #TabsToolbar:-moz-lwtheme {
- /*background: linear-gradient(to top, @toolbarShadowColor@ 2px, transparent 2px);*/
- }
-
#main-window[tabsintitlebar] #titlebar:-moz-lwtheme {
visibility: hidden;
}
-moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
visibility: visible;
}
+}
+
+@media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
+ /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
+ #titlebar-buttonbox > .titlebar-button {
+ display: none;
+ }
+}
#nav-bar {
/* Position the toolbar above the bottom of background tabs */
margin-top: 4px;
}
+@media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
+ /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
+ #main-window[sizemode="normal"] > #titlebar,
+ #main-window[sizemode="maximized"] > #titlebar {
+ margin-top: 19px;
+ /* There is a margin-bottom set to -23 by code. */
+ }
+}
+
/* The button box must appear on top of the navigator-toolbox in order for
* click and hover mouse events to work properly for the button in the restored
* window state. Otherwise, elements in the navigator-toolbox, like the menubar,
list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
}
+@media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
+ /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
+ #titlebar-fullscreen-button {
+ -moz-appearance: none;
+ list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon.png");
+ -moz-image-region: rect(0px, 16px, 16px, 0px);
+ }
+
+ #titlebar-fullscreen-button:hover {
+ -moz-image-region: rect(0px, 32px, 16px, 16px);
+ }
+
+ @media (min-resolution: 2dppx) {
+ #titlebar-fullscreen-button {
+ list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon@2x.png");
+ -moz-image-region: rect(0px, 32px, 32px, 0px);
+ }
+
+ #titlebar-fullscreen-button:hover {
+ -moz-image-region: rect(0px, 64px, 32px, 32px);
+ }
+ }
+}
+
+
/* ::::: bookmark buttons ::::: */
toolbarbutton.bookmark-item:not(.subviewbutton),
border-bottom: 1px solid #008484;
}
-#main-window:not([customizing]) #TabsToolbar:not(:-moz-lwtheme) {
-}
-
-#main-window[tabsintitlebar] #TabsToolbar {
- background-color: transparent;
-}
-
/* === BEGIN tabs.inc.css === */
.tabbrowser-tab,
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
}
-.tab-throbber {
+.tab-throbber[busy] {
list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png");
}
.notification-anchor-icon:-moz-focusring {
outline: 1px dotted #008484;
-/* outline-offset: -3px; */
}
.default-notification-icon,
margin: 0px;
}
+/* Translation infobar */
+
+/* === BEGIN infobar.inc.css === */
+
+notification[value="translation"] .messageImage {
+ list-style-image: url(chrome://browser/skin/translation-16.png);
+ -moz-image-region: rect(0, 32px, 16px, 16px);
+}
+
+@media (min-resolution: 1.25dppx) {
+ notification[value="translation"] .messageImage {
+ list-style-image: url(chrome://browser/skin/translation-16@2x.png);
+ -moz-image-region: rect(0, 64px, 32px, 32px);
+ }
+}
+
+notification[value="translation"] button,
+notification[value="translation"] menulist {
+ min-width: 0;
+}
+
+notification[value="translation"] menulist > .menulist-dropmarker {
+}
+
+/* === END infobar.inc.css === */
+
+notification[value="translation"] {
+ min-height: 40px;
+}
+
+.translate-notification-icon,
+#translate-notification-icon {
+ list-style-image: url("chrome://browser/skin/translation-16.png");
+ -moz-image-region: rect(0px, 16px, 16px, 0px);
+}
+
+.translated-notification-icon,
+#translated-notification-icon {
+ list-style-image: url("chrome://browser/skin/translation-16.png");
+ -moz-image-region: rect(0px, 32px, 16px, 16px);
+}
+
+.translation-menupopup {
+ -moz-appearance: none;
+}
+
/* Bookmarks roots menu-items */
#subscribeToPageMenuitem:not([disabled]),
#subscribeToPageMenupopup,
display: none;
}
+.developer-toolbar-button > .toolbarbutton-icon,
+#developer-toolbar-closebutton > .toolbarbutton-icon {
+ width: 16px;
+ height: 16px;
+}
+
#developer-toolbar-toolbox-button {
list-style-image: url("chrome://browser/skin/devtools/toggle-tools.png");
-moz-image-region: rect(0px, 16px, 16px, 0px);
-moz-image-region: rect(0px, 32px, 16px, 16px);
}
+@media (min-resolution: 2dppx) {
+ #developer-toolbar-toolbox-button {
+ list-style-image: url("chrome://browser/skin/devtools/toggle-tools@2x.png");
+ -moz-image-region: rect(0px, 32px, 32px, 0px);
+ }
+
+ #developer-toolbar-toolbox-button:hover,
+ #developer-toolbar-toolbox-button:hover:active,
+ #developer-toolbar-toolbox-button[checked=true] {
+ -moz-image-region: rect(0px, 64px, 32px, 32px);
+ }
+}
+
#developer-toolbar-closebutton {
list-style-image: url("chrome://browser/skin/devtools/close.png");
-moz-image-region: rect(0px, 16px, 16px, 0px);
-moz-image-region: rect(0px, 32px, 16px, 16px);
}
+@media (min-resolution: 2dppx) {
+ #developer-toolbar-closebutton {
+ list-style-image: url("chrome://browser/skin/devtools/close@2x.png");
+ -moz-image-region: rect(0px, 32px, 32px, 0px);
+ }
+
+ #developer-toolbar-closebutton:hover,
+ #developer-toolbar-closebutton:hover:active {
+ -moz-image-region: rect(0px, 64px, 32px, 32px);
+ }
+}
+
/* GCLI */
html|*#gcli-tooltip-frame,
}
.gclitoolbar-input-node {
- padding-left: 20px;
/* line-height: 32px;
outline-style: none; */
- background-image: -moz-image-rect(url("chrome://browser/skin/devtools/commandline-icon.png"), 0, 16, 16, 0);
background-repeat: no-repeat;
background-color: rgba(0, 0, 0, .75);
}
.gclitoolbar-input-node[focused="true"] {
- background-image: -moz-image-rect(url("chrome://browser/skin/devtools/commandline-icon.png"), 0, 32, 16, 16);
background-color: #000000;
}
+.gclitoolbar-input-node::before {
+ content: "";
+ display: inline-block;
+ -moz-box-ordinal-group: 0;
+ width: 16px;
+ height: 16px;
+ margin: 0 2px;
+ background-image: url("chrome://browser/skin/devtools/commandline-icon.png");
+ background-position: 0 center;
+ background-size: 32px 16px;
+}
+
+.gclitoolbar-input-node[focused="true"]::before {
+ background-position: -16px center;
+}
+
+@media (min-resolution: 2dppx) {
+ .gclitoolbar-input-node::before {
+ background-image: url("chrome://browser/skin/devtools/commandline-icon@2x.png");
+ }
+}
+
.gclitoolbar-input-node:not([focused="true"]) {
border-color: transparent;
}
/* Responsive Mode */
.browserContainer[responsivemode] {
- background: #221500 url("chrome://browser/skin/devtools/responsive-background.png");
+ background-color: #221500;
padding: 0 20px 20px 20px;
}
/* margin: 0 3px; */
}
+.devtools-responsiveui-toolbarbutton > .toolbarbutton-icon {
+ width: 16px;
+ height: 16px;
+}
+
.devtools-responsiveui-toolbarbutton > .toolbarbutton-menubutton-button {
-moz-box-orient: horizontal;
}
.devtools-responsiveui-menulist > .menulist-dropmarker {
/* display: -moz-box;
background-color: transparent;
- list-style-image: url("chrome://browser/skin/devtools/dropmarker.png");
+ list-style-image: url("chrome://browser/skin/devtools/dropmarker.svg");
-moz-box-align: center;
border-width: 0;
min-width: 16px;*/
.devtools-responsiveui-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker,
.devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker {
-/* list-style-image: url("chrome://browser/skin/devtools/dropmarker.png");
+/* list-style-image: url("chrome://browser/skin/devtools/dropmarker.svg");
-moz-box-align: center;
padding: 0 3px;*/
}
-moz-image-region: rect(0px,32px,16px,16px);
}
+@media (min-resolution: 2dppx) {
+ .devtools-responsiveui-close {
+ list-style-image: url("chrome://browser/skin/devtools/close@2x.png");
+ }
+
+ .devtools-responsiveui-close:hover {
+ -moz-image-region: rect(0px,64px,32px,32px);
+ }
+
+ .devtools-responsiveui-rotate {
+ list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate@2x.png");
+ }
+
+ .devtools-responsiveui-rotate:hover {
+ -moz-image-region: rect(0px,64px,32px,32px);
+ }
+}
+
.devtools-responsiveui-touch {
list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch.png");
-moz-image-region: rect(0px,16px,16px,0px);
-moz-image-region: rect(0px,32px,16px,16px);
}
+@media (min-resolution: 2dppx) {
+ .devtools-responsiveui-touch {
+ list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch@2x.png");
+ -moz-image-region: rect(0px,32px,32px,0px);
+ }
+
+ .devtools-responsiveui-touch:hover,
+ .devtools-responsiveui-touch[checked],
+ .devtools-responsiveui-touch[checked]:hover {
+ -moz-image-region: rect(0px,64px,32px,32px);
+ }
+}
+
.devtools-responsiveui-screenshot {
list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot.png");
-moz-image-region: rect(0px,16px,16px,0px);
-moz-image-region: rect(0px,32px,16px,16px);
}
+@media (min-resolution: 2dppx) {
+ .devtools-responsiveui-screenshot {
+ list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot@2x.png");
+ }
+
+ .devtools-responsiveui-screenshot:hover {
+ -moz-image-region: rect(0px,64px,32px,32px);
+ }
+}
+
.devtools-responsiveui-resizebarV {
width: 7px;
height: 24px;
cursor: ew-resize;
transform: translate(12px, -12px);
+ background-size: cover;
background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer.png");
}
height: 7px;
cursor: ns-resize;
transform: translate(-12px, 12px);
+ background-size: cover;
background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer.png");
}
height: 16px;
cursor: se-resize;
transform: translate(12px, 12px);
+ background-size: cover;
background-image: url("chrome://browser/skin/devtools/responsive-se-resizer.png");
}
+@media (min-resolution: 2dppx) {
+ .devtools-responsiveui-resizebarV {
+ background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer@2x.png");
+ }
+
+ .devtools-responsiveui-resizebarH {
+ background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer@2x.png");
+ }
+
+ .devtools-responsiveui-resizehandle {
+ background-image: url("chrome://browser/skin/devtools/responsive-se-resizer@2x.png");
+ }
+}
+
/* === END responsivedesign.inc.css === */
/* === including indicator.css is done at the start of the file === */
}
/* === END contextmenu.inc.css === */
+
+#context-navigation {
+}
+
+#context-sep-navigation {
+/* margin-top: -4px; */
+}