mirror of
https://github.com/gwdevhub/Daybreak.git
synced 2026-07-21 01:59:49 +00:00
129 lines
3.8 KiB
CSS
129 lines
3.8 KiB
CSS
/* Main container - takes full screen height */
|
|
.option-view-container {
|
|
height: 100%;
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* Content wrapper - centers when small, scrollable when large */
|
|
.option-view-content {
|
|
overflow-y: auto;
|
|
max-width: 800px;
|
|
padding: 2rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin: 0 auto;
|
|
height: 100%;
|
|
}
|
|
|
|
/* Option component styles using ::deep to target child components in their respective option razor components */
|
|
::deep .option-display-box {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
min-height: 60px;
|
|
padding: 0.5rem 0;
|
|
height: 100%;
|
|
}
|
|
|
|
::deep .option-display-box .option-content {
|
|
flex: 1;
|
|
margin-right: 1rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
|
|
::deep .option-display-box .option-title {
|
|
font-weight: 600;
|
|
color: var(--neutral-foreground-rest);
|
|
font-size: var(--font-size-large);
|
|
margin-bottom: 0.25rem;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
::deep .option-display-box .option-description {
|
|
color: var(--neutral-foreground-rest);
|
|
font-size: var(--font-size-medium);
|
|
line-height: 1.3;
|
|
margin: 0;
|
|
}
|
|
|
|
::deep .option-display-box .option-control {
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
width: 250px;
|
|
font-size: var(--font-size-medium);
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
::deep .option-display-box .option-control-with-label {
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: var(--font-size-medium);
|
|
color: var(--neutral-foreground-rest);
|
|
gap: 0.75rem;
|
|
flex-shrink: 0;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
::deep .option-display-box .option-control-with-label .label {
|
|
color: var(--neutral-foreground-rest) !important;
|
|
font-weight: 500;
|
|
font-size: var(--font-size-small);
|
|
}
|
|
|
|
::deep .option-display-box .option-range-info {
|
|
font-size: var(--font-size-medium);
|
|
margin-top: 0.25rem;
|
|
font-style: italic;
|
|
color: var(--neutral-foreground-rest);
|
|
}
|
|
|
|
::deep .option-control fluent-text-field,
|
|
::deep .option-control fluent-select,
|
|
::deep .option-control fluent-option,
|
|
::deep .option-control fluent-number-field {
|
|
font-size: var(--font-size-medium) !important;
|
|
width: 250px !important;
|
|
justify-content: flex-end !important;
|
|
border-radius: 6px !important;
|
|
}
|
|
|
|
::deep .option-control fluent-text-field::part(root),
|
|
::deep .option-control fluent-select::part(root),
|
|
::deep .option-control fluent-number-field::part(root) {
|
|
overflow: hidden;
|
|
}
|
|
|
|
::deep .option-control fluent-text-field::part(control),
|
|
::deep .option-control fluent-select::part(control),
|
|
::deep .option-control fluent-number-field::part(control) {
|
|
font-size: var(--font-size-medium) !important;
|
|
width: 250px !important;
|
|
}
|
|
|
|
::deep .option-control fluent-number-field::part(step-up-button),
|
|
::deep .option-control fluent-number-field::part(step-down-button) {
|
|
width: calc(var(--font-size-medium) * 1.5) !important;
|
|
height: calc(var(--font-size-medium) * 1.2) !important;
|
|
right: 2px !important;
|
|
font-size: calc(var(--font-size-medium) * 0.8) !important;
|
|
}
|
|
|
|
::deep .option-control fluent-number-field::part(step-up-button) {
|
|
top: 1px !important;
|
|
}
|
|
|
|
::deep .option-control fluent-number-field::part(step-down-button) {
|
|
bottom: 1px !important;
|
|
}
|
|
|
|
::deep .option-control fluent-number-field::part(control) {
|
|
padding-right: calc(var(--font-size-medium) * 0) !important;
|
|
width: 220px !important;
|
|
max-width: 220px !important;
|
|
box-sizing: border-box !important;
|
|
} |