summaryrefslogtreecommitdiff
path: root/resources/jquery/jquery.spinner.css
diff options
context:
space:
mode:
Diffstat (limited to 'resources/jquery/jquery.spinner.css')
-rw-r--r--resources/jquery/jquery.spinner.css34
1 files changed, 31 insertions, 3 deletions
diff --git a/resources/jquery/jquery.spinner.css b/resources/jquery/jquery.spinner.css
index 150a51b4..4a775283 100644
--- a/resources/jquery/jquery.spinner.css
+++ b/resources/jquery/jquery.spinner.css
@@ -1,12 +1,40 @@
.mw-spinner {
+ background-color: transparent;
+ background-position: center center;
+ background-repeat: no-repeat;
+}
+
+.mw-spinner-small {
/* @embed */
- background: transparent url(images/spinner.gif);
+ background-image: url(images/spinner.gif);
height: 20px;
width: 20px;
+ /* Avoid issues with .mw-spinner-block when floated without width. */
+ min-width: 20px;
+}
+
+.mw-spinner-large {
+ /* @embed */
+ background-image: url(images/spinner-large.gif);
+ height: 32px;
+ width: 32px;
+ /* Avoid issues with .mw-spinner-block when floated without width. */
+ min-width: 32px;
+}
+
+.mw-spinner-block {
+ display: block;
+ /* This overrides width from .mw-spinner-large / .mw-spinner-small,
+ * This is where the min-width kicks in.
+ */
+ width: 100%;
+}
+
+.mw-spinner-inline {
display: inline-block;
vertical-align: middle;
- /* IE < 8 Hacks */
+ /* IE < 8 */
zoom: 1;
*display: inline;
-} \ No newline at end of file
+}