From b073db4bc78bfc73b3f9e3ae3d4a2ea65f6d6870 Mon Sep 17 00:00:00 2001 From: Arlen Johnson Date: Tue, 30 Aug 2022 15:47:05 -0400 Subject: [PATCH] Clean up legacy CSS (CFM-161) --- app/webroot/css/co-base.css | 64 ++----------------------------- app/webroot/css/co-responsive.css | 4 -- 2 files changed, 3 insertions(+), 65 deletions(-) diff --git a/app/webroot/css/co-base.css b/app/webroot/css/co-base.css index 69300673c..faef05899 100644 --- a/app/webroot/css/co-base.css +++ b/app/webroot/css/co-base.css @@ -48,13 +48,6 @@ h1.loginMsg { margin: 1em 0; text-align: center; } -h1.firstPrompt { - font-size: 1.2em; - font-weight: normal; -} -#fpDashboard h2 { - margin: 0.5em 0; -} h2 { font-size: 2em; line-height: 2.5em; @@ -553,31 +546,6 @@ ul.form-list li.alert-banner .co-alert { .pageTitle .archived { background-color: var(--cmg-color-gray-003); } -/* TOP CONTENT LINKS (contextual) */ -#topLinks { - margin: 1.5em 0 -1.5em 0; - padding: 0; - font-size: 0.9em; -} -#topLinks li { - list-style: none; - display: inline-block; - margin: 0.5em; - padding: 0 0.5em; -} -#topLinks a { - text-decoration: none; - border: none; - background: none; - background-color: var(--cmg-color-white); -} -#topLinks a:hover { - color: var(--cmg-color-gray-001); -} -#main #topLinks a:active, -#main #topLinks a:hover { - text-decoration: underline; -} /* INNER CONTENT - for non-table-based layouts */ #content { padding: 2rem; @@ -698,9 +666,7 @@ ul.form-list li.alert-banner .co-alert { background-color: var(--cmg-color-yellow-004); } .top-filters .submit-button, -.top-filters .clear-button, -.side-search .submit-button, -.side-search .clear-button { +.top-filters .clear-button { float: right; font-size: 0.9em; width: 80px; @@ -1227,13 +1193,8 @@ ul.form-list .cm-time-picker-vals li { .co-dialog { display: none; } -p { /* MDL override */ - font-size: inherit; +p { margin: 0 0 1em; - line-height: 1.6em; -} -.clearfix { - clear: both; } .fieldTitle { font-weight: bold; @@ -1373,12 +1334,6 @@ table.list-mode .read-only-link-container { color: var(--cmg-color-gray-003); padding: 0 0.5em; } -.menuitembutton { - width: 250px; -} -.submitCell { - text-align: right; -} /* LOADING ANIMATION */ @keyframes loading { 0% { opacity: 0.3; } @@ -1508,19 +1463,6 @@ table.list-mode .read-only-link-container { color: var(--cmg-color-blue-002); border: none; } -/* Call to Action Blocks */ -.call-to-action { - margin-bottom: 2em; -} -.call-to-action a.btn { - display: block; - margin-bottom: 0.5em; -} -#content .call-to-action .btn .material-icons { - font-size: 1.4em; - vertical-align: text-bottom; - margin-right: 0.25em; -} /*Bootstrap badge*/ .badge { font-size: 0.95em; @@ -1582,7 +1524,7 @@ footer { text-align: center; padding: 2em 2em 1em; } -/*Select2*/ +/* Select2 */ .select2-container--default .select2-selection--single { border: 1px solid var(--cmg-color-lightgray-006); background-color: var(--cmg-color-white); diff --git a/app/webroot/css/co-responsive.css b/app/webroot/css/co-responsive.css index a5bb77c8a..1f259c28a 100644 --- a/app/webroot/css/co-responsive.css +++ b/app/webroot/css/co-responsive.css @@ -286,10 +286,6 @@ column-gap: 1em; margin-bottom: 4em; } - /* RECONCILE TABLE */ - #reconcile-table { - font-size: 1em; - } /* INDEX ACTION ROW MENUS */ .field-actions .dropdown-menu { font-size: 0.9em;