fix: redesign read page status as bottom-right tooltip
This commit is contained in:
parent
db5a243228
commit
28db40609d
2 changed files with 90 additions and 18 deletions
|
|
@ -1101,21 +1101,57 @@ dialog#uncloseai-embedded-modal[data-theme="dark"] .user-message {
|
|||
background: rgba(255, 255, 255, 0.3);
|
||||
}
|
||||
|
||||
/* Page reader status div */
|
||||
/* Page reader status div - tooltip style */
|
||||
.uncloseai-page-reader-status {
|
||||
position: fixed;
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
padding: 10px;
|
||||
background: rgba(0, 0, 0, 0.8);
|
||||
bottom: 80px;
|
||||
right: 20px;
|
||||
padding: 8px 12px;
|
||||
background: rgba(0, 0, 0, 0.85);
|
||||
color: white;
|
||||
border-radius: 5px;
|
||||
z-index: 1000;
|
||||
border-radius: 6px;
|
||||
z-index: 1001;
|
||||
font-size: 12px;
|
||||
line-height: 1.3;
|
||||
max-width: 280px;
|
||||
backdrop-filter: blur(4px);
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
flex-wrap: wrap;
|
||||
animation: tooltip-fade-in 0.3s ease-out;
|
||||
}
|
||||
|
||||
/* Button with left margin */
|
||||
@keyframes tooltip-fade-in {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(10px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
/* Button with left margin - tooltip style buttons */
|
||||
.uncloseai-btn-margin-left {
|
||||
margin-left: 10px;
|
||||
margin-left: 8px;
|
||||
padding: 4px 8px;
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
border: 1px solid rgba(255, 255, 255, 0.25);
|
||||
border-radius: 4px;
|
||||
color: white;
|
||||
cursor: pointer;
|
||||
font-size: 11px;
|
||||
transition: all 0.2s;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.uncloseai-btn-margin-left:hover {
|
||||
background: rgba(255, 255, 255, 0.25);
|
||||
border-color: rgba(255, 255, 255, 0.4);
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
/* =================================================================== */
|
||||
|
|
|
|||
|
|
@ -1149,21 +1149,57 @@ dialog#uncloseai-embedded-modal[data-theme="dark"] .user-message {
|
|||
background: rgba(255, 255, 255, 0.3) !important;
|
||||
}
|
||||
|
||||
/* Page reader status div */
|
||||
/* Page reader status div - tooltip style */
|
||||
.uncloseai-page-reader-status {
|
||||
position: fixed !important;
|
||||
top: 10px !important;
|
||||
right: 10px !important;
|
||||
padding: 10px !important;
|
||||
background: rgba(0, 0, 0, 0.8) !important;
|
||||
bottom: 80px !important;
|
||||
right: 20px !important;
|
||||
padding: 8px 12px !important;
|
||||
background: rgba(0, 0, 0, 0.85) !important;
|
||||
color: white !important;
|
||||
border-radius: 5px !important;
|
||||
z-index: 1000 !important;
|
||||
border-radius: 6px !important;
|
||||
z-index: 1001 !important;
|
||||
font-size: 12px !important;
|
||||
line-height: 1.3 !important;
|
||||
max-width: 280px !important;
|
||||
backdrop-filter: blur(4px) !important;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
gap: 8px !important;
|
||||
flex-wrap: wrap !important;
|
||||
animation: tooltip-fade-in 0.3s ease-out !important;
|
||||
}
|
||||
|
||||
/* Button with left margin */
|
||||
@keyframes tooltip-fade-in {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(10px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
/* Button with left margin - tooltip style buttons */
|
||||
.uncloseai-btn-margin-left {
|
||||
margin-left: 10px !important;
|
||||
margin-left: 8px !important;
|
||||
padding: 4px 8px !important;
|
||||
background: rgba(255, 255, 255, 0.15) !important;
|
||||
border: 1px solid rgba(255, 255, 255, 0.25) !important;
|
||||
border-radius: 4px !important;
|
||||
color: white !important;
|
||||
cursor: pointer !important;
|
||||
font-size: 11px !important;
|
||||
transition: all 0.2s !important;
|
||||
white-space: nowrap !important;
|
||||
}
|
||||
|
||||
.uncloseai-btn-margin-left:hover {
|
||||
background: rgba(255, 255, 255, 0.25) !important;
|
||||
border-color: rgba(255, 255, 255, 0.4) !important;
|
||||
transform: translateY(-1px) !important;
|
||||
}
|
||||
|
||||
/* =================================================================== */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue