diff --git a/app/javascript/src/application.scss b/app/javascript/src/application.scss index 2bd369f..f347db2 100644 --- a/app/javascript/src/application.scss +++ b/app/javascript/src/application.scss @@ -39,4 +39,58 @@ .main-content-body { min-height: 100vh !important; overflow: auto; -} \ No newline at end of file +} + +// Modal Form custom styling // + +.modal-doctrine-body .selectize-control { + border: none !important; +} + + +.modal-doctrine-body .modal-header { + background: darkred !important; + color: #fff !important; + + button.btn-close-x { + background: transparent; + border: none; + color: #fff; + font-size: 18px; + width: 30px; + } + + button.btn-close-x:hover { + background: white !important; + border-radius: 18px; + color: darkred !important; + width: 30px; + } +} + +// Document custom styling // + +.doct-body-index div:last-child .hr { + display: none !important; +} + +.doc-nav-body.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active { + color: #ffffff !important; + background: darkred !important; + font-weight: 800; +} + +.doc-nav-body .nav-item button { + color: #000; +} + +// Cited custom styling // + +.cited-table-body .table-width { + width: 97%; + margin: 0 auto; +} + +.doctrine-index-body .doctrine-content-body { + padding-left: 15px; +} diff --git a/app/views/documents/show.html.erb b/app/views/documents/show.html.erb index 74e6838..8a45598 100644 --- a/app/views/documents/show.html.erb +++ b/app/views/documents/show.html.erb @@ -1,24 +1,45 @@ + +
-
- - - - - - - - +
+
+
+
+
+
+
+ Date : +
+
+ <%= @document.docdate.present? ? @document.docdate.strftime("%m/%d/%Y") : @document.year %> +
+
+
-
- - - - -
Reference Number: <%= @document.reference_number %> Date: <%= @document.docdate.present? ? @document.docdate.strftime("%m/%d/%Y") : @document.year %>
Title: <%= @document.title %>
+
+
+
+ Reference Number : +
+
+ <%= @document.reference_number %> +
+
+
+
+
+
+ Title : +
+
+ <%= @document.title %> +
+
+
+
- -
-