File size: 10,298 Bytes
00d05c7 |
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 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 |
.selected-img {
border: 4px solid #ffc107 !important;
}
.example-scroll::-webkit-scrollbar {
height: 10px;
}
.example-scroll::-webkit-scrollbar-thumb {
background-color: #bbb;
border-radius: 5px;
}
.example-scroll::-webkit-scrollbar-track {
background: #eee;
}
.spin {
animation: spin 2s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
#topicTags .badge {
font-size: 1rem;
margin-bottom: 0.3em;
/* Add some spacing between tags */
}
/* --- BibTeX panel: eggshell background, black text --- */
#bibtexContent {
background:#fdfde7 !important; /* eggshell */
color:#000 !important;
}
/* --- 2-row image gallery ----------------------------------------------- */
#galleryScroller{
display:grid; /* grid instead of flex */
grid-template-columns:repeat(auto-fill,120px);
grid-auto-rows:120px; /* second row appears automatically */
gap:.5rem;
overflow-y:auto; /* keep horizontal + vertical scroll */
}
#galleryScroller img{
/* existing size rules kept intact */
width:120px;
height:120px;
object-fit:cover;
border:2px solid transparent; /* make room for colour change */
transition:border-color .15s ease;
}
#galleryScroller img:hover{
border-color:#0d6efd !important; /* same blue used for sentences */
}
/* enlarge the image-tool buttons (β 2 Γ current size) */
#imageTools .btn {
width: 56px; /* twice previous 28 px */
height: 56px;
font-size: 1.5rem; /* icons scale up */
padding: 0;
}
/* ββ Sentence list interactivity βββββββββββββββββββββββββββββββββββββββββββ */
#sentenceList .sentence-item {
cursor: pointer;
border: 1px solid transparent; /* make a full-box border we can tint */
transition: border-color .15s ease;
/* ---------- academic look ---------- */
font-family: "Georgia","Times New Roman",serif;
font-size: .95rem; /* a touch smaller than body text */
}
#sentenceList .sentence-item:hover {
border-color:#0d6efd !important; /* Bootstrap primary blue on all sides */
}
/* ββ Heatmap button styling ββββββββββββββββββββββββββββββββββββββββββββββββ */
.heatmap-btn {
width: 28px;
height: 28px;
padding: 0;
display: inline-flex;
align-items: center;
justify-content: center;
}
.heatmap-btn i {
font-size: 0.875rem;
}
/* Sentence text should still be clickable */
.sentence-item span {
cursor: pointer;
}
/* Heatmap overlay image styling */
.heatmap-image {
pointer-events: none; /* Allow click-through to close button */
}
#closeHeatmapBtn {
opacity: 0.8;
transition: opacity 0.2s ease;
}
#closeHeatmapBtn:hover {
opacity: 1;
}
/* ---------- Home palette ------------------------------------------------- */
.card:has(#uploadTrigger),
#exampleContainer { background:#fff!important; color:#000!important; }
.card:has(#uploadTrigger) * { color:#000!important; }
/* topic tags - fix text colors with higher specificity */
#topicTags .btn-outline-primary {
border-color: #000 !important;
color: #000 !important;
background: #fff !important;
}
#topicTags .btn-outline-primary:hover {
background: #0d6efd !important;
color: #fff !important;
border-color: #0d6efd !important;
}
#topicTags .btn-primary,
#topicTags .btn-primary:hover,
#topicTags .btn-primary:focus,
#topicTags .btn-primary:active,
#topicTags .btn.btn-primary {
background: #0d6efd !important;
color: #fff !important;
border-color: #0d6efd !important;
}
/* override any card inheritance for topic buttons */
.card:has(#topicTags) .btn-primary,
.card:has(#topicTags) .btn-primary * {
color: #fff !important;
}
/* creator search result pills - fix colors */
#creatorSearchResults .list-group-item,
#creatorPanelResults .list-group-item {
color: #000 !important;
background: #fff !important;
border-color: #dee2e6 !important;
transition: all 0.2s ease;
}
#creatorSearchResults .list-group-item:hover,
#creatorPanelResults .list-group-item:hover {
color: #fff !important;
background: #0d6efd !important;
border-color: #0d6efd !important;
}
#creatorSearchResults .list-group-item.active,
#creatorPanelResults .list-group-item.active {
color: #fff !important;
background: #0d6efd !important;
border-color: #0d6efd !important;
}
/* upload button already given dark outline in HTML patch */
/* ------------------------------------------------------------------------ */
/* stretch main column if the sidebar is hidden */
.col-md-9.fill { flex:0 0 100%!important; max-width:100%!important; }
/* give the example-image Select button a solid black outline */
#selectImageBtn{
border:2px solid #000 !important;
}
/* light-grey hover (same shade Bootstrap uses for .btn-light) */
#uploadTrigger:hover{
background:#e9ecef !important; /* light grey */
color:#000 !important;
border-color:#000 !important;
}
/* selected topic (btn-primary) β ensure white label */
#topicTags .btn-primary,
#selectedTopicTags .btn-primary{
color:#fff !important;
}
/* navbar items (model dropdown + about) β always white */
.navbar-dark .navbar-nav .nav-link{
color: #fff !important;
}
/* Add hover effect for navbar links */
.navbar-dark .navbar-nav .nav-link:hover {
color: #adb5bd !important;
}
/* Ensure dropdown toggle also gets hover effect */
.navbar-dark .navbar-nav .dropdown-toggle:hover {
color: #adb5bd !important;
}
/* creator badges - force white text with maximum specificity */
#creatorTags .badge,
#selectedCreatorTags .badge,
#creatorTags span.badge,
#selectedCreatorTags span.badge,
#creatorTags .badge.bg-primary,
#selectedCreatorTags .badge.bg-primary {
color: #fff !important;
background: #0d6efd !important;
}
/* override card inheritance for creator badges */
.card:has(#creatorSearch) .badge,
.card:has(#creatorSearch) .badge *,
.card:has(#creatorSearch) span.badge,
.card:has(#creatorSearch) span.badge * {
color: #fff !important;
}
/* navbar custom dark blue */
.navbar-dark{
background:#010e1d !important;
}
/* prevent stray elements from creating a horizontal scrollbar */
body{ overflow-x:hidden; }
/* hide detailed working log for end-users */
#workingLog{ display:none !important; }
@keyframes dotPulse{
0%,20%{opacity:0}
40%{opacity:1}
}
.loading-dots span{
animation:dotPulse 1s infinite;
}
.loading-dots span:nth-child(2){ animation-delay:.2s }
.loading-dots span:nth-child(3){ animation-delay:.4s }
/* dark-blue footer (re-use navbar colour) */
.bg-durham{ background:#010e1d !important; }
.footer a{
color:#fff !important;
text-decoration:underline;
}
.footer a:hover{
color:#adb5bd !important;
}
/* Ensure all footer links have consistent styling */
.footer .text-white {
color: #fff !important;
text-decoration: underline;
}
.footer .text-white:hover {
color: #adb5bd !important;
}
/* About modal custom styling */
#aboutModal .modal-header {
border-bottom: 2px solid #dee2e6;
}
#aboutModal .card {
transition: transform 0.2s ease;
}
#aboutModal .card:hover {
transform: translateY(-2px);
}
#aboutModal section {
border-bottom: 1px solid #f8f9fa;
padding-bottom: 1rem;
}
#aboutModal section:last-child {
border-bottom: none;
padding-bottom: 0;
}
/* model dropdown custom styling */
#modelDropdownMenu .dropdown-item {
color: #000 !important;
background: #fff !important;
transition: all 0.2s ease;
}
#modelDropdownMenu .dropdown-item:hover {
color: #fff !important;
background: #0d6efd !important;
}
/* new layout: topic/creator cards need white backgrounds (but exclude buttons/badges) */
.card:has(#topicTags),
.card:has(#creatorSearch) {
background: #fff !important;
color: #000 !important;
}
.card:has(#topicTags) h5,
.card:has(#topicTags) .card-title,
.card:has(#creatorSearch) h5,
.card:has(#creatorSearch) .card-title {
color: #000 !important;
}
/* override the bg-dark class on the new topic/creator cards */
.card.bg-dark.bg-opacity-50:has(#topicTags),
.card.bg-dark.bg-opacity-50:has(#creatorSearch) {
background: #fff !important;
color: #000 !important;
}
/* creator search input in new layout */
.card:has(#creatorSearch) .form-control {
color: #000 !important;
background: #fff !important;
border-color: #ced4da !important;
}
.card:has(#creatorSearch) .form-control:focus {
border-color: #86b7fe !important;
box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
}
/* light grey background for the main upload container */
#uploadedImageContainer {
background: #f8f9fa !important; /* very light grey instead of bg-secondary */
}
/* Make sure the image tools stay positioned correctly */
#uploadedImageContainer:has(#uploadedImage:not(.d-none)) #imageTools {
position: absolute;
top: 1rem;
left: 1rem;
}
/* force white text on all blue badges and buttons */
.btn-primary *,
.badge.bg-primary *,
.bg-primary * {
color: #fff !important;
}
/* specifically target the creator badge text */
span.badge.bg-primary {
color: #fff !important;
}
span.badge.bg-primary * {
color: #fff !important;
}
/* Ensure footer is always visible below content */
body {
min-height: 100vh;
display: flex;
flex-direction: column;
}
.container-fluid {
flex: 1;
}
.footer {
margin-top: auto;
}
/* ββ main painting + sentences row βββββββββββββββββββββββββββββββββββββββββ */
.main-row{
height: calc(100vh - 220px); /* navbar + bottom cards margin */
min-height: 420px; /* don't shrink too small */
}
/* image column : fill row height */
.main-row .col-md-9 > #uploadedImageContainer{
height:100% !important;
}
/* picture fits inside its box */
#uploadedImage{
max-height:100% !important;
max-width:100%;
object-fit:contain;
}
/* --- βIn Contextβ paragraph --------------------------------------------- */
.context-paragraph{
font-family: "Georgia","Times New Roman",serif;
font-size: .9rem; /* smaller than body text */
margin: 0; /* keep compact inside section */
} |