background-color: #9C9CFF;
}
+/* Hides the titlebar-placeholder underneath the window caption buttons when we
+ are not autohiding the menubar. */
+#toolbar-menubar:not([autohide="true"]) + #TabsToolbar > .titlebar-placeholder[type="caption-buttons"] {
+ display: none;
+}
+
/* We want a 4px gap between the TabsToolbar and the toolbar-menubar when the
toolbar-menu is displayed, and a 16px gap when it is not. 1px is taken care
of by the (light) outer shadow of the tab, the remaining 3/15 are these margins. */
-#toolbar-menubar:not([autohide="true"]) ~ #TabsToolbar,
-#toolbar-menubar[autohide="true"]:not([inactive]) ~ #TabsToolbar {
+#toolbar-menubar:not([moz-collapsed=true]):not([autohide="true"]) ~ #TabsToolbar,
+#toolbar-menubar:not([moz-collapsed=true])[autohide="true"]:not([inactive]) ~ #TabsToolbar {
/* margin-top: 3px;*/
}
display: none;
}
+#main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[customizing-dragovertarget].customization-target::before,
+#main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar[customizing-dragovertarget].customization-target::before,
+#main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar.customization-target:hover::before,
+#main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar.customization-target:hover::before {
+ outline-color: #A09090;
+}
+
#navigator-toolbox {
}
#navigator-toolbox > toolbar:not(:-moz-lwtheme) {
}
-#main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme) {
+#main-window[tabsintitlebar][sizemode="maximized"] #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme) {
/* like menubar */
background-color: #6000CF;
color: #FF9F00;
}
-#main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive {
+#main-window[tabsintitlebar][sizemode="maximized"] #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive {
background-color: #8050B0;
color: #FF9F00;
}
-#main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar > .tabbrowser-tabs > .tabbrowser-tab {
+#main-window[tabsintitlebar][sizemode="maximized"] #toolbar-menubar[inactive] ~ #TabsToolbar > .tabbrowser-tabs > .tabbrowser-tab {
padding-top: 3px;
}
#nav-bar[tabsontop="true"][collapsed="true"]:not([customizing]) + toolbar,
#nav-bar[tabsontop="true"][collapsed="true"]:not([customizing]) + #customToolbars + #PersonalToolbar {
/* background-image: linear-gradient(@toolbarHighlight@, rgba(255,255,255,0)); */
+ /* Position the toolbar above the bottom of background tabs */
+ position: relative;
+ z-index: 1;
}
#personal-bookmarks {
/* ::::: app menu button ::::: */
+/* The app menu button 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 can swallow these events. It will also place the button above the
+ * fog on themes with Aero Glass.
+ */
+#main-window[tabsintitlebar] #appmenu-button-container {
+ z-index: 1;
+}
+
#appmenu-button {
background-color: #FF9F00;
background-clip: padding-box;
background: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") no-repeat center;
}
-.bookmarks-toolbar-customize,
#bookmarks-toolbar-placeholder {
- max-width: 15em !important;
list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important;
}
+toolbarpaletteitem[place="palette"] > #personal-bookmarks > #bookmarks-toolbar-placeholder,
+#personal-bookmarks[cui-areatype="menu-panel"] > #bookmarks-toolbar-placeholder {
+ list-style-image: url("chrome://browser/skin/places/bookmarksToolbar-menuPanel.png") !important;
+}
+
+/* ----- BOOKMARK STAR ANIMATION ----- */
+
+@keyframes animation-bookmarkAdded {
+ from { transform: rotate(0deg) translateX(-16px) rotate(0deg) scale(1); opacity: 0; }
+ 60% { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(2.2); opacity: 1; }
+ 80% { opacity: 1; }
+ to { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(1); opacity: 0; }
+}
+
+@keyframes animation-bookmarkPulse {
+ from { transform: scale(1); }
+ 50% { transform: scale(1.3); }
+ to { transform: scale(1); }
+}
+
+#bookmarked-notification-container {
+ min-height: 1px;
+ min-width: 1px;
+ height: 1px;
+ margin-bottom: -1px;
+ z-index: 5;
+ position: relative;
+}
+
+#bookmarked-notification {
+ background-size: 16px;
+ background-position: center;
+ background-repeat: no-repeat;
+ width: 16px;
+ height: 16px;
+ opacity: 0;
+}
+
+#bookmarked-notification-anchor[notification="finish"] > #bookmarked-notification {
+ background-image: url("chrome://browser/skin/places/bookmarks-notification-finish.png");
+ animation: animation-bookmarkAdded 800ms;
+ animation-timing-function: ease, ease, ease;
+}
+
+#bookmarks-menu-button[notification="finish"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
+ animation: animation-bookmarkPulse 300ms;
+ animation-delay: 600ms;
+ animation-timing-function: ease-out;
+}
+
/* ::::: bookmark menus ::::: */
menu.bookmark-item,
max-width: 32em;
}
-.bookmark-item > .menu-iconic-left {
+.bookmark-item:not(.subviewbutton) > .menu-iconic-left {
margin-top: 0;
margin-bottom: 0;
}
-moz-image-region: rect(18px, 144px, 36px, 126px);
}
+/* When "new tab" page shows up, the menubutton-button (star button) is disabled */
+#navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-button[disabled="true"] {
+ -moz-image-region: rect(36px, 144px, 54px, 126px) !important;
+ background-color: transparent !important;
+}
+
#navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"][starred] {
-moz-image-region: rect(0, 162px, 18px, 144px);
}
}
#downloads-button[cui-areatype="menu-panel"],
-#downloads-indicator[cui-areatype="menu-panel"],
:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #downloads-button {
-moz-image-region: rect(0px, 256px, 32px, 224px);
}
#downloads-button[cui-areatype="menu-panel"]:hover,
-#downloads-indicator[cui-areatype="menu-panel"]:hover,
:-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #downloads-button:hover {
-moz-image-region: rect(32px, 256px, 64px, 224px);
}
/* === END menupanel.inc.css === */
-.toolbarbutton-1 {
+/* the selector makes it only apply pre-Australis as iconsize and palette-box or addon-bar don't exist afterwards */
+:-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) .toolbarbutton-1 {
list-style-image: url("chrome://browser/skin/FxToolbar.png");
}
-moz-padding-end: 1px;
}
+/* Help SDK icons fit: */
+toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
+ width: 16px;
+}
+
+#nav-bar toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
+ /* XXXgijs box models strike again: this is 16px + 2 * 7px padding + 2 * 1px border (from the rules above) */
+ width: 32px;
+}
+
/* ::::: small primary toolbar buttons ::::: */
#nav-bar {
-moz-margin-start: 0;
}
+#urlbar-display-box {
+}
+
#urlbar-display {
-moz-border-end: 1px solid #9C9CFF;
-moz-margin-end: 3px;
font-size: .9em;
}
+#identity-box:-moz-locale-dir(ltr) {
+/* border-top-left-radius: 1.5px;
+ border-bottom-left-radius: 1.5px;*/
+}
+
+#identity-box:-moz-locale-dir(rtl) {
+/* border-top-right-radius: 1.5px;
+ border-bottom-right-radius: 1.5px;*/
+}
+
#notification-popup-box:not([hidden]) + #identity-box {
-moz-padding-start: 10px !important;
border-radius: 0;
max-height: 16px;
}
+toolbarbutton[type="socialmark"] > .toolbarbutton-icon {
+ width: auto;
+ height: auto;
+ max-width: 32px;
+ max-height: 24px;
+}
+
/* fixup corners for share panel */
.social-panel > .social-panel-frame {
border-radius: inherit;
/* Tabstrip */
-/* Remove selector when Australis lands - this makes it only apply post-Australis as iconsize doesn't exist there */
-#navigator-toolbox:not([iconsize]) > #TabsToolbar,
-#TabsToolbar {
+/* Remove selector when Australis lands - this makes it only apply pre-Australis as iconsize only exists there */
+#navigator-toolbox[iconsize] > #TabsToolbar {
min-height: 0;
padding: 0;
-moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar");
}
+/* Remove selector when Australis lands - this makes it only apply post-Australis as iconsize doesn't exist there */
+#navigator-toolbox:not([iconsize]) > #TabsToolbar {
+ min-height: 0;
+ padding: 0;
+ -moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar");
+}
+
#TabsToolbar .toolbar-holder {
background-color: #000000; /* correct effect of being an actual toolbar */
}
border-bottom: 1px solid #008484;
}
+/* === BEGIN tabs.inc.css === */
+
.tabbrowser-tab,
-.tabs-newtab-button {
+.tabs-newtab-button,
+#TabsToolbar > #new-tab-button {
margin-top: 0px;
}
-.tabbrowser-tab{
+.tabbrowser-tab {
padding: 1px 4px 2px;
}
-moz-margin-start: 2px;
}
-.tabs-newtab-button {
+.tabs-newtab-button,
+#TabsToolbar > #new-tab-button {
border-radius: 8px 8px 0px 0px;
-moz-margin-start: 0;
}
-.tabs-newtab-button:not(:hover) {
+.tabs-newtab-button:not(:hover),
+#TabsToolbar > #new-tab-button:not(:hover) {
background-color: #C09070;
}
text-decoration: underline;
}
-.tabbrowser-tab:hover,
-.tabs-newtab-button:hover {
-}
+/* Selected tab */
.tabbrowser-tab[selected="true"] {
}
-#main-window[tabsontop=false]:not([disablechrome]) .tabbrowser-tab[selected=true]:not(:-moz-lwtheme) {
-}
+/* End selected tab */
-.tabbrowser-tab:-moz-lwtheme {
-}
+/* Pinned tabs */
-.tabbrowser-tab[selected="true"]:-moz-lwtheme {
+.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) {
+ background-color: #E7ADE7;
}
-
-.tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]),
-.tabs-newtab-button:-moz-lwtheme-brighttext {
+.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover {
+ background-color: #3333FF;
+ color: #000000;
}
-.tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]):hover,
-.tabs-newtab-button:-moz-lwtheme-brighttext:hover {
-}
+/* New tab button */
-.tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]),
-.tabs-newtab-button:-moz-lwtheme-darktext {
+.tabs-newtab-button {
+ width: 28px;
}
-.tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]):hover,
-.tabs-newtab-button:-moz-lwtheme-darktext:hover {
+#TabsToolbar > #new-tab-button {
+ width: 26px;
}
-.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) {
- background-color: #E7ADE7;
-}
-.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover {
- background-color: #3333FF;
- color: #000000;
-}
+/* === END tabs.inc.css === */
.tab-throbber,
.tab-icon-image {
.tabs-newtab-button,
#TabsToolbar > #new-tab-button,
-#TabsToolbar > toolbarpaletteitem > #new-tab-button {
+#TabsToolbar > toolbarpaletteitem > #new-tab-button,
+#TabsToolbar > toolbarpaletteitem > #new-tab-button[cui-areatype="toolbar"] {
list-style-image: url("chrome://browser/skin/tabbrowser/newtab.png");
-moz-image-region: rect(0, 16px, 18px, 0);
}
-.tabs-newtab-button {
- width: 28px;
-}
-
-#TabsToolbar > #new-tab-button {
- width: 26px;
-}
-
+/* Remove |#navigator-toolbox:not([iconsize])| selector when Australis lands - this makes it only apply post-Australis as iconsize doesn't exist there */
.tabs-newtab-button,
.tabs-newtab-button:hover,
+#navigator-toolbox:not([iconsize]) #TabsToolbar > #new-tab-button,
+#navigator-toolbox:not([iconsize]) #TabsToolbar > #new-tab-button:hover,
#TabsToolbar > #new-tab-button:hover {
-moz-image-region: rect(0, 32px, 18px, 16px);
}
list-style-image: url("chrome://browser/skin/Secure24.png");
}
+#identity-popup-help-icon {
+ border: none;
+ margin: 7px 0 0 -3px;
+ background: none;
+ min-width: 0;
+ list-style-image: url("chrome://global/skin/icons/question-16.png");
+ cursor: pointer;
+}
+
+#identity-popup-help-icon > .button-box > .button-text {
+ display: none;
+}
+
+#identity-popup-help-icon > .button-box > .button-icon {
+ height: 16px;
+ width: 16px;
+}
+
#identity-popup-more-info-button {
margin-top: 6px;
margin-bottom: 0;
background-color: transparent !important;
}
+/* === BEGIN highlighter.inc.css === */
+
/* Highlighter */
.highlighter-outline {
box-shadow: 0 0 0 1px black;
- outline: 1px dashed white;
+ outline: 1px dashed #A09090;
}
.highlighter-outline[locked] {
.highlighter-nodeinfobar {
color: #FF9F00;
- border: 1px solid rgba(156, 156, 255, .5);
border-radius: 3px;
background-color: #000000;
background-clip: padding-box;
+ border: 1px solid #008484;
+ padding: 5px;
+ /* Avoid cases where the infobar is smaller than the arrow, when the text is
+ short */
+ min-width: 75px;
}
/* Highlighter - Node Infobar - text */
-moz-margin-end: 2px;
}
-.highlighter-nodeinfobar-inspectbutton:-moz-locale-dir(rtl) {
-}
-
.highlighter-nodeinfobar-inspectbutton:hover,
.highlighter-nodeinfobar-inspectbutton:hover:active/*,
.highlighter-nodeinfobar-container:not([locked]) > .highlighter-nodeinfobar > .highlighter-nodeinfobar-inspectbutton*/ {
.highlighter-nodeinfobar-menu {
}
-.highlighter-nodeinfobar-menu:-moz-locale-dir(rtl) {
-}
-
.highlighter-nodeinfobar-menu > .toolbarbutton-menu-dropmarker {
-moz-box-align: center;
-moz-margin-start: -1px;
height: 14px;
-moz-margin-start: calc(50% - 7px);
transform: rotate(-45deg);
- border: 1px solid transparent;
background-clip: padding-box;
background-repeat: no-repeat;
}
.highlighter-nodeinfobar-arrow-top {
margin-bottom: -8px;
margin-top: 8px;
- border-right-color: rgba(0, 132, 132, .5);
- border-top-color: rgba(0, 132, 132, .5);
background-image: linear-gradient(to bottom left, transparent 50%, rgb(0, 132, 132) 50%);
}
.highlighter-nodeinfobar-arrow-bottom {
margin-top: -8px;
margin-bottom: 8px;
- border-left-color: rgba(0, 132, 132, .5);
- border-bottom-color: rgba(0, 132, 132, .5);
background-image: linear-gradient(to top right, transparent 50%, rgb(0, 132, 132) 50%);
}
-.highlighter-nodeinfobar-container[position="top"] > .highlighter-nodeinfobar,
-.highlighter-nodeinfobar-container[position="overlap"] > .highlighter-nodeinfobar {
- box-shadow: 0 1px 0 hsla(0, 0%, 100%, .1) inset;
-}
-
.highlighter-nodeinfobar-container[hide-arrow] > .highlighter-nodeinfobar {
margin: 7px 0;
}
+/* === END highlighter.inc.css === */
+
#full-screen-warning-message {
background-color: #000000;
color: #FF9F00;
min-height: 32px; */
}
-.developer-toolbar-button {
+#developer-toolbar > toolbarbutton {
/* margin: 0;
padding: 0 10px;
width: 32px; */
-moz-image-region: rect(0px, 32px, 16px, 16px);
}
+#developer-toolbar-closebutton {
+ list-style-image: url("chrome://browser/skin/devtools/close.png");
+ -moz-image-region: rect(0px, 16px, 16px, 0px);
+ min-width: 16px;
+ width: 16px;
+}
+
+#developer-toolbar-closebutton > .toolbarbutton-icon {
+}
+
+#developer-toolbar-closebutton > .toolbarbutton-text {
+ display: none;
+}
+
+#developer-toolbar-closebutton:hover,
+#developer-toolbar-closebutton:hover:active {
+ -moz-image-region: rect(0px, 32px, 16px, 16px);
+}
+
/* GCLI */
html|*#gcli-tooltip-frame,
/* 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:not([focused="true"]) {
.devtools-responsiveui-toolbar {
background: transparent;
+ /* text color is textColor from dark theme, since no theme is applied to
+ * the responsive toolbar.
+ */
+ color: #FF9F00;
margin: 10px 0;
padding: 0;
box-shadow: none;
border-bottom-width: 0;
}
-.devtools-responsiveui-toolbar > menulist,
-.devtools-responsiveui-toolbar > toolbarbutton {
- min-width: 22px;
-/* border-radius: 0; */
+.devtools-responsiveui-menulist,
+.devtools-responsiveui-toolbarbutton {
+ -moz-box-align: center;
+ min-width: 32px;
+/* min-height: 22px;*/
+/* margin: 0 3px; */
+}
+
+.devtools-responsiveui-toolbarbutton > .toolbarbutton-menubutton-button {
+ -moz-box-orient: horizontal;
+}
+
+.devtools-responsiveui-menulist:-moz-focusring,
+.devtools-responsiveui-toolbarbutton:-moz-focusring {
+/* outline: 1px dotted hsla(210,30%,85%,0.7);
+ outline-offset: -4px;*/
+}
+
+.devtools-responsiveui-toolbarbutton:not([label]) > .toolbarbutton-text {
+ display: none;
+}
+
+.devtools-responsiveui-toolbarbutton:not([checked=true]):hover:active {
+/* border-color: hsla(210,8%,5%,.6);
+ background: linear-gradient(hsla(220,6%,10%,.3), hsla(212,7%,57%,.15) 65%, hsla(212,7%,57%,.3));
+ box-shadow: 0 0 3px hsla(210,8%,5%,.25) inset, 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 0 hsla(210,16%,76%,.15); */
+}
+
+.devtools-responsiveui-menulist[open=true],
+.devtools-responsiveui-toolbarbutton[open=true],
+.devtools-responsiveui-toolbarbutton[checked=true] {
+/* border-color: hsla(210,8%,5%,.6) !important;
+ background: linear-gradient(hsla(220,6%,10%,.6), hsla(210,11%,18%,.45) 75%, hsla(210,11%,30%,.4));
+ box-shadow: 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 0 hsla(210,16%,76%,.15); */
+}
+
+.devtools-responsiveui-toolbarbutton[checked=true] {
+/* color: hsl(208,100%,60%); */
+}
+
+.devtools-responsiveui-toolbarbutton[checked=true]:hover {
+/* background-color: transparent !important;*/
+}
+
+.devtools-responsiveui-toolbarbutton[checked=true]:hover:active {
+/* background-color: hsla(210,8%,5%,.2) !important;*/
+}
+
+.devtools-responsiveui-menulist > .menulist-label-box {
+ text-align: center;
+}
+
+.devtools-responsiveui-menulist > .menulist-dropmarker {
+/* display: -moz-box;
+ background-color: transparent;
+ list-style-image: url("chrome://browser/skin/devtools/dropmarker.png");
+ -moz-box-align: center;
+ border-width: 0;
+ min-width: 16px;*/
+}
+
+.devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button {
+/* color: inherit;
+ border-width: 0;
+ -moz-border-end: 1px solid hsla(210,8%,5%,.45);
+ box-shadow: -1px 0 0 hsla(210,16%,76%,.15) inset, 1px 0 0 hsla(210,16%,76%,.15);*/
+}
+
+.devtools-responsiveui-toolbarbutton[type=menu-button]:-moz-locale-dir(rtl) > .toolbarbutton-menubutton-button {
+/* box-shadow: 1px 0 0 hsla(210,16%,76%,.15) inset, -1px 0 0 hsla(210,16%,76%,.15);*/
+}
+
+.devtools-responsiveui-toolbarbutton[type=menu-button] {
+/* padding: 0 1px;*/
+ -moz-box-align: stretch;
+}
+
+.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");
+ -moz-box-align: center;
+ padding: 0 3px;*/
}
.devtools-responsiveui-toolbar:-moz-locale-dir(ltr) > *:first-child,
list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
}
+/* === END plugin-doorhanger.inc.css === */
+
+/* === BEGIN customizeMode.inc.css === */
+
/* Customization mode */
-/* === END plugin-doorhanger.inc.css === */
+#main-window:-moz-any([customize-entering],[customize-entered]) #content-deck {
+ margin: 0 1em 1em;
+}
-#main-window[privatebrowsingmode=temporary] #toolbar-menubar {
- background-image: url("chrome://browser/skin/privatebrowsing-dark.png");
- background-position: top right;
- background-repeat: no-repeat;
+#main-window:-moz-any([customize-entering],[customize-entered]) #navigator-toolbox {
+ margin-left: 1em;
+ margin-right: 1em;
}
-#main-window[privatebrowsingmode=temporary] #toolbar-menubar:-moz-locale-dir(rtl) {
- background-position: top left;
+#main-window:-moz-any([customize-entering],[customize-exiting]) #tab-view-deck {
+ pointer-events: none;
}
-#main-window[privatebrowsingmode=temporary] #appmenu-button > .button-box > .box-inherit > .button-icon {
- list-style-image: url("chrome://browser/skin/privatebrowsing-light.png");
- width: 20px;
- height: 16px;
+#main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before,
+#PanelUI-contents > .panel-customization-placeholder {
+ -moz-outline-radius: 2.5px;
+ outline: 1px dashed transparent;
}
-/* === BEGIN customizeMode.inc.css === */
+#main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before {
+ /* Prevent jumping of tabs when switching a window between inactive and active (bug 853415). */
+ -moz-box-ordinal-group: 0;
+ content: "";
+ display: -moz-box;
+ height: 100%;
+ left: 0;
+ outline-offset: -2px;
+ pointer-events: none;
+ position: absolute;
+ top: 0;
+ width: 100%;
+}
-/* Customization mode */
-#nav-bar[customize-entered] > #nav-bar-customization-target {
- margin: 1px 3px;
+/* Shift the TabsToolbar outline up 2px since the #nav-bar is shifted up by 1px and the
+ #TabsToolbar::after is a pixel higher to draw the bottom border of the tabstrip so this makes the
+ offset from the bottom effectively the same as other targets (-2px). */
+#main-window[customize-entered] #TabsToolbar.customization-target::before {
+/* top: -2px;*/
}
-#nav-bar[customize-entered] > #nav-bar-customization-target,
-#PanelUI-contents > .panel-customization-placeholder {
- outline: 1px dashed transparent;
+/* The parents of the outline pseudo-elements need to be positioned so that the outline is positioned relative to it. */
+#main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover,
+#main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)),
+#main-window[customize-entered] #nav-bar-customization-target.customization-target {
+ position: relative;
+}
+
+/* Most target outlines are shown on hover and drag over but the panel menu uses
+ placeholders instead. */
+#main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover::before,
+#main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before,
+/* nav-bar and panel outlines are always shown */
+#nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before {
+ outline-color: #A09090;
+}
+
+#nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before {
+ transition: outline-color 250ms linear;
}
-#main-window[customizing-movingItem] #nav-bar-customization-target,
-#main-window[customizing-movingItem] .panel-customization-placeholder {
+#PanelUI-contents[showoutline=true] > .panel-customization-placeholder {
+ transition: outline-color 250ms linear;
outline-color: #9C9CFF;
}
outline-offset: -5px;
}
-#main-window[customize-entered] .customization-target {
+#main-window[customizing] .customization-target:not(#PanelUI-contents) {
min-width: 100px;
- padding-left: 10px;
- padding-right: 10px;
+/* padding-left: 10px;
+ padding-right: 10px;*/
+}
+
+#main-window:-moz-any([customize-entering],[customize-entered]) #tab-view-deck {
+ padding: 0 2em 2em;
}
#customization-container {
background-color: #000000;
}
-#customization-palette-container {
- padding: 25px;
+#customization-palette,
+#customization-empty {
+ padding: 0 15px 15px;
}
#customization-header {
color: #9C9CFF;
font-weight: lighter;
margin-bottom: 1em;
+ padding: 15px 15px 0;
}
#customization-panel-container {
- padding: 15px 25px 25px;
+ padding: 10px 10px 0px;
+}
+
+#customization-footer {
+ /*background-color: rgb(236,236,236);*/
+ border-top: 1px solid #9C9CFF;
+ padding: 15px;
+}
+
+.customizationmode-button {
+ margin: 0;
+}
+
+.customizationmode-button:hover {
+}
+
+.customizationmode-button[disabled="true"] {
+}
+
+#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-margin-end: 10px;
+}
+
+#customization-titlebar-visibility-button > .button-box > .button-text {
+ /* Sadly, button.css thinks its margins are perfect for everyone. */
+ -moz-margin-start: 6px !important;
+}
+
+#customization-titlebar-visibility-button[checked] {
+ -moz-image-region: rect(0, 48px, 24px, 24px);
+ background-color: #008484;
+}
+
+#customization-undo-reset-button {
+ -moz-margin-end: 10px;
+}
+
+#main-window[customize-entered] #customization-panel-container {
background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
background-position: left top;
background-repeat: repeat;
background-attachment: fixed;
}
-toolbarpaletteitem {
- transition: background-color, border-color, box-shadow, border-width;
- transition-duration: 10ms, 10ms, 10ms, 250ms;
- transition-timing-function: linear, linear, linear, ease-in-out;
+toolbarpaletteitem[place="toolbar"] {
+ transition: border-width 250ms ease-in-out;
}
toolbarpaletteitem[mousedown] {
.panel-customization-placeholder,
toolbarpaletteitem[place="palette"],
toolbarpaletteitem[place="panel"] {
- transition: background-color, border-color, box-shadow, transform;
- transition-duration: 10ms, 10ms, 10ms, 250ms;
- transition-timing-function: linear, linear, linear, ease-in-out;
+ transition: transform .3s ease-in-out;
}
+#customization-palette {
+ transition: opacity .3s ease-in-out;
+ opacity: 0;
+}
+
+#customization-palette[showing="true"] {
+ opacity: 1;
+}
+
+toolbarpaletteitem[notransition].panel-customization-placeholder,
+toolbarpaletteitem[notransition][place="toolbar"],
toolbarpaletteitem[notransition][place="palette"],
toolbarpaletteitem[notransition][place="panel"] {
- transition: background-color, border-color, box-shadow;
- transition-duration: 10ms, 10ms, 10ms;
- transition-timing-function: linear, linear, linear;
+ transition: none;
}
-toolbarpaletteitem > toolbarbutton > .toolbarbutton-icon {
- transition: transform 50ms ease-in-out;
+toolbarpaletteitem > toolbarbutton > .toolbarbutton-icon,
+toolbarpaletteitem > toolbaritem.panel-wide-item,
+toolbarpaletteitem > toolbarbutton[type="menu-button"] {
+ transition: transform .3s cubic-bezier(.6, 2, .75, 1.5) !important;
}
toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-icon {
+ transform: scale(1.3);
+}
+
+toolbarpaletteitem[mousedown] > toolbaritem.panel-wide-item,
+toolbarpaletteitem[mousedown] > toolbarbutton[type="menu-button"] {
transform: scale(1.1);
}
margin-bottom: 25px;
}
-/* Remove |:-moz-any(#customization-palette, #panelUI-contents)| selector when Australis lands - this makes it only apply post-Australis as those elements only exist there */
-#customization-palette > #wrapper-edit-controls,
-:-moz-any(#customization-palette, #panelUI-contents) > #customization-palette > #wrapper-zoom-controls {
- width: 225px;
-}
-
-#wrapper-edit-controls[place="palette"] > .toolbarpaletteitem-box,
-#wrapper-zoom-controls[place="palette"] > .toolbarpaletteitem-box {
- width: 225px;
- max-width: 225px;
-}
-
#wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
#wrapper-edit-controls[place="palette"] > #edit-controls > separator,
-:-moz-any(#customization-palette, #panelUI-contents) > #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton,
-:-moz-any(#customization-palette, #panelUI-contents) > #wrapper-zoom-controls[place="palette"] > #zoom-controls > separator {
- margin-top: 24px;
+#wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton,
+#wrapper-zoom-controls[place="palette"] > #zoom-controls > separator {
+ margin-top: 20px;
}
+/* Remove |:-moz-any(#customization-palette, #panelUI-contents)| selector when Australis lands - this makes it only apply post-Australis as those elements only exist there */
#wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
:-moz-any(#customization-palette, #panelUI-contents) > #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton {
margin-left: 0;
margin-right: 0;
- max-width: 70px;
- min-width: 70px;
+ max-width: 24px;
+ min-width: 24px;
max-height: 24px;
height: 24px;
+ padding: 4px;
}
-#wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton > .toolbarbutton-text,
-:-moz-any(#customization-palette, #panelUI-contents) > #wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button > .toolbarbutton-text {
- display: inline;
+#wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton > .toolbarbutton-icon,
+#wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton > .toolbarbutton-icon {
+ width: 16px;
}
-#wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton > .toolbarbutton-icon,
-:-moz-any(#customization-palette, #panelUI-contents) > #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton > .toolbarbutton-icon {
- margin: 0;
- -moz-margin-start: 5px;
+#wrapper-edit-controls > #edit-controls > toolbarbutton > .toolbarbutton-icon {
+ opacity: 1; /* To ensure these buttons always look enabled in customize mode */
+}
+
+:-moz-any(#customization-palette, #panelUI-contents) > #wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button,
+:-moz-any(#customization-palette, #panelUI-contents) > #wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button + separator {
+ display: none;
+}
+
+#wrapper-personal-bookmarks:not([place="toolbar"]) > #personal-bookmarks {
+ -moz-box-pack: center;
+ min-height: 48px;
}
#customization-palette > toolbarpaletteitem > label {
/* === END customizeMode.inc.css === */
-#main-window[customizing] {
- background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
- background-attachment: fixed;
+/* === BEGIN customizeTip.inc.css === */
+
+#customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent {
+ padding: 0;
+ margin: 0;
+ min-width: 400px;
+ max-width: 1000px;
+ min-height: 200px;
+ border-radius: 3px;
+/* background-image: linear-gradient(90deg, #a0dfff 0%, #ceeeff 100%);*/
+ border: 1px solid #9C9CFF;
}
-#main-window:-moz-any([customize-entering],[customize-entered]) #tab-view-deck {
- padding: 0 2em 2em;
+#customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent:-moz-locale-dir(rtl) {
+/* background-image: linear-gradient(90deg, #ceeeff 0%, #a0dfff 100%);*/
+}
+
+.customization-tipPanel-infoBox {
+ margin: 20px 25px 25px;
+ width: 25px;
+ background-image: url("chrome://browser/skin/customizableui/info-icon-customizeTip.png");
+ background-repeat: no-repeat;
+}
+
+.customization-tipPanel-content {
+ margin: 25px 0;
+ font-size: 12px;
+ line-height: 18px;
+}
+
+.customization-tipPanel-em {
+ margin: 0;
+ font-weight: bold;
+}
+
+.customization-tipPanel-contentImage {
+ margin-top: 25px;
+ list-style-image: url("chrome://browser/skin/customizableui/customize-illustration.png");
+ min-width: 300px;
+ max-width: 300px;
+ min-height: 190px;
+ max-height: 190px;
+ display: -moz-box;
+}
+
+.customization-tipPanel-contentImage:-moz-locale-dir(rtl) {
+ list-style-image: url("chrome://browser/skin/customizableui/customize-illustration-rtl.png");
+}
+
+.customization-tipPanel-link {
+ -moz-appearance: none;
+ background: transparent;
+ border: none;
+ box-shadow: none;
+ color: #3333FF;
+ margin: 0;
+ cursor: pointer;
+}
+
+.customization-tipPanel-link > .button-box > .button-text {
+ margin: 0 !important;
+}
+
+.customization-tipPanel-closeBox > .close-icon {
+ -moz-appearance: none;
+ border: 0;
+ -moz-margin-end: -25px;
+}
+
+#customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"],
+#customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] {
+ list-style-image: url("chrome://browser/skin/customizableui/panelarrow-customizeTip.png");
+}
+
+/* === END customizeTip.inc.css === */
+
+#main-window[customize-entered] {
+ background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
+ background-attachment: fixed;
}
#customization-container {
background-clip: padding-box;
}
+#customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"] {
+ margin-right: -2px;
+}
+
+#customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] {
+ margin-left: -2px;
+}
+
/* End customization mode */
+#main-window[privatebrowsingmode=temporary] #toolbar-menubar {
+ background-image: url("chrome://browser/skin/privatebrowsing-dark.png");
+ background-position: top right;
+ background-repeat: no-repeat;
+}
+
+#main-window[privatebrowsingmode=temporary] #toolbar-menubar:-moz-locale-dir(rtl) {
+ background-position: top left;
+}
+
+#main-window[privatebrowsingmode=temporary] #appmenu-button > .button-box > .box-inherit > .button-icon {
+ list-style-image: url("chrome://browser/skin/privatebrowsing-light.png");
+ width: 20px;
+ height: 16px;
+}
+
#main-window[privatebrowsingmode=temporary] #TabsToolbar::after {
content: "";
display: -moz-box;
border: 2px #9C9CFF solid;
min-height: 32px;
min-width: 32px;
+ /* HACK for pre-Australis */
+ display: none;
+}
+
+html|div#UITourHighlight[active] {
+ /* HACK for pre-Australis */
+ display: none;
}
#UITourTooltip {