288 lines
4.7 KiB
Plaintext
288 lines
4.7 KiB
Plaintext
// out: false, sourceMap: false, main: ../style.less
|
|
@import "colors.less";
|
|
@import "fonts.less";
|
|
@font-family: 'Work Sans',
|
|
sans-serif;
|
|
@font-size: 18px;
|
|
@font-size-small: 14px;
|
|
@input-height: 48px;
|
|
|
|
|
|
|
|
.form-group {
|
|
display: block;
|
|
margin-bottom: 33px;
|
|
|
|
label {
|
|
display: block;
|
|
color: @color-label-grey;
|
|
font-size: @font-size;
|
|
line-height: 1;
|
|
font-family: @font-family;
|
|
text-align: left;
|
|
margin-bottom: 13px;
|
|
}
|
|
|
|
input,
|
|
select {
|
|
display: block;
|
|
border-radius: 2px;
|
|
border: solid 1px #dfdfdf;
|
|
height: @input-height;
|
|
line-height: 1.1;
|
|
font-family: @font-family;
|
|
color: @color-input-light;
|
|
font-size: @font-size;
|
|
background-color: @color-input-background;
|
|
margin: 0 0px;
|
|
padding-right: 0;
|
|
padding-left: 20px;
|
|
width: calc(~'100% - 20px');
|
|
}
|
|
|
|
textarea {
|
|
box-sizing: border-box;
|
|
resize: none;
|
|
display: block;
|
|
border-radius: 2px;
|
|
border: solid 1px #dfdfdf;
|
|
height: 120px;
|
|
font-family: @font-family;
|
|
color: @color-input-light;
|
|
font-size: 16px;
|
|
background-color: @color-input-background;
|
|
margin: 0 0px;
|
|
padding-right: 0;
|
|
width: 100%;
|
|
padding: 10px 5px;
|
|
}
|
|
|
|
select {
|
|
padding: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
input.invalid:not([readonly]),
|
|
input[aria-invalid="true"]:not([readonly]) {
|
|
box-shadow: inset 0px 0px 0px 1px @color-scarlet !important;
|
|
}
|
|
|
|
small.error {
|
|
text-align: left;
|
|
display: block;
|
|
color: @color-scarlet;
|
|
font-size: @font-size-small;
|
|
font-family: @font-family;
|
|
line-height: 1;
|
|
padding-left: 16px;
|
|
margin: 2px 0;
|
|
}
|
|
}
|
|
|
|
.text-center {
|
|
text-align: center;
|
|
}
|
|
|
|
.block {
|
|
display: block;
|
|
}
|
|
|
|
.block-center {
|
|
margin: auto !important;
|
|
}
|
|
|
|
input.invalid:not([readonly]),
|
|
input[aria-invalid="true"]:not([readonly]) {
|
|
box-shadow: inset 0px 0px 0px 1px @color-scarlet !important;
|
|
}
|
|
|
|
|
|
input:focus {
|
|
outline: 5px #1791ff auto;
|
|
}
|
|
|
|
select:focus {
|
|
outline: 5px #1791ff auto;
|
|
}
|
|
|
|
|
|
.radio-buttons {
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
|
|
input {
|
|
|
|
width: 24px;
|
|
height: 24px;
|
|
object-fit: contain;
|
|
border-radius: 12px;
|
|
background-color: #f1f1f1;
|
|
margin: 0 5px;
|
|
}
|
|
|
|
label {
|
|
|
|
font-size: 18px;
|
|
|
|
line-height: 1.11;
|
|
color: #4b4b4b;
|
|
|
|
&:first-of-type {
|
|
font-size: 24px;
|
|
font-weight: 500;
|
|
color: @color-darkish-blue;
|
|
flex: 1;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
.input-area {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-flow: row;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
|
|
&.grid {
|
|
display: grid;
|
|
grid-template-rows: 1fr;
|
|
grid-template-columns: repeat(2, auto);
|
|
grid-column-gap: 1rem;
|
|
|
|
>button {
|
|
margin: 0;
|
|
}
|
|
|
|
&.grid-4 {
|
|
grid-template-columns: repeat(4, auto);
|
|
}
|
|
|
|
&.grid-5 {
|
|
grid-template-columns: repeat(5, auto);
|
|
}
|
|
|
|
&.grid-6 {
|
|
grid-template-columns: repeat(6, auto);
|
|
}
|
|
|
|
&.grid-7 {
|
|
grid-template-columns: repeat(7, auto);
|
|
}
|
|
|
|
&.grid-8 {
|
|
grid-template-columns: repeat(8, auto);
|
|
}
|
|
|
|
&.grid-9 {
|
|
grid-template-columns: repeat(9, auto);
|
|
}
|
|
|
|
&.grid-10 {
|
|
grid-template-columns: repeat(10, auto);
|
|
}
|
|
}
|
|
|
|
&.left {
|
|
justify-content: flex-start;
|
|
width: auto;
|
|
justify-self: left;
|
|
}
|
|
|
|
span.toggle {
|
|
margin-right: 0 !important;
|
|
}
|
|
|
|
&.col {
|
|
flex-flow: column;
|
|
align-items: flex-start;
|
|
height: auto;
|
|
}
|
|
|
|
h3 {
|
|
color: #002680;
|
|
margin: 18px 0;
|
|
}
|
|
|
|
.buttons {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-flow: row;
|
|
margin-bottom: 18px;
|
|
|
|
&:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
label {
|
|
color: #002680;
|
|
font-size: 24px;
|
|
font-weight: 500;
|
|
// flex: 0.7;
|
|
}
|
|
|
|
.numeric {
|
|
font-size: 18px;
|
|
font-weight: 500;
|
|
color: #6d6d6d;
|
|
|
|
width: 100px;
|
|
height: 48px;
|
|
border-radius: 2px;
|
|
box-shadow: inset 0 1px 3px 0 rgba(0, 0, 0, 0.5);
|
|
border: none;
|
|
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
padding: 0 4px;
|
|
align-items: center;
|
|
justify-content: stretch;
|
|
|
|
&.disabled {
|
|
background-color: rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
&.error {
|
|
outline: 2px solid red;
|
|
}
|
|
|
|
&.focused {
|
|
outline: 2px #1791ff auto;
|
|
}
|
|
|
|
input {
|
|
border: none;
|
|
font-size: 16px;
|
|
text-align: right;
|
|
height: 100%;
|
|
width: 100%;
|
|
// outline: none !important;
|
|
background-color: transparent;
|
|
|
|
&[type=number]::-webkit-inner-spin-button,
|
|
&[type=number]::-webkit-outer-spin-button {
|
|
-webkit-appearance: none;
|
|
margin: 0;
|
|
}
|
|
|
|
}
|
|
|
|
span {
|
|
padding: 0 3px;
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
|
|
select {
|
|
min-width: 150px;
|
|
height: 48px;
|
|
background-color: #fff;
|
|
padding: 0 20px;
|
|
font-size: 1rem;
|
|
|
|
}
|
|
} |