[icinga-checkins] icinga.org: icingaweb2/feature/style-forms: Login: Do not apply width to input elements

git at icinga.org git at icinga.org
Mon Nov 21 10:59:50 CET 2016


Module: icingaweb2
Branch: feature/style-forms
Commit: c4dcf9ba0f3cd33eeca3b5dd79bf3370fd7387a7
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=c4dcf9ba0f3cd33eeca3b5dd79bf3370fd7387a7

Author: Florian Strohmaier <florian.strohmaier at netways.de>
Date:   Mon Nov 21 10:59:47 2016 +0100

Login: Do not apply width to input elements

---

 public/css/icinga/forms.less |   18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/public/css/icinga/forms.less b/public/css/icinga/forms.less
index 85cd0c5..f95cd7d 100644
--- a/public/css/icinga/forms.less
+++ b/public/css/icinga/forms.less
@@ -13,7 +13,6 @@ input[type=time],
 input[type=url] {
   .box-shadow(0 1px 0 0 @gray-light);
   .transition(border 0.3s ease);
-  min-width: 30em;
 
   border: none;
   border: 1px solid @gray-lighter;
@@ -25,6 +24,23 @@ input[type=url] {
   }
 }
 
+#col1,
+#col2 {
+  input:not([type]),
+  input[type=text],
+  input[type=date],
+  input[type=datetime-local],
+  input[type=email],
+  input[type=number],
+  input[type=password],
+  input[type=search],
+  input[type=tel],
+  input[type=time],
+  input[type=url] {
+    min-width: 30em;
+  }
+}
+
 select, textarea {
   width: 30em;
 }



More information about the icinga-checkins mailing list