From c1662e9fca611efd0308c44e4c65c0d1b4f78e0c Mon Sep 17 00:00:00 2001 From: Cheryl FitzGerald Date: Tue, 8 Nov 2022 07:26:36 -0700 Subject: [PATCH 1/3] updates --- .../aisforms-common/_aisformsCommon.css | 3 ++- .../styles/print-common/_printCommon.css | 3 ++- .../styles/standard-common/tables.css | 12 ++++++++---- assets/shared/styles/boxes.css | 7 +++++-- static/styles/aisCommon.css | 7 +++++-- static/styles/aisformsCommon.css | 10 +++++++--- static/styles/preform.css | 19 +++++++++++++------ static/styles/printCommon.css | 3 ++- static/styles/standardCommon.css | 12 ++++++++---- 9 files changed, 52 insertions(+), 24 deletions(-) diff --git a/assets/aisforms/styles/aisforms-common/_aisformsCommon.css b/assets/aisforms/styles/aisforms-common/_aisformsCommon.css index 7536ab3d..598ddf27 100644 --- a/assets/aisforms/styles/aisforms-common/_aisformsCommon.css +++ b/assets/aisforms/styles/aisforms-common/_aisformsCommon.css @@ -721,7 +721,8 @@ table.BrandTable th { table.TemplateTable { margin: 1em 1em 1em 0; } -table.TemplateTable td.sideTH { +table.TemplateTable td.sideTH, +.template-table th[scope="row"] { font-weight: bold; background-color: #e6e6e6; } diff --git a/assets/aisforms/styles/print-common/_printCommon.css b/assets/aisforms/styles/print-common/_printCommon.css index a8125a68..32238ad9 100644 --- a/assets/aisforms/styles/print-common/_printCommon.css +++ b/assets/aisforms/styles/print-common/_printCommon.css @@ -366,7 +366,8 @@ table.TemplateTable tr th { padding-top: .75em; } -table.TemplateTable .sideTH { +table.TemplateTable .sideTH, +.template-table th[scope="row"] { font-weight: bold; background-color: #e6e6e6; } diff --git a/assets/aisforms/styles/standard-common/tables.css b/assets/aisforms/styles/standard-common/tables.css index c99b806c..462ede8d 100644 --- a/assets/aisforms/styles/standard-common/tables.css +++ b/assets/aisforms/styles/standard-common/tables.css @@ -100,7 +100,8 @@ table.TemplateTable, .SectionDisplay .BeforeQuestion table { margin: 1em 1em 1em 0; } -table.TemplateTable td.sideTH { +table.TemplateTable td.sideTH, +.template-table th[scope="row"] { font-weight: bold; background-color: #e6e6e6; } @@ -191,7 +192,8 @@ table.Attachments { table.TemplateTable { margin: 1em 1em 1em 0; } -table.TemplateTable td.sideTH { +table.TemplateTable td.sideTH, +.template-table th[scope="row"] { font-weight: bold; background-color: #e6e6e6; } @@ -370,7 +372,8 @@ table.TemplateTable, .section-display .before-question table { margin: 1em 1em 1em 0; } -table.TemplateTable td.sideTH { +table.TemplateTable td.sideTH, +.template-table th[scope="row"] { font-weight: bold; background-color: #e6e6e6; } @@ -461,7 +464,8 @@ table.Attachments { table.TemplateTable { margin: 1em 1em 1em 0; } -table.TemplateTable td.sideTH { +table.TemplateTable td.sideTH, +.template-table th[scope="row"] { font-weight: bold; background-color: #e6e6e6; } diff --git a/assets/shared/styles/boxes.css b/assets/shared/styles/boxes.css index 755258f2..be7f8d4d 100644 --- a/assets/shared/styles/boxes.css +++ b/assets/shared/styles/boxes.css @@ -1,6 +1,6 @@ /* Notice etc boxes--> */ -div.alertBox, +.alertBox, [class*="-box"] { color: #000; font-size: 0.9375rem; /* 15px when 100% */ @@ -11,7 +11,10 @@ div.alertBox, margin: 1rem 0; clear: right; /* clears help-box */ } -div.alertBox, +p.alertBox { + font-size: 1rem; +} +.alertBox, [class*="alert-box"] { background-color: #ffdacc; border-color: #ffc8b3; diff --git a/static/styles/aisCommon.css b/static/styles/aisCommon.css index 9a1d73e4..23b7c920 100644 --- a/static/styles/aisCommon.css +++ b/static/styles/aisCommon.css @@ -151,7 +151,7 @@ div.NoEvaluationQueuesAvailable { /* Notice etc boxes--> */ -div.alertBox, +.alertBox, [class*="-box"] { color: #000; font-size: 0.9375rem; /* 15px when 100% */ @@ -162,7 +162,10 @@ div.alertBox, margin: 1rem 0; clear: right; /* clears help-box */ } -div.alertBox, +p.alertBox { + font-size: 1rem; +} +.alertBox, [class*="alert-box"] { background-color: #ffdacc; border-color: #ffc8b3; diff --git a/static/styles/aisformsCommon.css b/static/styles/aisformsCommon.css index bd9bec9a..18a4b7f5 100644 --- a/static/styles/aisformsCommon.css +++ b/static/styles/aisformsCommon.css @@ -151,7 +151,7 @@ div.NoEvaluationQueuesAvailable { /* Notice etc boxes--> */ -div.alertBox, +.alertBox, [class*="-box"] { color: #000; font-size: 0.9375rem; /* 15px when 100% */ @@ -162,7 +162,10 @@ div.alertBox, margin: 1rem 0; clear: right; /* clears help-box */ } -div.alertBox, +p.alertBox { + font-size: 1rem; +} +.alertBox, [class*="alert-box"] { background-color: #ffdacc; border-color: #ffc8b3; @@ -2749,7 +2752,8 @@ table.BrandTable th { table.TemplateTable { margin: 1em 1em 1em 0; } -table.TemplateTable td.sideTH { +table.TemplateTable td.sideTH, +.template-table th[scope="row"] { font-weight: bold; background-color: #e6e6e6; } diff --git a/static/styles/preform.css b/static/styles/preform.css index 13f4ffea..38d39cf5 100644 --- a/static/styles/preform.css +++ b/static/styles/preform.css @@ -151,7 +151,7 @@ div.NoEvaluationQueuesAvailable { /* Notice etc boxes--> */ -div.alertBox, +.alertBox, [class*="-box"] { color: #000; font-size: 0.9375rem; /* 15px when 100% */ @@ -162,7 +162,10 @@ div.alertBox, margin: 1rem 0; clear: right; /* clears help-box */ } -div.alertBox, +p.alertBox { + font-size: 1rem; +} +.alertBox, [class*="alert-box"] { background-color: #ffdacc; border-color: #ffc8b3; @@ -2642,7 +2645,8 @@ table.TemplateTable, .SectionDisplay .BeforeQuestion table { margin: 1em 1em 1em 0; } -table.TemplateTable td.sideTH { +table.TemplateTable td.sideTH, +.template-table th[scope="row"] { font-weight: bold; background-color: #e6e6e6; } @@ -2733,7 +2737,8 @@ table.Attachments { table.TemplateTable { margin: 1em 1em 1em 0; } -table.TemplateTable td.sideTH { +table.TemplateTable td.sideTH, +.template-table th[scope="row"] { font-weight: bold; background-color: #e6e6e6; } @@ -2912,7 +2917,8 @@ table.TemplateTable, .section-display .before-question table { margin: 1em 1em 1em 0; } -table.TemplateTable td.sideTH { +table.TemplateTable td.sideTH, +.template-table th[scope="row"] { font-weight: bold; background-color: #e6e6e6; } @@ -3003,7 +3009,8 @@ table.Attachments { table.TemplateTable { margin: 1em 1em 1em 0; } -table.TemplateTable td.sideTH { +table.TemplateTable td.sideTH, +.template-table th[scope="row"] { font-weight: bold; background-color: #e6e6e6; } diff --git a/static/styles/printCommon.css b/static/styles/printCommon.css index 5b0d6933..f200be5c 100644 --- a/static/styles/printCommon.css +++ b/static/styles/printCommon.css @@ -767,7 +767,8 @@ table.TemplateTable tr th { padding-top: .75em; } -table.TemplateTable .sideTH { +table.TemplateTable .sideTH, +.template-table th[scope="row"] { font-weight: bold; background-color: #e6e6e6; } diff --git a/static/styles/standardCommon.css b/static/styles/standardCommon.css index 20474447..0970bb70 100644 --- a/static/styles/standardCommon.css +++ b/static/styles/standardCommon.css @@ -1227,7 +1227,8 @@ table.TemplateTable, .SectionDisplay .BeforeQuestion table { margin: 1em 1em 1em 0; } -table.TemplateTable td.sideTH { +table.TemplateTable td.sideTH, +.template-table th[scope="row"] { font-weight: bold; background-color: #e6e6e6; } @@ -1318,7 +1319,8 @@ table.Attachments { table.TemplateTable { margin: 1em 1em 1em 0; } -table.TemplateTable td.sideTH { +table.TemplateTable td.sideTH, +.template-table th[scope="row"] { font-weight: bold; background-color: #e6e6e6; } @@ -1497,7 +1499,8 @@ table.TemplateTable, .section-display .before-question table { margin: 1em 1em 1em 0; } -table.TemplateTable td.sideTH { +table.TemplateTable td.sideTH, +.template-table th[scope="row"] { font-weight: bold; background-color: #e6e6e6; } @@ -1588,7 +1591,8 @@ table.Attachments { table.TemplateTable { margin: 1em 1em 1em 0; } -table.TemplateTable td.sideTH { +table.TemplateTable td.sideTH, +.template-table th[scope="row"] { font-weight: bold; background-color: #e6e6e6; } From 66d285beb213ca115c8b2a110207f6d60bb397d8 Mon Sep 17 00:00:00 2001 From: Cheryl FitzGerald Date: Tue, 8 Nov 2022 20:56:06 -0700 Subject: [PATCH 2/3] updated styles for template-table row --- assets/aisforms/styles/standard-common/tables.css | 6 +++++- static/styles/preform.css | 6 +++++- static/styles/standardCommon.css | 6 +++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/assets/aisforms/styles/standard-common/tables.css b/assets/aisforms/styles/standard-common/tables.css index 462ede8d..fbe7e98c 100644 --- a/assets/aisforms/styles/standard-common/tables.css +++ b/assets/aisforms/styles/standard-common/tables.css @@ -468,6 +468,8 @@ table.TemplateTable td.sideTH, .template-table th[scope="row"] { font-weight: bold; background-color: #e6e6e6; + color: black; + border: 1px solid #cecece; } table.TemplateTable td ul { list-style-type:circle; @@ -494,7 +496,9 @@ div.before-question table tr td, table.TemplateTable tr td, div.section-introduction-text table tr th, div.before-question table tr th, -table.TemplateTable tr th { +table.TemplateTable tr th, /* legacy */ +table.tempolate-table tr td, +table.template-table tr th { border: 1px solid #cecece; padding: .25rem .5rem; } diff --git a/static/styles/preform.css b/static/styles/preform.css index 38d39cf5..af933770 100644 --- a/static/styles/preform.css +++ b/static/styles/preform.css @@ -3013,6 +3013,8 @@ table.TemplateTable td.sideTH, .template-table th[scope="row"] { font-weight: bold; background-color: #e6e6e6; + color: black; + border: 1px solid #cecece; } table.TemplateTable td ul { list-style-type:circle; @@ -3039,7 +3041,9 @@ div.before-question table tr td, table.TemplateTable tr td, div.section-introduction-text table tr th, div.before-question table tr th, -table.TemplateTable tr th { +table.TemplateTable tr th, /* legacy */ +table.tempolate-table tr td, +table.template-table tr th { border: 1px solid #cecece; padding: .25rem .5rem; } diff --git a/static/styles/standardCommon.css b/static/styles/standardCommon.css index 0970bb70..17e26ebb 100644 --- a/static/styles/standardCommon.css +++ b/static/styles/standardCommon.css @@ -1595,6 +1595,8 @@ table.TemplateTable td.sideTH, .template-table th[scope="row"] { font-weight: bold; background-color: #e6e6e6; + color: black; + border: 1px solid #cecece; } table.TemplateTable td ul { list-style-type:circle; @@ -1621,7 +1623,9 @@ div.before-question table tr td, table.TemplateTable tr td, div.section-introduction-text table tr th, div.before-question table tr th, -table.TemplateTable tr th { +table.TemplateTable tr th, /* legacy */ +table.tempolate-table tr td, +table.template-table tr th { border: 1px solid #cecece; padding: .25rem .5rem; } From d4f30eec4267ae657576eecd85beb7305cee4685 Mon Sep 17 00:00:00 2001 From: Cheryl FitzGerald Date: Tue, 8 Nov 2022 21:28:49 -0700 Subject: [PATCH 3/3] converted more classes --- assets/aisforms/styles/preform/preform.css | 3 ++- assets/aisforms/styles/print-common/_printCommon.css | 3 ++- assets/aisforms/styles/standard-common/_standardCommon.css | 6 ++++-- static/styles/preform.css | 3 ++- static/styles/printCommon.css | 3 ++- static/styles/standardCommon.css | 6 ++++-- 6 files changed, 16 insertions(+), 8 deletions(-) diff --git a/assets/aisforms/styles/preform/preform.css b/assets/aisforms/styles/preform/preform.css index 87c69842..36670541 100644 --- a/assets/aisforms/styles/preform/preform.css +++ b/assets/aisforms/styles/preform/preform.css @@ -332,7 +332,8 @@ div.alertBox img { } /* 15 Aug - Add CSS for required "*" styling in text area */ -.requiredIndicator { +.requiredIndicator, +.required-indicator { color: #CD0000; content: '*'; font-size:1.4em; diff --git a/assets/aisforms/styles/print-common/_printCommon.css b/assets/aisforms/styles/print-common/_printCommon.css index 32238ad9..76212e29 100644 --- a/assets/aisforms/styles/print-common/_printCommon.css +++ b/assets/aisforms/styles/print-common/_printCommon.css @@ -835,7 +835,8 @@ table.AnswerTable div.fromRecommender.required div.itemDisplayOuterContainer:aft content: none; } -.requiredIndicator { +.requiredIndicator, +.required-indicator { color: #CD0000; content: '*'; font-size:1.4em; diff --git a/assets/aisforms/styles/standard-common/_standardCommon.css b/assets/aisforms/styles/standard-common/_standardCommon.css index 67e7ad9e..ec636311 100644 --- a/assets/aisforms/styles/standard-common/_standardCommon.css +++ b/assets/aisforms/styles/standard-common/_standardCommon.css @@ -580,7 +580,8 @@ table.AnswerTable div.required div.itemDisplayOuterContainer:after { } #required, -.requiredIndicator { +.requiredIndicator, +.required-indicator { color: #CD0000; content: '*'; font-size:1.4em; @@ -652,7 +653,8 @@ div.Content .SideNote { } /* SPECIFICATION CLASSES */ -.ExtraStrong { +.ExtraStrong, /* legacy */ +.extra-strong { color: #CD0000; font-weight: bold; } diff --git a/static/styles/preform.css b/static/styles/preform.css index af933770..0793afc0 100644 --- a/static/styles/preform.css +++ b/static/styles/preform.css @@ -2363,7 +2363,8 @@ div.alertBox img { } /* 15 Aug - Add CSS for required "*" styling in text area */ -.requiredIndicator { +.requiredIndicator, +.required-indicator { color: #CD0000; content: '*'; font-size:1.4em; diff --git a/static/styles/printCommon.css b/static/styles/printCommon.css index f200be5c..476fb17a 100644 --- a/static/styles/printCommon.css +++ b/static/styles/printCommon.css @@ -1236,7 +1236,8 @@ table.AnswerTable div.fromRecommender.required div.itemDisplayOuterContainer:aft content: none; } -.requiredIndicator { +.requiredIndicator, +.required-indicator { color: #CD0000; content: '*'; font-size:1.4em; diff --git a/static/styles/standardCommon.css b/static/styles/standardCommon.css index 17e26ebb..c36730af 100644 --- a/static/styles/standardCommon.css +++ b/static/styles/standardCommon.css @@ -580,7 +580,8 @@ table.AnswerTable div.required div.itemDisplayOuterContainer:after { } #required, -.requiredIndicator { +.requiredIndicator, +.required-indicator { color: #CD0000; content: '*'; font-size:1.4em; @@ -652,7 +653,8 @@ div.Content .SideNote { } /* SPECIFICATION CLASSES */ -.ExtraStrong { +.ExtraStrong, /* legacy */ +.extra-strong { color: #CD0000; font-weight: bold; }