diff options
author | Robert Jaros <rjaros@finn.pl> | 2020-01-31 15:54:55 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2020-01-31 15:54:55 +0100 |
commit | aa22ebc3b9c34879687047a28d22c4487c6ac380 (patch) | |
tree | 9b990791690e34a49b9dfb8a78bfbe0a303ce515 /src/main/resources/css/style.css | |
parent | 2d8dcf194b83c39a1c3628dc207dda3bcc5652f0 (diff) | |
download | kvision-aa22ebc3b9c34879687047a28d22c4487c6ac380.tar.gz kvision-aa22ebc3b9c34879687047a28d22c4487c6ac380.tar.bz2 kvision-aa22ebc3b9c34879687047a28d22c4487c6ac380.zip |
Support for fieldset HTML element both as a standalone container and within FormPanel (#129)
Diffstat (limited to 'src/main/resources/css/style.css')
-rw-r--r-- | src/main/resources/css/style.css | 33 |
1 files changed, 33 insertions, 0 deletions
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; +} |