CSS refactor
accordion_table.scss refactor audit_log.scss refactor budget_chart.scss refactor delete checklist.scss dod_login_notice.scss refactor empty_state.scss refactor footer.scss refactor forms.scss refactor global_navigation.scss refactor delete member_edit.scss modal.scss refactor refactor portfolio_layout delete search_bar.scss selector.scss refactor sticky_cta.scss refactor refactor topbar.scss refactor accordions.scss refactor action_group.scss refactor block_list.scss refactor card.scss refactor icon css refactor inputs.scss refactor labels.scss refactor panel.scss sidename.scss tables.scss refactor uploader.scss application list and edit refactor home.scss refactor login.scss styles reports.scss refactor task_order.scss refactor
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.accordion-table__head {
|
||||
&__head {
|
||||
padding: $gap ($gap * 2);
|
||||
font-size: $small-font-size;
|
||||
font-weight: 700;
|
||||
@@ -37,38 +37,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
.accordion-table__item-content {
|
||||
padding: ($gap * 2);
|
||||
|
||||
.usa-input {
|
||||
margin: 0;
|
||||
|
||||
.icon-validation {
|
||||
left: 135%;
|
||||
}
|
||||
}
|
||||
|
||||
#name {
|
||||
max-width: none;
|
||||
border-color: black;
|
||||
}
|
||||
|
||||
.usa-alert {
|
||||
margin: 2.5rem 0;
|
||||
}
|
||||
|
||||
select {
|
||||
border: none;
|
||||
font-weight: $font-normal;
|
||||
}
|
||||
}
|
||||
|
||||
.new-env {
|
||||
margin-top: 5rem;
|
||||
padding: 0 5rem;
|
||||
}
|
||||
|
||||
.accordion-table__items {
|
||||
&__items {
|
||||
margin: 0;
|
||||
|
||||
li {
|
||||
@@ -91,33 +65,71 @@
|
||||
border-bottom: 1px solid $color-gray-lighter;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.accordion-table__item__action-group {
|
||||
padding: 1rem 3.2rem;
|
||||
background-color: $color-gray-lightest;
|
||||
th,
|
||||
td,
|
||||
tr {
|
||||
border-bottom: 1px dashed $color-gray-lightest;
|
||||
}
|
||||
|
||||
button,
|
||||
a {
|
||||
margin: 0;
|
||||
font-size: $small-font-size;
|
||||
th[scope="rowgroup"] {
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
|
||||
&__item {
|
||||
&-content {
|
||||
padding: ($gap * 2);
|
||||
|
||||
.usa-input {
|
||||
margin: 0;
|
||||
|
||||
.icon-validation {
|
||||
left: 135%;
|
||||
}
|
||||
}
|
||||
|
||||
.icon-link {
|
||||
padding-top: 0.5rem;
|
||||
float: none;
|
||||
}
|
||||
#name {
|
||||
max-width: none;
|
||||
border-color: black;
|
||||
}
|
||||
|
||||
> *:first-child {
|
||||
padding-left: 0;
|
||||
}
|
||||
.usa-alert {
|
||||
margin: 2.5rem 0;
|
||||
}
|
||||
|
||||
> *:last-child {
|
||||
float: right;
|
||||
}
|
||||
select {
|
||||
border: none;
|
||||
font-weight: $font-normal;
|
||||
}
|
||||
}
|
||||
|
||||
.accordion-table__item__toggler {
|
||||
&__action-group {
|
||||
padding: 1rem 3.2rem;
|
||||
background-color: $color-gray-lightest;
|
||||
|
||||
button,
|
||||
a {
|
||||
margin: 0;
|
||||
font-size: $small-font-size;
|
||||
}
|
||||
|
||||
.icon-link {
|
||||
padding-top: 0.5rem;
|
||||
float: none;
|
||||
}
|
||||
|
||||
> *:first-child {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
> *:last-child {
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
|
||||
&__toggler {
|
||||
@include icon-link-color($color-blue, $color-gray-lightest);
|
||||
|
||||
float: right;
|
||||
@@ -146,22 +158,16 @@
|
||||
}
|
||||
}
|
||||
|
||||
th,
|
||||
td,
|
||||
tr {
|
||||
border-bottom: 1px dashed $color-gray-lightest;
|
||||
}
|
||||
|
||||
th[scope="rowgroup"] {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.accordion-table__item__expanded {
|
||||
&__expanded {
|
||||
font-size: $small-font-size;
|
||||
font-weight: $font-normal;
|
||||
background-color: $color-gray-lightest;
|
||||
padding: ($gap * 2) ($gap * 4);
|
||||
|
||||
.col--grow {
|
||||
font-weight: $font-normal;
|
||||
}
|
||||
|
||||
th,
|
||||
td {
|
||||
.icon-link {
|
||||
@@ -172,11 +178,11 @@
|
||||
border-bottom: 1px dashed $color-white;
|
||||
}
|
||||
|
||||
.accordion-table__item__expanded_first {
|
||||
&_first {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.accordion-table__item__expanded-role {
|
||||
&-role {
|
||||
.icon-link {
|
||||
padding: 0;
|
||||
vertical-align: text-top;
|
||||
@@ -192,19 +198,21 @@
|
||||
|
||||
.application-list {
|
||||
.accordion-table {
|
||||
.accordion-table__item__toggler {
|
||||
text-align: right;
|
||||
padding-right: 0;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.accordion-table__item-content {
|
||||
.icon-link {
|
||||
align-items: baseline;
|
||||
padding-left: 0;
|
||||
&__item {
|
||||
&__toggler {
|
||||
text-align: right;
|
||||
padding-right: 0;
|
||||
padding-top: 1rem;
|
||||
white-space: nowrap;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
&-content {
|
||||
.icon-link {
|
||||
align-items: baseline;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
padding-top: 1rem;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -1,22 +1,24 @@
|
||||
.audit-log__item {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: flex-start;
|
||||
justify-content: flex-start;
|
||||
.audit-log {
|
||||
&__item {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: flex-start;
|
||||
justify-content: flex-start;
|
||||
|
||||
.audit-log__item__timestamp {
|
||||
@include small-label;
|
||||
&__timestamp {
|
||||
@include small-label;
|
||||
|
||||
width: 6rem;
|
||||
flex-shrink: 0;
|
||||
margin-right: $gap * 2;
|
||||
width: 6rem;
|
||||
flex-shrink: 0;
|
||||
margin-right: $gap * 2;
|
||||
|
||||
@include media($medium-screen) {
|
||||
width: 12rem;
|
||||
@include media($medium-screen) {
|
||||
width: 12rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.audit-log__item__name {
|
||||
&__name {
|
||||
margin-top: 0;
|
||||
margin-bottom: $gap;
|
||||
}
|
||||
|
@@ -1,82 +1,4 @@
|
||||
.budget-chart {
|
||||
.budget-chart__header {
|
||||
border-bottom: 1px solid $color-gray-light;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
|
||||
.budget-chart__legend {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
|
||||
dl {
|
||||
margin: 0 0 0 ($gap * 2);
|
||||
|
||||
> div {
|
||||
margin: 0;
|
||||
display: flex;
|
||||
flex-direction: row-reverse;
|
||||
align-items: center;
|
||||
|
||||
dt {
|
||||
@include small-label;
|
||||
}
|
||||
|
||||
.budget-chart__legend__dot {
|
||||
width: $gap;
|
||||
height: $gap;
|
||||
border-radius: $gap / 2;
|
||||
margin: 0 $gap;
|
||||
|
||||
&.accumulated {
|
||||
background-color: $color-gold;
|
||||
}
|
||||
|
||||
&.monthly {
|
||||
background-color: $color-blue;
|
||||
}
|
||||
}
|
||||
|
||||
.budget-chart__legend__line {
|
||||
height: 2px;
|
||||
width: $gap * 3;
|
||||
border-top-width: 2px;
|
||||
border-top-style: dashed;
|
||||
margin: $gap;
|
||||
|
||||
&.spend {
|
||||
border-color: $color-blue;
|
||||
}
|
||||
|
||||
&.accumulated {
|
||||
border-color: $color-gold;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.budget-chart__block {
|
||||
fill: transparent;
|
||||
cursor: pointer;
|
||||
|
||||
&--highlighted {
|
||||
fill: rgba($color-aqua, 0.15);
|
||||
}
|
||||
|
||||
&--is-expiration {
|
||||
border-left: 2px dotted $color-gray;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
fill: rgba($color-aqua, 0.15);
|
||||
}
|
||||
}
|
||||
|
||||
svg {
|
||||
display: block;
|
||||
|
||||
@@ -114,7 +36,85 @@
|
||||
}
|
||||
}
|
||||
|
||||
.budget-chart__bar {
|
||||
&__header {
|
||||
border-bottom: 1px solid $color-gray-light;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
&__legend {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
|
||||
dl {
|
||||
margin: 0 0 0 ($gap * 2);
|
||||
|
||||
> div {
|
||||
margin: 0;
|
||||
display: flex;
|
||||
flex-direction: row-reverse;
|
||||
align-items: center;
|
||||
|
||||
dt {
|
||||
@include small-label;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__dot {
|
||||
width: $gap;
|
||||
height: $gap;
|
||||
border-radius: $gap / 2;
|
||||
margin: 0 $gap;
|
||||
|
||||
&.accumulated {
|
||||
background-color: $color-gold;
|
||||
}
|
||||
|
||||
&.monthly {
|
||||
background-color: $color-blue;
|
||||
}
|
||||
}
|
||||
|
||||
&__line {
|
||||
height: 2px;
|
||||
width: $gap * 3;
|
||||
border-top-width: 2px;
|
||||
border-top-style: dashed;
|
||||
margin: $gap;
|
||||
|
||||
&.spend {
|
||||
border-color: $color-blue;
|
||||
}
|
||||
|
||||
&.accumulated {
|
||||
border-color: $color-gold;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__block {
|
||||
fill: transparent;
|
||||
cursor: pointer;
|
||||
|
||||
&--highlighted {
|
||||
fill: rgba($color-aqua, 0.15);
|
||||
}
|
||||
|
||||
&--is-expiration {
|
||||
border-left: 2px dotted $color-gray;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
fill: rgba($color-aqua, 0.15);
|
||||
}
|
||||
}
|
||||
|
||||
&__bar {
|
||||
fill: $color-blue;
|
||||
|
||||
&--projected {
|
||||
@@ -125,36 +125,38 @@
|
||||
}
|
||||
}
|
||||
|
||||
.budget-chart__expiration-line {
|
||||
&__expiration-line {
|
||||
stroke-width: 2px;
|
||||
stroke: $color-gray-light;
|
||||
stroke-dasharray: 4px;
|
||||
}
|
||||
|
||||
.budget-chart__cumulative__dot {
|
||||
fill: $color-gold;
|
||||
&__cumulative {
|
||||
&__dot {
|
||||
fill: $color-gold;
|
||||
}
|
||||
}
|
||||
|
||||
.budget-chart__projected-path {
|
||||
&__projected-path {
|
||||
stroke-width: 1px;
|
||||
stroke: $color-gold;
|
||||
stroke-dasharray: 4px;
|
||||
fill: none;
|
||||
}
|
||||
|
||||
.budget-chart__spend-path {
|
||||
&__spend-path {
|
||||
stroke-width: 1px;
|
||||
stroke: $color-gold;
|
||||
fill: none;
|
||||
}
|
||||
|
||||
.budget-chart__budget-line {
|
||||
&__budget-line {
|
||||
stroke-width: 2px;
|
||||
stroke: $color-gray-light;
|
||||
stroke-dasharray: 4px;
|
||||
}
|
||||
|
||||
.budget-chart__label {
|
||||
&__label {
|
||||
@include small-label;
|
||||
|
||||
fill: $color-gray;
|
||||
|
@@ -1,9 +0,0 @@
|
||||
.checklist {
|
||||
padding-left: 0;
|
||||
list-style: none;
|
||||
margin-top: 5px;
|
||||
|
||||
li {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
@@ -15,7 +15,7 @@
|
||||
@include icon-color($color-gray-light);
|
||||
}
|
||||
|
||||
.empty-state__message {
|
||||
&__message {
|
||||
@include h2;
|
||||
|
||||
line-height: 1.2;
|
||||
@@ -27,7 +27,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
.empty-state__sub-message {
|
||||
&__sub-message {
|
||||
@include h4;
|
||||
|
||||
color: $color-gray;
|
||||
|
@@ -14,11 +14,11 @@
|
||||
color: $color-gray-dark;
|
||||
font-size: 1.5rem;
|
||||
|
||||
.app-footer__info {
|
||||
&__info {
|
||||
flex-grow: 1;
|
||||
padding-left: 0.8rem;
|
||||
|
||||
.app-footer__info__link {
|
||||
&__link {
|
||||
margin: (-$gap * 2) (-$gap);
|
||||
font-weight: normal;
|
||||
|
||||
|
@@ -31,27 +31,27 @@
|
||||
justify-content: flex-start;
|
||||
|
||||
.form-col {
|
||||
&.form-col--half {
|
||||
&--half {
|
||||
flex-basis: 50%;
|
||||
}
|
||||
|
||||
&.form-col--third {
|
||||
&--third {
|
||||
flex-basis: 33.33%;
|
||||
}
|
||||
|
||||
&.form-col--two-thirds {
|
||||
&--two-thirds {
|
||||
flex-basis: 66.66%;
|
||||
}
|
||||
|
||||
&.form-col--sixth {
|
||||
&--sixth {
|
||||
flex-basis: 16.66%;
|
||||
}
|
||||
|
||||
&.form-col--quarter {
|
||||
&--quarter {
|
||||
flex-basis: 25%;
|
||||
}
|
||||
|
||||
&.form-col--three-quarters {
|
||||
&--three-quarters {
|
||||
flex-basis: 75%;
|
||||
}
|
||||
|
||||
@@ -160,14 +160,14 @@
|
||||
}
|
||||
}
|
||||
|
||||
input.usa-input-error:focus {
|
||||
border-color: $color-red !important;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
input.usa-input-error {
|
||||
padding-left: 11px;
|
||||
right: 0;
|
||||
|
||||
&:focus {
|
||||
border-color: $color-red !important;
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
.usa-form-group-date-ok {
|
||||
@@ -191,7 +191,7 @@
|
||||
.input__inline-fields {
|
||||
margin: 1rem 0;
|
||||
|
||||
&.input__inline-fields--indented {
|
||||
&--indented {
|
||||
margin-left: $gap * 4;
|
||||
}
|
||||
|
||||
|
@@ -9,7 +9,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
&.global-navigation__context--portfolio {
|
||||
&__context--portfolio {
|
||||
.sidenav__link {
|
||||
padding-right: $gap;
|
||||
}
|
||||
|
@@ -15,7 +15,7 @@ body {
|
||||
bottom: 0;
|
||||
background-color: $color-overlay;
|
||||
|
||||
.modal__container {
|
||||
&__container {
|
||||
height: 100vh;
|
||||
max-height: 100vh;
|
||||
|
||||
@@ -24,7 +24,7 @@ body {
|
||||
}
|
||||
}
|
||||
|
||||
.modal__dialog {
|
||||
&__dialog {
|
||||
padding: $gap;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
@@ -42,101 +42,101 @@ body {
|
||||
@include media($large-screen) {
|
||||
padding: $gap * 4;
|
||||
}
|
||||
}
|
||||
|
||||
.modal__body {
|
||||
background-color: $color-white;
|
||||
padding: $gap * 2;
|
||||
width: 100%;
|
||||
border-radius: 5px;
|
||||
overflow-y: auto;
|
||||
-ms-overflow-style: scrollbar;
|
||||
&__body {
|
||||
background-color: $color-white;
|
||||
padding: $gap * 2;
|
||||
width: 100%;
|
||||
border-radius: 5px;
|
||||
overflow-y: auto;
|
||||
-ms-overflow-style: scrollbar;
|
||||
|
||||
@include ie-only {
|
||||
max-height: calc(100vh - #{$gap * 8});
|
||||
}
|
||||
@include ie-only {
|
||||
max-height: calc(100vh - #{$gap * 8});
|
||||
}
|
||||
|
||||
@include media($medium-screen) {
|
||||
padding: $gap * 2.5 $gap * 5;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2 {
|
||||
@include h3;
|
||||
}
|
||||
|
||||
> :first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.block-list {
|
||||
margin: -$gap * 2;
|
||||
padding-bottom: $fixed-footer-height;
|
||||
|
||||
@include media($medium-screen) {
|
||||
padding: $gap * 2.5 $gap * 5;
|
||||
margin: -$gap * 4;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2 {
|
||||
@include h3;
|
||||
.block-list__header {
|
||||
border-top: 0;
|
||||
}
|
||||
|
||||
> :first-child {
|
||||
margin-top: 0;
|
||||
.block-list__item {
|
||||
&:last-child {
|
||||
border: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.modal__dismiss {
|
||||
.block-list__footer {
|
||||
height: $fixed-footer-height;
|
||||
margin: 0;
|
||||
padding: 0 ($gap * 2);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
position: absolute;
|
||||
top: $gap;
|
||||
bottom: $gap;
|
||||
left: $gap;
|
||||
right: $gap;
|
||||
width: 8rem;
|
||||
background: $color-white;
|
||||
border-top: 1px solid $color-gray-light;
|
||||
|
||||
@include media($medium-screen) {
|
||||
top: $gap * 2;
|
||||
bottom: $gap * 2;
|
||||
left: $gap * 2;
|
||||
right: $gap * 2;
|
||||
}
|
||||
|
||||
@include media($large-screen) {
|
||||
top: $gap * 4;
|
||||
bottom: $gap * 4;
|
||||
left: $gap * 4;
|
||||
right: $gap * 4;
|
||||
}
|
||||
}
|
||||
|
||||
.block-list {
|
||||
margin: -$gap * 2;
|
||||
padding-bottom: $fixed-footer-height;
|
||||
|
||||
@include media($medium-screen) {
|
||||
margin: -$gap * 4;
|
||||
}
|
||||
|
||||
.block-list__header {
|
||||
border-top: 0;
|
||||
}
|
||||
|
||||
.block-list__item {
|
||||
&:last-child {
|
||||
border: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.block-list__footer {
|
||||
height: $fixed-footer-height;
|
||||
.action-group {
|
||||
margin: 0;
|
||||
padding: 0 ($gap * 2);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
position: absolute;
|
||||
bottom: $gap;
|
||||
left: $gap;
|
||||
right: $gap;
|
||||
background: $color-white;
|
||||
border-top: 1px solid $color-gray-light;
|
||||
|
||||
@include media($medium-screen) {
|
||||
bottom: $gap * 2;
|
||||
left: $gap * 2;
|
||||
right: $gap * 2;
|
||||
}
|
||||
|
||||
@include media($large-screen) {
|
||||
bottom: $gap * 4;
|
||||
left: $gap * 4;
|
||||
right: $gap * 4;
|
||||
}
|
||||
|
||||
.action-group {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.modal--dismissable {
|
||||
&__dismiss {
|
||||
position: absolute;
|
||||
top: $gap;
|
||||
right: $gap;
|
||||
width: 8rem;
|
||||
|
||||
@include media($medium-screen) {
|
||||
top: $gap * 2;
|
||||
right: $gap * 2;
|
||||
}
|
||||
|
||||
@include media($large-screen) {
|
||||
top: $gap * 4;
|
||||
right: $gap * 4;
|
||||
}
|
||||
}
|
||||
|
||||
&--dissmissable {
|
||||
.modal__body {
|
||||
> :first-child {
|
||||
margin-right: 8rem;
|
||||
@@ -144,20 +144,10 @@ body {
|
||||
}
|
||||
}
|
||||
|
||||
&.wide {
|
||||
.modal__dialog {
|
||||
max-width: 90rem;
|
||||
}
|
||||
|
||||
.modal__body {
|
||||
padding-left: 4rem;
|
||||
padding-right: 4rem;
|
||||
}
|
||||
}
|
||||
|
||||
.modal__form {
|
||||
.modal__form--header {
|
||||
&__form {
|
||||
&--header {
|
||||
margin-bottom: 4rem;
|
||||
text-align: left;
|
||||
|
||||
h1 {
|
||||
margin-bottom: 0;
|
||||
@@ -170,18 +160,27 @@ body {
|
||||
}
|
||||
}
|
||||
|
||||
&--padded {
|
||||
padding-left: 5%;
|
||||
padding-right: 5%;
|
||||
|
||||
.usa-input .usa-input__choices select {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.progress-menu ul {
|
||||
width: 40%;
|
||||
margin-left: 30%;
|
||||
font-size: 2rem;
|
||||
|
||||
.progress-menu__item::before {
|
||||
&__item::before {
|
||||
width: 2.8rem;
|
||||
height: 2.8rem;
|
||||
margin-left: -1.25rem;
|
||||
}
|
||||
|
||||
.progress-menu__item--complete::before {
|
||||
&__item--complete::before {
|
||||
content: url("#{$asset-path}/icons/checkmark-alt.svg");
|
||||
padding-top: 0.4rem;
|
||||
}
|
||||
@@ -210,14 +209,16 @@ body {
|
||||
opacity: inherit;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.modal__form--padded {
|
||||
padding-left: 5%;
|
||||
padding-right: 5%;
|
||||
&.wide {
|
||||
.modal__dialog {
|
||||
max-width: 90rem;
|
||||
}
|
||||
|
||||
.usa-input .usa-input__choices select {
|
||||
max-width: 100%;
|
||||
}
|
||||
.modal__body {
|
||||
padding-left: 4rem;
|
||||
padding-right: 4rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -26,7 +26,7 @@
|
||||
overflow: inherit;
|
||||
}
|
||||
|
||||
.portfolio-header__name {
|
||||
&__name {
|
||||
@include h1;
|
||||
h1 {
|
||||
margin: ($gap * 2) $gap ($gap * 2) $gap;
|
||||
@@ -34,7 +34,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
.portfolio-header__budget {
|
||||
&__budget {
|
||||
font-size: $small-font-size;
|
||||
align-items: center;
|
||||
|
||||
@@ -47,10 +47,21 @@
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.portfolio-header__budget--dollars {
|
||||
&--dollars {
|
||||
font-size: $h2-font-size;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
&--amount {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
&--cents {
|
||||
font-size: 2rem;
|
||||
margin-top: 0.75rem;
|
||||
margin-left: -0.7rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
.links {
|
||||
@@ -74,7 +85,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
.icon-link--icon {
|
||||
&--icon {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@@ -93,23 +104,6 @@
|
||||
margin-left: -0.4rem;
|
||||
}
|
||||
|
||||
.portfolio-header__budget--amount {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.portfolio-header__budget--cents {
|
||||
font-size: 2rem;
|
||||
margin-top: 0.75rem;
|
||||
margin-left: -0.7rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.portfolio-funding__header--funded-through {
|
||||
flex-grow: 1;
|
||||
text-align: left;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.unfunded {
|
||||
color: $color-red;
|
||||
.icon {
|
||||
@@ -333,12 +327,12 @@
|
||||
}
|
||||
|
||||
.portfolio-applications {
|
||||
.portfolio-applications__header {
|
||||
.portfolio-applications__header--title {
|
||||
&__header {
|
||||
&--title {
|
||||
@include subheading;
|
||||
}
|
||||
|
||||
.portfolio-applications__header--actions {
|
||||
&--actions {
|
||||
color: $color-blue;
|
||||
font-size: $small-font-size;
|
||||
.icon {
|
||||
@@ -356,7 +350,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
.application-list-item {
|
||||
&-item {
|
||||
box-shadow: $box-shadow;
|
||||
border-radius: 5px;
|
||||
margin-bottom: 6 * $gap;
|
||||
@@ -365,7 +359,7 @@
|
||||
max-width: 95%;
|
||||
}
|
||||
|
||||
.application-list-item__environment__csp_link {
|
||||
&__environment__csp_link {
|
||||
font-size: $small-font-size;
|
||||
font-weight: normal;
|
||||
&:hover {
|
||||
@@ -384,6 +378,12 @@
|
||||
@include shadow-panel;
|
||||
}
|
||||
|
||||
&__header--funded-through {
|
||||
flex-grow: 1;
|
||||
text-align: left;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.subheading {
|
||||
@include subheading;
|
||||
margin-top: 6 * $gap;
|
||||
@@ -410,11 +410,11 @@
|
||||
margin-right: 2 * $gap;
|
||||
}
|
||||
|
||||
.pending-task-order__started {
|
||||
&__started {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.pending-task-order__value {
|
||||
&__value {
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
@@ -517,10 +517,10 @@
|
||||
}
|
||||
|
||||
.portfolio-reports {
|
||||
.portfolio-reports__header {
|
||||
&__header {
|
||||
margin-bottom: 4 * $gap;
|
||||
|
||||
.portfolio-reports__header--title {
|
||||
&__header--title {
|
||||
@include subheading;
|
||||
}
|
||||
}
|
||||
@@ -573,43 +573,45 @@
|
||||
}
|
||||
}
|
||||
|
||||
.member-list__name {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.member-list__role-select {
|
||||
overflow: auto;
|
||||
margin: 1.6rem -3.2rem -1.6rem -3.2rem;
|
||||
padding: 2rem 3.2rem 2rem 5rem;
|
||||
background: $color-gray-cool-light;
|
||||
border-top: 1px solid $color-gray-lighter;
|
||||
|
||||
> label {
|
||||
font-weight: $font-bold;
|
||||
margin: 0;
|
||||
.member-list {
|
||||
&__name {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
> label:first-child + ul.member-list____role-select__radio {
|
||||
display: flex;
|
||||
&__role-select {
|
||||
overflow: auto;
|
||||
margin: 1.6rem -3.2rem -1.6rem -3.2rem;
|
||||
padding: 2rem 3.2rem 2rem 5rem;
|
||||
background: $color-gray-cool-light;
|
||||
border-top: 1px solid $color-gray-lighter;
|
||||
|
||||
li {
|
||||
border-bottom: none;
|
||||
> label {
|
||||
font-weight: $font-bold;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
label {
|
||||
margin-top: 1rem;
|
||||
margin-left: 2rem;
|
||||
> label:first-child + ul.member-list____role-select__radio {
|
||||
display: flex;
|
||||
background: $color-gray-cool-light;
|
||||
|
||||
li {
|
||||
border-bottom: none;
|
||||
|
||||
label {
|
||||
margin-top: 1rem;
|
||||
margin-left: 2rem;
|
||||
}
|
||||
}
|
||||
|
||||
li:first-child > label {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
li:first-child > label {
|
||||
margin-left: 0;
|
||||
button {
|
||||
font-size: $small-font-size;
|
||||
float: right;
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
button {
|
||||
font-size: $small-font-size;
|
||||
float: right;
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
|
@@ -1,82 +0,0 @@
|
||||
.search-bar {
|
||||
@include grid-row;
|
||||
@include panel-base;
|
||||
@include panel-theme-default;
|
||||
@include panel-margin;
|
||||
|
||||
padding: $gap;
|
||||
flex-wrap: wrap;
|
||||
border-top: none;
|
||||
border-bottom: none;
|
||||
|
||||
@media (min-width: 1000px) {
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
|
||||
.usa-input {
|
||||
margin: $gap 0 0 $gap;
|
||||
height: $search-input-height;
|
||||
position: relative;
|
||||
|
||||
label {
|
||||
@include hide;
|
||||
}
|
||||
}
|
||||
|
||||
.search-bar__filters {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
flex-grow: 1;
|
||||
flex-basis: 100%;
|
||||
|
||||
.usa-input {
|
||||
flex-basis: 100%;
|
||||
|
||||
@media (min-width: 1000px) {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
&:first-child {
|
||||
margin-left: 0;
|
||||
|
||||
@media (min-width: 1000px) {
|
||||
margin-left: $gap;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.search-input {
|
||||
margin-left: 0;
|
||||
margin-top: 0;
|
||||
flex-basis: 100%;
|
||||
|
||||
input[type="search"] {
|
||||
width: auto;
|
||||
height: $search-input-height;
|
||||
width: calc(100% - #{$search-button-width});
|
||||
max-width: none;
|
||||
font-size: 1.6rem;
|
||||
}
|
||||
|
||||
button {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
height: $search-input-height;
|
||||
width: $search-button-width;
|
||||
border-top-left-radius: 0;
|
||||
border-bottom-left-radius: 0;
|
||||
text-align: center;
|
||||
|
||||
&:after {
|
||||
content: url("#{$asset-path}/icons/search.svg");
|
||||
display: inline-block;
|
||||
width: 1.6rem;
|
||||
height: 1.6rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@@ -11,7 +11,7 @@
|
||||
padding-bottom: $gap / 2;
|
||||
}
|
||||
|
||||
.selector__button {
|
||||
&__button {
|
||||
width: 100%;
|
||||
height: $input-height;
|
||||
margin: 0;
|
||||
|
@@ -1,14 +0,0 @@
|
||||
.site-action {
|
||||
border-bottom: 1px solid $color-gray-lightest;
|
||||
display: block;
|
||||
padding-top: 0.5rem;
|
||||
padding-bottom: 0.5rem;
|
||||
margin-top: 0.25rem;
|
||||
|
||||
a {
|
||||
font-size: 1.3rem;
|
||||
text-transform: uppercase;
|
||||
text-decoration: none;
|
||||
color: $color-primary !important;
|
||||
}
|
||||
}
|
@@ -6,43 +6,20 @@
|
||||
margin-left: -$gap * 5;
|
||||
margin-right: -$gap * 3;
|
||||
}
|
||||
}
|
||||
|
||||
.sticky-cta.js-is-sticky {
|
||||
width: 80.8%;
|
||||
}
|
||||
|
||||
.sticky-cta-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
background-color: $color-gray-lightest;
|
||||
border-top: 1px solid $color-gray-lighter;
|
||||
border-bottom: 1px solid $color-gray-lighter;
|
||||
padding: 0 $gap * 2 0 $gap * 5;
|
||||
box-shadow: $box-shadow;
|
||||
|
||||
a {
|
||||
margin: $gap $gap * 1.5 $gap 0;
|
||||
width: 19rem;
|
||||
height: 3.2rem;
|
||||
font-size: $small-font-size;
|
||||
&.js-is-sticky {
|
||||
width: 80.8%;
|
||||
}
|
||||
}
|
||||
|
||||
.sticky-cta-text {
|
||||
flex-grow: 1;
|
||||
}
|
||||
.sticky-cta-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.sticky-cta-buttons {
|
||||
display: flex;
|
||||
|
||||
.action-group {
|
||||
margin: 0;
|
||||
|
||||
a.action-group__action.icon-link {
|
||||
width: auto;
|
||||
}
|
||||
background-color: $color-gray-lightest;
|
||||
border-top: 1px solid $color-gray-lighter;
|
||||
border-bottom: 1px solid $color-gray-lighter;
|
||||
padding: 0 $gap * 2 0 $gap * 5;
|
||||
box-shadow: $box-shadow;
|
||||
|
||||
.usa-button {
|
||||
margin: $gap $gap * 1.5 $gap 0;
|
||||
@@ -51,4 +28,27 @@
|
||||
font-size: $small-font-size;
|
||||
}
|
||||
}
|
||||
|
||||
&-text {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
&-buttons {
|
||||
display: flex;
|
||||
|
||||
.action-group {
|
||||
margin: 0;
|
||||
|
||||
a.action-group__action.icon-link {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
input {
|
||||
margin: $gap $gap * 1.5 $gap 0;
|
||||
width: 19rem;
|
||||
height: 3.2rem;
|
||||
font-size: $small-font-size;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -1,35 +0,0 @@
|
||||
.top-message {
|
||||
padding: $gap * 2;
|
||||
|
||||
@include panel-margin;
|
||||
@include media($medium-screen) {
|
||||
padding: $gap * 4;
|
||||
}
|
||||
|
||||
border-top-width: 1px;
|
||||
border-bottom-width: 1px;
|
||||
border-top-style: solid;
|
||||
border-bottom-style: solid;
|
||||
border-bottom-color: $color-gray-light;
|
||||
|
||||
.title {
|
||||
padding-top: $gap * 2;
|
||||
padding-bottom: $gap * 2;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.list-title {
|
||||
padding-top: $gap * 4;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.list {
|
||||
padding-left: $gap * 2.5;
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
.list-item {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
}
|
@@ -2,7 +2,7 @@
|
||||
background-color: $color-blue-darkest;
|
||||
border-bottom: 1px solid $color-black;
|
||||
|
||||
.topbar__navigation {
|
||||
&__navigation {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: stretch;
|
||||
@@ -16,28 +16,24 @@
|
||||
padding: 0 ($gap * 2);
|
||||
text-decoration: none;
|
||||
|
||||
.topbar__link-label {
|
||||
&-label {
|
||||
@include h5;
|
||||
|
||||
text-decoration: underline;
|
||||
padding-left: $gap;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.topbar__link-icon {
|
||||
&-icon {
|
||||
margin-left: $gap;
|
||||
|
||||
@include icon-color($color-white);
|
||||
}
|
||||
|
||||
&.topbar__link--home {
|
||||
&--home {
|
||||
padding-left: $gap / 2;
|
||||
|
||||
.topbar__link-label {
|
||||
padding-left: $gap;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
&.topbar__link--shield {
|
||||
&--shield {
|
||||
width: $icon-bar-width;
|
||||
justify-content: center;
|
||||
padding: 0;
|
||||
@@ -78,11 +74,11 @@
|
||||
.topbar__link {
|
||||
color: $color-white;
|
||||
|
||||
.topbar__link-icon {
|
||||
&-icon {
|
||||
@include icon-style-inverted;
|
||||
}
|
||||
|
||||
&.topbar__link--home {
|
||||
&--home {
|
||||
padding-left: $gap;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user