Bug 922003: Move width of the gutter, used to exit subview, to a constant. r=mikedeboer

This commit is contained in:
Serg 'Cust0dian' Nesterov 2013-10-11 01:22:15 +04:00
parent 9d095d895c
commit 65037ff197
4 changed files with 5 additions and 10 deletions

View File

@ -2,7 +2,4 @@
* 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/. */
%filter substitution
%define menuPanelWidth 21em
%include ../../shared/customizableui/panelUIOverlay.inc.css

View File

@ -2,9 +2,6 @@
* 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/. */
%filter substitution
%define menuPanelWidth 21em
%include ../../shared/customizableui/panelUIOverlay.inc.css
@media (min-resolution: 2dppx) {

View File

@ -2,13 +2,17 @@
* 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/. */
%filter substitution
%define menuPanelWidth 21em
%define exitSubviewGutterWidth 38px
%include ../browser.inc
.panel-subviews {
background-image: linear-gradient(to bottom, white 1px, rgba(255, 255, 255, 0) 15px);
background-color: -moz-dialog;
box-shadow: -1px 0px 0px rgba(0, 0, 0, 0.2), -1px 0px 2px rgba(0, 0, 0, 0.1), 1px 0px 0px rgba(255, 255, 255, 0.2) inset;
-moz-margin-start: 38px;
-moz-margin-start: @exitSubviewGutterWidth@;
}
.panel-subviews:-moz-locale-dir(rtl) {

View File

@ -2,9 +2,6 @@
* 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/. */
%filter substitution
%define menuPanelWidth 21em
%include ../../shared/customizableui/panelUIOverlay.inc.css
#PanelUI-contents #zoom-out-btn {