atst/styles/sections/_task_order.scss
2019-09-04 14:09:34 -04:00

283 lines
4.0 KiB
SCSS

.task-order-list {
margin-top: 6 * $gap;
}
.task-order-card {
&__buttons .usa-button {
min-width: 10rem;
}
&__buttons .usa-button-secondary {
min-width: 14rem;
}
.label {
font-size: $small-font-size;
margin-right: 2 * $gap;
min-width: 7rem;
display: flex;
justify-content: space-around;
}
}
.task-order {
margin-top: $gap * 4;
width: 900px;
&__amount {
text-align: right;
}
hr {
border: 0;
margin-top: $gap * 4;
margin-bottom: $gap * 4;
}
table {
margin-top: 1rem;
th {
white-space: nowrap;
}
}
&__header {
.h2,
p {
margin-bottom: $gap * 0.5;
}
}
.col {
flex-grow: 1;
}
.h1,
.h3 {
margin-bottom: $gap * 2;
}
.h4 {
margin-top: $gap * 2;
}
.task-order__review {
.h2 {
margin-bottom: $gap * 4;
}
.task-order__number {
text-align: right;
}
.totals-box {
flex-grow: unset;
display: table;
min-width: 350px;
}
}
.card {
padding: ($gap * 4) ($gap * 5) 0;
.usa-input {
margin: 0 $gap 0 0;
width: 45rem;
}
fieldset.date-picker {
width: auto;
}
.form-row {
margin: 0;
}
select {
max-width: -webkit-fill-available;
font-weight: bold;
}
button {
margin-bottom: $gap * 3;
}
.date-picker {
padding-bottom: $gap * 3;
.usa-input__title {
padding-bottom: $gap;
font-weight: $font-bold;
}
.usa-input__help {
font-style: italic;
color: $color-gray;
margin-bottom: 1rem;
}
.usa-alert {
padding: $gap * 0.5;
margin: 0 0 $gap;
background-size: 3rem;
background-position-x: 1.5rem;
background-position-y: 1.25rem;
&-body {
padding-left: 5rem;
padding-right: $gap * 2;
}
&-text {
font-weight: 550;
margin-bottom: 0.5rem;
}
}
}
}
.usa-input__title,
.usa-input__title-inline {
font-weight: $font-normal;
}
&.task_order__form {
hr {
margin-top: 1.5rem;
}
.totals-box {
margin-top: 0;
}
.icon {
left: 100%;
&.icon--question {
@include icon-color($color-blue);
}
}
input {
max-width: unset;
}
.date-picker {
.usa-input__title {
font-weight: $font-bold;
margin-bottom: $gap;
}
}
.usa-form-group-year {
margin-right: 0.4rem;
}
.usa-alert {
margin: 1.5em 0;
}
.usa-input {
margin-top: $gap;
margin-bottom: $gap;
}
.form-row {
margin-bottom: 0;
.usa-input {
margin-left: $gap;
margin-right: $gap;
}
.form-col:first-child {
.usa-input {
margin-left: 0;
}
}
.form-col:last-child {
.usa-input {
margin-right: 0;
}
}
}
.task-order__pdf-help-text {
margin-bottom: 4 * $gap;
}
}
.panel {
@include shadow-panel;
}
.alert .alert__actions {
margin-top: 2 * $gap;
}
.panel {
width: 100%;
}
.label {
&--pending,
&--started {
background-color: $color-gold;
}
&--active {
background-color: $color-green;
}
&--expired {
background-color: $color-red;
}
}
.task-order-document-link {
&__icon {
padding-top: 0.5rem;
}
.task-order-document-description {
padding-left: 3rem;
font-style: italic;
}
}
button.icon-link {
margin-top: 0;
margin-left: 0;
padding-left: 0;
font-size: $base-font-size;
&.icon-link__remove-clin {
margin: 0;
padding: 0;
right: $gap * 1.5;
position: absolute;
color: $color-gray;
}
}
}
.task-order__modal-cancel {
text-align: center;
}
.task-order__modal-cancel_buttons {
display: flex;
justify-content: center;
}
.clin-card {
width: 62rem;
position: relative;
&__title.h4 {
margin-top: 0;
padding-bottom: $gap * 2.5;
}
}