From e7d78f003cc34c7add678a0a8d4fd4321eacd95a Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Wed, 30 Sep 2015 11:16:15 +0200 Subject: [PATCH] CSS: Style form buttons refs #5543 --- public/css/icinga/forms.less | 20 ++++++++++++++++++++ public/css/icinga/main.less | 5 ----- 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/public/css/icinga/forms.less b/public/css/icinga/forms.less index 26e778563..0ef0530a4 100644 --- a/public/css/icinga/forms.less +++ b/public/css/icinga/forms.less @@ -22,6 +22,11 @@ input, select, textarea { width: 320px; } +input[type="checkbox"], +input[type="submit"] { + width: initial; +} + form { // Disable icons for the moment i { @@ -29,6 +34,21 @@ form { } } +// TODO(el): .form-inline control-group { display: inline-block; } +form.inline { + display: inline-block; +} + + +.form-controls { + margin-left: 160px; +} + +button, +input[type="submit"] { + .button(); +} + .control-label { display: inline-block; font-size: @font-size-small; diff --git a/public/css/icinga/main.less b/public/css/icinga/main.less index 69065e456..22a8a38a4 100644 --- a/public/css/icinga/main.less +++ b/public/css/icinga/main.less @@ -122,8 +122,3 @@ a.button { height: 16px; width: 16px; } - -// TODO(el): .form-inline control-group { display: inline-block; } -form.inline { - display: inline-block; -}