/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /* Customization mode */ #nav-bar[customize-entered] > #nav-bar-customization-target { margin: 1px 3px; } #nav-bar[customize-entered] > #nav-bar-customization-target, #PanelUI-contents > .panel-customization-placeholder { outline: 1px dashed transparent; } #main-window[customizing-movingItem] #nav-bar-customization-target, #main-window[customizing-movingItem] .panel-customization-placeholder { outline-color: #bbb; } #PanelUI-contents > .panel-customization-placeholder { cursor: auto; outline-offset: -5px; } #main-window[customize-entered] .customization-target { min-width: 100px; padding-left: 10px; padding-right: 10px; } #customization-container { background-color: rgb(247,247,247); } #customization-palette-container { padding: 25px; } #customization-header { font-size: 1.5em; line-height: 1.5em; color: rgb(64,100,128); font-weight: lighter; margin-bottom: 1em; } #customization-panel-container { padding: 15px 25px 25px; background-image: url("chrome://browser/skin/customizableui/customizeMode-separatorHorizontal.png"), url("chrome://browser/skin/customizableui/customizeMode-separatorVertical.png"), url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png"), url("chrome://browser/skin/customizableui/background-noise-toolbar.png"), linear-gradient(to bottom, #3e86ce, #3878ba); background-position: center top, left center, left top, left top, left top; background-repeat: no-repeat, no-repeat, repeat, repeat, no-repeat; background-size: auto 12px, 12px 100%, auto, auto, auto; background-attachment: scroll, scroll, fixed, fixed, scroll; } 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[mousedown] { box-shadow: inset 0 0 3px hsl(204,100%,40%); cursor: -moz-grabbing; opacity: 0.8; } .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; } 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; } toolbarpaletteitem > toolbarbutton > .toolbarbutton-icon { transition: transform 50ms ease-in-out; } toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-icon { transform: scale(1.1); } /* Override the toolkit styling for items being dragged over. */ toolbarpaletteitem[place="toolbar"] { border-left-width: 0; border-right-width: 0; margin-right: 0; margin-left: 0; } #customization-palette:not([hidden]) { margin-bottom: 25px; } #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton, #wrapper-edit-controls[place="palette"] > #edit-controls > separator, #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton, #wrapper-zoom-controls[place="palette"] > #zoom-controls > separator { margin-top: 24px; } #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton, #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton { margin-left: 0; margin-right: 0; max-width: 24px; min-width: 24px; max-height: 24px; height: 24px; padding: 4px; } #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 > #edit-controls > toolbarbutton > .toolbarbutton-icon { opacity: 1; /* To ensure these buttons always look enabled in customize mode */ } #wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button, #wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button + separator { display: none; } #customization-palette > toolbarpaletteitem > label { text-align: center; margin-left: 0; margin-right: 0; }