From aa22ebc3b9c34879687047a28d22c4487c6ac380 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Fri, 31 Jan 2020 15:54:55 +0100 Subject: Support for fieldset HTML element both as a standalone container and within FormPanel (#129) --- src/main/resources/css/style.css | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'src/main/resources/css') diff --git a/src/main/resources/css/style.css b/src/main/resources/css/style.css index 2ab48b5e..5fa4d72c 100644 --- a/src/main/resources/css/style.css +++ b/src/main/resources/css/style.css @@ -405,3 +405,36 @@ select.form-control, .tabulator-row .tabulator-cell.tabulator-editing select { .modal-dialog .modal-footer>button { margin-top: 5px; } + +.kv_fieldset { + border: 1px solid #dee2e6; + border-radius: 0.25rem; + padding-left: 1rem; + padding-right: 1rem; +} + +.kv_fieldset legend { + border: 1px solid #dee2e6; + border-radius: 0.25rem; + margin-bottom: 0; + font-size: 1rem; + font-weight: bold; + padding: 3px 10px 3px 10px; + width: auto; +} + +form fieldset.kv_fieldset { + padding-top: 5px; + margin-bottom: 8px; +} + +form[class~="form-horizontal"] fieldset.kv_fieldset { + padding-left: 1.1rem; + padding-right: 2rem; + margin-right: -15px; + margin-left: -15px; +} + +form[class~="form-horizontal"] div.form-group { + align-items: center; +} -- cgit