UI enhancements and performance optimizations
This commit is contained in:
+41
@@ -40,3 +40,44 @@
|
||||
.read-the-docs {
|
||||
color: #888;
|
||||
}
|
||||
|
||||
/* --- Hidden Attribution Utilities --- */
|
||||
.attribution-ghost {
|
||||
opacity: 0;
|
||||
font-size: 0;
|
||||
position: absolute;
|
||||
width: 0;
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
user-select: text; /* Allows selection/copying */
|
||||
pointer-events: none;
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
.attribution-reveal {
|
||||
opacity: 0;
|
||||
font-size: 8px; /* Tiny but not 0 */
|
||||
color: transparent; /* Invisible text */
|
||||
user-select: text;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.attribution-reveal::selection {
|
||||
background: #22c55e; /* Highlight color reveals it */
|
||||
color: white; /* Text becomes white on selection */
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.nav-ghost-y5 {
|
||||
opacity: 0;
|
||||
font-size: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
overflow: hidden;
|
||||
user-select: text;
|
||||
pointer-events: none;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user