Create the initial version of the TableManager class for configuring settings

This commit is contained in:
Oliver-Akins 2025-05-11 17:24:09 -06:00
parent 4bfce858ef
commit 8a2d946b63
21 changed files with 718 additions and 115 deletions

View file

@ -3,16 +3,6 @@
gap: 1rem;
}
[data-application-part="tableSelect"] {
display: flex;
flex-direction: row;
gap: 1rem;
> div {
width: 100%;
}
}
[data-application-part="dataFilters"] {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
@ -25,10 +15,4 @@
justify-items: center;
position: relative;
}
.control-group {
display: flex;
flex-direction: column;
gap: 2px;
}
}

View file

@ -0,0 +1,63 @@
.stat-tracker.TableManager {
min-width: 400px;
min-height: 200px;
max-height: initial;
.window-content {
gap: 1rem;
}
[data-application-part="buckets"] {
display: flex;
flex-direction: column;
gap: 0.5rem;
height: auto;
flex-grow: 1;
}
.alert-box {
border-width: 2px;
border-style: dashed;
border-radius: 8px;
box-sizing: border-box;
padding: 1rem;
&.warning {
background: color(from var(--color-level-warning-bg) srgb r g b / 0.1);
border-color: var(--color-level-warning);
}
&.locked {
margin: -0.5rem;
padding: 0.5rem;
border-color: var(--color-level-error);
background: color(from var(--color-level-error-bg) srgb r g b / 0.25);
}
}
.center {
display: flex;
justify-content: center;
align-items: center;
text-align: center;
}
.input-group {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
align-items: center;
.hint {
grid-column: 1 / -1;
}
}
.flex-fill {
flex-grow: 1;
margin-bottom: -0.5rem;
}
.save {
width: 100%;
}
}

View file

@ -0,0 +1,21 @@
.stat-tracker {
[data-application-part="tableSelect"] {
display: flex;
flex-direction: row;
gap: 1rem;
> div {
width: 100%;
}
}
.control-group {
display: flex;
flex-direction: column;
gap: 2px;
}
.st-scrollable {
overflow: auto;
}
}