From 320cf63ded42a5ca8599eb0e786d52e9f8d799db Mon Sep 17 00:00:00 2001
From: Brandon Clayton <bclayton@usgs.gov>
Date: Thu, 7 Dec 2023 15:34:10 -0700
Subject: [PATCH] use drupal

---
 src/main/resources/swagger/index.css | 102 +++------------------------
 1 file changed, 10 insertions(+), 92 deletions(-)

diff --git a/src/main/resources/swagger/index.css b/src/main/resources/swagger/index.css
index b514b93..e4d2ac3 100644
--- a/src/main/resources/swagger/index.css
+++ b/src/main/resources/swagger/index.css
@@ -1,79 +1,14 @@
 html,
 body {
   height: 100%;
-  overflow: hidden;
 }
 
 body {
-  color: #333;
-  font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
   margin: 0;
-  overflow: scroll;
+  font-family: Roboto, 'Helvetica Neue', sans-serif;
 }
 
-#swagger-ui {
-  padding-top: 2em;
-  padding-bottom: 50px;
-}
-
-.nshmp-template-header,
-.nshmp-template-footer {
-  background-color: #3d5e80;
-  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
-  height: 30px;
-  padding: 10px;
-  position: fixed;
-  width: 100vw;
-  z-index: 4;
-}
-
-/* ---- Header ---- */
-
-.nshmp-template-header {
-  top: 0;
-}
-
-.nshmp-template-header .nshmp-template-header--logo {
-  height: 28px;
-  overflow: hidden;
-
-}
-
-.nshmp-template-header--logo .usgs-logo {
-  display: inline-block;
-  height: 100%;
-  position: relative;
-
-}
-
-.nshmp-template-header--logo .usgs-logo img {
-  border: none;
-  height: 140%;
-  max-width: 100%;
-}
-
-/* ---- Footer ---- */
-
-.nshmp-template-footer {
-  bottom: 0;
-  font-size: large;
-  text-align: center;
-}
-
-.nshmp-template-footer a {
-  color: white;
-  cursor: pointer;
-  line-height: 30px;
-  padding: 0 1em;
-  text-decoration: none;
-}
-
-.nshmp-template-footer a:visited {
-  color: white;
-}
-
-/* ---- Disclaimer ---- */
-
+/* Match Swagger UI wrapper */
 .wrapper {
   box-sizing: border-box;
   margin: 0 auto;
@@ -82,39 +17,22 @@ body {
   width: 100%;
 }
 
-@media only screen and (max-width: 1000px) {
-  .alert {
-    line-height: 1.1 !important;
-    font-size: 10px !important;
-  }
+.logo-header {
+  margin-right: 8px;
 }
 
-.alert {
-  background-color: #fff3cd;
-  border-color: #ffecb5;
-  box-shadow: 0 3px 1px -2px #0003, 0 2px 2px #00000024, 0 1px 5px #0000001f;
-  line-height: 1.5;
-  margin: 1em 1em 0 1em;
-  overflow: hidden;
-  padding: 1.5em 2em;
-  position: relative;
-  top: 50px;
+.logo-header img {
+  height: 50px;
 }
 
-.alert:before {
-  content: '\0e002';
-  font-family: 'Material Icons';
-  font-size: 4.5em;
-  left: -.2em;
-  line-height: 1;
-  opacity: .075;
-  position: absolute;
-  top: -.2em;
+.header-search button[type=submit] {
+  margin-top: 14px;
 }
 
 details {
-  cursor: pointer;
+  background-color: white;
   box-shadow: 0 3px 1px -2px #0003, 0 2px 2px #00000024, 0 1px 5px #0000001f;
+  cursor: pointer;
 }
 
 details:hover {
-- 
GitLab