2019-09-08 16:57:57 +00:00
|
|
|
.editable-input {
|
|
|
|
height: 70%;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.editable-input__label {
|
2020-01-15 11:09:30 +00:00
|
|
|
display: flex;
|
|
|
|
|
2019-09-08 16:57:57 +00:00
|
|
|
@include themify() {
|
|
|
|
color: getThemifyVariable('inactive-text-color');
|
|
|
|
&:hover {
|
|
|
|
color: getThemifyVariable('primary-text-color');
|
|
|
|
& .editable-input__icon path {
|
|
|
|
fill: getThemifyVariable('primary-text-color');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
cursor: pointer;
|
|
|
|
line-height: #{18 / $base-font-size}rem;
|
|
|
|
|
|
|
|
font-size: unset;
|
|
|
|
font-weight: unset;
|
|
|
|
}
|
|
|
|
|
|
|
|
.editable-input__icon svg {
|
|
|
|
width: 1.5rem;
|
|
|
|
height: 1.5rem;
|
2019-11-25 13:05:29 +00:00
|
|
|
|
|
|
|
@include themify() {
|
|
|
|
path {
|
|
|
|
fill: getThemifyVariable('inactive-text-color');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.editable-input:hover {
|
|
|
|
@include themify() {
|
|
|
|
.editable-input__icon path {
|
|
|
|
fill: getThemifyVariable('primary-text-color');
|
|
|
|
}
|
|
|
|
}
|
2019-09-08 16:57:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.editable-input--is-not-editing .editable-input__input,
|
|
|
|
.editable-input--is-editing .editable-input__label {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.editable-input--is-editing .editable-input__input,
|
|
|
|
.editable-input--is-not-editing .editable-input__label {
|
|
|
|
display: block;
|
|
|
|
}
|