Update admin and patient interface
This commit is contained in:
@@ -2039,6 +2039,199 @@
|
||||
.btn-action-del:hover {
|
||||
background: #fee2e2;
|
||||
}
|
||||
|
||||
/* ========================================================
|
||||
FLEXIBLE & RESPONSIVE TYPOGRAPHY & VIEWPORT SYSTEM
|
||||
======================================================== */
|
||||
html {
|
||||
font-size: clamp(14px, 0.95vw + 10px, 16px);
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
/* Fluid Text Sizing across components */
|
||||
.brand-titles h1 {
|
||||
font-size: clamp(1.02rem, 2.5vw, 1.35rem) !important;
|
||||
}
|
||||
.brand-titles p {
|
||||
font-size: clamp(0.68rem, 1.6vw, 0.78rem) !important;
|
||||
}
|
||||
.chat-bubble {
|
||||
font-size: clamp(0.86rem, 2vw, 0.96rem) !important;
|
||||
line-height: 1.55;
|
||||
word-break: break-word;
|
||||
}
|
||||
.chat-sender-name {
|
||||
font-size: clamp(0.68rem, 1.5vw, 0.75rem) !important;
|
||||
}
|
||||
.patient-name-title {
|
||||
font-size: clamp(0.92rem, 2.2vw, 1.05rem) !important;
|
||||
}
|
||||
.meta-value {
|
||||
font-size: clamp(0.8rem, 1.8vw, 0.9rem) !important;
|
||||
}
|
||||
.meta-label {
|
||||
font-size: clamp(0.62rem, 1.4vw, 0.7rem) !important;
|
||||
}
|
||||
.mic-status-label {
|
||||
font-size: clamp(0.9rem, 2.2vw, 1.05rem) !important;
|
||||
}
|
||||
.mic-status-sub {
|
||||
font-size: clamp(0.72rem, 1.6vw, 0.8rem) !important;
|
||||
}
|
||||
.sidebar-nav-item {
|
||||
font-size: clamp(0.82rem, 1.8vw, 0.9rem) !important;
|
||||
}
|
||||
.admin-stat-details h3 {
|
||||
font-size: clamp(1.2rem, 2.5vw, 1.55rem) !important;
|
||||
}
|
||||
.admin-stat-details span {
|
||||
font-size: clamp(0.7rem, 1.5vw, 0.78rem) !important;
|
||||
}
|
||||
.btn-start-consultation {
|
||||
font-size: clamp(0.86rem, 2vw, 0.96rem) !important;
|
||||
}
|
||||
.btn-pill-action {
|
||||
font-size: clamp(0.8rem, 1.8vw, 0.9rem) !important;
|
||||
}
|
||||
#modal-summary-title {
|
||||
font-size: clamp(1rem, 2.4vw, 1.25rem) !important;
|
||||
}
|
||||
|
||||
/* Tablets and Medium Screens (<= 1024px) */
|
||||
@media (max-width: 1024px) {
|
||||
.dashboard-layout {
|
||||
grid-template-columns: 260px 1fr;
|
||||
gap: 16px;
|
||||
padding: 16px;
|
||||
}
|
||||
.admin-stats-grid {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Mobile Screens & Narrow Tablets (<= 768px) */
|
||||
@media (max-width: 768px) {
|
||||
header.main-header {
|
||||
padding: 8px 12px;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
}
|
||||
.header-left {
|
||||
gap: 8px;
|
||||
}
|
||||
.brand-logo-img {
|
||||
height: 38px;
|
||||
max-width: 140px;
|
||||
padding: 1px 4px;
|
||||
}
|
||||
.dashboard-layout {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 16px;
|
||||
padding: 12px 10px;
|
||||
max-width: 100%;
|
||||
}
|
||||
.left-sidebar {
|
||||
order: 2;
|
||||
}
|
||||
.center-stage {
|
||||
order: 1;
|
||||
}
|
||||
.patient-meta-grid {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 8px;
|
||||
}
|
||||
.patient-meta-item {
|
||||
padding: 8px 10px;
|
||||
}
|
||||
.live-mic-stage-card {
|
||||
padding: 16px 12px;
|
||||
}
|
||||
.central-mic-orb {
|
||||
width: 58px;
|
||||
height: 58px;
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
.mic-waveform-center {
|
||||
gap: 14px;
|
||||
}
|
||||
.sound-bars-cluster {
|
||||
height: 28px;
|
||||
}
|
||||
.sound-bar {
|
||||
width: 2.5px;
|
||||
}
|
||||
.controls-action-bar {
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
}
|
||||
.btn-pill-action {
|
||||
flex: 1 1 calc(50% - 8px);
|
||||
min-width: 120px;
|
||||
justify-content: center;
|
||||
padding: 8px 12px;
|
||||
}
|
||||
.chat-scroll-card {
|
||||
height: 380px;
|
||||
padding: 12px 10px;
|
||||
}
|
||||
.chat-bubble {
|
||||
padding: 10px 14px;
|
||||
}
|
||||
.admin-controls-card {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
gap: 10px;
|
||||
}
|
||||
.admin-controls-card > div {
|
||||
width: 100%;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.admin-table-responsive {
|
||||
overflow-x: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
.admin-data-table {
|
||||
min-width: 600px;
|
||||
}
|
||||
.modal-content-card {
|
||||
width: 95% !important;
|
||||
max-width: 95% !important;
|
||||
margin: 10px auto;
|
||||
padding: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Small Mobile Phones (<= 480px) */
|
||||
@media (max-width: 480px) {
|
||||
header.main-header {
|
||||
padding: 6px 10px;
|
||||
}
|
||||
.brand-titles p {
|
||||
display: none;
|
||||
}
|
||||
.header-right {
|
||||
gap: 6px;
|
||||
}
|
||||
.lang-switch-box button {
|
||||
padding: 3px 8px;
|
||||
font-size: 0.72rem;
|
||||
}
|
||||
.admin-stats-grid {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 10px;
|
||||
}
|
||||
.patient-meta-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
.patient-meta-item[style*="grid-column"] {
|
||||
grid-column: span 1 !important;
|
||||
}
|
||||
.btn-start-consultation {
|
||||
width: 100% !important;
|
||||
max-width: 100% !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user