зеркало из https://github.com/mozilla/gecko-dev.git
Bug 521410 - buttons without labels should ignore the images-in-buttons setting. r=gavin
This commit is contained in:
Родитель
c7838fb8ec
Коммит
ffa7884b2c
|
@ -144,7 +144,8 @@ button[type="menu-button"] {
|
||||||
|
|
||||||
%ifdef MOZ_WIDGET_GTK2
|
%ifdef MOZ_WIDGET_GTK2
|
||||||
/********* detection of system setting to use icons in buttons ***********/
|
/********* detection of system setting to use icons in buttons ***********/
|
||||||
.button-icon:not(:-moz-system-metric(images-in-buttons)) {
|
button[label]:not([label=""]) > .button-box > .button-icon:not(:-moz-system-metric(images-in-buttons)),
|
||||||
|
button[label]:not([label=""]) > .button-box > .box-inherit > .button-icon:not(:-moz-system-metric(images-in-buttons)) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
%endif
|
%endif
|
||||||
|
|
Загрузка…
Ссылка в новой задаче