mirror of
https://github.com/discourse/discourse.git
synced 2025-03-01 13:37:40 +08:00

This gets group pages on the same horizontal nav patterns as the user profile pages. These pages need some more adjustments in general, but this is a good start! Before:   After:   Before: <img src="https://github.com/user-attachments/assets/b58f1994-8ef8-4a67-9b37-bfee428c343b" width="350" /> After: <img src="https://github.com/user-attachments/assets/013b1af6-ddb9-4a93-bcfe-37b2a9760d8b" width="350" />
87 lines
1.5 KiB
SCSS
87 lines
1.5 KiB
SCSS
.select-kit {
|
|
&.combo-box {
|
|
.select-kit-body {
|
|
border-radius: 0;
|
|
}
|
|
|
|
.select-kit-row {
|
|
margin: 0;
|
|
min-height: 1px;
|
|
|
|
&.no-content {
|
|
font-weight: normal;
|
|
}
|
|
}
|
|
|
|
.select-kit-filter {
|
|
.filter-input,
|
|
.filter-input:focus,
|
|
.filter-input:active {
|
|
flex: 1;
|
|
}
|
|
|
|
.filter-icon {
|
|
margin-left: 0.25em;
|
|
}
|
|
}
|
|
|
|
.select-kit-header {
|
|
background: var(--secondary);
|
|
border-color: var(--primary-400);
|
|
|
|
&.is-focused {
|
|
@include default-focus;
|
|
}
|
|
}
|
|
|
|
.select-kit-collection {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 0;
|
|
min-width: 100px;
|
|
|
|
.collection-header {
|
|
a {
|
|
white-space: nowrap;
|
|
line-height: var(--line-height-medium);
|
|
font-weight: bold;
|
|
display: block;
|
|
padding: 0.75em;
|
|
color: var(--tertiary);
|
|
|
|
&:hover {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&.is-disabled {
|
|
.select-kit-header {
|
|
background: var(--primary-low);
|
|
border-color: var(--primary-low-mid);
|
|
color: var(--primary-medium);
|
|
|
|
.d-icon {
|
|
color: var(--primary-medium);
|
|
}
|
|
}
|
|
}
|
|
|
|
&.is-highlighted {
|
|
.select-kit-header {
|
|
@include default-focus;
|
|
}
|
|
}
|
|
|
|
&.tag-drop,
|
|
&.group-dropdown {
|
|
min-width: auto;
|
|
}
|
|
|
|
&.tag-drop {
|
|
color: var(--primary-high);
|
|
}
|
|
}
|
|
}
|