diff --git a/app/static/app.css b/app/static/app.css index 083b275..766085a 100644 --- a/app/static/app.css +++ b/app/static/app.css @@ -3488,26 +3488,7 @@ table { align-items: center !important; } - .detail-sticky-header .queue-nav-row::before { - content: "Save Document"; - display: inline-flex !important; - align-items: center !important; - justify-content: center !important; - font-size: 0.72rem !important; - line-height: 1 !important; - font-weight: 500 !important; - min-height: 1.50rem !important; - height: 1.50rem !important; - padding: 0 0.34rem !important; - border-radius: 999px !important; - white-space: nowrap !important; - border: 1px solid #d7dce5 !important; - background: #ffffff !important; - color: #1f2937 !important; - box-sizing: border-box !important; - order: -1 !important; } -} /* ===== end save document into nav row ===== */ @@ -3666,21 +3647,6 @@ table { .top-pill-button, .detail-sticky-header .queue-nav-row .button-link, .detail-trash-inline button, - .detail-sticky-header .queue-nav-row::before { - display: inline-flex !important; - align-items: center !important; - justify-content: center !important; - font-size: 0.72rem !important; - line-height: 1 !important; - font-weight: 500 !important; - height: 1.50rem !important; - min-height: 1.50rem !important; - padding: 0 0.34rem !important; - border-radius: 999px !important; - white-space: nowrap !important; - box-sizing: border-box !important; - } - .detail-save-pdf-form { display: flex !important; flex-wrap: wrap !important; @@ -4221,17 +4187,11 @@ table { -/* ===== save document far right ===== */ -@media (max-width: 900px) { - .detail-sticky-header .queue-nav-row::before { - order: 99 !important; - margin-left: auto !important; - } -} -/* ===== end save document far right ===== */ -/* ===== save button blue + nav row spacing ===== */ + + +/* ===== real save button in queue row ===== */ @media (max-width: 900px) { .detail-sticky-header .queue-nav-row { display: flex !important; @@ -4241,20 +4201,49 @@ table { row-gap: 0.12rem !important; } - .detail-sticky-header .queue-nav-row .button-link, - .detail-trash-inline button { - margin: 0 !important; - } - - .detail-sticky-header .queue-nav-row::before { - order: 99 !important; - margin-left: auto !important; - + .detail-save-document-button { background: #2563eb !important; color: #ffffff !important; border-color: #2563eb !important; - box-shadow: none !important; + margin: 0 !important; + } + + .detail-sticky-header .queue-nav-row .button-link, + .detail-trash-inline button, + .detail-save-document-button { + margin: 0 !important; } } -/* ===== end save button blue + nav row spacing ===== */ +/* ===== end real save button in queue row ===== */ + + +/* ===== center text inside top-row pills ===== */ +@media (max-width: 900px) { + .detail-update-button, + .detail-saveflags-button, + #toggle-path-edit, + .detail-sticky-header button, + .detail-sticky-header .button-link { + display: inline-flex !important; + align-items: center !important; + justify-content: center !important; + line-height: 1 !important; + vertical-align: middle !important; + } + + .detail-update-button, + .detail-saveflags-button, + #toggle-path-edit { + padding-top: 0 !important; + padding-bottom: 0 !important; + } + + .detail-update-button span, + .detail-saveflags-button span, + #toggle-path-edit span { + display: inline-flex !important; + align-items: center !important; + } +} +/* ===== end center text inside top-row pills ===== */ diff --git a/app/templates/base.html b/app/templates/base.html index 2809cea..865a1fe 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -4,7 +4,7 @@ {% block title %}Document Processor{% endblock %} - + diff --git a/app/templates/documents/detail.html b/app/templates/documents/detail.html index e91b0f4..bc7b584 100644 --- a/app/templates/documents/detail.html +++ b/app/templates/documents/detail.html @@ -85,7 +85,7 @@ -
+
@@ -101,8 +101,7 @@
- -
+ @@ -118,6 +117,7 @@
+