2018-03-01 17:53:29 +00:00
|
|
|
@import 'common/sass/variables';
|
|
|
|
|
|
|
|
.example-form {
|
|
|
|
max-width: 744px;
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.input-group {
|
|
|
|
margin: auto;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
> .TogglablePassword {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2018-03-23 16:41:47 +00:00
|
|
|
& > pre,
|
|
|
|
& > .Select,
|
|
|
|
&-input {
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
2018-03-08 19:28:43 +00:00
|
|
|
&-inline {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
font-size: 1rem;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
> .input-group-header {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
> .input-group-input {
|
|
|
|
flex-grow: 1;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
> .Select {
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
|
|
|
}
|
2018-03-01 17:53:29 +00:00
|
|
|
&-header {
|
|
|
|
display: flex;
|
|
|
|
font-size: 1rem;
|
|
|
|
margin-bottom: 8px;
|
|
|
|
font-weight: 400;
|
|
|
|
align-items: center;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
> *:first-child {
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
|
|
|
> .flex-spacer {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
> .small {
|
|
|
|
color: rgba(0, 0, 0, 0.54);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&-input {
|
|
|
|
width: 100%;
|
2018-03-23 16:41:47 +00:00
|
|
|
border: 1px solid $border-idle;
|
2018-03-01 17:53:29 +00:00
|
|
|
border-radius: 2px;
|
2018-03-22 18:30:51 +00:00
|
|
|
height: $input-height-base;
|
2018-03-01 17:53:29 +00:00
|
|
|
padding: 0.75rem 1rem;
|
|
|
|
font-weight: 400;
|
2018-03-22 18:30:51 +00:00
|
|
|
font-size: $input-margin-bottom;
|
2018-03-01 17:53:29 +00:00
|
|
|
color: rgba(0, 0, 0, 0.87);
|
|
|
|
box-shadow: inset 0 1px 0 0 rgba(63, 63, 68, 0.05);
|
|
|
|
transition: border-color 120ms, box-shadow 120ms;
|
|
|
|
margin-bottom: 1rem;
|
2018-03-27 21:06:55 +00:00
|
|
|
&[placeholder] {
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2018-03-22 18:30:51 +00:00
|
|
|
|
2018-03-08 19:28:43 +00:00
|
|
|
&.border-rad-right-0 {
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
}
|
|
|
|
&.border-rad-left-0 {
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
}
|
|
|
|
&-small {
|
|
|
|
padding: 0.5rem 0.75rem;
|
|
|
|
}
|
2018-03-01 17:53:29 +00:00
|
|
|
&::placeholder {
|
2018-04-14 19:10:21 +00:00
|
|
|
color: $input-color-placeholder;
|
2018-03-01 17:53:29 +00:00
|
|
|
}
|
|
|
|
&:not([disabled]):not([readonly]) {
|
|
|
|
&.invalid.has-blurred.has-value {
|
|
|
|
border-color: $brand-danger;
|
|
|
|
box-shadow: inset 0px 0px 0px 1px $brand-danger;
|
|
|
|
}
|
|
|
|
&:focus {
|
|
|
|
border-color: #4295bc;
|
|
|
|
box-shadow: inset 0px 0px 0px 1px #4295bc;
|
|
|
|
&.valid {
|
|
|
|
border-color: #8dd17b;
|
|
|
|
box-shadow: inset 0px 0px 0px 1px #8dd17b;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.Swap-dropdown {
|
|
|
|
.Select-input {
|
|
|
|
left: 24px;
|
|
|
|
}
|
|
|
|
}
|
2018-03-27 21:06:55 +00:00
|
|
|
|
|
|
|
textarea.input-group-input {
|
|
|
|
height: initial;
|
|
|
|
}
|