mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-28 20:13:46 +02:00
Cleanup css
This commit is contained in:
parent
b03be4f9c7
commit
8793072a4d
3 changed files with 13 additions and 6 deletions
|
@ -15,6 +15,11 @@
|
||||||
padding-left: $widescreen-x-padding !important;
|
padding-left: $widescreen-x-padding !important;
|
||||||
padding-right: $widescreen-x-padding !important;
|
padding-right: $widescreen-x-padding !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Accomodate sideanv + table layouts
|
||||||
|
.grid-col--sidenav {
|
||||||
|
max-width: 230px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// matches max-width to equal the max-width of .grid-container
|
// matches max-width to equal the max-width of .grid-container
|
||||||
|
@ -24,7 +29,3 @@
|
||||||
.max-width--grid-container {
|
.max-width--grid-container {
|
||||||
max-width: 1024px;
|
max-width: 1024px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.grid-col--sidenav {
|
|
||||||
max-width: 230px;
|
|
||||||
}
|
|
|
@ -7,7 +7,7 @@ th {
|
||||||
|
|
||||||
.dotgov-table--stacked {
|
.dotgov-table--stacked {
|
||||||
td, th {
|
td, th {
|
||||||
padding: units(1) units(1) units(2px) 0;
|
padding: units(1) units(2) units(2px) 0;
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -142,6 +142,12 @@ th {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dotgov-table--cell-padding-1-1-2px-0 {
|
||||||
|
td, th {
|
||||||
|
padding: units(1) units(1) units(2px) 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.usa-table--striped tbody tr:nth-child(odd) th,
|
.usa-table--striped tbody tr:nth-child(odd) th,
|
||||||
.usa-table--striped tbody tr:nth-child(odd) td {
|
.usa-table--striped tbody tr:nth-child(odd) td {
|
||||||
background-color: color('primary-lightest');
|
background-color: color('primary-lightest');
|
||||||
|
|
|
@ -124,7 +124,7 @@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
<div class="usa-table-container--scrollable usa-table-container--override-overflow usa-table-container--override-scrollable margin-top-4" tabindex="0">
|
<div class="usa-table-container--scrollable usa-table-container--override-overflow usa-table-container--override-scrollable margin-top-4" tabindex="0">
|
||||||
<table class="usa-table usa-table--borderless usa-table--stacked dotgov-table dotgov-table--stacked" id="dsdata-table">
|
<table class="usa-table usa-table--borderless usa-table--stacked dotgov-table dotgov-table--stacked dotgov-table--cell-padding-1-1-2px-0" id="dsdata-table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="col" role="columnheader" class="text-bottom">Key tag</th>
|
<th scope="col" role="columnheader" class="text-bottom">Key tag</th>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue