mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-23 17:51:03 +02:00
normalize summary box
This commit is contained in:
parent
8142daf3a6
commit
1bc83a1c3e
4 changed files with 28 additions and 10 deletions
|
@ -812,16 +812,19 @@ div.dja__model-description{
|
|||
text-decoration: underline !important;
|
||||
}
|
||||
|
||||
//-- Override some styling for the USWDS summary box (per design quidance for ticket #2055
|
||||
.usa-summary-box {
|
||||
background: #{$dhs-blue-10};
|
||||
border-color: #{$dhs-blue-30};
|
||||
max-width: 72ex;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
//-- Override some styling for the USWDS summary box (per design guidance for ticket #2055)
|
||||
// Keep it scoped to admin.scss
|
||||
.dashboard {
|
||||
.usa-summary-box {
|
||||
background: #{$dhs-blue-10};
|
||||
border-color: #{$dhs-blue-30};
|
||||
max-width: 72ex;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.usa-summary-box h3 {
|
||||
color: #{$dhs-blue-60};
|
||||
.usa-summary-box h3 {
|
||||
color: #{$dhs-blue-60};
|
||||
}
|
||||
}
|
||||
|
||||
.module caption, .inline-group h2 {
|
||||
|
|
|
@ -59,7 +59,6 @@ body {
|
|||
}
|
||||
|
||||
h2 {
|
||||
color: color('primary-dark');
|
||||
margin-top: units(2);
|
||||
margin-bottom: units(2);
|
||||
}
|
||||
|
|
15
src/registrar/assets/src/sass/_theme/_summary-box.scss
Normal file
15
src/registrar/assets/src/sass/_theme/_summary-box.scss
Normal file
|
@ -0,0 +1,15 @@
|
|||
// USWDS override to basically match the header size to a standard h3 size
|
||||
// This get complicated because USWDS sets a size on the container then a relative
|
||||
// size on the header. We'll need to reset the container size, override the header size,
|
||||
// then 'fix' the content size.
|
||||
.usa-summary-box {
|
||||
font-size: 1rem;
|
||||
.usa-summary-box__heading {
|
||||
font-size: 1.17em;
|
||||
}
|
||||
p, li, dd {
|
||||
font-size: 1.06rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -17,6 +17,7 @@
|
|||
@forward "forms";
|
||||
@forward "search";
|
||||
@forward "tooltips";
|
||||
@forward "summary-box";
|
||||
@forward "fieldsets";
|
||||
@forward "alerts";
|
||||
@forward "tables";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue