Spaces:
Paused
Paused
Update assets/custom.css via AI Editor
Browse files- assets/custom.css +56 -193
assets/custom.css
CHANGED
|
@@ -1,220 +1,83 @@
|
|
| 1 |
-
/* Left column
|
| 2 |
-
|
| 3 |
-
background-color: #
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
overflow-y: auto;
|
| 7 |
word-wrap: break-word;
|
| 8 |
}
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
padding: 20px;
|
| 14 |
-
height: calc(100vh - 120px); /* Adjust based on title and dot height */
|
| 15 |
-
overflow-y: auto;
|
| 16 |
word-wrap: break-word;
|
| 17 |
}
|
| 18 |
|
| 19 |
-
/*
|
| 20 |
-
#app-title {
|
| 21 |
-
background-color: #1C304A; /* Dark blue background */
|
| 22 |
-
color: white;
|
| 23 |
-
padding: 15px;
|
| 24 |
-
text-align: center;
|
| 25 |
-
margin-bottom: 0; /* Remove bottom margin */
|
| 26 |
-
width: 100%;
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/* Progress Indicator Styling */
|
| 30 |
-
.dot-container {
|
| 31 |
-
text-align: center;
|
| 32 |
-
padding: 10px 0;
|
| 33 |
-
width: 100%;
|
| 34 |
-
background-color: #F8F9FA; /* Light background for the dot area */
|
| 35 |
-
height: 40px; /* Fixed height for dot container */
|
| 36 |
-
}
|
| 37 |
-
|
| 38 |
-
@keyframes blink {
|
| 39 |
-
0% { opacity: 1; }
|
| 40 |
-
50% { opacity: 0.2; }
|
| 41 |
-
100% { opacity: 1; }
|
| 42 |
-
}
|
| 43 |
-
|
| 44 |
-
.dot {
|
| 45 |
-
display: inline-block;
|
| 46 |
-
width: 10px;
|
| 47 |
-
height: 10px;
|
| 48 |
-
background-color: #1C304A; /* Match primary button color */
|
| 49 |
-
border-radius: 50%;
|
| 50 |
-
margin: 0 5px;
|
| 51 |
-
animation: blink 1.4s infinite both;
|
| 52 |
-
}
|
| 53 |
-
|
| 54 |
-
.dot:nth-child(2) {
|
| 55 |
-
animation-delay: 0.2s;
|
| 56 |
-
}
|
| 57 |
-
|
| 58 |
-
.dot:nth-child(3) {
|
| 59 |
-
animation-delay: 0.4s;
|
| 60 |
-
}
|
| 61 |
-
|
| 62 |
-
/* Button Styling */
|
| 63 |
.btn-primary {
|
| 64 |
-
background-color: #1C304A
|
| 65 |
-
border-color: #1C304A
|
| 66 |
-
color: white !important;
|
| 67 |
}
|
| 68 |
.btn-primary:hover {
|
| 69 |
-
background-color: #116F70
|
| 70 |
-
border-color: #116F70
|
| 71 |
-
color: white !important;
|
| 72 |
}
|
| 73 |
.btn-secondary {
|
| 74 |
-
background-color: #116F70
|
| 75 |
-
border-color: #116F70
|
| 76 |
-
color: white !important;
|
| 77 |
}
|
| 78 |
.btn-secondary:hover {
|
| 79 |
-
background-color: #00AEAF
|
| 80 |
-
border-color: #00AEAF
|
| 81 |
-
color: white !important;
|
| 82 |
}
|
| 83 |
.btn-tertiary {
|
| 84 |
-
background-color: #E0E0E0
|
| 85 |
-
border-color: #E0E0E0
|
| 86 |
-
color: #1C304A
|
| 87 |
}
|
| 88 |
.btn-tertiary:hover {
|
| 89 |
-
background-color: #DEF4F4
|
| 90 |
-
border-color: #DEF4F4
|
| 91 |
-
color: #1C304A
|
| 92 |
-
}
|
| 93 |
-
|
| 94 |
-
/* Style for the document type buttons (using btn-link class in code) */
|
| 95 |
-
.custom-button.btn.btn-link {
|
| 96 |
-
background-color: #FFFFFF; /* White background */
|
| 97 |
-
border: 1px solid #CCCCCC; /* Light grey border */
|
| 98 |
-
color: #1C304A !important; /* Dark blue text, important to override link default */
|
| 99 |
-
text-align: left !important;
|
| 100 |
-
padding: 10px 15px !important;
|
| 101 |
-
margin-bottom: 8px !important;
|
| 102 |
-
border-radius: 4px !important;
|
| 103 |
-
width: 100% !important;
|
| 104 |
-
transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
|
| 105 |
-
white-space: normal !important; /* Allow text wrapping */
|
| 106 |
-
word-wrap: break-word !important; /* Break long words */
|
| 107 |
-
text-decoration: none !important; /* Remove underline from link */
|
| 108 |
-
display: block; /* Ensure it takes full width */
|
| 109 |
-
}
|
| 110 |
-
|
| 111 |
-
.custom-button.btn.btn-link:hover {
|
| 112 |
-
background-color: #DEF4F4 !important; /* Light teal background on hover */
|
| 113 |
-
border-color: #DEF4F4 !important;
|
| 114 |
-
color: #1C304A !important;
|
| 115 |
-
text-decoration: none !important;
|
| 116 |
}
|
| 117 |
|
| 118 |
-
/*
|
| 119 |
-
.
|
| 120 |
-
|
| 121 |
-
height: 60px;
|
| 122 |
-
line-height: 60px;
|
| 123 |
-
border-width: 1px;
|
| 124 |
-
border-style: dashed;
|
| 125 |
-
border-radius: 5px;
|
| 126 |
-
text-align: center;
|
| 127 |
-
margin: 10px 0;
|
| 128 |
-
border-color: #CCCCCC; /* Neutral border color */
|
| 129 |
-
background-color: #FAFAFA; /* Slightly off-white background */
|
| 130 |
word-wrap: break-word;
|
| 131 |
-
|
| 132 |
-
.upload-style:hover {
|
| 133 |
-
border-color: #116F70; /* Match secondary hover */
|
| 134 |
-
}
|
| 135 |
-
|
| 136 |
-
/* Style for document preview area */
|
| 137 |
-
#document-preview {
|
| 138 |
-
border: 1px solid #E0E0E0;
|
| 139 |
-
padding: 15px;
|
| 140 |
-
margin-bottom: 15px;
|
| 141 |
-
min-height: 250px; /* Adjusted minimum height */
|
| 142 |
-
max-height: 55vh; /* Limit height and allow scrolling */
|
| 143 |
-
overflow-y: auto;
|
| 144 |
-
background-color: #FFFFFF; /* Ensure white background */
|
| 145 |
-
word-wrap: break-word; /* Ensure text wraps */
|
| 146 |
-
white-space: pre-wrap; /* Preserve whitespace and wrap */
|
| 147 |
}
|
| 148 |
|
| 149 |
-
/*
|
| 150 |
-
|
| 151 |
-
|
| 152 |
-
|
| 153 |
-
|
| 154 |
-
|
| 155 |
-
margin-bottom: 5px;
|
| 156 |
-
background-color: #fff;
|
| 157 |
-
border-radius: 3px;
|
| 158 |
-
display: flex;
|
| 159 |
-
justify-content: space-between;
|
| 160 |
-
align-items: center;
|
| 161 |
-
}
|
| 162 |
-
#file-list button {
|
| 163 |
-
background: none;
|
| 164 |
-
border: none;
|
| 165 |
-
color: red;
|
| 166 |
-
cursor: pointer;
|
| 167 |
-
font-weight: bold;
|
| 168 |
-
padding: 0 5px;
|
| 169 |
-
}
|
| 170 |
-
|
| 171 |
-
/* Ensure chat input and output have word wrap */
|
| 172 |
-
#chat-input, #chat-output, #status-bar {
|
| 173 |
-
word-wrap: break-word;
|
| 174 |
-
white-space: normal; /* Ensure text wraps normally */
|
| 175 |
-
}
|
| 176 |
-
|
| 177 |
-
/* Ensure body and html take full height */
|
| 178 |
-
html, body, #react-entry-point, .dash-template {
|
| 179 |
-
height: 100%;
|
| 180 |
-
margin: 0;
|
| 181 |
-
padding: 0;
|
| 182 |
-
overflow-x: hidden; /* Prevent horizontal scroll */
|
| 183 |
}
|
| 184 |
-
|
| 185 |
-
|
| 186 |
-
|
| 187 |
-
|
| 188 |
-
|
| 189 |
-
|
| 190 |
-
|
| 191 |
-
|
|
|
|
|
|
|
| 192 |
}
|
| 193 |
-
|
| 194 |
-
|
| 195 |
-
|
| 196 |
-
margin-left: 0 !important;
|
| 197 |
-
margin-right: 0 !important;
|
| 198 |
}
|
| 199 |
-
|
| 200 |
-
|
| 201 |
-
|
| 202 |
-
flex-grow: 1; /* Allow content row to fill remaining space */
|
| 203 |
-
min-height: 0; /* Override potential min-height issues */
|
| 204 |
}
|
| 205 |
-
|
| 206 |
-
|
| 207 |
-
|
| 208 |
-
height: 100%; /* Make columns fill the content-row height */
|
| 209 |
}
|
| 210 |
-
|
| 211 |
-
|
| 212 |
-
|
| 213 |
-
#left-column, #right-column {
|
| 214 |
-
height: auto; /* Allow height to adjust on smaller screens */
|
| 215 |
-
min-height: 300px; /* Set a minimum height */
|
| 216 |
-
}
|
| 217 |
-
.content-row {
|
| 218 |
-
flex-direction: column;
|
| 219 |
-
}
|
| 220 |
}
|
|
|
|
| 1 |
+
/* Left column navbar light gray, right column white background */
|
| 2 |
+
.dash-bootstrap .dbc-row > .dbc-col:first-child {
|
| 3 |
+
background-color: #F5F5F5 !important;
|
| 4 |
+
min-height: 100vh;
|
| 5 |
+
word-break: break-word;
|
|
|
|
| 6 |
word-wrap: break-word;
|
| 7 |
}
|
| 8 |
+
.dash-bootstrap .dbc-row > .dbc-col:last-child {
|
| 9 |
+
background-color: #FFFFFF !important;
|
| 10 |
+
min-height: 100vh;
|
| 11 |
+
word-break: break-word;
|
|
|
|
|
|
|
|
|
|
| 12 |
word-wrap: break-word;
|
| 13 |
}
|
| 14 |
|
| 15 |
+
/* Button colors */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
.btn-primary {
|
| 17 |
+
background-color: #1C304A;
|
| 18 |
+
border-color: #1C304A;
|
|
|
|
| 19 |
}
|
| 20 |
.btn-primary:hover {
|
| 21 |
+
background-color: #116F70;
|
| 22 |
+
border-color: #116F70;
|
|
|
|
| 23 |
}
|
| 24 |
.btn-secondary {
|
| 25 |
+
background-color: #116F70;
|
| 26 |
+
border-color: #116F70;
|
|
|
|
| 27 |
}
|
| 28 |
.btn-secondary:hover {
|
| 29 |
+
background-color: #00AEAF;
|
| 30 |
+
border-color: #00AEAF;
|
|
|
|
| 31 |
}
|
| 32 |
.btn-tertiary {
|
| 33 |
+
background-color: #E0E0E0;
|
| 34 |
+
border-color: #E0E0E0;
|
| 35 |
+
color: #1C304A;
|
| 36 |
}
|
| 37 |
.btn-tertiary:hover {
|
| 38 |
+
background-color: #DEF4F4;
|
| 39 |
+
border-color: #DEF4F4;
|
| 40 |
+
color: #1C304A;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
}
|
| 42 |
|
| 43 |
+
/* Word wrap for text boxes */
|
| 44 |
+
input[type="text"], textarea, .dash-textarea, .dash-input {
|
| 45 |
+
word-break: break-word;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
word-wrap: break-word;
|
| 47 |
+
white-space: pre-wrap;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
}
|
| 49 |
|
| 50 |
+
/* Blinking triple dot progress indicator */
|
| 51 |
+
.blinking-dot {
|
| 52 |
+
width: 16px;
|
| 53 |
+
height: 16px;
|
| 54 |
+
position: relative;
|
| 55 |
+
display: inline-block;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
}
|
| 57 |
+
.blinking-dot::before, .blinking-dot::after, .blinking-dot {
|
| 58 |
+
content: '';
|
| 59 |
+
display: inline-block;
|
| 60 |
+
width: 6px;
|
| 61 |
+
height: 6px;
|
| 62 |
+
border-radius: 50%;
|
| 63 |
+
background: #1C304A;
|
| 64 |
+
position: absolute;
|
| 65 |
+
top: 5px;
|
| 66 |
+
animation: blink 1.4s infinite both;
|
| 67 |
}
|
| 68 |
+
.blinking-dot::before {
|
| 69 |
+
left: 0;
|
| 70 |
+
animation-delay: 0s;
|
|
|
|
|
|
|
| 71 |
}
|
| 72 |
+
.blinking-dot {
|
| 73 |
+
left: 5px;
|
| 74 |
+
animation-delay: 0.2s;
|
|
|
|
|
|
|
| 75 |
}
|
| 76 |
+
.blinking-dot::after {
|
| 77 |
+
left: 10px;
|
| 78 |
+
animation-delay: 0.4s;
|
|
|
|
| 79 |
}
|
| 80 |
+
@keyframes blink {
|
| 81 |
+
0%, 80%, 100% { opacity: 0.2; }
|
| 82 |
+
40% { opacity: 1; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 83 |
}
|