Bug 1512159 - Fix hiding of minimize and restore buttons in tablet mode. r=mconley

Differential Revision: https://phabricator.services.mozilla.com/D13800
This commit is contained in:
Dão Gottwald
2018-12-07 14:37:35 +00:00
parent 64fca546a7
commit 89e48bdb68
2 changed files with 7 additions and 13 deletions

View File

@@ -351,17 +351,6 @@ toolbarpaletteitem {
}
%endif
%ifdef XP_WIN
:root[sizemode="maximized"] #titlebar-buttonbox {
-moz-appearance: -moz-window-button-box-maximized;
}
:root[tabletmode] #titlebar-min,
:root[tabletmode] #titlebar-max {
display: none !important;
}
%endif
:root[inDOMFullscreen] #navigator-toolbox,
:root[inDOMFullscreen] #fullscr-toggler,
:root[inDOMFullscreen] #sidebar-box,

View File

@@ -350,7 +350,7 @@
}
}
/* titlebar command buttons */
/* window control buttons */
.titlebar-min {
-moz-appearance: -moz-window-button-minimize;
@@ -360,7 +360,7 @@
-moz-appearance: -moz-window-button-maximize;
}
#main-window[sizemode="maximized"] .titlebar-max {
:root[sizemode="maximized"] .titlebar-max {
-moz-appearance: -moz-window-button-restore;
}
@@ -374,6 +374,11 @@
}
}
:root[tabletmode] .titlebar-min,
:root[tabletmode] .titlebar-max {
display: none;
}
/* ::::: bookmark menus ::::: */
menu.bookmark-item,