Bug 668760 - Optimize historylist's and remotetabslist's CSS [r=mbrubeck]

Remove unnecessary child selectors, remote explicit tag names from classes, and
take advantage of inheritance.
This commit is contained in:
Lucas Rocha 2011-08-23 09:15:18 -07:00
parent 0f20cbf43c
commit aa71fdeb2b

View File

@ -420,24 +420,20 @@ toolbarbutton.choice-remotetabs {
}
/* awesomescreen panels ---------------------------------------------------- */
historylist > hbox.history-throbber-box,
remotetabslist > hbox.remotetabs-throbber-box {
.history-throbber-box,
.remotetabs-throbber-box {
list-style-image: url("chrome://browser/skin/images/throbber.png");
display: none;
}
.history-throbber-box > image,
.remotetabs-throbber-box > image {
list-style-image: url("chrome://browser/skin/images/throbber.png");
}
historylist[loading="true"] > hbox.history-throbber-box,
remotetabslist[loading="true"] > hbox.remotetabs-throbber-box {
historylist[loading="true"] > .history-throbber-box,
remotetabslist[loading="true"] > .remotetabs-throbber-box {
background-color: white;
display: -moz-box;
}
historylist[loading="true"] > richlistbox.history-list-children,
remotetabslist[loading="true"] > richlistbox.remotetabs-list-children {
historylist[loading="true"] > .history-list-children,
remotetabslist[loading="true"] > .remotetabs-list-children {
visibility: collapse;
}