feat: export complete Discourse themes ecosystem (16 themes, SCSS, JS components and color schemes)
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"name": "Air Theme",
|
||||
"authors": "Discourse",
|
||||
"about_url": "https://meta.discourse.org/t/discourse-air-theme/197703",
|
||||
"license_url": "https://github.com/discourse/discourse-air/blob/main/LICENSE",
|
||||
"components": [
|
||||
"https://github.com/discourse/discourse-minimal-category-boxes.git",
|
||||
"https://github.com/discourse/discourse-clickable-topic.git"
|
||||
],
|
||||
"modifiers": {
|
||||
"serialize_topic_excerpts": true
|
||||
},
|
||||
"color_schemes": {
|
||||
"air-light": {
|
||||
"primary": "1c1c1c",
|
||||
"secondary": "f9fcff",
|
||||
"tertiary": "3877e5",
|
||||
"quaternary": "7e8b93",
|
||||
"header_background": "f9fcff",
|
||||
"header_primary": "122b43",
|
||||
"highlight": "e6cb37",
|
||||
"danger": "d05454",
|
||||
"success": "71bd9f",
|
||||
"love": "c16ad7",
|
||||
"selected": "e1ebfb"
|
||||
},
|
||||
"air-dark": {
|
||||
"primary": "e0e0e0",
|
||||
"secondary": "2d2d2d",
|
||||
"tertiary": "9a5cfd",
|
||||
"quaternary": "71bd9f",
|
||||
"header_background": "202020",
|
||||
"header_primary": "e0e0e0",
|
||||
"highlight": "9a5cfd",
|
||||
"danger": "d05454",
|
||||
"success": "71bd9f",
|
||||
"love": "c16ad7",
|
||||
"selected": "2f0177",
|
||||
"hover": "535353"
|
||||
}
|
||||
},
|
||||
"screenshots": ["screenshots/light.webp", "screenshots/dark.webp"]
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<div class="background-container"></div>
|
||||
@@ -0,0 +1,615 @@
|
||||
@use "lib/viewport";
|
||||
|
||||
// custom search banner customizations
|
||||
.welcome-banner.--location-above-topic-content .custom-search-banner-wrap {
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
.custom-search-banner-wrap {
|
||||
color: var(--secondary);
|
||||
|
||||
.custom-search-banner-headline,
|
||||
h1 {
|
||||
line-height: var(--line-height-small);
|
||||
}
|
||||
|
||||
p {
|
||||
margin-top: 0.5em;
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
|
||||
.btn {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.search-menu input[type="text"] {
|
||||
border: 1px solid transparent;
|
||||
border-radius: 0.25em;
|
||||
min-height: 40px;
|
||||
|
||||
&:focus {
|
||||
outline: 3px solid rgb(var(--primary-rgb), 0.35);
|
||||
}
|
||||
}
|
||||
|
||||
.widget-link.show-help {
|
||||
color: rgb(var(--primary-rgb), 0.75);
|
||||
border-radius: 0.5em;
|
||||
padding: 0.5em;
|
||||
background-color: rgb(var(--secondary-rgb), 0.25);
|
||||
|
||||
&:hover {
|
||||
color: var(--primary);
|
||||
}
|
||||
}
|
||||
|
||||
.search-menu .search-input {
|
||||
border-color: var(--tertiary-hover);
|
||||
outline: 1px solid var(--tertiary-hover);
|
||||
}
|
||||
|
||||
.results {
|
||||
top: 43px;
|
||||
border-radius: 0.25em;
|
||||
}
|
||||
|
||||
.search-context {
|
||||
top: 3.25em;
|
||||
right: 1em;
|
||||
}
|
||||
}
|
||||
|
||||
.search-input {
|
||||
border-radius: 0.25em;
|
||||
}
|
||||
|
||||
.display-search-banner {
|
||||
#main-outlet {
|
||||
padding-top: 2em;
|
||||
}
|
||||
}
|
||||
|
||||
// Ideally the search banner component should be set to use the below-site-header outlet,
|
||||
// but this ensures the default works too
|
||||
.above-main-container-outlet.search-banner {
|
||||
.custom-search-banner-wrap {
|
||||
padding: 1em 0 2em;
|
||||
color: var(--tertiary);
|
||||
|
||||
.mobile-view & {
|
||||
color: var(--secondary);
|
||||
}
|
||||
|
||||
.custom-search-banner-headline,
|
||||
h1 {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.search-widget {
|
||||
margin-top: 2em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Main customizations
|
||||
.alert {
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
.topic-list .topic-list-header .topic-list-data,
|
||||
.topic-list .topic-list-item .topic-list-data {
|
||||
padding: 15px 5px;
|
||||
}
|
||||
|
||||
.navigation-topics .topic-list .topic-list-body .topic-list-data,
|
||||
.navigation-topics .topic-list .topic-list-header .topic-list-data {
|
||||
flex: unset;
|
||||
}
|
||||
|
||||
.badge-wrapper.box {
|
||||
border-radius: 0.25em;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.badge-wrapper.bullet {
|
||||
.badge-category-bg {
|
||||
border-radius: 0.125em;
|
||||
}
|
||||
|
||||
.badge-category-parent-bg {
|
||||
border-top-left-radius: 0.125em;
|
||||
border-bottom-left-radius: 0.125em;
|
||||
|
||||
+ .badge-category-bg {
|
||||
border-top-left-radius: 0;
|
||||
border-bottom-left-radius: 0;
|
||||
border-top-right-radius: 0.125em;
|
||||
border-bottom-right-radius: 0.125em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.discourse-tags {
|
||||
gap: 0.5em;
|
||||
}
|
||||
|
||||
.discourse-tag {
|
||||
font-size: $font-down-1;
|
||||
border-radius: 0.25em;
|
||||
padding: 0.15em 0.25em 0.15em 0.35em;
|
||||
background-color: var(--primary-low);
|
||||
color: var(--primary) !important;
|
||||
|
||||
&:hover {
|
||||
background-color: var(--primary-low-mid);
|
||||
color: var(--primary);
|
||||
}
|
||||
}
|
||||
|
||||
.discourse-tags .discourse-tag.simple:not(:last-child)::after,
|
||||
.list-tags .discourse-tag.simple:not(:last-child)::after,
|
||||
.search-category .discourse-tag.simple:not(:last-child)::after {
|
||||
content: "";
|
||||
margin-left: unset;
|
||||
}
|
||||
|
||||
.topic-list .link-bottom-line .discourse-tag.simple::after,
|
||||
.topic-list .link-bottom-line .discourse-tag.box {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
#site-text-logo {
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
.mobile-view {
|
||||
.cm-header-links {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.list-controls .nav-pills .drop li:first-of-type {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.not-found-container {
|
||||
background-color: var(--secondary);
|
||||
}
|
||||
|
||||
input[type="text"],
|
||||
input[type="password"],
|
||||
input[type="datetime"],
|
||||
input[type="datetime-local"],
|
||||
input[type="date"],
|
||||
input[type="month"],
|
||||
input[type="time"],
|
||||
input[type="week"],
|
||||
input[type="number"],
|
||||
input[type="email"],
|
||||
input[type="url"],
|
||||
input[type="search"],
|
||||
input[type="tel"],
|
||||
input[type="color"],
|
||||
.select-kit.combo-box .select-kit-header,
|
||||
.d-editor-textarea-wrapper,
|
||||
div.ac-wrap {
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.d-header {
|
||||
box-shadow: 0 2px 4px 0 rgb(0, 0, 0, 0.06);
|
||||
}
|
||||
|
||||
.d-header-icons .d-icon {
|
||||
border-radius: 100px;
|
||||
}
|
||||
|
||||
.d-header-icons .icon {
|
||||
border-radius: 0.25em;
|
||||
margin-left: 0.3em;
|
||||
border: 1px solid transparent;
|
||||
|
||||
svg {
|
||||
font-size: 1.25em;
|
||||
}
|
||||
}
|
||||
|
||||
.d-header-icons .icon img.avatar {
|
||||
border-radius: 0.25em;
|
||||
}
|
||||
|
||||
.menu-panel.drop-down {
|
||||
margin-top: 1em;
|
||||
border-radius: 0.5em;
|
||||
border: 1px solid var(--primary-low-mid);
|
||||
}
|
||||
|
||||
.drop-down-mode .d-header-icons .active .icon {
|
||||
border: 1px solid transparent;
|
||||
|
||||
.d-icon {
|
||||
color: var(--tertiary);
|
||||
}
|
||||
}
|
||||
|
||||
.drop-down-mode .d-header-icons .active .icon:hover {
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
|
||||
.unread-high-priority-notifications {
|
||||
background: var(--quaternary);
|
||||
}
|
||||
|
||||
.timeline-container .topic-timeline .timeline-handle {
|
||||
background-color: var(--tertiary);
|
||||
}
|
||||
|
||||
.timeline-container .topic-timeline .timeline-scrollarea {
|
||||
border-left-color: var(--tertiary);
|
||||
}
|
||||
|
||||
html {
|
||||
body:not(.no-ember) {
|
||||
background:
|
||||
linear-gradient(
|
||||
0deg,
|
||||
rgb(var(--primary-rgb), 0.075) 0%,
|
||||
rgb(var(--primary-rgb), 0.075) 100%
|
||||
),
|
||||
linear-gradient(0deg, var(--secondary) 100%, var(--secondary) 100%);
|
||||
}
|
||||
|
||||
.background-container {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
background: linear-gradient(
|
||||
90deg,
|
||||
var(--tertiary-hover) 0%,
|
||||
var(--tertiary) 100%
|
||||
);
|
||||
clip-path: ellipse(148% 70% at 91% -14%);
|
||||
}
|
||||
|
||||
body.no-ember .background-container {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
html body #main-outlet {
|
||||
margin-top: 30px;
|
||||
margin-bottom: 50px;
|
||||
background: var(--secondary);
|
||||
border-radius: 1em;
|
||||
padding: 3em 3em 5%;
|
||||
max-width: 1150px;
|
||||
padding-bottom: 5% !important; // overriding inline style
|
||||
box-shadow:
|
||||
0 24px 40px rgb(0, 0, 0, 0.07),
|
||||
0 10.8529px 24.1177px rgb(0, 0, 0, 0.0456112),
|
||||
0 4.50776px 10.0172px rgb(0, 0, 0, 0.035),
|
||||
0 1.63037px 3.62304px rgb(0, 0, 0, 0.0243888);
|
||||
|
||||
@media screen and (width <= 700px) {
|
||||
padding: 1.5em;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
@media screen and (width <= 1120px) {
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
@media screen and (width <= 1075px) {
|
||||
width: 85%;
|
||||
}
|
||||
|
||||
.archetype-regular & {
|
||||
min-height: 500px;
|
||||
}
|
||||
}
|
||||
|
||||
.nav-pills:not(.user-nav) > li a.active,
|
||||
.nav-pills:not(.user-nav) > li > a {
|
||||
border-radius: 0.5em;
|
||||
}
|
||||
|
||||
.category-calendar {
|
||||
&.before-topic-list-body-outlet {
|
||||
display: block;
|
||||
}
|
||||
background: var(--secondary);
|
||||
padding: 1em;
|
||||
border-radius: 8px;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.discourse-post-event-upcoming-events {
|
||||
background: var(--secondary);
|
||||
border-radius: 8px;
|
||||
padding: 1em;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
// Topic List
|
||||
|
||||
@keyframes background-fade-highlight {
|
||||
0% {
|
||||
background-color: var(--highlight-low);
|
||||
}
|
||||
|
||||
100% {
|
||||
background-color: var(--secondary);
|
||||
}
|
||||
}
|
||||
|
||||
.full-width .contents .topic-list {
|
||||
border-collapse: separate;
|
||||
border-spacing: 0 0.25em;
|
||||
display: contents;
|
||||
|
||||
.topic-list-header {
|
||||
tr {
|
||||
display: flex;
|
||||
border-bottom: none;
|
||||
}
|
||||
display: contents;
|
||||
|
||||
.topic-list-data.default {
|
||||
width: 63%;
|
||||
}
|
||||
|
||||
.topic-list-data.posters {
|
||||
width: 7%;
|
||||
}
|
||||
|
||||
.topic-list-data.posts {
|
||||
width: 15%;
|
||||
}
|
||||
|
||||
.topic-list-data.activity {
|
||||
width: 15%;
|
||||
}
|
||||
}
|
||||
|
||||
.topic-list-body {
|
||||
display: contents;
|
||||
|
||||
.topic-list-item-separator {
|
||||
width: 100%;
|
||||
margin: 0.75em 0;
|
||||
display: flex;
|
||||
|
||||
.topic-list-data {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.topic-list-item {
|
||||
display: flex;
|
||||
margin-bottom: 0.5em;
|
||||
background-color: var(--secondary);
|
||||
border: 1px solid rgb(var(--primary-rgb), 0.2);
|
||||
border-radius: 1em;
|
||||
position: relative;
|
||||
transition: box-shadow 100ms ease-in-out;
|
||||
box-shadow: 0 0 8px rgb(0, 0, 0, 0.05);
|
||||
overflow: hidden;
|
||||
|
||||
&.visited {
|
||||
border: 1px solid rgb(var(--primary-rgb), 0.1);
|
||||
|
||||
.discourse-tag {
|
||||
opacity: 0.75;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
border: 1px solid rgb(var(--primary-rgb), 0.25);
|
||||
|
||||
.discourse-tag {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background-color: var(--secondary);
|
||||
box-shadow: 0 0 12px rgb(0, 0, 0, 0.1);
|
||||
border: 1px solid rgb(var(--primary-rgb), 0.3);
|
||||
|
||||
a.title:not(.badge-notification),
|
||||
a.topic-excerpt {
|
||||
color: var(--primary) !important;
|
||||
}
|
||||
}
|
||||
|
||||
.topic-list-data.main-link {
|
||||
width: 63%;
|
||||
order: 2;
|
||||
}
|
||||
|
||||
.topic-list-data.posters {
|
||||
width: 7%;
|
||||
order: 1;
|
||||
height: auto;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
a:not(.latest) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.topic-list-data.posts {
|
||||
width: 15%;
|
||||
order: 3;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.topic-list-data.age {
|
||||
width: 15%;
|
||||
order: 4;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
&.selected {
|
||||
td:nth-of-type(1) {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
&:focus-visible td:nth-of-type(2) {
|
||||
box-shadow: inset 3px 0 0 var(--tertiary);
|
||||
border-radius: calc(1em - 3px);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.main-link {
|
||||
min-height: 100%;
|
||||
|
||||
.link-top-line {
|
||||
display: block;
|
||||
margin-bottom: 0.25em;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.link-area {
|
||||
display: flex;
|
||||
|
||||
.link-title-area {
|
||||
margin-right: 1em;
|
||||
font-size: $font-up-1;
|
||||
}
|
||||
|
||||
.link-meta-area {
|
||||
font-size: $font-down-3;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.posters {
|
||||
.avatar {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
a.latest {
|
||||
margin-right: 4px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-content: center;
|
||||
align-items: center;
|
||||
|
||||
.avatar {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
a:not(.latest) {
|
||||
margin-left: -22px;
|
||||
|
||||
.avatar {
|
||||
border: 3px solid var(--secondary);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.posts-map,
|
||||
.num.age.activity {
|
||||
a {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.posts-map {
|
||||
position: relative;
|
||||
|
||||
.number {
|
||||
margin-right: 0.25em;
|
||||
}
|
||||
}
|
||||
|
||||
.post-activity {
|
||||
.d-icon-reply {
|
||||
color: var(--primary-medium);
|
||||
margin-right: 0.25em;
|
||||
}
|
||||
|
||||
.relative-date {
|
||||
color: var(--primary-medium);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.topic-list-data.num.views {
|
||||
display: none;
|
||||
}
|
||||
|
||||
// published page additions
|
||||
.published-page-content-wrapper {
|
||||
max-width: 1000px;
|
||||
margin-top: 30px;
|
||||
margin-bottom: 50px;
|
||||
background: var(--secondary);
|
||||
border-radius: 1em;
|
||||
padding: 3em 3em 5%;
|
||||
box-shadow:
|
||||
0 24px 40px rgb(0, 0, 0, 0.07),
|
||||
0 10.8529px 24.1177px rgb(0, 0, 0, 0.0456112),
|
||||
0 4.50776px 10.0172px rgb(0, 0, 0, 0.035),
|
||||
0 1.63037px 3.62304px rgb(0, 0, 0, 0.0243888);
|
||||
z-index: 1;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.published-page {
|
||||
.background-container {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&::before {
|
||||
background: linear-gradient(
|
||||
90deg,
|
||||
var(--tertiary-hover) 0%,
|
||||
var(--tertiary) 100%
|
||||
);
|
||||
clip-path: ellipse(148% 70% at 91% -14%);
|
||||
content: "";
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block;
|
||||
position: fixed;
|
||||
z-index: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.quote-button {
|
||||
border-radius: 0.5em;
|
||||
}
|
||||
|
||||
.topic-list .main-link.focused + .posters {
|
||||
box-shadow: inset 3px 0 0 var(--tertiary);
|
||||
}
|
||||
|
||||
.topic-list .main-link.focused {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.title-voting {
|
||||
padding-left: 14px;
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
@import "showcased-categories";
|
||||
@import "chat-desktop";
|
||||
@import "sidebar-desktop";
|
||||
@@ -0,0 +1,56 @@
|
||||
html body.has-sidebar-page.has-full-page-chat {
|
||||
#main-outlet-wrapper {
|
||||
gap: 0 2em;
|
||||
}
|
||||
|
||||
#main-outlet {
|
||||
padding-bottom: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
.full-page-chat {
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
.chat-channel {
|
||||
height: calc(100vh - (var(--header-offset) + 7.85em));
|
||||
}
|
||||
|
||||
.c-navbar-container {
|
||||
border-radius: 1em 1em 0 0;
|
||||
}
|
||||
|
||||
.chat-composer__wrapper {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.full-page-chat .chat-full-page-header {
|
||||
border-radius: 1em 1em 0 0;
|
||||
}
|
||||
|
||||
.has-full-page-chat #main-outlet.wrap {
|
||||
margin-bottom: 30px;
|
||||
padding-bottom: 0 !important;
|
||||
|
||||
.full-page-chat {
|
||||
grid-template-rows: calc(var(--full-page-chat-height) - 50px);
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (width <= 1366px) {
|
||||
.has-full-page-chat #main-outlet {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.has-full-page-chat:not(.discourse-sidebar) #main-outlet.wrap {
|
||||
max-width: 100% !important;
|
||||
width: 100% !important;
|
||||
border-radius: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
.full-page-chat {
|
||||
grid-template-rows: var(--full-page-chat-height);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
html body.has-full-page-chat #main-outlet {
|
||||
width: 100% !important;
|
||||
padding: 0 !important;
|
||||
background-color: var(--secondary) !important;
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
.showcased-categories-sidebar {
|
||||
.two-topic-list-sidebar {
|
||||
.btn-link.posts-map.badge-posts {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.topic-list .topic-list-item {
|
||||
height: unset;
|
||||
}
|
||||
|
||||
.topic-excerpt {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.full-width .contents .topic-list {
|
||||
display: unset;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
// sidebar
|
||||
#main-outlet-wrapper {
|
||||
.sidebar-wrapper {
|
||||
margin: 30px 0 50px;
|
||||
background-color: var(--secondary);
|
||||
border-radius: 1em;
|
||||
top: calc(var(--header-offset) + 30px);
|
||||
height: calc(100vh - (var(--header-offset) + 80px));
|
||||
box-shadow:
|
||||
0 24px 40px rgb(0, 0, 0, 0.07),
|
||||
0 10.8529px 24.1177px rgb(0, 0, 0, 0.0456112),
|
||||
0 4.50776px 10.0172px rgb(0, 0, 0, 0.035),
|
||||
0 1.63037px 3.62304px rgb(0, 0, 0, 0.0243888);
|
||||
}
|
||||
|
||||
.sidebar-footer-wrapper {
|
||||
background: var(--secondary);
|
||||
}
|
||||
}
|
||||
|
||||
body.has-sidebar-page {
|
||||
#main-outlet-wrapper {
|
||||
padding-left: 8px;
|
||||
}
|
||||
|
||||
#main-outlet {
|
||||
max-width: unset;
|
||||
}
|
||||
}
|
||||
|
||||
.desktop-view .sidebar-footer-wrapper .sidebar-footer-container::before {
|
||||
background: linear-gradient(to bottom, transparent, rgb(var(--secondary), 1));
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
import { apiInitializer } from "discourse/lib/api";
|
||||
|
||||
export default apiInitializer((api) => {
|
||||
api.registerValueTransformer("topic-list-item-expand-pinned", () => true);
|
||||
});
|
||||
@@ -0,0 +1,257 @@
|
||||
@import "chat-mobile";
|
||||
|
||||
.custom-search-banner-wrap {
|
||||
.custom-search-banner-headline,
|
||||
h1 {
|
||||
font-size: 2.5em !important;
|
||||
}
|
||||
|
||||
p {
|
||||
font-weight: normal;
|
||||
font-size: $font-up-1;
|
||||
}
|
||||
}
|
||||
|
||||
html
|
||||
body:not(
|
||||
.static-tos,
|
||||
.static-guidelines,
|
||||
.static-privacy,
|
||||
.about-page,
|
||||
.badges-page,
|
||||
.tags-page,
|
||||
.archetype-banner,
|
||||
.archetype-regular,
|
||||
.archetype-private_message,
|
||||
.admin-interface,
|
||||
.user-summary-page,
|
||||
.user-activity-page,
|
||||
.user-invites-page,
|
||||
.user-preferences-page,
|
||||
.user-messages-page,
|
||||
.user-notifications-page,
|
||||
.user-badges-page
|
||||
)
|
||||
#main-outlet {
|
||||
width: calc(100% - 1em);
|
||||
padding: 0 0.5em 1em 0.5em;
|
||||
box-shadow: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
#main-outlet {
|
||||
margin-inline: auto;
|
||||
}
|
||||
|
||||
html body #main-outlet .docs {
|
||||
padding: 1em;
|
||||
background-color: var(--secondary);
|
||||
}
|
||||
|
||||
html body.static-tos #main-outlet,
|
||||
html body.no-ember #main-outlet,
|
||||
html body.static-privacy #main-outlet,
|
||||
html body.about-page #main-outlet,
|
||||
html body.static-guidelines #main-outlet,
|
||||
html body.tags-page #main-outlet,
|
||||
html body.badges-page #main-outlet,
|
||||
html body.archetype-banner #main-outlet,
|
||||
html body.archetype-regular #main-outlet,
|
||||
html body.archetype-private_message #main-outlet,
|
||||
html body.admin-interface #main-outlet,
|
||||
html body.user-summary-page #main-outlet,
|
||||
html body.user-activity-page #main-outlet,
|
||||
html body.user-invites-page #main-outlet,
|
||||
html body.user-preferences-page #main-outlet,
|
||||
html body.user-messages-page #main-outlet,
|
||||
html body.user-notifications-page #main-outlet,
|
||||
html body.user-badges-page #main-outlet,
|
||||
html body #main-outlet:has(.container.group),
|
||||
html body #main-outlet:has(.edit-category-page) {
|
||||
border-radius: 0;
|
||||
width: calc(100% - 3em);
|
||||
background-color: var(--secondary);
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
html body #main-outlet:has(.edit-category-page) {
|
||||
margin-block: 1em;
|
||||
padding: 1em;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.container.posts > .row {
|
||||
max-width: calc(100vw - 1.5em);
|
||||
}
|
||||
|
||||
.navigation-categories .navigation-container,
|
||||
.categories-list .navigation-container {
|
||||
border-bottom: 0 !important;
|
||||
}
|
||||
|
||||
body.category .category-breadcrumb .select-kit-header,
|
||||
#navigation-bar,
|
||||
.navigation-controls {
|
||||
margin-bottom: 0.5em !important;
|
||||
}
|
||||
|
||||
body.category .navigation-categories .list-container,
|
||||
.categories-list .list-container {
|
||||
padding-top: 1em !important;
|
||||
}
|
||||
|
||||
ol.category-breadcrumb {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
.categories-list .list-controls {
|
||||
background: var(--secondary);
|
||||
padding: 0.5em;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.list-controls .nav-pills {
|
||||
li.navigation-toggle {
|
||||
border-radius: 8px;
|
||||
border: none;
|
||||
background-color: var(--secondary);
|
||||
|
||||
a:hover,
|
||||
a:focus {
|
||||
color: var(--primary);
|
||||
background-color: var(--secondary);
|
||||
}
|
||||
}
|
||||
|
||||
.drop {
|
||||
top: calc(100% + 0.5em);
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 0 12px rgb(0, 0, 0, 0.25);
|
||||
}
|
||||
}
|
||||
|
||||
.topic-list .topic-list-data {
|
||||
padding: 1em 1em 0 1em;
|
||||
max-width: unset;
|
||||
}
|
||||
|
||||
.custom-search-banner-wrap .search-context {
|
||||
top: 3em !important;
|
||||
}
|
||||
|
||||
.top-lists {
|
||||
background-color: var(--secondary);
|
||||
border-radius: 8px;
|
||||
padding: 0.25em 0.25em 0.25em 0.5em;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
.users-directory.directory,
|
||||
.reviewable {
|
||||
width: 100%;
|
||||
background-color: var(--secondary);
|
||||
margin-left: -0.5em;
|
||||
padding: 0 0.5em;
|
||||
}
|
||||
|
||||
.tag-groups-container {
|
||||
background: var(--secondary);
|
||||
padding: 2em 1em;
|
||||
border-radius: 0.25em;
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
.search-container .search-advanced .search-results {
|
||||
padding: none;
|
||||
}
|
||||
|
||||
.fps-result {
|
||||
background: var(--secondary);
|
||||
padding: 1em;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 0 8px rgb(0, 0, 0, 0.05);
|
||||
border: 1px solid rgb(var(--primary-rgb), 0.1);
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
.search-container .search-header {
|
||||
border-top-right-radius: 8px;
|
||||
border-top-left-radius: 8px;
|
||||
}
|
||||
|
||||
.search-container .search-advanced .search-info {
|
||||
padding-right: 1em;
|
||||
padding-left: 1em;
|
||||
border-bottom-left-radius: 8px;
|
||||
border-bottom-right-radius: 8px;
|
||||
}
|
||||
|
||||
.full-width .contents .topic-list .topic-list-header tr {
|
||||
background-color: var(--secondary);
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 0 8px rgb(0, 0, 0, 0.05);
|
||||
border: 1px solid rgb(var(--primary-rgb), 0.1);
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.topic-list .topic-item-stats {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.topic-list-item {
|
||||
> .topic-list-data {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.discourse-tags {
|
||||
order: 3;
|
||||
width: 100%;
|
||||
margin-top: 0.5em;
|
||||
}
|
||||
}
|
||||
|
||||
.full-width .contents .topic-list .topic-list-item .posts-map {
|
||||
padding: 0;
|
||||
|
||||
.number {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.full-width
|
||||
.contents
|
||||
.topic-list
|
||||
.topic-list-body
|
||||
.topic-list-item
|
||||
.topic-list-data.posts {
|
||||
width: unset;
|
||||
}
|
||||
|
||||
.topic-list .topic-list-header .topic-list-data,
|
||||
.topic-list .topic-list-item .topic-list-data {
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
// default category list styles when the modern category boxes theme component isn't used
|
||||
.category-list-item.category {
|
||||
background: var(--secondary);
|
||||
border-radius: 1em;
|
||||
|
||||
tbody {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
td {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.num.posts {
|
||||
padding-right: 0.25em;
|
||||
}
|
||||
}
|
||||
|
||||
.list-controls .nav-pills .list-control-toggle-link-trigger {
|
||||
color: var(--secondary);
|
||||
}
|
||||
@@ -0,0 +1,131 @@
|
||||
{
|
||||
"id": 44,
|
||||
"name": "Air Theme",
|
||||
"user_selectable": false,
|
||||
"color_scheme": {
|
||||
"id": 48,
|
||||
"name": "air-light",
|
||||
"theme_id": 44,
|
||||
"colors": {
|
||||
"primary": "1c1c1c",
|
||||
"secondary": "f9fcff",
|
||||
"tertiary": "3877e5",
|
||||
"quaternary": "7e8b93",
|
||||
"header_background": "f9fcff",
|
||||
"header_primary": "122b43",
|
||||
"highlight": "e6cb37",
|
||||
"selected": "e1ebfb",
|
||||
"hover": "f2f2f2",
|
||||
"danger": "d05454",
|
||||
"success": "71bd9f",
|
||||
"love": "c16ad7"
|
||||
}
|
||||
},
|
||||
"fields_count": 13,
|
||||
"files": [
|
||||
{
|
||||
"field_id": 796,
|
||||
"target_id": 0,
|
||||
"target_name": "common",
|
||||
"name": "header",
|
||||
"filename": "common_header.html",
|
||||
"bytes": 41
|
||||
},
|
||||
{
|
||||
"field_id": 793,
|
||||
"target_id": 0,
|
||||
"target_name": "common",
|
||||
"name": "screenshot_dark",
|
||||
"filename": "common_screenshot_dark.txt",
|
||||
"bytes": 0
|
||||
},
|
||||
{
|
||||
"field_id": 792,
|
||||
"target_id": 0,
|
||||
"target_name": "common",
|
||||
"name": "screenshot_light",
|
||||
"filename": "common_screenshot_light.txt",
|
||||
"bytes": 0
|
||||
},
|
||||
{
|
||||
"field_id": 795,
|
||||
"target_id": 0,
|
||||
"target_name": "common",
|
||||
"name": "scss",
|
||||
"filename": "common_scss.scss",
|
||||
"bytes": 11478
|
||||
},
|
||||
{
|
||||
"field_id": 797,
|
||||
"target_id": 1,
|
||||
"target_name": "desktop",
|
||||
"name": "scss",
|
||||
"filename": "desktop_scss.scss",
|
||||
"bytes": 83
|
||||
},
|
||||
{
|
||||
"field_id": 800,
|
||||
"target_id": 2,
|
||||
"target_name": "mobile",
|
||||
"name": "scss",
|
||||
"filename": "mobile_scss.scss",
|
||||
"bytes": 5179
|
||||
},
|
||||
{
|
||||
"field_id": 799,
|
||||
"target_id": 4,
|
||||
"target_name": "translations",
|
||||
"name": "en",
|
||||
"filename": "translations_en.yml",
|
||||
"bytes": 81
|
||||
},
|
||||
{
|
||||
"field_id": 801,
|
||||
"target_id": 5,
|
||||
"target_name": "extra_scss",
|
||||
"name": "chat-desktop",
|
||||
"filename": "extra_scss_chat-desktop.txt",
|
||||
"bytes": 1018
|
||||
},
|
||||
{
|
||||
"field_id": 802,
|
||||
"target_id": 5,
|
||||
"target_name": "extra_scss",
|
||||
"name": "chat-mobile",
|
||||
"filename": "extra_scss_chat-mobile.txt",
|
||||
"bytes": 146
|
||||
},
|
||||
{
|
||||
"field_id": 803,
|
||||
"target_id": 5,
|
||||
"target_name": "extra_scss",
|
||||
"name": "showcased-categories",
|
||||
"filename": "extra_scss_showcased-categories.txt",
|
||||
"bytes": 307
|
||||
},
|
||||
{
|
||||
"field_id": 804,
|
||||
"target_id": 5,
|
||||
"target_name": "extra_scss",
|
||||
"name": "sidebar-desktop",
|
||||
"filename": "extra_scss_sidebar-desktop.txt",
|
||||
"bytes": 808
|
||||
},
|
||||
{
|
||||
"field_id": 798,
|
||||
"target_id": 6,
|
||||
"target_name": "javascript",
|
||||
"name": "discourse/initializers/init-topic-excerpts.js",
|
||||
"filename": "javascript_discourse_initializers_init-topic-excerpts.js",
|
||||
"bytes": 175
|
||||
},
|
||||
{
|
||||
"field_id": 794,
|
||||
"target_id": 9,
|
||||
"target_name": "about",
|
||||
"name": "about",
|
||||
"filename": "about_about.yml",
|
||||
"bytes": 1234
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
en:
|
||||
theme_metadata:
|
||||
description: "A clean and modern theme for Discourse."
|
||||
Reference in New Issue
Block a user