Add planner-aware memos and unified tool configuration panels
All checks were successful
Deploy Sokko G / deploy (push) Successful in 18s
All checks were successful
Deploy Sokko G / deploy (push) Successful in 18s
This commit is contained in:
parent
acd9b2fe11
commit
808610dcf2
53 changed files with 842 additions and 329 deletions
|
|
@ -74,11 +74,41 @@
|
|||
.topbar,
|
||||
.page-heading,
|
||||
.toolbox-head,
|
||||
.module header {
|
||||
.module .module-header {
|
||||
align-items: stretch;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.module .module-header-actions {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.module-configuration-panel {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.module-configuration-organization,
|
||||
.module-configuration-data,
|
||||
.module-configuration-panel:not(:has(.module-configuration-organization)) .module-configuration-data,
|
||||
.module-configuration-specific {
|
||||
grid-column: 1;
|
||||
grid-row: auto;
|
||||
}
|
||||
|
||||
.module-configuration-organization {
|
||||
order: 0;
|
||||
padding-right: 6px;
|
||||
border-right: 0;
|
||||
}
|
||||
|
||||
.module-configuration-data {
|
||||
order: 1;
|
||||
}
|
||||
|
||||
.module-configuration-specific {
|
||||
order: 2;
|
||||
}
|
||||
|
||||
.topbar {
|
||||
padding: var(--space-4);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
.nds-switch { max-width: 100%; }
|
||||
.guide-checklist-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--space-2); padding-top: var(--space-2); }
|
||||
}
|
||||
.module-guide-button[data-linked] .ui-icon { color: var(--color-accent-gold); }
|
||||
.module-configuration-button[data-guide-linked] .ui-icon { color: var(--color-accent-gold); }
|
||||
.game-heading-actions {
|
||||
display: flex;
|
||||
align-self: stretch;
|
||||
|
|
|
|||
|
|
@ -22,6 +22,28 @@
|
|||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.memos-settings {
|
||||
display: grid;
|
||||
}
|
||||
|
||||
.memos-settings label {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(120px, auto) minmax(180px, 1fr);
|
||||
gap: var(--space-3);
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.memos-settings label > span {
|
||||
color: var(--color-text-secondary);
|
||||
font-size: var(--font-size-xs);
|
||||
font-weight: 900;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.memos-settings select {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.memo-card.is-drop-target {
|
||||
border-color: rgba(246, 196, 83, 0.48);
|
||||
background: rgba(246, 196, 83, 0.1);
|
||||
|
|
@ -74,6 +96,10 @@
|
|||
bottom: 84px;
|
||||
left: 12px;
|
||||
}
|
||||
|
||||
.memos-settings label {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
.memos-ticker-track {
|
||||
|
|
@ -104,6 +130,19 @@
|
|||
box-shadow: 0 0 10px color-mix(in srgb, var(--memo-color) 42%, transparent);
|
||||
}
|
||||
|
||||
.memos-ticker-item.is-task-warning {
|
||||
color: var(--color-warning, #f6c453);
|
||||
}
|
||||
|
||||
.memos-ticker-item.is-task-warning::before {
|
||||
content: none;
|
||||
}
|
||||
|
||||
.memos-ticker-item.is-task-warning .ui-icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.memos-list {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
@use "../design-system/controls";
|
||||
@use "../mixins";
|
||||
|
||||
.module header {
|
||||
.module .module-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
|
|
@ -11,26 +11,43 @@
|
|||
border-bottom: 1px solid var(--color-border);
|
||||
}
|
||||
|
||||
.module header > div {
|
||||
.module .module-header-main,
|
||||
.module .module-header-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.module header h2 {
|
||||
.module .module-header-main {
|
||||
min-width: 0;
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
|
||||
.module .module-header-actions {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.module .module-header h2 {
|
||||
margin: 0;
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
.module-space-select {
|
||||
width: auto;
|
||||
max-width: 150px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.module-content {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.module-component-host {
|
||||
display: contents;
|
||||
}
|
||||
|
||||
.module-component-host[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.module.is-collapsed header {
|
||||
border-bottom-color: transparent;
|
||||
}
|
||||
|
|
@ -78,11 +95,14 @@
|
|||
}
|
||||
|
||||
.module-title {
|
||||
min-width: 80px;
|
||||
min-width: 0;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
padding: 4px 6px;
|
||||
border-radius: var(--radius-sm);
|
||||
cursor: text;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.module-title:focus {
|
||||
|
|
@ -92,14 +112,14 @@
|
|||
}
|
||||
|
||||
.module-edit-button,
|
||||
.module-exchange-button,
|
||||
.module-configuration-button,
|
||||
.module-delete-button,
|
||||
.module-collapse-button {
|
||||
flex: 0 0 40px;
|
||||
}
|
||||
|
||||
.module-edit-button,
|
||||
.module-exchange-button,
|
||||
.module-configuration-button,
|
||||
.module-collapse-button {
|
||||
color: var(--color-text-secondary);
|
||||
}
|
||||
|
|
@ -122,10 +142,88 @@
|
|||
}
|
||||
|
||||
.module-edit-button.active,
|
||||
.module-exchange-button.active {
|
||||
.module-configuration-button.active {
|
||||
@include mixins.temporary-toggle-active;
|
||||
}
|
||||
|
||||
.module-configuration-panel {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
column-gap: var(--space-4);
|
||||
row-gap: var(--space-2);
|
||||
margin: var(--space-1) var(--space-2) var(--space-2);
|
||||
padding: 10px 12px 12px;
|
||||
border: 1px solid rgba(165, 180, 252, 0.1);
|
||||
border-radius: var(--radius-md);
|
||||
background:
|
||||
linear-gradient(135deg, rgba(139, 92, 246, 0.035), transparent 56%),
|
||||
rgba(7, 10, 24, 0.2);
|
||||
}
|
||||
|
||||
.module-configuration-target {
|
||||
display: contents;
|
||||
}
|
||||
|
||||
.module-configuration-section {
|
||||
display: grid;
|
||||
min-width: 0;
|
||||
align-content: start;
|
||||
gap: var(--space-2);
|
||||
padding: 4px 6px;
|
||||
}
|
||||
|
||||
.module-configuration-organization {
|
||||
grid-column: 1;
|
||||
grid-row: 1;
|
||||
padding-right: var(--space-4);
|
||||
border-right: 1px solid rgba(165, 180, 252, 0.1);
|
||||
}
|
||||
|
||||
.module-configuration-data {
|
||||
grid-column: 2;
|
||||
grid-row: 1;
|
||||
}
|
||||
|
||||
.module-configuration-panel:not(:has(.module-configuration-organization)) .module-configuration-data {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
.module-configuration-specific {
|
||||
grid-column: 1 / -1;
|
||||
padding-top: var(--space-3);
|
||||
border-top: 1px solid rgba(165, 180, 252, 0.1);
|
||||
}
|
||||
|
||||
.module-configuration-section > h3 {
|
||||
margin: 0;
|
||||
color: var(--color-text-secondary);
|
||||
font-size: 0.6875rem;
|
||||
font-weight: 900;
|
||||
letter-spacing: 0.07em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.module-configuration-section .module-text-exchange-panel,
|
||||
.module-configuration-section .guide-checklist-controls {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.module-configuration-panel .text-import-actions {
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.module-configuration-panel .text-import-actions button {
|
||||
min-height: 34px;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.module-configuration-panel .text-import-actions .ui-icon {
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
}
|
||||
|
||||
.module-icon {
|
||||
display: grid;
|
||||
width: 34px;
|
||||
|
|
|
|||
|
|
@ -29,29 +29,14 @@
|
|||
gap: 10px;
|
||||
}
|
||||
|
||||
.task-planner-settings-toggle {
|
||||
grid-template-columns: 16px minmax(0, auto);
|
||||
width: auto;
|
||||
max-width: 100%;
|
||||
padding: 0 12px;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.task-planner-settings-toggle span {
|
||||
overflow: hidden;
|
||||
font-size: var(--font-size-xs);
|
||||
font-weight: 900;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.task-planner-clear-completed-button {
|
||||
display: inline-flex;
|
||||
min-height: 38px;
|
||||
min-height: 30px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
padding: 0 12px;
|
||||
gap: 6px;
|
||||
padding: 0 10px;
|
||||
font-size: var(--font-size-xs);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
|
|
@ -73,6 +58,12 @@
|
|||
rgba(7, 10, 24, 0.34);
|
||||
}
|
||||
|
||||
.module-configuration-specific .task-planner-settings {
|
||||
padding: 0;
|
||||
border: 0;
|
||||
background: none;
|
||||
}
|
||||
|
||||
.task-planner-settings-actions {
|
||||
display: flex;
|
||||
grid-column: 1 / -1;
|
||||
|
|
@ -108,12 +99,18 @@
|
|||
width: 100%;
|
||||
}
|
||||
|
||||
.task-planner-settings input,
|
||||
.task-planner-settings input {
|
||||
@include controls.field-control(xs);
|
||||
}
|
||||
|
||||
.task-planner-reset-override input {
|
||||
@include controls.field-control(sm);
|
||||
}
|
||||
|
||||
.task-planner-settings input[type="time"],
|
||||
.task-planner-settings input[type="time"] {
|
||||
@include controls.time-control(xs);
|
||||
}
|
||||
|
||||
.task-planner-reset-override input[type="time"] {
|
||||
@include controls.time-control(sm);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue