зеркало из https://github.com/mozilla/gecko-dev.git
Bug 909783 - Change indentation of indicator.css to be less confusing; r=jaws
This commit is contained in:
Родитель
a0f287a8f9
Коммит
59e099872a
|
@ -26,28 +26,24 @@
|
||||||
background-image: -moz-image-rect(url("chrome://browser/skin/Toolbar-inverted.png"), 0, 198, 18, 180);
|
background-image: -moz-image-rect(url("chrome://browser/skin/Toolbar-inverted.png"), 0, 198, 18, 180);
|
||||||
}
|
}
|
||||||
|
|
||||||
#downloads-indicator[attention]
|
#downloads-indicator[attention] #downloads-indicator-icon {
|
||||||
#downloads-indicator-icon {
|
|
||||||
background-image: url("chrome://browser/skin/downloads/download-glow.png");
|
background-image: url("chrome://browser/skin/downloads/download-glow.png");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* In the next few rules, we use :not([counter]) as a shortcut that is
|
/* In the next few rules, we use :not([counter]) as a shortcut that is
|
||||||
equivalent to -moz-any([progress], [paused]). */
|
equivalent to -moz-any([progress], [paused]). */
|
||||||
|
|
||||||
#downloads-indicator:not([counter])
|
#downloads-indicator:not([counter]) #downloads-indicator-counter {
|
||||||
#downloads-indicator-counter {
|
|
||||||
background: -moz-image-rect(url("chrome://browser/skin/Toolbar.png"),
|
background: -moz-image-rect(url("chrome://browser/skin/Toolbar.png"),
|
||||||
0, 198, 18, 180) center no-repeat;
|
0, 198, 18, 180) center no-repeat;
|
||||||
background-size: 12px;
|
background-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#downloads-indicator:not([counter])
|
#downloads-indicator:not([counter]) #downloads-indicator-counter:-moz-lwtheme-brighttext {
|
||||||
#downloads-indicator-counter:-moz-lwtheme-brighttext {
|
|
||||||
background-image: -moz-image-rect(url("chrome://browser/skin/Toolbar-inverted.png"), 0, 198, 18, 180);
|
background-image: -moz-image-rect(url("chrome://browser/skin/Toolbar-inverted.png"), 0, 198, 18, 180);
|
||||||
}
|
}
|
||||||
|
|
||||||
#downloads-indicator:not([counter])[attention]
|
#downloads-indicator:not([counter])[attention] #downloads-indicator-counter {
|
||||||
#downloads-indicator-counter {
|
|
||||||
background-image: url("chrome://browser/skin/downloads/download-glow.png");
|
background-image: url("chrome://browser/skin/downloads/download-glow.png");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -61,24 +57,20 @@
|
||||||
background-image: -moz-image-rect(url("chrome://browser/skin/Toolbar-inverted@2x.png"), 0, 396, 36, 360);
|
background-image: -moz-image-rect(url("chrome://browser/skin/Toolbar-inverted@2x.png"), 0, 396, 36, 360);
|
||||||
}
|
}
|
||||||
|
|
||||||
#downloads-indicator:not([counter]) > #downloads-indicator-anchor >
|
#downloads-indicator:not([counter]) > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-counter {
|
||||||
#downloads-indicator-progress-area > #downloads-indicator-counter {
|
|
||||||
background-image: -moz-image-rect(url("chrome://browser/skin/Toolbar@2x.png"), 0, 396, 36, 360);
|
background-image: -moz-image-rect(url("chrome://browser/skin/Toolbar@2x.png"), 0, 396, 36, 360);
|
||||||
}
|
}
|
||||||
|
|
||||||
#downloads-indicator:not([counter]) > #downloads-indicator-anchor >
|
#downloads-indicator:not([counter]) > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-counter:-moz-lwtheme-brighttext {
|
||||||
#downloads-indicator-progress-area > #downloads-indicator-counter:-moz-lwtheme-brighttext {
|
|
||||||
background-image: -moz-image-rect(url("chrome://browser/skin/Toolbar-inverted@2x.png"),
|
background-image: -moz-image-rect(url("chrome://browser/skin/Toolbar-inverted@2x.png"),
|
||||||
0, 396, 36, 360);
|
0, 396, 36, 360);
|
||||||
}
|
}
|
||||||
|
|
||||||
#downloads-indicator[attention] > #downloads-indicator-anchor >
|
#downloads-indicator[attention] > #downloads-indicator-anchor > #downloads-indicator-icon {
|
||||||
#downloads-indicator-icon {
|
|
||||||
background-image: url("chrome://browser/skin/downloads/download-glow@2x.png");
|
background-image: url("chrome://browser/skin/downloads/download-glow@2x.png");
|
||||||
}
|
}
|
||||||
|
|
||||||
#downloads-indicator:not([counter])[attention] > #downloads-indicator-anchor >
|
#downloads-indicator:not([counter])[attention] > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-counter {
|
||||||
#downloads-indicator-progress-area > #downloads-indicator-counter {
|
|
||||||
background-image: url("chrome://browser/skin/downloads/download-glow@2x.png");
|
background-image: url("chrome://browser/skin/downloads/download-glow@2x.png");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче