Move the footer into a common area for reuse

This commit is contained in:
Oliver 2026-01-18 00:32:44 -07:00
parent 47e693f5b8
commit ed60f9d689
5 changed files with 24 additions and 22 deletions

View file

@ -49,7 +49,7 @@ export class ArtistApp extends
template: filePath(`templates/ArtistApp/linkList.hbs`),
},
footer: {
template: filePath(`templates/ArtistApp/footer.hbs`),
template: filePath(`templates/partials/footer.hbs`),
},
};
// #endregion Options

View file

@ -1,25 +1,4 @@
.token-browser.ArtistApp {
> .window-content {
display: flex;
flex-direction: column;
gap: 0.5rem;
color: var(--color-form-label);
}
label, .label {
font-weight: bold;
}
footer {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 0.5rem;
}
.large {
font-size: 1rem;
}
ul {
display: flex;
flex-flow: row wrap;

22
styles/apps/common.css Normal file
View file

@ -0,0 +1,22 @@
.token-browser {
> .window-content {
display: flex;
flex-direction: column;
gap: 0.5rem;
color: var(--color-form-label);
}
label, .label {
font-weight: bold;
}
footer {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 0.5rem;
}
.large {
font-size: 1rem;
}
}

View file

@ -8,4 +8,5 @@
@import url("./elements/lists.css") layer(elements);
/* Apps */
@import url("./apps/common.css") layer(apps);
@import url("./apps/ArtistApp.css") layer(apps);