Skip to content

Commit

Permalink
Work with new theme version, couple more fixes
Browse files Browse the repository at this point in the history
williammck committed May 29, 2024
1 parent 37c9079 commit 95b06f3
Showing 1 changed file with 34 additions and 12 deletions.
46 changes: 34 additions & 12 deletions scss/vatsim/_mobile-categories.scss
Original file line number Diff line number Diff line change
@@ -1,20 +1,42 @@
.mobile-view {
.subcategory-list {
// Remove background
.categories-list .list-controls {
background: none;
padding: 0;
border-radius: 0;
}

// Add a background to this
.subcategory-list .parent-category {
display: inline-block;
padding: 6px 12px;
background-color: var(--secondary);
border-radius: 0.5em;
}

.category-list-item.category {
// Style fixes
border-top: 0 !important;
border-bottom: 0 !important;
outline: 1px solid var(--secondary);

.parent-category {
display: inline-block;
padding: 6px 12px;
background-color: var(--secondary);
border-radius: 0.5em;
// Missing from category page
// Discourse mobile/topic-list.scss scopes these under .categories-list .category-list
tbody {
border-top: none;
}

.category-list-item {
background-color: var(--secondary);
border-top: 0 !important;
border-bottom: 0 !important;
outline: 1px solid var(--secondary);
border-radius: 12px;
th {
padding: 10px 0 0;
}

td {
padding: 12px 5px;
color: var(--primary-med-or-secondary-high);
}

td:first-of-type {
padding-left: 10px;
}
}
}

0 comments on commit 95b06f3

Please sign in to comment.