Skip to content

Commit

Permalink
Merge pull request #4212 from cisagov/mcr-styling
Browse files Browse the repository at this point in the history
Added styling to the MCR to aid in readability
  • Loading branch information
jekuipers authored Nov 6, 2024
2 parents 9069836 + 6317da3 commit 18b04a0
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/

.color1 {
color: #044;
}
Expand All @@ -37,4 +38,4 @@ SOFTWARE.

.resource-table td.section-ref {
white-space: nowrap;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,16 @@
// SOFTWARE.
//
////////////////////////////////
import { Component, OnInit } from '@angular/core';
import { Component, OnInit, ViewEncapsulation } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import { ReportService } from '../../../services/report.service';


@Component({
selector: 'app-module-content',
templateUrl: './module-content.component.html',
styleUrls: ['./module-content.component.scss', '../../../reports/reports.scss']
styleUrls: ['../../../reports/reports.scss', './module-content.component.scss'],
encapsulation: ViewEncapsulation.None
})
export class ModuleContentComponent implements OnInit {

Expand Down
30 changes: 27 additions & 3 deletions CSETWebNg/src/app/reports/reports.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,13 @@ SOFTWARE.

$primary-color: #052637;
$secondary-color: #094997;

$gray-50: #fafafa;
$gray-100: #f2f2f2;

$primary-550: $primary-color;
$primary-900: $secondary-color;


* {
font-family: Arial, sans-serif;
Expand Down Expand Up @@ -525,7 +529,8 @@ table.assessment-summary th {
padding: .5rem;
}

.table.table-td-p2 th, .table.table-td-p2 td {
.table.table-td-p2 th,
.table.table-td-p2 td {
padding: .5rem !important;
}

Expand Down Expand Up @@ -1917,14 +1922,33 @@ div.spinner-size-50 {



/// CPG Styles ////////////////////////////////////////////////
/// Supplemental Guidance Styles ////////////////////////////////////////////////

.sub-header-1 {
font-weight: bold;
font-size: 1.05rem;
font-size: 1.1rem;
color: $primary-550;
}

.sub-header-2 {
font-weight: bold;
font-size: 1rem;
color: $primary-900;
}

ol.alpha-bracket {
list-style-type: none;
counter-reset: list-counter;
}

ol.alpha-bracket li {
counter-increment: list-counter;
margin-bottom: 5px;
}

ol.alpha-bracket li::before {
content: "[" counter(list-counter, lower-alpha) "] ";
}



Expand Down

0 comments on commit 18b04a0

Please sign in to comment.