Skip to content

Commit 6ac00db

Browse files
committed
style revisions for phone
1 parent 12de338 commit 6ac00db

1 file changed

Lines changed: 62 additions & 22 deletions

File tree

experiment-7/assets/css/style.css

Lines changed: 62 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,10 @@ body {
207207
/* height: 80vh; */
208208
}
209209

210+
#category-pie-chart {
211+
height: 300px !important;
212+
}
213+
210214
.current-date {
211215
font-size: 1em !important;
212216
}
@@ -218,13 +222,18 @@ body {
218222
.chat-main-container {
219223
position: relative;
220224
z-index: 20;
221-
background: rgba(255, 255, 255, 0.6);
225+
/* background: rgba(255, 255, 255, 0.6); */
222226
padding: 0 0 15px;
223227
height: 40vh;
224228
width: 100%;
225-
border-radius: var(--border-radius-medium);
229+
/* border-radius: var(--border-radius-medium);
226230
border: 1px solid var(--highlight);
227-
box-shadow: var(--shadow-inner);
231+
box-shadow: var(--shadow-inner); */
232+
border-radius: var(--border-radius-medium);
233+
border-bottom: 1px solid var(--highlight);
234+
border-left: 1px solid var(--highlight);
235+
border-right: 1px solid var(--highlight);
236+
228237
}
229238

230239
.chat-messages-wrapper {
@@ -273,6 +282,14 @@ body {
273282
}
274283

275284
.chat-input-container {
285+
position: absolute;
286+
bottom: 0;
287+
z-index: 1000;
288+
width: 100%;
289+
border-bottom-left-radius: 8px;
290+
border-bottom-right-radius: 8px;
291+
background-color: rgba(250, 250, 250, .9);
292+
;
276293
border-top: 1px dotted var(--highlight);
277294
padding: var(--spacing-small);
278295
}
@@ -309,16 +326,11 @@ body {
309326
flex-direction: column;
310327
}
311328

312-
.chat-messages-wrapper > div {
329+
.chat-messages-wrapper {
313330
flex: 1;
314331
overflow: overflow;
315332
}
316333

317-
.chat-tabs-container {
318-
display: flex;
319-
border-bottom: 1px solid var(--highlight);
320-
}
321-
322334
#chat-section-right .chat-input-container {
323335
display: flex;
324336
gap: var(--spacing-small);
@@ -327,37 +339,64 @@ body {
327339
.chat-content-container {
328340
border-top: none;
329341
background: transparent;
342+
/* border-radius: var(--border-radius-medium); */
343+
border: 1px solid var(--highlight);
344+
border-top: none;
345+
border-bottom: none;
346+
box-shadow: var(--shadow-inner);
347+
height: calc(100% - 32px);
348+
overflow: hidden;
349+
350+
}
351+
352+
.chat-tabs-container {
353+
display: flex;
354+
justify-content: space-between;
355+
width: 100%;
356+
border-bottom: 1px solid var(--highlight);
330357
}
331358

332359
.chat-tab {
333-
padding: 10px 15px;
360+
padding: 10px;
334361
cursor: pointer;
335-
background-color: rgba(255, 255, 255, 0.7);
362+
background-color: rgba(235, 235, 235, 0.7);
363+
border-bottom: 1px solid var(--highlight);
364+
/* margin-bottom: -1px; */
365+
transition: all 0.2s ease;
366+
}
367+
368+
#stats-tab {
369+
width: 50%;
336370
border-top-left-radius: var(--border-radius-small);
337371
border-top-right-radius: var(--border-radius-small);
338372
border: 1px solid var(--highlight);
339373
border-bottom: none;
374+
border-left: none;
340375
margin-right: 5px;
341-
margin-bottom: -1px;
342-
transition: all 0.2s ease;
376+
}
377+
378+
#community-tab {
379+
align-self: right;
380+
width: 50%;
381+
border-top-left-radius: var(--border-radius-small);
382+
border-top-right-radius: var(--border-radius-small);
383+
border: 1px solid var(--highlight);
384+
border-bottom: none;
385+
border-right: none;
343386
}
344387

345388
.chat-tab.active {
346389
background-color: white;
347-
border-bottom: 1px solid white;
390+
border-bottom: 3px solid white;
348391
font-weight: bold;
392+
margin-bottom: -1px;
349393
}
350394

351395
.chat-tab:hover:not(.active) {
352396
background-color: rgba(255, 255, 255, 0.9);
353397
}
354398

355-
.chat-content-container {
356-
height: calc(100% - 100px);
357-
overflow: hidden;
358-
}
359-
360-
._dash-loading > ._dash-loading-callback {
399+
._dash-loading>._dash-loading-callback {
361400
display: block !important;
362401
visibility: visible !important;
363402
opacity: 1 !important;
@@ -405,7 +444,7 @@ body {
405444
padding: 0;
406445
}
407446

408-
.collapsible-header.expanded + .collapsible-content {
447+
.collapsible-header.expanded+.collapsible-content {
409448
display: block;
410449
padding: 15px;
411450
}
@@ -585,6 +624,7 @@ body {
585624
}
586625

587626
@keyframes pulsOut {
627+
588628
0%,
589629
50% {
590630
box-shadow: 0 0 0 0 #fff;
@@ -641,4 +681,4 @@ body {
641681
.date-label {
642682
font-size: 1.1em;
643683
font-weight: 600;
644-
}
684+
}

0 commit comments

Comments
 (0)