mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-01 00:33:32 +02:00
Reorder responsive size declrations in sass
This commit is contained in:
parent
1c426c4a9b
commit
e3b6c8305d
1 changed files with 28 additions and 30 deletions
|
@ -247,6 +247,32 @@ section.dashboard {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dotgov-table--stacked {
|
||||||
|
td, th {
|
||||||
|
padding: units(1) units(2) units(2px) 0;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
tr:first-child th:first-child {
|
||||||
|
border-top: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
tr {
|
||||||
|
border-bottom: none;
|
||||||
|
border-top: 2px solid color('base-light');
|
||||||
|
margin-top: units(2);
|
||||||
|
|
||||||
|
&:first-child {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
td[data-label]:before,
|
||||||
|
th[data-label]:before {
|
||||||
|
color: color('primary-darker');
|
||||||
|
padding-bottom: units(2px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.dotgov-table {
|
.dotgov-table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -274,38 +300,10 @@ section.dashboard {
|
||||||
tbody th {
|
tbody th {
|
||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.dotgov-table--stacked {
|
|
||||||
td, th {
|
|
||||||
padding: units(1) units(2) units(2px) 0;
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
tr:first-child th:first-child {
|
@include at-media(mobile-lg) {
|
||||||
border-top: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
tr {
|
|
||||||
border-bottom: none;
|
|
||||||
border-top: 2px solid color('base-light');
|
|
||||||
margin-top: units(2);
|
|
||||||
|
|
||||||
&:first-child {
|
|
||||||
margin-top: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
td[data-label]:before,
|
|
||||||
th[data-label]:before {
|
|
||||||
color: color('primary-darker');
|
|
||||||
padding-bottom: units(2px);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@include at-media(mobile-lg) {
|
|
||||||
|
|
||||||
.dotgov-table {
|
|
||||||
margin-top: units(1);
|
margin-top: units(1);
|
||||||
|
|
||||||
tr {
|
tr {
|
||||||
|
@ -326,7 +324,7 @@ section.dashboard {
|
||||||
border-bottom: 0;
|
border-bottom: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
td, th,
|
td, th,
|
||||||
.usa-tabel th{
|
.usa-tabel th{
|
||||||
padding: units(2) units(2) units(2) 0;
|
padding: units(2) units(2) units(2) 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue