This commit is contained in:
@@ -13,18 +13,64 @@
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.results-column {
|
||||
// Shared flex layouts
|
||||
.page-header,
|
||||
.sidebar-header,
|
||||
.toolbar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.page-header,
|
||||
.toolbar {
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.sidebar-header,
|
||||
.toolbar {
|
||||
border-bottom: 1px solid var(--sg-border);
|
||||
padding-bottom: 12px;
|
||||
}
|
||||
|
||||
.selection-summary,
|
||||
.active-filters-row,
|
||||
.chips-container,
|
||||
.sort-selector,
|
||||
.topic-search-wrapper {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.filter-chip {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
// Shared column & sidebar column layouts
|
||||
.results-column,
|
||||
.empty-state,
|
||||
.filters-sidebar,
|
||||
.filter-section {
|
||||
display: flex;
|
||||
min-width: 0;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
// Shared containers styling
|
||||
.selection-summary,
|
||||
.active-filters-row,
|
||||
.filters-sidebar {
|
||||
background: var(--sg-surface);
|
||||
border: 1px solid var(--sg-border);
|
||||
border-radius: var(--sg-radius-sm);
|
||||
}
|
||||
|
||||
// Individual styles
|
||||
.results-column {
|
||||
gap: 20px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.page-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
|
||||
h1 {
|
||||
@@ -42,13 +88,8 @@
|
||||
}
|
||||
|
||||
.selection-summary {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
padding: 8px 12px;
|
||||
background: var(--sg-surface);
|
||||
border: 1px solid var(--sg-border);
|
||||
border-radius: var(--sg-radius-sm);
|
||||
|
||||
strong {
|
||||
display: block;
|
||||
@@ -65,13 +106,8 @@
|
||||
}
|
||||
|
||||
.active-filters-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
background: var(--sg-surface);
|
||||
padding: 8px 16px;
|
||||
border: 1px solid var(--sg-border);
|
||||
border-radius: var(--sg-radius-sm);
|
||||
flex-wrap: wrap;
|
||||
font-size: 13px;
|
||||
}
|
||||
@@ -82,15 +118,11 @@
|
||||
}
|
||||
|
||||
.chips-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.filter-chip {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
padding: 2px 8px;
|
||||
background: var(--sg-surface-soft);
|
||||
@@ -99,53 +131,53 @@
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
color: var(--sg-text);
|
||||
|
||||
button {
|
||||
border: none;
|
||||
background: transparent;
|
||||
cursor: pointer;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
color: var(--sg-text-soft);
|
||||
|
||||
&:hover {
|
||||
color: var(--sg-text);
|
||||
}
|
||||
|
||||
mat-icon {
|
||||
font-size: 12px;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Shared button resets
|
||||
.filter-chip button,
|
||||
.clear-topic-search,
|
||||
.clear-all-btn {
|
||||
border: none;
|
||||
background: transparent;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.filter-chip button,
|
||||
.clear-topic-search {
|
||||
padding: 0;
|
||||
display: flex;
|
||||
color: var(--sg-text-soft);
|
||||
|
||||
&:hover {
|
||||
color: var(--sg-text);
|
||||
}
|
||||
}
|
||||
|
||||
.filter-chip button mat-icon {
|
||||
font-size: 12px;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
}
|
||||
|
||||
.clear-topic-search mat-icon {
|
||||
font-size: 14px;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
}
|
||||
|
||||
.clear-all-btn {
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
color: var(--sg-warning);
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.toolbar {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
border-bottom: 1px solid var(--sg-border);
|
||||
padding-bottom: 12px;
|
||||
}
|
||||
|
||||
.result-count {
|
||||
font-size: 13px;
|
||||
color: var(--sg-text-muted);
|
||||
}
|
||||
|
||||
.sort-selector {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
font-size: 13px;
|
||||
color: var(--sg-text-muted);
|
||||
@@ -177,8 +209,6 @@
|
||||
}
|
||||
|
||||
.empty-state {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 48px 16px;
|
||||
background: var(--sg-surface);
|
||||
@@ -212,24 +242,14 @@ mat-paginator {
|
||||
}
|
||||
|
||||
.filters-sidebar {
|
||||
background: var(--sg-surface);
|
||||
border: 1px solid var(--sg-border);
|
||||
border-radius: var(--sg-radius-sm);
|
||||
padding: 16px;
|
||||
box-shadow: var(--sg-shadow-sm);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
position: sticky;
|
||||
top: 16px;
|
||||
}
|
||||
|
||||
.sidebar-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding-bottom: 12px;
|
||||
border-bottom: 1px solid var(--sg-border);
|
||||
|
||||
mat-icon {
|
||||
color: var(--sg-primary);
|
||||
@@ -246,8 +266,6 @@ mat-paginator {
|
||||
}
|
||||
|
||||
.filter-section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
@@ -260,9 +278,6 @@ mat-paginator {
|
||||
}
|
||||
|
||||
.topic-search-wrapper {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background: var(--sg-surface-soft);
|
||||
border: 1px solid var(--sg-border);
|
||||
border-radius: var(--sg-radius-sm);
|
||||
@@ -292,20 +307,6 @@ mat-paginator {
|
||||
flex-grow: 1;
|
||||
margin-left: 6px;
|
||||
}
|
||||
|
||||
.clear-topic-search {
|
||||
border: none;
|
||||
background: transparent;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
color: var(--sg-text-soft);
|
||||
|
||||
mat-icon {
|
||||
font-size: 14px;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar-footer {
|
||||
|
||||
Reference in New Issue
Block a user