2020-02-14 02:23:21 +00:00
|
|
|
|
2019-10-09 23:00:33 +00:00
|
|
|
|
|
|
|
.muriel-input-text {
|
|
|
|
background: $studio-white;
|
|
|
|
border: 1px solid $studio-gray-20;
|
2019-12-02 17:39:22 +00:00
|
|
|
border-radius: 3px;
|
|
|
|
height: 56px;
|
2019-10-09 23:00:33 +00:00
|
|
|
box-shadow: none;
|
|
|
|
padding: 12px 12px 4px;
|
|
|
|
position: relative;
|
2020-06-15 22:50:22 +00:00
|
|
|
box-shadow: $shadow-popover;
|
2019-10-09 23:00:33 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border-color: $studio-gray-40;
|
|
|
|
}
|
|
|
|
|
|
|
|
label {
|
|
|
|
color: $studio-gray-50;
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 21px;
|
|
|
|
|
|
|
|
&.components-base-control__label {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.components-text-control__input {
|
|
|
|
border: 0;
|
|
|
|
box-shadow: none;
|
|
|
|
font-size: 16px;
|
|
|
|
line-height: 21px;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2020-01-09 02:10:52 +00:00
|
|
|
min-height: 30px;
|
2019-10-09 23:00:33 +00:00
|
|
|
|
|
|
|
&:focus {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
2020-06-15 22:50:22 +00:00
|
|
|
box-shadow: 0 0 0 2px $blue-medium-focus;
|
2019-10-09 23:00:33 +00:00
|
|
|
border-color: transparent;
|
|
|
|
|
|
|
|
input {
|
|
|
|
color: $studio-gray-80;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.with-value {
|
|
|
|
.components-base-control__label {
|
|
|
|
display: block;
|
2019-12-02 17:39:22 +00:00
|
|
|
position: relative;
|
|
|
|
top: -8px;
|
|
|
|
width: 100%;
|
|
|
|
font-size: 12px;
|
2019-10-09 23:00:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
color: $studio-gray-80;
|
2019-12-02 17:39:22 +00:00
|
|
|
position: relative;
|
|
|
|
top: -12px;
|
2019-10-09 23:00:33 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.empty {
|
|
|
|
label {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
input {
|
|
|
|
color: $studio-gray-50;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.has-error {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.disabled {
|
|
|
|
label {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
input {
|
|
|
|
color: $studio-gray-20;
|
|
|
|
|
|
|
|
/* Placeholder styling: */
|
|
|
|
&::placeholder {
|
|
|
|
/* Chrome, Firefox, Opera, Safari 10.1+ */
|
|
|
|
color: $studio-gray-20;
|
|
|
|
opacity: 1; /* Firefox */
|
|
|
|
}
|
|
|
|
&:-ms-input-placeholder {
|
|
|
|
/* Internet Explorer 10-11 */
|
|
|
|
color: $studio-gray-20;
|
|
|
|
}
|
|
|
|
&::-ms-input-placeholder {
|
|
|
|
/* Microsoft Edge */
|
|
|
|
color: $studio-gray-20;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|