Spaces:
Runtime error
Runtime error
File size: 3,297 Bytes
e0075a3 | 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 133 134 135 136 137 138 | /* VitalSync AI - Intelligent Triage Assistant Styles */
/* Developed by Kunal Shaw */
/* General Container Styles */
.gradio-container {
font-family: "IBM Plex Sans", sans-serif;
position: fixed; /* Ensure full-screen coverage */
top: 0;
left: 0;
width: 100vw; /* Set width to 100% viewport width */
height: 100vh; /* Set height to 100% viewport height */
margin: 0; /* Remove margins for full-screen effect */
padding: 0; /* Remove padding for full-screen background */
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); /* Medical blue gradient */
color: #fff; /* Light text color for better readability */
overflow-y: auto; /* Allow scrolling for content */
}
/* Button Styles - VitalSync Teal Theme */
.gr-button {
color: white;
background: linear-gradient(135deg, #20B2AA 0%, #008B8B 100%); /* Teal gradient */
white-space: nowrap;
border: none;
padding: 12px 24px;
border-radius: 10px;
cursor: pointer;
transition: all 0.3s ease;
font-weight: 600;
box-shadow: 0 4px 15px rgba(32, 178, 170, 0.3);
}
.gr-button:hover {
background: linear-gradient(135deg, #3CB371 0%, #20B2AA 100%);
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(32, 178, 170, 0.4);
}
.gr-button.secondary {
background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
box-shadow: 0 4px 15px rgba(74, 85, 104, 0.3);
}
.gr-button.secondary:hover {
background: linear-gradient(135deg, #718096 0%, #4a5568 100%);
}
/* Gallery styles */
#gallery {
min-height: 22rem;
margin: auto;
border-bottom-right-radius: 0.5rem !important;
border-bottom-left-radius: 0.5rem !important;
background-color: rgba(26, 26, 46, 0.8);
}
/* Centered Container for the Image */
.image-container {
max-width: 100%;
margin: auto;
padding: 20px;
border: 1px solid #20B2AA;
border-radius: 15px;
overflow: hidden;
max-height: 22rem;
background-color: rgba(26, 26, 46, 0.8);
}
/* Set a fixed size for the image */
.image-container img {
max-width: 100%;
height: auto;
max-height: 100%;
border-radius: 10px;
box-shadow: 0px 4px 15px rgba(32, 178, 170, 0.3);
}
/* Output box styles - VitalSync themed */
.gradio-textbox {
background-color: rgba(22, 33, 62, 0.9);
color: #E0E0E0;
border: 1px solid #20B2AA;
border-radius: 12px;
padding: 15px;
}
.gradio-textbox:focus {
border-color: #3CB371;
box-shadow: 0 0 10px rgba(32, 178, 170, 0.5);
}
/* Input label styling */
label {
color: #87CEEB !important;
font-weight: 500;
}
/* Markdown text styling */
.markdown-text {
color: #B0C4DE;
}
/* Links styling */
a {
color: #20B2AA;
text-decoration: none;
transition: color 0.3s ease;
}
a:hover {
color: #3CB371;
text-decoration: underline;
}
/* File download component */
.file-preview {
background-color: rgba(22, 33, 62, 0.9);
border: 1px solid #20B2AA;
border-radius: 10px;
}
/* Custom scrollbar for VitalSync */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #1a1a2e;
}
::-webkit-scrollbar-thumb {
background: #20B2AA;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #3CB371;
} |