Bug 1703458 - Fix some theme issues after bug 1701448. r=desktop-theme-reviewers,Itiel

* Actions menu icons can be too large (on Windows for instance)
* panel list font on Windows is inconsistent in add-ons manager and about:logins
* Fix RTL background-position for about:addons menu icons

Differential Revision: https://phabricator.services.mozilla.com/D111054
This commit is contained in:
Tim Nguyen 2021-04-07 09:15:30 +00:00
Родитель 5d706650be
Коммит 99e31abc67
4 изменённых файлов: 10 добавлений и 10 удалений

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

@ -2,13 +2,6 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
.typeIcon,
.actionIcon,
.actionsMenu::part(icon) {
height: 16px;
width: 16px;
}
.actionsMenu > menupopup > menuitem > .menu-iconic-left { .actionsMenu > menupopup > menuitem > .menu-iconic-left {
/* Undo content/browser/preferences/handlers.css - we don't /* Undo content/browser/preferences/handlers.css - we don't
* want icon-less labels to line up with the other labels. * want icon-less labels to line up with the other labels.

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

@ -368,6 +368,13 @@ checkbox {
min-height: 30px !important; min-height: 30px !important;
} }
.typeIcon,
.actionIcon,
.actionsMenu::part(icon) {
height: 16px;
width: 16px;
}
.typeIcon { .typeIcon {
margin-inline: 10px 9px !important; margin-inline: 10px 9px !important;
} }

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

@ -735,7 +735,7 @@ button.tab-button:-moz-focusring {
} }
panel-list { panel-list {
font-size: 13px; font: menu;
} }
@media (max-width: 830px) { @media (max-width: 830px) {

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

@ -27,7 +27,7 @@ button {
border: none; border: none;
position: relative; position: relative;
display: block; display: block;
font-size: inherit; font: inherit;
padding: 4px 8px; padding: 4px 8px;
padding-inline-start: 32px; padding-inline-start: 32px;
text-align: start; text-align: start;
@ -35,7 +35,7 @@ button {
} }
button:dir(rtl) { button:dir(rtl) {
background-position-x: right 14px; background-position-x: right 8px;
} }
:host([badged]) button::after { :host([badged]) button::after {