Spaces:
Running
on
Zero
Running
on
Zero
File size: 3,247 Bytes
9db5ca1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 |
footer {
display: none !important;
}
.pdf_viewer .top-panel{
display: none !important;
}
.chatbot_view .top-panel {
display: none !important;
}
.jumping-dots span {
position: relative;
bottom: 0px;
animation: jump 2s infinite;
}
.jumping-dots .dot-1{
animation-delay: 200ms;
}
.jumping-dots .dot-2{
animation-delay: 400ms;
}
.jumping-dots .dot-3{
animation-delay: 600ms;
}
@keyframes jump {
0% {bottom: 0px;}
20% {bottom: 5px;}
40% {bottom: 0px;}
}
.inactive_div {
pointer-events: none;
opacity: .5;
}
/*.gallery-container .grid-container {*/
/* width: 50px;*/
/*}*/
.upload_button {
margin-top: 10px;
width: 100%;
}
.upload_button button {
background-color: #007bff !important;
color: white !important;
border: none !important;
border-radius: 8px !important;
padding: 12px 20px !important;
font-size: 14px !important;
font-weight: 500 !important;
transition: background-color 0.2s ease !important;
}
.upload_button button:hover {
background-color: #0056b3 !important;
}
/* Gallery hover effect - targeting Gradio Gallery structure */
.preview_im_element .gallery-item {
position: relative !important;
overflow: hidden !important;
transition: all 0.3s ease !important;
}
.preview_im_element .gallery-item:hover {
transform: scale(1.05) !important;
z-index: 10 !important;
}
/* Semi-transparent grey overlay on hover */
.preview_im_element .gallery-item::before {
content: '' !important;
position: absolute !important;
top: 0 !important;
left: 0 !important;
right: 0 !important;
bottom: 0 !important;
background: rgba(128, 128, 128, 0.8) !important;
opacity: 0 !important;
transition: opacity 0.3s ease !important;
z-index: 1 !important;
pointer-events: none !important;
}
.preview_im_element .gallery-item:hover::before {
opacity: 1 !important;
}
/* Hide all default captions and buttons */
.preview_im_element .gallery-item .caption,
.preview_im_element .gallery-item button,
.preview_im_element .gallery-item [role="button"] {
display: none !important;
opacity: 0 !important;
visibility: hidden !important;
}
/* Style our custom hover text */
.preview_im_element .gallery-item .custom-hover-text {
position: absolute !important;
top: 50% !important;
left: 50% !important;
transform: translate(-50%, -50%) !important;
color: white !important;
font-size: 13px !important;
font-weight: 600 !important;
text-align: center !important;
opacity: 0 !important;
transition: opacity 0.3s ease !important;
z-index: 2 !important;
pointer-events: none !important;
max-width: 85% !important;
line-height: 1.4 !important;
background: rgba(0, 0, 0, 0.7) !important;
padding: 8px 12px !important;
border-radius: 6px !important;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
text-transform: uppercase !important;
letter-spacing: 0.5px !important;
border: none !important;
outline: none !important;
display: block !important;
}
.preview_im_element .gallery-item:hover .custom-hover-text {
opacity: 1 !important;
}
|