mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
样式优化
This commit is contained in:
parent
e282818a7c
commit
8ba7a9d91c
@ -6,7 +6,6 @@
|
|||||||
:style="{ zIndex: elementIndex }"
|
:style="{ zIndex: elementIndex }"
|
||||||
>
|
>
|
||||||
<component
|
<component
|
||||||
:id="`editable-element-${elementInfo.id}`"
|
|
||||||
:is="currentElementComponent"
|
:is="currentElementComponent"
|
||||||
:elementInfo="elementInfo"
|
:elementInfo="elementInfo"
|
||||||
:selectElement="selectElement"
|
:selectElement="selectElement"
|
||||||
|
@ -18,5 +18,10 @@ export default {
|
|||||||
border: 1px solid $themeColor;
|
border: 1px solid $themeColor;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border-radius: 1px;
|
border-radius: 1px;
|
||||||
|
cursor: grab;
|
||||||
|
|
||||||
|
&:active {
|
||||||
|
cursor: grabbing;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
@ -187,5 +187,10 @@ export default defineComponent({
|
|||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: #999;
|
color: #999;
|
||||||
width: 20px;
|
width: 20px;
|
||||||
|
cursor: grab;
|
||||||
|
|
||||||
|
&:active {
|
||||||
|
cursor: grabbing;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
@ -251,6 +251,11 @@ export default defineComponent({
|
|||||||
padding: 6px;
|
padding: 6px;
|
||||||
border-radius: $borderRadius;
|
border-radius: $borderRadius;
|
||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
|
cursor: grab;
|
||||||
|
|
||||||
|
&:active {
|
||||||
|
cursor: grabbing;
|
||||||
|
}
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
border-color: $themeColor;
|
border-color: $themeColor;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user