Skip to content

Commit 4890d16

Browse files
author
Till Brehm
committed
Added CSS for 3 grouped input form fields.
1 parent 8ce5e30 commit 4890d16

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

interface/web/themes/default/assets/stylesheets/ispconfig.css

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -658,3 +658,25 @@ span.flag-zw {background-position:0 -5435px}
658658
#logo {
659659
background-image: url("../images/logo@2x.png");
660660
background-size: 200px 65px; } }
661+
662+
.input-group-field {
663+
display: table-cell;
664+
vertical-align: middle;
665+
border-radius:4px;
666+
min-width:1%;
667+
white-space: nowrap;
668+
}
669+
.input-group-field .form-control {
670+
border-radius: inherit !important;
671+
}
672+
.input-group-field:not(:first-child):not(:last-child) {
673+
border-radius:0;
674+
}
675+
.input-group-field:not(:first-child):not(:last-child) .form-control {
676+
border-left-width: 0;
677+
border-right-width: 0;
678+
}
679+
.input-group-field:last-child {
680+
border-top-left-radius:0;
681+
border-bottom-left-radius:0;
682+
}

interface/web/themes/default/assets/stylesheets/ispconfig.sass

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,3 +291,24 @@ thead.dark
291291
#logo
292292
background-image: url('../images/logo@2x.png')
293293
background-size: 200px 65px
294+
295+
.input-group-field
296+
display: table-cell
297+
vertical-align: middle
298+
border-radius: 4px
299+
min-width: 1%
300+
white-space: nowrap
301+
302+
.input-group-field .form-control
303+
border-radius: inherit !important
304+
305+
.input-group-field:not(:first-child):not(:last-child)
306+
border-radius: 0
307+
308+
.input-group-field:not(:first-child):not(:last-child) .form-control
309+
border-left-width: 0
310+
border-right-width: 0
311+
312+
.input-group-field:last-child
313+
border-top-left-radius: 0
314+
border-bottom-left-radius: 0

0 commit comments

Comments
 (0)