[Kimchi-devel] [PATCH 1/2] [Wok] Minor fixes in form fields

sguimaraes943 at gmail.com sguimaraes943 at gmail.com
Tue Aug 30 19:14:59 UTC 2016


From: Samuel Guimarães <sguimaraes943 at gmail.com>

Signed-off-by: Samuel Guimarães <sguimaraes943 at gmail.com>
---
 ui/css/src/modules/_wok-forms.scss | 11 +++++++++++
 ui/css/wok.css                     | 11 +++++++++++
 2 files changed, 22 insertions(+)

diff --git a/ui/css/src/modules/_wok-forms.scss b/ui/css/src/modules/_wok-forms.scss
index 8fb684f..2ab6e7e 100644
--- a/ui/css/src/modules/_wok-forms.scss
+++ b/ui/css/src/modules/_wok-forms.scss
@@ -31,15 +31,26 @@ label {
 // Form feedback classes
 
 .form-control-feedback {
+    display: none;
     width: 16px;
     height: 16px;
 }
 
 .has-feedback label ~ .form-control-feedback {
+    display: block;
     top: 43px;
     margin-right: 10px;
 }
 
+.has-feedback .form-control {
+    padding-right: 12px;
+}
+
+.has-warning.has-feedback form-control,
+.has-error.has-feedback .form-control {
+    padding-right: 42.5px;
+}
+
 .has-feedback .form-control-feedback {
   display: none;
 }
diff --git a/ui/css/wok.css b/ui/css/wok.css
index 1774514..18727b3 100644
--- a/ui/css/wok.css
+++ b/ui/css/wok.css
@@ -1246,15 +1246,26 @@ label {
 }
 
 .form-control-feedback {
+  display: none;
   width: 16px;
   height: 16px;
 }
 
 .has-feedback label ~ .form-control-feedback {
+  display: block;
   top: 43px;
   margin-right: 10px;
 }
 
+.has-feedback .form-control {
+  padding-right: 12px;
+}
+
+.has-warning.has-feedback form-control,
+.has-error.has-feedback .form-control {
+  padding-right: 42.5px;
+}
+
 .has-feedback .form-control-feedback {
   display: none;
 }
-- 
2.5.5




More information about the Kimchi-devel mailing list