diff --git a/browser/base/content/browser.css b/browser/base/content/browser.css index 463946013e58..6b7f67baf3ee 100644 --- a/browser/base/content/browser.css +++ b/browser/base/content/browser.css @@ -365,11 +365,6 @@ panel[noactions] > richlistbox > richlistitem[type~="action"] > .ac-url-box > .a display: none; } -#wrapper-urlbar-container > #urlbar-container > #urlbar-wrapper > #urlbar { - -moz-user-input: disabled; - cursor: grab; -} - #PopupAutoComplete { -moz-binding: url("chrome://browser/content/urlbarBindings.xml#browser-autocomplete-result-popup"); } @@ -420,7 +415,7 @@ panel[noactions] > richlistbox > richlistitem[type~="action"] > .ac-url-box > .a -moz-margin-end: 0.25em !important; } -#wrapper-search-container > #search-container > #searchbar > .searchbar-textbox > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input { +#main-window[customizing] :-moz-any(#urlbar, .searchbar-textbox) > .autocomplete-textbox-container > .textbox-input-box { visibility: hidden; } diff --git a/browser/components/customizableui/src/CustomizeMode.jsm b/browser/components/customizableui/src/CustomizeMode.jsm index 8b5a1079277f..22b90483a274 100644 --- a/browser/components/customizableui/src/CustomizeMode.jsm +++ b/browser/components/customizableui/src/CustomizeMode.jsm @@ -213,6 +213,8 @@ CustomizeMode.prototype = { customizeButton.setAttribute("label", customizeButton.getAttribute("exitLabel")); customizeButton.setAttribute("enterTooltiptext", customizeButton.getAttribute("tooltiptext")); customizeButton.setAttribute("tooltiptext", customizeButton.getAttribute("exitTooltiptext")); + document.getElementById("PanelUI-help").setAttribute("disabled", true); + document.getElementById("PanelUI-quit").setAttribute("disabled", true); this._transitioning = true; @@ -243,9 +245,6 @@ CustomizeMode.prototype = { window.gNavToolbox.addEventListener("toolbarvisibilitychange", this); - document.getElementById("PanelUI-help").setAttribute("disabled", true); - document.getElementById("PanelUI-quit").setAttribute("disabled", true); - this._updateResetButton(); this._updateUndoResetButton(); diff --git a/browser/themes/linux/browser.css b/browser/themes/linux/browser.css index 79a2b99ed951..a32362be257b 100644 --- a/browser/themes/linux/browser.css +++ b/browser/themes/linux/browser.css @@ -2017,7 +2017,11 @@ chatbox { %include ../shared/customizableui/customizeMode.inc.css -#main-window[customize-entered] #tab-view-deck { +#main-window[customizing] > #tab-view-deck { + background: linear-gradient(to bottom, #bcbcbc, #b5b5b5); +} + +#main-window[customize-entered] > #tab-view-deck { background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png"), url("chrome://browser/skin/customizableui/background-noise-toolbar.png"), linear-gradient(to bottom, #bcbcbc, #b5b5b5); diff --git a/browser/themes/osx/browser.css b/browser/themes/osx/browser.css index 16b84228651b..a7de6fd14208 100644 --- a/browser/themes/osx/browser.css +++ b/browser/themes/osx/browser.css @@ -4162,7 +4162,11 @@ window > chatbox { margin-bottom: 11px; } -#main-window[customize-entered] #tab-view-deck { +#main-window[customizing] { + background-color: rgb(178,178,178); +} + +#main-window[customize-entered] > #tab-view-deck { background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png"), url("chrome://browser/skin/customizableui/background-noise-toolbar.png"), linear-gradient(to bottom, rgb(233,233,233), rgb(178,178,178) 40px); diff --git a/browser/themes/shared/customizableui/panelUIOverlay.inc.css b/browser/themes/shared/customizableui/panelUIOverlay.inc.css index 0e704b294af1..8de0cc4d0ded 100644 --- a/browser/themes/shared/customizableui/panelUIOverlay.inc.css +++ b/browser/themes/shared/customizableui/panelUIOverlay.inc.css @@ -270,7 +270,7 @@ toolbaritem[cui-areatype="menu-panel"][sdkstylewidget="true"]:not(.panel-wide-it border-radius: 0 0 2px 0; } -.panel-combined-button[disabled] > .toolbarbutton-icon { +#main-window:not([customizing]) .panel-combined-button[disabled] > .toolbarbutton-icon { opacity: .5; } @@ -768,8 +768,8 @@ toolbarpaletteitem[place="palette"] > #search-container { max-width: calc(@menuPanelButtonWidth@ - 2px); } -#edit-controls@inAnyPanel@ > toolbarbutton[disabled] > .toolbarbutton-icon, -#zoom-controls@inAnyPanel@ > toolbarbutton[disabled] > .toolbarbutton-icon { +#main-window:not([customizing]) #edit-controls@inAnyPanel@ > toolbarbutton[disabled] > .toolbarbutton-icon, +#main-window:not([customizing]) #zoom-controls@inAnyPanel@ > toolbarbutton[disabled] > .toolbarbutton-icon { opacity: .25; }