mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-01 08:43:30 +02:00
Adjust table design
This commit is contained in:
parent
c0c8b9cbf8
commit
bbcf39dd9c
1 changed files with 48 additions and 4 deletions
|
@ -114,6 +114,12 @@ a.breadcrumb__back {
|
||||||
font-weight: font-weight('semibold');
|
font-weight: font-weight('semibold');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** ---- DASHBOARD ---- */
|
||||||
|
|
||||||
|
#wrapper.dashboard {
|
||||||
|
background-color: color('primary-lightest');
|
||||||
|
}
|
||||||
|
|
||||||
section.dashboard {
|
section.dashboard {
|
||||||
background-color: color('white');
|
background-color: color('white');
|
||||||
border: 1px solid color('base-lighter');
|
border: 1px solid color('base-lighter');
|
||||||
|
@ -122,17 +128,55 @@ section.dashboard {
|
||||||
margin-top: units(5);
|
margin-top: units(5);
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
padding-bottom: units(3);
|
margin-bottom: units(3);
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.usa-table {
|
||||||
|
td, th {
|
||||||
|
border: 0; //reset border
|
||||||
|
border-bottom: 1px solid color('base-light');
|
||||||
|
}
|
||||||
|
|
||||||
|
thead th {
|
||||||
|
color: color('primary-darker');
|
||||||
|
border-bottom: 2px solid color('base-light');
|
||||||
|
}
|
||||||
|
|
||||||
|
tbody tr:last-of-type {
|
||||||
|
td, th {
|
||||||
|
border-bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
td {
|
||||||
|
padding: units(2);
|
||||||
|
}
|
||||||
|
|
||||||
|
th:first-of-type {
|
||||||
|
padding-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
a, a:visited {
|
||||||
|
color: color('primary');
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
display: flex;
|
||||||
|
align-item: flex-start;
|
||||||
|
|
||||||
|
.usa-icon {
|
||||||
|
// align icon with x height
|
||||||
|
margin-top: units(0.5);
|
||||||
|
margin-right: units(0.5);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#wrapper.dashboard {
|
|
||||||
background-color: color('primary-lightest');
|
|
||||||
}
|
|
||||||
|
|
||||||
main {
|
main {
|
||||||
//Workaround because USWDS units jump from 10 to 15
|
//Workaround because USWDS units jump from 10 to 15
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue