fix(canvas): 提示词常显并放大字号
This commit is contained in:
@@ -273,24 +273,18 @@ defineExpose({ startEdit, commitNote })
|
|||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
padding: 26px 10px 8px;
|
padding: 30px 12px 9px;
|
||||||
font-size: 11px;
|
font-size: 13.5px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
line-height: 1.35;
|
line-height: 1.4;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
text-shadow: 0 1px 3px rgb(0 0 0 / 0.6);
|
text-shadow: 0 1px 4px rgb(0 0 0 / 0.65);
|
||||||
background: linear-gradient(to top, rgb(0 0 0 / 0.62), transparent);
|
background: linear-gradient(to top, rgb(0 0 0 / 0.66), transparent);
|
||||||
opacity: 0;
|
|
||||||
transition: opacity 0.15s ease;
|
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
.cv-node:hover .cv-node__cap,
|
|
||||||
.cv-node.is-selected .cv-node__cap {
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* 笔记 = 淡黄色贴纸 */
|
/* 笔记 = 淡黄色贴纸 */
|
||||||
.cv-node--note {
|
.cv-node--note {
|
||||||
|
|||||||
Reference in New Issue
Block a user