mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-09 04:25:38 +00:00
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:
parent
0f20cbf43c
commit
aa71fdeb2b
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user