Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4e6b4a6c80 |
+1
-2
@@ -132,6 +132,5 @@
|
|||||||
"header_primary": "ffffff",
|
"header_primary": "ffffff",
|
||||||
"hover": "584B3E"
|
"hover": "584B3E"
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
"screenshots": ["screenshots/light.png", "screenshots/dark.png"]
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -83,34 +83,6 @@ export default {
|
|||||||
api.registerValueTransformer("topic-list-item-mobile-layout", () => {
|
api.registerValueTransformer("topic-list-item-mobile-layout", () => {
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
api.registerBehaviorTransformer(
|
|
||||||
"topic-list-item-click",
|
|
||||||
({ context: { event }, next }) => {
|
|
||||||
if (event.target.closest("a, button, input")) {
|
|
||||||
return next();
|
|
||||||
}
|
|
||||||
|
|
||||||
event.preventDefault();
|
|
||||||
event.stopPropagation();
|
|
||||||
|
|
||||||
const topicLink = event.target
|
|
||||||
.closest("tr")
|
|
||||||
.querySelector("a.raw-topic-link");
|
|
||||||
|
|
||||||
// Redespatch the click on the topic link, so that all key-handing is sorted
|
|
||||||
topicLink.dispatchEvent(
|
|
||||||
new MouseEvent("click", {
|
|
||||||
ctrlKey: event.ctrlKey,
|
|
||||||
metaKey: event.metaKey,
|
|
||||||
shiftKey: event.shiftKey,
|
|
||||||
button: event.button,
|
|
||||||
bubbles: true,
|
|
||||||
cancelable: true,
|
|
||||||
})
|
|
||||||
);
|
|
||||||
}
|
|
||||||
);
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 127 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 129 KiB |
@@ -127,36 +127,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.rtl .experimental-screen {
|
|
||||||
&__top-left {
|
|
||||||
right: var(--left-distance);
|
|
||||||
left: unset;
|
|
||||||
}
|
|
||||||
|
|
||||||
&__top-right {
|
|
||||||
transform: rotate(-90deg) !important;
|
|
||||||
right: calc(var(--right-distance) - var(--d-border-radius-large));
|
|
||||||
left: unset;
|
|
||||||
}
|
|
||||||
|
|
||||||
&__bottom-left {
|
|
||||||
transform: rotate(90deg);
|
|
||||||
right: var(--left-distance);
|
|
||||||
left: unset;
|
|
||||||
}
|
|
||||||
|
|
||||||
&__bottom-right {
|
|
||||||
transform: rotate(180deg);
|
|
||||||
left: unset;
|
|
||||||
right: calc(var(--right-distance) - var(--d-border-radius-large));
|
|
||||||
}
|
|
||||||
|
|
||||||
&__bottom-bar {
|
|
||||||
right: var(--left-distance);
|
|
||||||
left: unset;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen and (min-width: 768px) {
|
@media screen and (min-width: 768px) {
|
||||||
.with-topic-progress {
|
.with-topic-progress {
|
||||||
bottom: calc(
|
bottom: calc(
|
||||||
|
|||||||
+1
-25
@@ -1,5 +1,3 @@
|
|||||||
@use "lib/viewport";
|
|
||||||
|
|
||||||
.full-page-chat.full-page-chat-sidebar-enabled {
|
.full-page-chat.full-page-chat-sidebar-enabled {
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
@@ -25,22 +23,6 @@ body.has-full-page-chat {
|
|||||||
|
|
||||||
.chat-drawer-outlet-container {
|
.chat-drawer-outlet-container {
|
||||||
z-index: z("composer", "content");
|
z-index: z("composer", "content");
|
||||||
|
|
||||||
.peek-mode-active & {
|
|
||||||
padding-bottom: 0;
|
|
||||||
left: unset;
|
|
||||||
right: var(--main-grid-gap);
|
|
||||||
|
|
||||||
&:has(.is-expanded) {
|
|
||||||
z-index: calc(z("composer", "dropdown") + 1);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.chat-drawer {
|
|
||||||
.peek-mode-active & {
|
|
||||||
max-width: 90vw;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.chat-drawer .channels-list-container .chat-channel-row {
|
.chat-drawer .channels-list-container .chat-channel-row {
|
||||||
@@ -72,11 +54,5 @@ body.has-full-page-chat {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.chat-drawer-active.chat-drawer-expanded .chat-composer-dropdown__menu-content {
|
.chat-drawer-active.chat-drawer-expanded .chat-composer-dropdown__menu-content {
|
||||||
z-index: z("modal", "dialog");
|
z-index: z("composer", "content") + 1;
|
||||||
}
|
|
||||||
|
|
||||||
.chat-replying-indicator-container {
|
|
||||||
@include viewport.from(sm) {
|
|
||||||
margin-left: calc(0.65em + 0.2rem);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
|
|
||||||
.grippie {
|
.grippie {
|
||||||
background: var(--tertiary-low);
|
background: var(--tertiary-low);
|
||||||
border-top-right-radius: var(--d-border-radius);
|
|
||||||
border-top-left-radius: var(--d-border-radius);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-selector,
|
.user-selector,
|
||||||
|
|||||||
@@ -7,6 +7,23 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.user-menu .quick-access-panel,
|
||||||
|
.user-notifications-list {
|
||||||
|
li {
|
||||||
|
&.pending,
|
||||||
|
&.unread {
|
||||||
|
background: var(--d-hover);
|
||||||
|
|
||||||
|
.discourse-no-touch & {
|
||||||
|
&:hover,
|
||||||
|
&:focus {
|
||||||
|
background: var(--d-selected);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.user-menu.revamped .tabs-list .btn.active {
|
.user-menu.revamped .tabs-list .btn.active {
|
||||||
background: var(--d-hover);
|
background: var(--d-hover);
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-32
@@ -1,5 +1,3 @@
|
|||||||
@use "lib/viewport";
|
|
||||||
|
|
||||||
.user-main .about.collapsed-info .details {
|
.user-main .about.collapsed-info .details {
|
||||||
background: var(--d-content-background);
|
background: var(--d-content-background);
|
||||||
}
|
}
|
||||||
@@ -108,34 +106,6 @@ input[type="color"]:focus,
|
|||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// compatibility with the top contributors sidebar theme component
|
.d-modal__container {
|
||||||
// https://meta.discourse.org/t/top-contributors-sidebar/215110
|
border-radius: var(--d-border-radius);
|
||||||
.list-container
|
|
||||||
#list-area
|
|
||||||
> .contents
|
|
||||||
> .topic-list:has(.discourse-top-contributors) {
|
|
||||||
grid-template-areas: "head head" "body sidebar";
|
|
||||||
grid-template-rows: auto 1fr;
|
|
||||||
|
|
||||||
@include viewport.until(lg) {
|
|
||||||
grid-template-areas: "head head" "body body";
|
|
||||||
}
|
|
||||||
|
|
||||||
tbody {
|
|
||||||
display: flex;
|
|
||||||
}
|
|
||||||
|
|
||||||
.discourse-top-contributors {
|
|
||||||
width: auto;
|
|
||||||
box-sizing: border-box;
|
|
||||||
|
|
||||||
@include viewport.until(lg) {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.top-contributors-heading {
|
|
||||||
font-size: var(--font-up-2);
|
|
||||||
padding-bottom: 0.5em;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
+11
-9
@@ -40,7 +40,6 @@
|
|||||||
grid-column-gap: 12px;
|
grid-column-gap: 12px;
|
||||||
grid-row-gap: 8px;
|
grid-row-gap: 8px;
|
||||||
border-radius: var(--d-border-radius);
|
border-radius: var(--d-border-radius);
|
||||||
cursor: pointer;
|
|
||||||
|
|
||||||
td.main-link .link-top-line {
|
td.main-link .link-top-line {
|
||||||
grid-row: 1/2;
|
grid-row: 1/2;
|
||||||
@@ -256,10 +255,6 @@
|
|||||||
min-width: unset;
|
min-width: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
.badge-notification.new-topic::before {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
// timestamp
|
// timestamp
|
||||||
td.activity .post-activity {
|
td.activity .post-activity {
|
||||||
grid-area: activity;
|
grid-area: activity;
|
||||||
@@ -725,8 +720,15 @@ body.user-messages-page {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.event-date-container {
|
.mobile-view {
|
||||||
display: inline-flex;
|
.link-top-line .event-date-container {
|
||||||
position: relative;
|
display: inline;
|
||||||
top: -0.25em; // optical alignment
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.topic-list-body .topic-list-item .link-top-line .event-date {
|
||||||
|
position: relative;
|
||||||
|
margin-left: 0;
|
||||||
|
top: -0.125em;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user