]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fix spinner mixin for IE8 and IE9
authorJouni Koivuviita <jouni@vaadin.com>
Fri, 13 Jun 2014 08:49:43 +0000 (11:49 +0300)
committerJouni Koivuviita <jouni@vaadin.com>
Wed, 18 Jun 2014 07:56:00 +0000 (07:56 +0000)
Fixes indeterminate ProgressBar style as well (using the spinner mixin).

Change-Id: I35729e465e2249515fc4668167b1d18aa3783a97

WebContent/VAADIN/themes/valo/components/_progressbar.scss
WebContent/VAADIN/themes/valo/shared/_loading-indicator.scss

index 2c7e9925e7c522a90d0c5e88b994d32861c36d4f..c7f7f72514888880c616e0b1ad50a52d8ee9a7b6 100644 (file)
@@ -33,6 +33,14 @@ $v-progressbar-border-radius: $v-border-radius !default;
     }
   }
 
+  .#{$primary-stylename}-indeterminate {
+    @include valo-spinner;
+    
+    .#{$primary-stylename}-wrapper {
+      display: none;
+    }
+  }
+
 }
 
 
index 88963d5950240cea1ddce2eb73bf100377fcf398..03bfe301eac1400cef23f53296b3d4bf2e2e738b 100644 (file)
   border-radius: 100%;
   @include animation(v-rotate-360 $speed infinite linear);
   pointer-events: none;
+
+  // No CSS animation in IE8 and IE9
+  .v-ie8 &,
+  .v-ie9 & {
+    border: none;
+    border-radius: $v-border-radius;
+    background: #fff url($valo-shared-pathPrefix + "img/spinner.gif") no-repeat 50% 50%;
+    background-size: 80%;
+  }
+
+  // No background-size for IE8
+  .v-ie8 & {
+    min-width: 30px;
+    min-height: 30px;
+  }
 }