Prechádzať zdrojové kódy

fixed frontend search field bad display

Bachir Soussi Chiadmi 9 rokov pred
rodič
commit
580c97dc49

+ 4 - 4
sites/all/themes/gui/materiobasetheme/css/styles.css

@@ -3986,14 +3986,14 @@ html.js #highlighted .block-materio-didactique .tabs > *:hover, html.js #highlig
 /* line 962, ../scss/styles.scss */
 #tool-bar #materio-search-api-search-form input#edit-searchfield {
   border: 1px solid #ccc;
-  border-radius: 20px;
+  border-radius: 15px;
   background-clip: padding-box;
+  margin: 3px 0 3px 3px;
   padding: 4px 5px;
-  height: 25px;
+  height: 20px;
   font-size: 12px;
   line-height: 1;
-  background-position: 100% 5px;
-  width: 105%;
+  background-position: 100% 7px;
 }
 /* line 968, ../scss/styles.scss */
 #tool-bar #materio-search-api-search-form input#edit-searchfield.throbbing {

+ 4 - 4
sites/all/themes/gui/materiobasetheme/scss/styles.scss

@@ -960,11 +960,11 @@ $headerouterheight:$headerheight+$headerpaddingtop+$headerpaddingbottom;
     }
 
     input#edit-searchfield{
-      border: 1px solid #ccc; @include rounded(20px);
-      padding: 4px 5px; height:25px;
+      border: 1px solid #ccc; @include rounded(15px);
+      margin:3px 0 3px 3px; padding: 4px 5px; height:20px;
       @include fs12; line-height:1;
-      background-position: 100% 5px;
-      width:105%;
+      background-position: 100% 7px;
+      // width:100%;
       &.throbbing { background-position: 100% -15px; }
     }