Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e181c7005d | |||
| fc6d1b5b9d | |||
| bd93d46ef4 | |||
| 04d8684b59 | |||
| 79be7731b7 | |||
| fe1cb262dc | |||
| 25cc070a5b | |||
| 7982d60967 | |||
| 90eae2d3f1 |
+2
-1
@@ -132,5 +132,6 @@
|
|||||||
"header_primary": "ffffff",
|
"header_primary": "ffffff",
|
||||||
"hover": "584B3E"
|
"hover": "584B3E"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"screenshots": ["screenshots/light.png", "screenshots/dark.png"]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -83,6 +83,34 @@ 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,
|
||||||
|
})
|
||||||
|
);
|
||||||
|
}
|
||||||
|
);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
en:
|
en:
|
||||||
theme_metadata:
|
theme_metadata:
|
||||||
description: "A simple, beautiful theme that improves the out of the box experience for Discourse sites."
|
description: "A modern theme designed for communities that want a beautiful community out of the box."
|
||||||
topic_pinned: "Pinned"
|
topic_pinned: "Pinned"
|
||||||
topic_hot: "Hot"
|
topic_hot: "Hot"
|
||||||
user_replied: "replied"
|
user_replied: "replied"
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 127 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 129 KiB |
@@ -127,6 +127,36 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.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(
|
||||||
|
|||||||
+25
-1
@@ -1,3 +1,5 @@
|
|||||||
|
@use "lib/viewport";
|
||||||
|
|
||||||
.full-page-chat.full-page-chat-sidebar-enabled {
|
.full-page-chat.full-page-chat-sidebar-enabled {
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
@@ -23,6 +25,22 @@ 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 {
|
||||||
@@ -54,5 +72,11 @@ 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("composer", "content") + 1;
|
z-index: z("modal", "dialog");
|
||||||
|
}
|
||||||
|
|
||||||
|
.chat-replying-indicator-container {
|
||||||
|
@include viewport.from(sm) {
|
||||||
|
margin-left: calc(0.65em + 0.2rem);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,6 +19,8 @@
|
|||||||
|
|
||||||
.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,
|
||||||
|
|||||||
+32
-2
@@ -1,3 +1,5 @@
|
|||||||
|
@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);
|
||||||
}
|
}
|
||||||
@@ -106,6 +108,34 @@ input[type="color"]:focus,
|
|||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.d-modal__container {
|
// compatibility with the top contributors sidebar theme component
|
||||||
border-radius: var(--d-border-radius);
|
// https://meta.discourse.org/t/top-contributors-sidebar/215110
|
||||||
|
.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;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+8
-10
@@ -40,6 +40,7 @@
|
|||||||
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;
|
||||||
@@ -255,6 +256,10 @@
|
|||||||
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;
|
||||||
@@ -720,15 +725,8 @@ body.user-messages-page {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.mobile-view {
|
.event-date-container {
|
||||||
.link-top-line .event-date-container {
|
display: inline-flex;
|
||||||
display: inline;
|
|
||||||
margin-top: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.topic-list-body .topic-list-item .link-top-line .event-date {
|
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-left: 0;
|
top: -0.25em; // optical alignment
|
||||||
top: -0.125em;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user