Bug 1192598 - Cut back on .menu-iconic-right / [endimage] selectors. r=enn

This commit is contained in:
Dão Gottwald 2015-08-10 17:41:17 +02:00
parent 2e2d6b9c59
commit 13e639ebf6
4 changed files with 7 additions and 21 deletions

View File

@ -70,8 +70,7 @@ menuitem.spell-suggestion {
-moz-margin-end: 1.35em !important;
}
.menu-iconic-left,
.menu-iconic-right {
.menu-iconic-left {
min-width: 1.45em;
}
@ -156,11 +155,8 @@ menulist > menupopup > menu {
}
menulist > menupopup > menuitem > .menu-iconic-left,
menulist > menupopup > menu > .menu-iconic-left,
menulist > menupopup > menuitem > .menu-iconic-right,
menulist > menupopup > menu > .menu-iconic-right {
menulist > menupopup > menu > .menu-iconic-left {
display: none;
padding-top: 0px;
}
menulist > menupopup > menuitem > label,

View File

@ -160,10 +160,7 @@ menucaption > .menu-iconic-text {
menulist > menupopup > menuitem > .menu-iconic-left,
menulist > menupopup > menucaption > .menu-iconic-left,
menulist > menupopup > menu > .menu-iconic-left,
menulist > menupopup > menuitem > .menu-iconic-right,
menulist > menupopup > menucaption > .menu-iconic-right,
menulist > menupopup > menu > .menu-iconic-right {
menulist > menupopup > menu > .menu-iconic-left {
display: none;
}

View File

@ -63,7 +63,6 @@ menucaption > .menu-iconic-text {
.menuitem-iconic,
.menu-iconic,
menuitem[image],
menuitem[endimage],
menuitem[src] {
/* 2px higher than those without icons */
padding-top: 1px;
@ -168,8 +167,7 @@ menulist[editable="true"] > menupopup > menucaption {
-moz-appearance: none;
}
menulist[editable="true"] > menupopup > :-moz-any(menuitem, menucaption) > .menu-iconic-left,
menulist[editable="true"] > menupopup > :-moz-any(menuitem, menucaption) > .menu-iconic-right {
menulist[editable="true"] > menupopup > :-moz-any(menuitem, menucaption) > .menu-iconic-left {
display: none;
}

View File

@ -92,8 +92,7 @@ menucaption > .menu-iconic-text {
-moz-margin-end: 1.35em !important;
}
.menu-iconic-left,
.menu-iconic-right {
.menu-iconic-left {
min-width: 1.45em;
}
@ -222,12 +221,8 @@ menulist > menupopup > menu[_moz-menuactive="true"] {
menulist > menupopup > menuitem > .menu-iconic-left,
menulist > menupopup > menucaption > .menu-iconic-left,
menulist > menupopup > menu > .menu-iconic-left,
menulist > menupopup > menuitem > .menu-iconic-right,
menulist > menupopup > menucaption > .menu-iconic-right,
menulist > menupopup > menu > .menu-iconic-right {
menulist > menupopup > menu > .menu-iconic-left {
display: none;
padding-top: 0px;
}
menulist > menupopup > menuitem > label,
@ -250,7 +245,7 @@ menulist > menupopup > menuitem[disabled="true"]:not([_moz-menuactive="true"]):-
text-shadow: none;
}
menulist > menupopup > :-moz-any(menuitem, menucaption):not(.menuitem-iconic):not([endimage]) > .menu-iconic-text {
menulist > menupopup > :-moz-any(menuitem, menucaption):not(.menuitem-iconic) > .menu-iconic-text {
margin: 0 !important;
}