From b822fa089c0272dfd90b8c0ad3f02e52bf9a7fa0 Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Tue, 18 Dec 2018 12:38:07 -0500
Subject: [PATCH] Update SCSS.

---
 themes/bootstrap3/scss/bootstrap.scss         |  1 +
 themes/bootstrap3/scss/components/form.scss   | 21 +++++++++++++++++++
 .../bootstrap3/scss/components/sidebar.scss   | 12 ++++++-----
 3 files changed, 29 insertions(+), 5 deletions(-)
 create mode 100644 themes/bootstrap3/scss/components/form.scss

diff --git a/themes/bootstrap3/scss/bootstrap.scss b/themes/bootstrap3/scss/bootstrap.scss
index 853afdf3359..824201366af 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 00000000000..5a67b247fb0
--- /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 059b4d9fb81..847fc0bb97b 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;
-- 
GitLab