228 lines
4.3 KiB
SCSS
228 lines
4.3 KiB
SCSS
@import '../../../styles/variables.scss';
|
||
@import '../../../styles/mixins.scss';
|
||
|
||
// PageShell 已接管:min-height, background
|
||
// ContentCard 已接管:input-card 背景/圆角/阴影
|
||
|
||
/* ── hero ── */
|
||
.input-hero {
|
||
padding: var(--tk-gap-2xl) var(--tk-gap-xl) 36px;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
}
|
||
|
||
.input-hero-icon {
|
||
@include flex-center;
|
||
width: 88px;
|
||
height: 88px;
|
||
border-radius: $r-lg;
|
||
background: var(--tk-pri-l);
|
||
margin-bottom: var(--tk-section-gap);
|
||
}
|
||
|
||
.input-hero-icon-text {
|
||
font-family: 'Georgia', 'Times New Roman', serif;
|
||
font-size: var(--tk-font-hero);
|
||
font-weight: bold;
|
||
color: var(--tk-pri);
|
||
}
|
||
|
||
.input-hero-title {
|
||
@include section-title;
|
||
font-size: var(--tk-font-num-lg);
|
||
margin-bottom: var(--tk-gap-xs);
|
||
}
|
||
|
||
.input-hero-sub {
|
||
font-size: var(--tk-font-h2);
|
||
color: var(--tk-text-secondary);
|
||
}
|
||
|
||
/* ── sync entry ── */
|
||
.input-sync-entry {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
margin: 0 var(--tk-gap-lg) var(--tk-section-gap);
|
||
border: 1px dashed var(--tk-pri);
|
||
|
||
&:active {
|
||
opacity: var(--tk-touch-feedback-opacity);
|
||
}
|
||
}
|
||
|
||
.input-sync-entry-text {
|
||
font-size: var(--tk-font-body-lg);
|
||
font-weight: 600;
|
||
color: var(--tk-pri);
|
||
}
|
||
|
||
.input-sync-entry-hint {
|
||
font-size: var(--tk-font-body);
|
||
color: var(--tk-text-secondary);
|
||
}
|
||
|
||
/* ── card ── */
|
||
.input-card {
|
||
margin: 0 var(--tk-gap-lg) var(--tk-section-gap);
|
||
}
|
||
|
||
.input-card-header {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 14px;
|
||
margin-bottom: var(--tk-section-gap);
|
||
}
|
||
|
||
.input-card-indicator {
|
||
@include flex-center;
|
||
width: 44px;
|
||
height: 44px;
|
||
border-radius: $r-sm;
|
||
background: $acc-l;
|
||
}
|
||
|
||
.input-card-indicator-char {
|
||
font-family: 'Georgia', 'Times New Roman', serif;
|
||
font-size: var(--tk-font-h2);
|
||
font-weight: bold;
|
||
color: $acc;
|
||
}
|
||
|
||
.input-card-label {
|
||
font-family: 'Georgia', 'Times New Roman', serif;
|
||
font-size: var(--tk-font-body-lg);
|
||
font-weight: bold;
|
||
color: $tx;
|
||
}
|
||
|
||
/* ── picker ── */
|
||
.input-picker-row {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
background: $bg;
|
||
border-radius: $r-sm;
|
||
padding: 22px var(--tk-gap-lg);
|
||
}
|
||
|
||
.input-picker-value {
|
||
font-size: var(--tk-font-body-lg);
|
||
color: $tx;
|
||
@include serif-number;
|
||
}
|
||
|
||
.input-picker-arrow {
|
||
font-family: 'Georgia', 'Times New Roman', serif;
|
||
font-size: var(--tk-font-body);
|
||
color: var(--tk-text-secondary);
|
||
transform: rotate(180deg);
|
||
display: inline-block;
|
||
}
|
||
|
||
/* ── section title ── */
|
||
.input-section-title {
|
||
font-family: 'Georgia', 'Times New Roman', serif;
|
||
font-size: var(--tk-font-body-lg);
|
||
font-weight: bold;
|
||
color: $tx;
|
||
margin-bottom: var(--tk-gap-md);
|
||
display: block;
|
||
}
|
||
|
||
/* ── blood pressure group ── */
|
||
.input-bp-group {
|
||
display: flex;
|
||
align-items: flex-end;
|
||
gap: var(--tk-gap-sm);
|
||
}
|
||
|
||
.input-bp-field {
|
||
flex: 1;
|
||
}
|
||
|
||
.input-field-label {
|
||
font-size: var(--tk-font-body);
|
||
color: $tx2;
|
||
display: block;
|
||
margin-bottom: var(--tk-gap-xs);
|
||
}
|
||
|
||
.input-field-ref {
|
||
color: var(--tk-text-secondary);
|
||
font-size: var(--tk-font-cap);
|
||
margin-left: 8px;
|
||
}
|
||
|
||
.input-bp-divider {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
padding-bottom: var(--tk-section-gap);
|
||
gap: 6px;
|
||
}
|
||
|
||
.input-bp-line {
|
||
width: 16px;
|
||
height: 1px;
|
||
background: $bd;
|
||
}
|
||
|
||
.input-bp-slash {
|
||
font-family: 'Georgia', 'Times New Roman', serif;
|
||
font-size: var(--tk-font-num-lg);
|
||
color: var(--tk-text-secondary);
|
||
font-weight: 300;
|
||
}
|
||
|
||
/* ── input field ── */
|
||
.input-field-box {
|
||
background: $bg;
|
||
border-radius: $r-sm;
|
||
padding: var(--tk-section-gap) var(--tk-gap-lg);
|
||
font-size: var(--tk-font-body-lg);
|
||
color: $tx;
|
||
@include serif-number;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
.input-field-full {
|
||
width: 100%;
|
||
}
|
||
|
||
.input-field-unit {
|
||
font-size: var(--tk-font-body);
|
||
color: var(--tk-text-secondary);
|
||
display: block;
|
||
margin-top: 10px;
|
||
font-style: italic;
|
||
}
|
||
|
||
/* ── submit ── */
|
||
.input-submit {
|
||
background: var(--tk-pri);
|
||
border-radius: $r;
|
||
padding: 26px;
|
||
text-align: center;
|
||
margin: var(--tk-gap-2xl) var(--tk-gap-lg) 0;
|
||
box-shadow: $shadow-md;
|
||
transition: opacity 0.2s;
|
||
|
||
&:active {
|
||
opacity: var(--tk-touch-feedback-opacity);
|
||
}
|
||
}
|
||
|
||
.input-submit-disabled {
|
||
opacity: 0.5;
|
||
box-shadow: none;
|
||
}
|
||
|
||
.input-submit-text {
|
||
font-size: var(--tk-font-num);
|
||
color: $white;
|
||
font-weight: bold;
|
||
letter-spacing: 2px;
|
||
}
|