mobile ui
This commit is contained in:
@@ -217,7 +217,7 @@
|
|||||||
<div class="add-form-collapsible">
|
<div class="add-form-collapsible">
|
||||||
<div class="inline-form-row">
|
<div class="inline-form-row">
|
||||||
<input type="text" id="newRxMedication" placeholder="Medication name *" class="form-input" />
|
<input type="text" id="newRxMedication" placeholder="Medication name *" class="form-input" />
|
||||||
<input type="text" id="newRxNumber" placeholder="RX#" class="form-input" style="max-width:120px" />
|
<input type="text" id="newRxNumber" placeholder="RX#" class="form-input rx-number-input" />
|
||||||
<input type="text" id="newRxDosage" placeholder="Dosage" class="form-input" />
|
<input type="text" id="newRxDosage" placeholder="Dosage" class="form-input" />
|
||||||
<input type="text" id="newRxFrequency" placeholder="Frequency" class="form-input" />
|
<input type="text" id="newRxFrequency" placeholder="Frequency" class="form-input" />
|
||||||
<select id="newRxDoctor" class="form-input">
|
<select id="newRxDoctor" class="form-input">
|
||||||
|
|||||||
@@ -773,6 +773,10 @@
|
|||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.rx-number-input {
|
||||||
|
max-width: 120px;
|
||||||
|
}
|
||||||
|
|
||||||
.inline-edit-form {
|
.inline-edit-form {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
@@ -1370,6 +1374,10 @@
|
|||||||
/* ======================== */
|
/* ======================== */
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
|
.dashboard-container {
|
||||||
|
padding: 16px 12px;
|
||||||
|
}
|
||||||
|
|
||||||
.welcome-section {
|
.welcome-section {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 16px;
|
gap: 16px;
|
||||||
@@ -1377,8 +1385,18 @@
|
|||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.quick-actions {
|
||||||
|
flex-wrap: wrap;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.quick-actions .btn {
|
||||||
|
flex: 1 1 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.medical-layout {
|
.medical-layout {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
min-height: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
.medical-sidebar {
|
.medical-sidebar {
|
||||||
@@ -1409,7 +1427,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.summary-cards {
|
.summary-cards {
|
||||||
grid-template-columns: repeat(2, 1fr);
|
grid-template-columns: repeat(3, 1fr);
|
||||||
}
|
}
|
||||||
|
|
||||||
.upload-fields {
|
.upload-fields {
|
||||||
@@ -1424,9 +1442,24 @@
|
|||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.doc-type-icon,
|
||||||
|
.doc-info {
|
||||||
|
flex: 0 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.doc-info {
|
||||||
|
flex: 1 1 0;
|
||||||
|
min-width: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.doc-actions {
|
.doc-actions {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
|
margin-top: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.doc-actions button {
|
||||||
|
padding: 8px 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.inline-form-row {
|
.inline-form-row {
|
||||||
@@ -1438,6 +1471,10 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.inline-form-row .btn {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.doctor-card,
|
.doctor-card,
|
||||||
.condition-item {
|
.condition-item {
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
@@ -1454,22 +1491,40 @@
|
|||||||
|
|
||||||
.main-tabs {
|
.main-tabs {
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
|
scrollbar-width: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.main-tabs::-webkit-scrollbar {
|
||||||
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cost-aggregation {
|
.cost-aggregation {
|
||||||
grid-template-columns: 1fr;
|
grid-template-columns: 1fr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.filter-bar {
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
.filter-bar .form-input {
|
.filter-bar .form-input {
|
||||||
min-width: unset;
|
min-width: unset;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
flex: 1 1 100%;
|
flex: 1 1 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.filter-bar input[type="date"] {
|
||||||
|
width: 100%;
|
||||||
|
flex: 1 1 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.filter-search {
|
.filter-search {
|
||||||
flex: 1 1 100% !important;
|
flex: 1 1 100% !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.btn-sm {
|
||||||
|
padding: 8px 14px;
|
||||||
|
}
|
||||||
|
|
||||||
.doc-detail-row-inline {
|
.doc-detail-row-inline {
|
||||||
grid-template-columns: 1fr;
|
grid-template-columns: 1fr;
|
||||||
}
|
}
|
||||||
@@ -1478,3 +1533,30 @@
|
|||||||
grid-column: auto !important;
|
grid-column: auto !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ======================== */
|
||||||
|
/* Responsive (<=480px) */
|
||||||
|
/* ======================== */
|
||||||
|
|
||||||
|
@media (max-width: 480px) {
|
||||||
|
.summary-cards {
|
||||||
|
grid-template-columns: repeat(2, 1fr);
|
||||||
|
}
|
||||||
|
|
||||||
|
.welcome-section h1 {
|
||||||
|
font-size: 22px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.welcome-section {
|
||||||
|
padding: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.doc-item {
|
||||||
|
padding: 10px 12px;
|
||||||
|
gap: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.summary-card {
|
||||||
|
padding: 12px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user