Spaces:
Running
on
Zero
Running
on
Zero
footer { | |
display: none ; | |
} | |
.pdf_viewer .top-panel{ | |
display: none ; | |
} | |
.chatbot_view .top-panel { | |
display: none ; | |
} | |
.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 ; | |
color: white ; | |
border: none ; | |
border-radius: 8px ; | |
padding: 12px 20px ; | |
font-size: 14px ; | |
font-weight: 500 ; | |
transition: background-color 0.2s ease ; | |
} | |
.upload_button button:hover { | |
background-color: #0056b3 ; | |
} | |
/* Gallery hover effect - targeting Gradio Gallery structure */ | |
.preview_im_element .gallery-item { | |
position: relative ; | |
overflow: hidden ; | |
transition: all 0.3s ease ; | |
} | |
.preview_im_element .gallery-item:hover { | |
transform: scale(1.05) ; | |
z-index: 10 ; | |
} | |
/* Semi-transparent grey overlay on hover */ | |
.preview_im_element .gallery-item::before { | |
content: '' ; | |
position: absolute ; | |
top: 0 ; | |
left: 0 ; | |
right: 0 ; | |
bottom: 0 ; | |
background: rgba(128, 128, 128, 0.8) ; | |
opacity: 0 ; | |
transition: opacity 0.3s ease ; | |
z-index: 1 ; | |
pointer-events: none ; | |
} | |
.preview_im_element .gallery-item:hover::before { | |
opacity: 1 ; | |
} | |
/* 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 ; | |
opacity: 0 ; | |
visibility: hidden ; | |
} | |
/* Style our custom hover text */ | |
.preview_im_element .gallery-item .custom-hover-text { | |
position: absolute ; | |
top: 50% ; | |
left: 50% ; | |
transform: translate(-50%, -50%) ; | |
color: white ; | |
font-size: 13px ; | |
font-weight: 600 ; | |
text-align: center ; | |
opacity: 0 ; | |
transition: opacity 0.3s ease ; | |
z-index: 2 ; | |
pointer-events: none ; | |
max-width: 85% ; | |
line-height: 1.4 ; | |
background: rgba(0, 0, 0, 0.7) ; | |
padding: 8px 12px ; | |
border-radius: 6px ; | |
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) ; | |
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) ; | |
text-transform: uppercase ; | |
letter-spacing: 0.5px ; | |
border: none ; | |
outline: none ; | |
display: block ; | |
} | |
.preview_im_element .gallery-item:hover .custom-hover-text { | |
opacity: 1 ; | |
} | |