Origin: vendor
Forwarded: not-needed
From: Gunnar Wolf <gwolf@debian.org>
Last-Update: 2014-11-21
Description: Fixes alignment issue in the Ajax progress throbber
 Fixed a bug which caused the Ajax progress throbber to appear misaligned in
 many situatons (minor styling change).
 .
 Fixes Drupal issue #1069152
 .
 Backported from 7.33.
Index: drupal7/modules/system/system.base-rtl.css
===================================================================
--- drupal7.orig/modules/system/system.base-rtl.css
+++ drupal7/modules/system/system.base-rtl.css
@@ -9,10 +9,10 @@
  */
 /* Animated throbber */
 html.js input.form-autocomplete {
-  background-position: 0% 2px;
+  background-position: 0% center;
 }
 html.js input.throbbing {
-  background-position: 0% -18px;
+  background-position: 0% center;
 }
 
 /**
Index: drupal7/modules/system/system.base.css
===================================================================
--- drupal7.orig/modules/system/system.base.css
+++ drupal7/modules/system/system.base.css
@@ -31,12 +31,13 @@
 }
 /* Animated throbber */
 html.js input.form-autocomplete {
-  background-image: url(../../misc/throbber.gif);
-  background-position: 100% 2px; /* LTR */
+  background-image: url(../../misc/throbber-inactive.png);
+  background-position: 100% center; /* LTR */
   background-repeat: no-repeat;
 }
 html.js input.throbbing {
-  background-position: 100% -18px; /* LTR */
+  background-image: url(../../misc/throbber-active.gif);
+  background-position: 100% center; /* LTR */
 }
 
 /**
@@ -164,7 +165,7 @@ table.sticky-header {
   display: inline-block;
 }
 .ajax-progress .throbber {
-  background: transparent url(../../misc/throbber.gif) no-repeat 0px -18px;
+  background: transparent url(../../misc/throbber-active.gif) no-repeat 0px center;
   float: left; /* LTR */
   height: 15px;
   margin: 2px;
Index: drupal7/themes/bartik/css/style.css
===================================================================
--- drupal7.orig/themes/bartik/css/style.css
+++ drupal7/themes/bartik/css/style.css
@@ -1326,14 +1326,6 @@ input.form-button-disabled:active,
   color: #717171;
 }
 
-/* Animated throbber */
-html.js input.form-autocomplete {
-  background-position: 100% 4px; /* LTR */
-}
-html.js input.throbbing {
-  background-position: 100% -16px; /* LTR */
-}
-
 /* Comment form */
 .comment-form label {
   float: left; /* LTR */
Index: drupal7/themes/seven/style.css
===================================================================
--- drupal7.orig/themes/seven/style.css
+++ drupal7/themes/seven/style.css
@@ -709,12 +709,7 @@ select.form-select:focus {
   color: #000;
   border-color: #ace;
 }
-html.js input.form-autocomplete {
-  background-position: 100% 4px;
-}
-html.js input.throbbing {
-  background-position: 100% -16px;
-}
+
 ul.action-links {
   margin: 1em 0;
   padding: 0 20px 0 20px; /* LTR */
Index: drupal7/themes/bartik/css/style-rtl.css
===================================================================
--- drupal7.orig/themes/bartik/css/style-rtl.css
+++ drupal7/themes/bartik/css/style-rtl.css
@@ -225,10 +225,10 @@ ul.action-links li a {
 
 /* Animated throbber */
 html.js input.form-autocomplete {
-  background-position: 1% 4px;
+  background-position: 1% center;
 }
 html.js input.throbbing {
-  background-position: 1% -16px;
+  background-position: 1% center;
 }
 
 /* Comment form */
