Bug 918782 - [Australis] move functional customize mode styles to browser/base, r=mconley

--HG--
extra : rebase_source : d0ac2b415d1c7ab1c02219e954e66d6819347baf
This commit is contained in:
Gijs Kruitbosch 2013-11-22 15:25:55 +01:00
Родитель 858e7d2ae6
Коммит 511d39641b
2 изменённых файлов: 78 добавлений и 72 удалений

Просмотреть файл

@ -860,6 +860,84 @@ chatbox:-moz-full-screen-ancestor > .chat-titlebar {
-moz-image-region: auto;
}
/* Customize mode */
#tab-view-deck {
transition-property: padding;
transition-duration: 150ms;
transition-timing-function: ease-out;
}
#tab-view-deck[fastcustomizeanimation] {
transition-duration: 1ms;
transition-timing-function: linear;
}
#PanelUI-contents > .panel-customization-placeholder > .panel-customization-placeholder-child {
list-style-image: none;
}
#customization-panelHolder {
overflow-y: hidden;
}
#customization-panelWrapper,
#customization-panelWrapper > .panel-arrowcontent {
-moz-box-flex: 1;
}
#customization-panelWrapper > .panel-arrowcontent {
padding: 0 !important;
}
#customization-panelHolder > #PanelUI-mainView {
display: flex;
flex-direction: column;
/* Hack alert - by manually setting the preferred height to 0, we convince
#PanelUI-mainView to shrink when the window gets smaller in customization
mode. Not sure why that is - might have to do with our intermingling of
XUL flex, and CSS3 Flexbox. */
height: 0;
}
#customization-panelHolder > #PanelUI-mainView > #PanelUI-contents-scroller {
display: flex;
flex: auto;
flex-direction: column;
}
#customization-panel-container {
overflow-y: auto;
}
toolbarpaletteitem[dragover] {
border-left-color: transparent;
border-right-color: transparent;
}
#customization-palette:not([hidden]) {
display: block;
overflow: auto;
min-height: 3em;
}
toolbarpaletteitem[place="palette"] {
width: 110px;
height: 94px;
overflow: hidden;
display: inline-block;
}
toolbarpaletteitem[place="palette"][hidden] {
display: none;
}
#customization-palette .toolbarpaletteitem-box {
-moz-box-pack: center;
-moz-box-flex: 1;
width: 110px;
max-width: 110px;
}
/* UI Tour */
@keyframes uitour-wobble {

Просмотреть файл

@ -3,18 +3,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/* Customization mode */
#tab-view-deck {
transition-property: padding;
transition-duration: 150ms;
transition-timing-function: ease-out;
}
#tab-view-deck[fastcustomizeanimation] {
transition-duration: 1ms;
transition-timing-function: linear;
}
#nav-bar[customize-entered] > #nav-bar-customization-target {
margin: 1px 3px;
}
@ -34,35 +22,6 @@
outline-offset: -5px;
}
#PanelUI-contents > .panel-customization-placeholder > .panel-customization-placeholder-child {
list-style-image: none;
}
#customization-panelHolder {
overflow-y: hidden;
}
#customization-panelWrapper,
#customization-panelWrapper > .panel-arrowcontent {
-moz-box-flex: 1;
}
#customization-panelHolder > #PanelUI-mainView {
display: flex;
flex-direction: column;
/* Hack alert - by manually setting the preferred height to 0, we convince
#PanelUI-mainView to shrink when the window gets smaller in customization
mode. Not sure why that is - might have to do with our intermingling of
XUL flex, and CSS3 Flexbox. */
height: 0;
}
#customization-panelHolder > #PanelUI-mainView > #PanelUI-contents-scroller {
display: flex;
flex: auto;
flex-direction: column;
}
#main-window[customize-entered] .customization-target {
min-width: 100px;
padding-left: 10px;
@ -96,11 +55,6 @@
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;
overflow-y: auto;
}
#customization-panelWrapper > .panel-arrowcontent {
padding: 0 !important;
}
toolbarpaletteitem {
@ -146,41 +100,15 @@ toolbarpaletteitem[place="toolbar"] {
margin-left: 0;
}
toolbarpaletteitem[dragover] {
border-left-color: transparent;
border-right-color: transparent;
}
#customization-palette:not([hidden]) {
display: block;
overflow: auto;
min-height: 3em;
margin-bottom: 25px;
}
toolbarpaletteitem[place="palette"] {
width: 110px;
height: 94px;
overflow: hidden;
display: inline-block;
}
toolbarpaletteitem[place="palette"][hidden] {
display: none;
}
#customization-palette > #wrapper-edit-controls,
#customization-palette > #wrapper-zoom-controls {
width: 225px;
}
#customization-palette .toolbarpaletteitem-box {
-moz-box-pack: center;
-moz-box-flex: 1;
width: 110px;
max-width: 110px;
}
#wrapper-edit-controls[place="palette"] > .toolbarpaletteitem-box,
#wrapper-zoom-controls[place="palette"] > .toolbarpaletteitem-box {
width: 225px;