2019-04-30 11:11:25 +08:00
|
|
|
.#{$ns}Field-quickEditBtn {
|
2019-12-06 09:58:08 +08:00
|
|
|
color: $QuickEdit-iconColor;
|
|
|
|
margin-left: $gap-xs;
|
|
|
|
visibility: hidden;
|
|
|
|
display: inline-block;
|
|
|
|
cursor: pointer;
|
2019-04-30 11:11:25 +08:00
|
|
|
|
2019-12-06 09:58:08 +08:00
|
|
|
&:hover {
|
|
|
|
color: $QuickEdit-onHover-iconColor;
|
|
|
|
}
|
2019-04-30 11:11:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.#{$ns}Field--quickEditable {
|
2019-12-06 09:58:08 +08:00
|
|
|
outline: none;
|
|
|
|
position: relative;
|
2019-04-30 11:11:25 +08:00
|
|
|
|
2019-12-06 09:58:08 +08:00
|
|
|
&:focus {
|
|
|
|
position: relative;
|
2019-05-15 16:10:20 +08:00
|
|
|
|
2019-12-06 09:58:08 +08:00
|
|
|
&:after {
|
|
|
|
content: '';
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
position: absolute;
|
|
|
|
pointer-events: none;
|
|
|
|
z-index: 1;
|
|
|
|
border: $QuickEdit-onFocus-borderWidth dashed
|
|
|
|
$QuickEdit-onFocus-borderColor;
|
2019-04-30 11:11:25 +08:00
|
|
|
}
|
2019-12-06 09:58:08 +08:00
|
|
|
}
|
2019-04-30 11:11:25 +08:00
|
|
|
|
2019-12-06 09:58:08 +08:00
|
|
|
&:hover .#{$ns}Field-quickEditBtn {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
2019-04-30 11:11:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.#{$ns}QuickEdit-popover {
|
2019-12-06 09:58:08 +08:00
|
|
|
min-width: px2rem(320px);
|
|
|
|
max-width: px2rem(640px);
|
2019-04-30 11:11:25 +08:00
|
|
|
|
2019-12-06 09:58:08 +08:00
|
|
|
.#{$ns}Panel {
|
|
|
|
margin-bottom: 0;
|
|
|
|
border: none;
|
|
|
|
}
|
2019-05-15 16:10:20 +08:00
|
|
|
}
|