diff --git a/themes/bootstrap3/scss/bootstrap.scss b/themes/bootstrap3/scss/bootstrap.scss index 853afdf33598991c299454e25730da743db61d22..824201366af43301eaffbf2dc5fe8041c4af4686 100644 --- a/themes/bootstrap3/scss/bootstrap.scss +++ b/themes/bootstrap3/scss/bootstrap.scss @@ -10,6 +10,7 @@ $fa-font-path: "../../bootstrap3/css/fonts"; @import "components/alphabrowse"; @import "components/autocomplete"; @import "components/channels"; +@import "components/form"; @import "components/icons"; @import "components/js-tree"; @import "components/lightbox"; diff --git a/themes/bootstrap3/scss/components/form.scss b/themes/bootstrap3/scss/components/form.scss new file mode 100644 index 0000000000000000000000000000000000000000..5a67b247fb004365778008ac06ddae6b3d05f2a9 --- /dev/null +++ b/themes/bootstrap3/scss/components/form.scss @@ -0,0 +1,21 @@ +form { + textarea:invalid, + input:invalid { + box-shadow: 0 0 2px 1px rgba(255, 0, 0, 0.9); + } + .form-info { + font-weight: bold; + margin: 20px 0; + } + .info { + margin: 10px 0; + } + .form-group ul { + padding: 0; + margin-left: 15px; + margin-top: 5px; + } + .form-group label.required::before { + content: '* '; + } +} diff --git a/themes/bootstrap3/scss/components/sidebar.scss b/themes/bootstrap3/scss/components/sidebar.scss index 059b4d9fb81994955d8023c7a7f1232c4da2cbb4..847fc0bb97b3ae7982a32e09b7599eb7a648c844 100644 --- a/themes/bootstrap3/scss/components/sidebar.scss +++ b/themes/bootstrap3/scss/components/sidebar.scss @@ -40,7 +40,8 @@ .badge { flex-shrink: 0; max-height: 19px; - line-height: 1.1rem; + line-height: 1.2; + vertical-align: baseline; } .exclude { @@ -60,10 +61,6 @@ text-align: inherit; } -.top-facets { - margin-left: -.5rem; - margin-right: -.5rem; -} .top-facets .facet, .top-facets .narrow-toggle, .top-facets > strong { @@ -74,6 +71,11 @@ white-space: nowrap; } .top-facets .narrow-toggle { text-decoration: underline; } +.top-facets .top-facet { + margin-top: 2px; + margin-bottom: 2px; + border: 1px solid $list-group-border; +} .checkbox-filter { display: block;