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

Differential Revision: https://phabricator.services.mozilla.com/D13800

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Dão Gottwald 2018-12-07 14:37:35 +00:00
Родитель 20d0366a50
Коммит 38c1a64250
2 изменённых файлов: 7 добавлений и 13 удалений

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

@ -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,

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

@ -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,