添加:文本选择模式下,点击恢复功能
This commit is contained in:
46
content.css
46
content.css
@@ -10,8 +10,8 @@
|
||||
position: relative !important;
|
||||
}
|
||||
|
||||
/* 模糊元素的悬停效果 */
|
||||
.blurtext-blurred:hover::after {
|
||||
/* 元素模式下的悬停效果 */
|
||||
body.blurtext-mode .blurtext-blurred:hover::after {
|
||||
content: '点击取消模糊' !important;
|
||||
position: absolute !important;
|
||||
top: 50% !important;
|
||||
@@ -28,6 +28,48 @@
|
||||
filter: none !important;
|
||||
}
|
||||
|
||||
/* 文本选择模式包裹的元素悬停效果 */
|
||||
.blurtext-selection-wrapped {
|
||||
transition: all 0.1s ease !important;
|
||||
}
|
||||
|
||||
.blurtext-selection-wrapped:hover {
|
||||
background-color: rgba(102, 126, 234, 0.2) !important;
|
||||
outline: 2px solid rgba(102, 126, 234, 0.5) !important;
|
||||
outline-offset: 2px !important;
|
||||
}
|
||||
|
||||
.blurtext-selection-wrapped:hover::after {
|
||||
content: '🔓 点击恢复' !important;
|
||||
position: absolute !important;
|
||||
top: 50% !important;
|
||||
left: 50% !important;
|
||||
transform: translate(-50%, -50%) !important;
|
||||
background: rgba(102, 126, 234, 0.98) !important;
|
||||
color: white !important;
|
||||
padding: 6px 12px !important;
|
||||
border-radius: 6px !important;
|
||||
font-size: 13px !important;
|
||||
font-weight: 600 !important;
|
||||
white-space: nowrap !important;
|
||||
z-index: 999999 !important;
|
||||
pointer-events: none !important;
|
||||
filter: none !important;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
|
||||
animation: blurtext-tooltipPop 0.15s ease !important;
|
||||
}
|
||||
|
||||
@keyframes blurtext-tooltipPop {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translate(-50%, -50%) scale(0.8);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translate(-50%, -50%) scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
/* 模糊模式下的鼠标样式 */
|
||||
body.blurtext-mode * {
|
||||
cursor: crosshair !important;
|
||||
|
||||
Reference in New Issue
Block a user