Bug 1631278 - Mirror the "Restore" window control button for RTL r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D71478
This commit is contained in:
Itiel 2020-04-20 13:24:46 +00:00
Родитель 92ded7360e
Коммит fdc6dbadf7
2 изменённых файлов: 15 добавлений и 6 удалений

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

@ -132,6 +132,10 @@
list-style-image: url(chrome://browser/skin/window-controls/restore.svg);
}
.titlebar-restore > .toolbarbutton-icon:-moz-locale-dir(rtl) {
transform: scaleX(-1);
}
.titlebar-close {
list-style-image: url(chrome://browser/skin/window-controls/close.svg);
}

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

@ -250,7 +250,7 @@
background-color: -moz-dialog;
}
/* ::::: titlebar ::::: */
/* Titlebar */
:root[tabsintitlebar][sizemode="normal"] #titlebar {
-moz-appearance: -moz-window-titlebar;
@ -311,7 +311,7 @@
}
}
/* window control buttons */
/* Window control buttons */
.titlebar-min {
-moz-appearance: -moz-window-button-minimize;
@ -341,7 +341,7 @@
display: none;
}
/* ::::: bookmark menus ::::: */
/* Bookmark menus */
menu.bookmark-item,
menuitem.bookmark-item {
@ -372,7 +372,7 @@ menuitem.bookmark-item {
%include ../shared/toolbarbutton-icons.inc.css
%include ../shared/menupanel.inc.css
/* ::::: fullscreen window controls ::::: */
/* Fullscreen window controls */
#minimize-button,
#restore-button,
@ -392,6 +392,10 @@ menuitem.bookmark-item {
list-style-image: url(chrome://browser/skin/window-controls/restore.svg);
}
#restore-button > .toolbarbutton-icon:-moz-locale-dir(rtl) {
transform: scaleX(-1);
}
#minimize-button:hover,
#restore-button:hover {
background-color: hsla(0,0%,0%,.12);
@ -501,7 +505,7 @@ menuitem.bookmark-item {
}
}
/* ::::: Location Bar ::::: */
/* Location bar */
%include ../shared/urlbar-searchbar.inc.css
@ -568,7 +572,7 @@ menuitem.bookmark-item {
%include ../shared/places/editBookmarkPanel.inc.css
/* ::::: Content area ::::: */
/* Content area */
%include ../shared/sidebar.inc.css
@ -713,6 +717,7 @@ notification[value="translation"] {
}
/* Bookmarks roots menu-items */
#bookmarksToolbarFolderMenu,
#BMB_bookmarksToolbar,
#panelMenu_bookmarksToolbar {