mirror of
https://github.com/discourse/discourse.git
synced 2026-08-06 13:08:40 +08:00
Followup 2f423165e9
When there are topics bulk selected when viewing All/Topics/Replies
in the unified new view, we should show the count of selected topics
that will be dismissed, which brings parity back with the old view.
76 lines
1.4 KiB
SCSS
Vendored
76 lines
1.4 KiB
SCSS
Vendored
.topic-list .topic-list-header .topic-list-data:last-of-type {
|
|
padding: 0;
|
|
}
|
|
|
|
// Fixing bulk select (only needed for desktop)
|
|
.bulk-select-enabled {
|
|
body:not(.user-messages-page) & {
|
|
.topic-list-header {
|
|
position: sticky;
|
|
top: 8em;
|
|
height: 0;
|
|
z-index: 1;
|
|
}
|
|
|
|
.topic-author-avatar-data {
|
|
display: none;
|
|
}
|
|
|
|
.bulk-select.topic-list-data {
|
|
grid-area: bulk-select;
|
|
margin-left: -0.5em;
|
|
|
|
@media screen and (width <= 576px) {
|
|
margin-top: 0;
|
|
|
|
label {
|
|
padding-block: 0.345em;
|
|
}
|
|
}
|
|
|
|
input {
|
|
transform: scale(1.5);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.topic-list-header {
|
|
body:not(.user-messages-page) & {
|
|
tr {
|
|
border: none;
|
|
}
|
|
|
|
.topic-list-data {
|
|
padding: 0;
|
|
|
|
&:not(.default) {
|
|
display: none;
|
|
}
|
|
|
|
&.default {
|
|
.bulk-select,
|
|
span:not(.bulk-select-topics, .d-button-label) {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.bulk-select-topics {
|
|
position: absolute;
|
|
right: var(--space-2);
|
|
top: var(--space-2);
|
|
background: transparent;
|
|
border-radius: var(--d-border-radius);
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
margin: var(--space-4) 0;
|
|
padding: var(--space-1);
|
|
|
|
button {
|
|
white-space: nowrap;
|
|
margin: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|