201 lines
2.6 KiB
SCSS
201 lines
2.6 KiB
SCSS
@import '../../../../styles/variables.scss';
|
|
@import '../../../../styles/mixins.scss';
|
|
|
|
.patient-detail {
|
|
min-height: 100vh;
|
|
background: $bg;
|
|
padding: 24px;
|
|
padding-bottom: 120px;
|
|
}
|
|
|
|
.section {
|
|
background: $card;
|
|
border-radius: $r-lg;
|
|
padding: 28px;
|
|
margin-bottom: 20px;
|
|
box-shadow: $shadow-sm;
|
|
}
|
|
|
|
.section-title {
|
|
@include section-title;
|
|
}
|
|
|
|
.info-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 16px;
|
|
}
|
|
|
|
.info-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.info-label {
|
|
font-size: 22px;
|
|
color: $tx3;
|
|
}
|
|
|
|
.info-value {
|
|
font-size: 28px;
|
|
color: $tx;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.warning-card {
|
|
background: $wrn-l;
|
|
border-radius: $r;
|
|
padding: 20px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.warning-label {
|
|
font-size: 22px;
|
|
color: $wrn;
|
|
font-weight: 600;
|
|
display: block;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.warning-text {
|
|
font-size: 26px;
|
|
color: $pri-d;
|
|
}
|
|
|
|
.info-block {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.info-block-label {
|
|
font-size: 22px;
|
|
color: $tx3;
|
|
display: block;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.info-block-text {
|
|
font-size: 26px;
|
|
color: $tx;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.vitals-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 16px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.vital-item {
|
|
background: $pri-l;
|
|
border-radius: $r;
|
|
padding: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.vital-value {
|
|
@include serif-number;
|
|
font-size: 36px;
|
|
font-weight: 700;
|
|
color: $pri;
|
|
display: block;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.vital-label {
|
|
font-size: 22px;
|
|
color: $tx2;
|
|
}
|
|
|
|
.stat-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 16px 0;
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 26px;
|
|
color: $tx2;
|
|
}
|
|
|
|
.stat-value {
|
|
@include serif-number;
|
|
font-size: 26px;
|
|
font-weight: 600;
|
|
color: $tx;
|
|
|
|
&--warn {
|
|
color: $wrn;
|
|
}
|
|
}
|
|
|
|
.lab-item {
|
|
padding: 20px 0;
|
|
border-bottom: 1px solid $bd-l;
|
|
|
|
&:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
&:active {
|
|
background: $bd-l;
|
|
}
|
|
|
|
&__header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
&__type {
|
|
font-size: 26px;
|
|
font-weight: 500;
|
|
color: $tx;
|
|
}
|
|
|
|
&__date {
|
|
font-size: 24px;
|
|
color: $tx3;
|
|
}
|
|
|
|
&__abnormal {
|
|
font-size: 24px;
|
|
color: $dan;
|
|
font-weight: 500;
|
|
}
|
|
}
|
|
|
|
.action-buttons {
|
|
display: flex;
|
|
gap: 16px;
|
|
}
|
|
|
|
.action-btn {
|
|
flex: 1;
|
|
text-align: center;
|
|
padding: 20px;
|
|
border-radius: $r;
|
|
background: $pri;
|
|
color: $card;
|
|
font-size: 26px;
|
|
font-weight: 500;
|
|
|
|
&:active {
|
|
opacity: 0.85;
|
|
}
|
|
|
|
text {
|
|
color: $card;
|
|
}
|
|
}
|
|
|
|
.error-text {
|
|
text-align: center;
|
|
padding: 80px 32px;
|
|
color: $tx3;
|
|
font-size: 28px;
|
|
}
|