From 4890d168493974a409b7eca74f9075c22f04e5a8 Mon Sep 17 00:00:00 2001
From: Till Brehm <tbrehm@ispconfig.org>
Date: Sat, 14 Nov 2015 13:58:11 +0100
Subject: [PATCH] Added CSS for 3 grouped input form fields.

---
 .../default/assets/stylesheets/ispconfig.css  | 22 +++++++++++++++++++
 .../default/assets/stylesheets/ispconfig.sass | 21 ++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/interface/web/themes/default/assets/stylesheets/ispconfig.css b/interface/web/themes/default/assets/stylesheets/ispconfig.css
index 6d29d5eda4..ed3a5a109b 100644
--- a/interface/web/themes/default/assets/stylesheets/ispconfig.css
+++ b/interface/web/themes/default/assets/stylesheets/ispconfig.css
@@ -658,3 +658,25 @@ span.flag-zw {background-position:0 -5435px}
   #logo {
     background-image: url("../images/logo@2x.png");
     background-size: 200px 65px; } }
+
+.input-group-field {
+    display: table-cell;
+    vertical-align: middle;
+    border-radius:4px;
+    min-width:1%;
+    white-space: nowrap;
+}
+.input-group-field .form-control {
+    border-radius: inherit !important;
+}
+.input-group-field:not(:first-child):not(:last-child) {
+    border-radius:0;
+}
+.input-group-field:not(:first-child):not(:last-child) .form-control {
+    border-left-width: 0;
+    border-right-width: 0;
+}
+.input-group-field:last-child {
+    border-top-left-radius:0;
+    border-bottom-left-radius:0;
+}
\ No newline at end of file
diff --git a/interface/web/themes/default/assets/stylesheets/ispconfig.sass b/interface/web/themes/default/assets/stylesheets/ispconfig.sass
index 7a40a91a5e..9855d07dc1 100644
--- a/interface/web/themes/default/assets/stylesheets/ispconfig.sass
+++ b/interface/web/themes/default/assets/stylesheets/ispconfig.sass
@@ -291,3 +291,24 @@ thead.dark
   #logo
     background-image: url('../images/logo@2x.png')
     background-size: 200px 65px
+
+.input-group-field
+  display: table-cell
+  vertical-align: middle
+  border-radius: 4px
+  min-width: 1%
+  white-space: nowrap
+
+.input-group-field .form-control 
+  border-radius: inherit !important
+
+.input-group-field:not(:first-child):not(:last-child)
+  border-radius: 0
+
+.input-group-field:not(:first-child):not(:last-child) .form-control
+  border-left-width: 0
+  border-right-width: 0
+
+.input-group-field:last-child
+  border-top-left-radius: 0
+  border-bottom-left-radius: 0
\ No newline at end of file
-- 
GitLab