2019-10-09 23:00:33 +00:00
|
|
|
/** @format */
|
|
|
|
|
|
|
|
.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;
|
|
|
|
|
|
|
|
&: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 {
|
|
|
|
box-shadow: 0 0 0 2px $studio-woocommerce-purple-60;
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|