Finish styling the QueryStatus application

This commit is contained in:
Oliver 2025-11-20 23:37:46 -07:00
parent c014e17da2
commit b428eb3bf6
9 changed files with 48 additions and 12 deletions

View file

@ -23,10 +23,6 @@
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem;
button {
flex-grow: 1;
}
}
label {

View file

@ -11,7 +11,7 @@
display: flex;
flex-direction: column;
margin: 0;
border: 1px solid yellowgreen;
border: 1px solid rebeccapurple;
border-radius: 4px;
padding: 4px 8px;
@ -19,7 +19,15 @@
display: flex;
flex-direction: row;
align-items: center;
/* Same height as the icons used for loading/disconnected */
height: 35px;
}
}
}
.control-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem;
}
}

20
styles/elements/div.css Normal file
View file

@ -0,0 +1,20 @@
.taf > .window-content div {
&.chip {
display: inline flex;
color: var(--chip-color);
background: var(--chip-background);
border: 1px solid var(--chip-border-color);
border-radius: 4px;
.key {
padding: 2px 4px;
}
.value {
padding: 2px 4px;
border-radius: 0 4px 4px 0;
color: var(--chip-value-color);
background: var(--chip-value-background);
}
}
}

View file

@ -18,7 +18,7 @@
.taf > .window-content span {
&.loader {
--size: 40px;
--size: 35px;
width: var(--size);
height: var(--size);
border-radius: 50%;

View file

@ -3,6 +3,7 @@
/* Resets */
@import url("./resets/hr.css") layer(resets);
@import url("./resets/inputs.css") layer(resets);
@import url("./resets/button.css") layer(resets);
/* Themes */
@import url("./themes/dark.css") layer(themes);
@ -10,6 +11,7 @@
/* Elements */
@import url("./elements/utils.css") layer(elements);
@import url("./elements/div.css") layer(elements);
@import url("./elements/headers.css") layer(elements);
@import url("./elements/hr.css") layer(elements);
@import url("./elements/input.css") layer(elements);

3
styles/resets/button.css Normal file
View file

@ -0,0 +1,3 @@
.taf > .window-content button {
height: initial;
}

View file

@ -1,3 +1,10 @@
.theme-dark {
--prosemirror-background: var(--color-cool-5);
/* Chip Variables */
--chip-color: #fff7ed;
--chip-background: #2b3642;
--chip-value-color: #fff7ed;
--chip-value-background: #10161d;
--chip-border-color: var(--chip-value-background);
}