Compare commits

...

33 Commits

Author SHA1 Message Date
a682d432f7 Fix padding on become and editor button 2024-04-18 07:25:50 -07:00
17068549dc Update housing footer links. 2024-04-14 09:07:03 -07:00
7f49e7100c Hide date controls in user directory 2024-03-23 21:02:59 -07:00
d805722968 Hide metadata on user cards 2024-03-21 09:35:37 -07:00
e87eccf710 Fix box shadow and background color 2024-03-05 11:29:29 -08:00
06fc2eaedf Change highlighted header to 2nd last element 2024-03-03 18:56:04 -08:00
41b1e5558f Add margin to lists on published pages 2024-03-03 09:21:33 -08:00
9199314437 Hide site logo on error page 2024-03-03 08:32:31 -08:00
cdf00a5026 Link to become an editor on published pages 2024-03-02 20:43:29 -08:00
e361a8d018 Add footer links 2024-03-02 18:59:37 -08:00
8309e88885 Make published page look more like OrcasHub 2024-03-02 16:16:50 -08:00
a301036014 NFC: Formatting 2024-03-02 16:13:01 -08:00
f753820fbb Switch to forked version of User Card Directory 2024-02-28 08:02:59 -08:00
d8c4a16ad8 Hide OrcasHub in sidebar on desktop 2024-02-27 13:14:34 -08:00
8fdf327454 Add additional theme components 2024-02-27 13:14:34 -08:00
6054df2aea Hide lock icon globally 2024-02-27 13:14:34 -08:00
85b841a525 Add login CTA 2024-02-27 13:14:14 -08:00
c863a3c9a1 Start cleaning up unnecessary elements on Community Resources category 2024-02-26 21:05:31 -08:00
f18c70d867 Hide category description headings 2024-02-24 15:18:12 -08:00
b2cc4a2ae9 Add user card directory component 2024-02-21 09:02:58 -08:00
50b9a0ca14 Hide badges from user card 2024-02-21 09:01:24 -08:00
1c17f3b507 Resize category logos 2024-02-19 17:39:56 -08:00
f75fbd72e5 Hide side banner on create account screen 2024-02-18 20:49:05 -08:00
c8fd61c67b Add custom header links 2024-02-17 09:29:17 -08:00
0b9ae900e3 Add custom footer and styles 2024-02-17 08:58:22 -08:00
d39e74ca58 Adjust border radius on category list page 2024-02-17 08:08:15 -08:00
e347ce42e4 Hide default logo 2024-02-17 08:08:15 -08:00
47b081d2a9 Add OrcasHub header image 2024-02-17 08:08:15 -08:00
f715c54b8b Adjust border radius to match OrcasHub 2024-02-17 07:47:28 -08:00
910f435080 Remove background-container 2024-02-16 20:35:44 -08:00
ce2e975d10 Start updating colors to OrcasHub colors 2024-02-16 20:35:40 -08:00
a8bb351e2f Rename theme 2024-02-16 20:35:17 -08:00
98be4851e7 Change background to plain secondary color 2024-02-16 17:53:06 -08:00
12 changed files with 833 additions and 403 deletions

View File

@ -1,39 +1,33 @@
{ {
"name": "Air Theme", "name": "OrcasHub Theme",
"about_url": null, "about_url": null,
"license_url": null, "license_url": null,
"components": [ "components": [
"https://github.com/jordanvidrine/discourse-category-group-boxes.git", "https://github.com/jordanvidrine/discourse-category-group-boxes.git",
"https://github.com/discourse/discourse-clickable-topic.git", "https://github.com/discourse/discourse-clickable-topic.git",
"https://github.com/discourse/discourse-search-banner.git" "https://github.com/discourse/discourse-custom-header-links.git",
"https://git.grosinger.net/tgrosinger/discourse-user-card-directory.git",
"https://github.com/discourse/DiscoTOC.git",
"https://github.com/paviliondev/discourse-tc-topic-list-previews.git"
], ],
"assets": {
"OrcasHub-Top-Logo": "assets/OrcasHub-Top-Logo.png"
},
"modifiers": { "modifiers": {
"serialize_topic_excerpts": true "serialize_topic_excerpts": true
}, },
"color_schemes": { "color_schemes": {
"air-light": { "OrcasHub": {
"primary": "1c1c1c", "primary": "1c1c1c",
"secondary": "f9fcff", "secondary": "ffffff",
"tertiary": "3877e5", "tertiary": "3877e5",
"quaternary": "7e8b93", "quaternary": "7e8b93",
"header_background": "f9fcff", "header_background": "374151",
"header_primary": "122b43", "header_primary": "e0e0e0",
"highlight": "e6cb37", "highlight": "e6cb37",
"danger": "d05454", "danger": "d05454",
"success": "71bd9f", "success": "71bd9f",
"love": "c16ad7" "love": "c16ad7"
},
"air-dark": {
"primary": "e0e0e0",
"secondary": "2d2d2d",
"tertiary": "9a5cfd",
"quaternary": "71bd9f",
"header_background": "202020",
"header_primary": "e0e0e0",
"highlight": "9a5cfd",
"danger": "d05454",
"success": "71bd9f",
"love": "c16ad7"
} }
} }
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

9
common/after_header.html Executable file
View File

@ -0,0 +1,9 @@
<div id="login-message">
<h2>
There are a lot more discussions going on if you log in!
</h2>
<a href="/login" class="widget-button btn btn-primary btn-small sign-up-button btn-text">
<span class="d-button-label">Log in or Sign Up</span>
</a>
</div>

View File

@ -1,44 +1,101 @@
// Login CTA
#login-message {
display: none;
}
html.anon {
body:not(.category-resources) {
// Display this message on all pages except in Community Resources
#login-message {
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
margin: 16px 0;
a:hover {
color: var(--secondary-very-high);
}
}
}
}
// Login form
.login-right-side {
display: none;
}
// Header image above nav bar
.outer {
padding-top: 1.5rem;
padding-bottom: 1.5rem;
display: flex;
justify-content: center;
background-color: var(--header_background);
}
.top-header-image {
background-image: url($OrcasHub-Top-Logo);
}
// Hide the default logo in the header bar
#site-logo,
.home-logo-wrapper-outlet {
display: none;
}
// custom search banner customizations // custom search banner customizations
.custom-search-banner-wrap { .custom-search-banner-wrap {
margin: 0 auto !important; margin: 0 auto !important;
max-width: unset; max-width: unset;
color: var(--secondary); color: var(--secondary);
h1 { h1 {
font-size: 4em; font-size: 4em;
} }
p { p {
font-size: 1.25em !important; font-size: 1.25em !important;
font-weight: bold; font-weight: bold;
margin-bottom: 1em; margin-bottom: 1em;
} }
.btn { .btn {
height: 100%; height: 100%;
} }
.search-menu input[type="text"] { .search-menu input[type="text"] {
border: 1px solid transparent; border: 1px solid transparent;
border-radius: 0.25em; border-radius: 0.25em;
min-height: 40px; min-height: 40px;
&:focus { &:focus {
outline: 3px solid rgba(var(--primary-rgb), 0.35); outline: 3px solid rgba(var(--primary-rgb), 0.35);
} }
} }
.widget-link.show-help { .widget-link.show-help {
color: rgba(var(--primary-rgb), 0.75); color: rgba(var(--primary-rgb), 0.75);
border-radius: 0.5em; border-radius: 0.5em;
padding: 0.5em; padding: 0.5em;
background-color: rgba(var(--secondary-rgb), 0.25); background-color: rgba(var(--secondary-rgb), 0.25);
&:hover { &:hover {
color: var(--primary); color: var(--primary);
} }
} }
.search-menu .search-input { .search-menu .search-input {
border-color: var(--tertiary-hover); border-color: var(--tertiary-hover);
outline: 1px solid var(--tertiary-hover); outline: 1px solid var(--tertiary-hover);
} }
.results { .results {
top: 43px; top: 43px;
border-radius: 0.25em; border-radius: 0.25em;
} }
.search-context { .search-context {
top: 3.25em; top: 3.25em;
right: 1em; right: 1em;
@ -61,12 +118,15 @@
.custom-search-banner-wrap { .custom-search-banner-wrap {
padding: 1em 0 2em; padding: 1em 0 2em;
color: var(--tertiary); color: var(--tertiary);
.mobile-view & { .mobile-view & {
color: var(--secondary); color: var(--secondary);
} }
h1 { h1 {
margin-bottom: 0; margin-bottom: 0;
} }
.search-widget { .search-widget {
margin-top: 2em; margin-top: 2em;
} }
@ -97,9 +157,11 @@
.badge-category-bg { .badge-category-bg {
border-radius: 0.125em; border-radius: 0.125em;
} }
.badge-category-parent-bg { .badge-category-parent-bg {
border-top-left-radius: 0.125em; border-top-left-radius: 0.125em;
border-bottom-left-radius: 0.125em; border-bottom-left-radius: 0.125em;
+.badge-category-bg { +.badge-category-bg {
border-top-left-radius: 0px; border-top-left-radius: 0px;
border-bottom-left-radius: 0px; border-bottom-left-radius: 0px;
@ -119,6 +181,7 @@
padding: 0.15em 0.25em 0.15em 0.35em; padding: 0.15em 0.25em 0.15em 0.35em;
background-color: var(--primary-low); background-color: var(--primary-low);
color: var(--primary) !important; color: var(--primary) !important;
&:hover { &:hover {
background-color: var(--primary-low-mid); background-color: var(--primary-low-mid);
color: var(--primary); color: var(--primary);
@ -137,6 +200,21 @@
margin-right: 0px; margin-right: 0px;
} }
.custom-category-boxes {
.category-box {
box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px,
rgba(0, 0, 0, 0) 0px 0px 0px 0px,
rgba(0, 0, 0, 0.1) 0px 1px 3px 0px,
rgba(0, 0, 0, 0.1) 0px 1px 2px -1px !important;
}
.category-logo {
height: 100px !important;
width: 100px !important;
}
}
#site-text-logo { #site-text-logo {
color: var(--primary); color: var(--primary);
} }
@ -145,6 +223,7 @@
.cm-header-links { .cm-header-links {
display: none; display: none;
} }
.list-controls .nav-pills .drop li:first-of-type { .list-controls .nav-pills .drop li:first-of-type {
display: none; display: none;
} }
@ -169,6 +248,7 @@ input[type="color"],
div.ac-wrap { div.ac-wrap {
border-radius: 4px; border-radius: 4px;
} }
.d-header { .d-header {
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.06); box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.06);
} }
@ -181,6 +261,7 @@ div.ac-wrap {
border-radius: 0.25em; border-radius: 0.25em;
margin-left: 0.3em; margin-left: 0.3em;
border: 1px solid transparent; border: 1px solid transparent;
svg { svg {
font-size: 1.25em; font-size: 1.25em;
} }
@ -198,6 +279,7 @@ div.ac-wrap {
.drop-down-mode .d-header-icons .active .icon { .drop-down-mode .d-header-icons .active .icon {
border: 1px solid transparent; border: 1px solid transparent;
.d-icon { .d-icon {
color: var(--tertiary); color: var(--tertiary);
} }
@ -216,7 +298,7 @@ div.ac-wrap {
.btn:not(.themes-tab):not(.components-tab), .btn:not(.themes-tab):not(.components-tab),
.select-kit.dropdown-select-box .dropdown-select-box-header { .select-kit.dropdown-select-box .dropdown-select-box-header {
border-radius: 8px; border-radius: .375rem;
border: 1px solid transparent; border: 1px solid transparent;
} }
@ -240,33 +322,15 @@ div.ac-wrap {
// graceful ish style // graceful ish style
@mixin box-shadow($value: 0px) { @mixin box-shadow($value: 0px) {
box-shadow: 0 24px 40px rgba(0, 0, 0, 0.07), box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px,
0 10.8529px 24.1177px rgba(0, 0, 0, 0.0456112), rgba(0, 0, 0, 0) 0px 0px 0px 0px,
0 4.50776px 10.0172px rgba(0, 0, 0, 0.035), rgba(0, 0, 0, 0.1) 0px 1px 3px 0px,
0 1.63037px 3.62304px rgba(0, 0, 0, 0.0243888); rgba(0, 0, 0, 0.1) 0px 1px 2px -1px;
} }
html { html {
body { body {
background: linear-gradient( background-color: var(--secondary);
0deg,
rgba(var(--primary-rgb), 0.075) 0%,
rgba(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%);
} }
} }
@ -274,21 +338,26 @@ html body #main-outlet {
margin-top: 30px; margin-top: 30px;
margin-bottom: 50px; margin-bottom: 50px;
background: var(--secondary); background: var(--secondary);
border-radius: 1em; border-radius: .5rem;
padding: 3em 3em 5%; padding: 3em 3em 5%;
max-width: 1150px; max-width: 1150px;
.archetype-regular & { .archetype-regular & {
min-height: 500px; min-height: 500px;
} }
@media screen and (max-width: 700px) { @media screen and (max-width: 700px) {
padding: 1.5em; padding: 1.5em;
margin-top: 0; margin-top: 0;
} }
padding-bottom: 5% !important; //overriding inline style padding-bottom: 5% !important; //overriding inline style
@include box-shadow; @include box-shadow;
@media screen and (max-width: 1120px) { @media screen and (max-width: 1120px) {
width: 80%; width: 80%;
} }
@media screen and (max-width: 1075px) { @media screen and (max-width: 1075px) {
width: 85%; width: 85%;
} }
@ -299,12 +368,49 @@ html body #main-outlet {
border-radius: 0.5em; border-radius: 0.5em;
} }
// User directory (people)
.users-directory {
.directory-controls {
justify-content: right !important;
}
.period-controls {
display: none;
}
}
// User Card (profile)
.user-card {
.badge-section,
.metadata-row {
display: none;
}
}
// Category List
.custom-category-boxes-container {
.custom-category-boxes {
.category-box {
border-radius: .5rem !important;
}
}
}
// Hide the "about this category" heading
.category-heading {
display: none;
}
// Topic List // Topic List
@keyframes background-fade-highlight { @keyframes background-fade-highlight {
0% { 0% {
background-color: var(--highlight-low); background-color: var(--highlight-low);
} }
100% { 100% {
background-color: var(--secondary); background-color: var(--secondary);
} }
@ -314,71 +420,89 @@ html body #main-outlet {
border-collapse: separate; border-collapse: separate;
border-spacing: 0 0.25em; border-spacing: 0 0.25em;
display: contents; display: contents;
.topic-list-header { .topic-list-header {
tr { tr {
display: flex; display: flex;
border-bottom: none; border-bottom: none;
} }
display: contents; display: contents;
.topic-list-data.default { .topic-list-data.default {
width: 63%; width: 63%;
} }
.topic-list-data.posters { .topic-list-data.posters {
width: 7%; width: 7%;
} }
.topic-list-data.posts { .topic-list-data.posts {
width: 15%; width: 15%;
} }
.topic-list-data.activity { .topic-list-data.activity {
width: 15%; width: 15%;
} }
} }
.topic-list-body { .topic-list-body {
display: contents; display: contents;
.topic-list-item-separator { .topic-list-item-separator {
width: 100%; width: 100%;
margin: 0.75em 0; margin: 0.75em 0;
display: flex; display: flex;
.topic-list-data { .topic-list-data {
width: 100%; width: 100%;
} }
} }
.topic-list-item { .topic-list-item {
width: 100%; width: 100%;
display: flex; display: flex;
margin-bottom: 0.5em; margin-bottom: 0.5em;
background-color: var(--secondary); background-color: var(--secondary);
border: 1px solid rgba(var(--primary-rgb), 0.2); border: 1px solid rgba(var(--primary-rgb), 0.2);
border-radius: 1em; border-radius: .5rem;
position: relative; position: relative;
transition: box-shadow 100ms ease-in-out; transition: box-shadow 100ms ease-in-out;
box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.05); box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.05);
overflow: hidden; overflow: hidden;
&.visited { &.visited {
border: 1px solid rgba(var(--primary-rgb), 0.1); border: 1px solid rgba(var(--primary-rgb), 0.1);
.discourse-tag { .discourse-tag {
opacity: 0.75; opacity: 0.75;
} }
&:hover { &:hover {
border: 1px solid rgba(var(--primary-rgb), 0.25); border: 1px solid rgba(var(--primary-rgb), 0.25);
.discourse-tag { .discourse-tag {
opacity: 1; opacity: 1;
} }
} }
} }
&:hover { &:hover {
background-color: var(--secondary); background-color: var(--secondary);
box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.1); box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.1);
border: 1px solid rgba(var(--primary-rgb), 0.3); border: 1px solid rgba(var(--primary-rgb), 0.3);
a.title:not(.badge-notification), a.title:not(.badge-notification),
a.topic-excerpt { a.topic-excerpt {
color: var(--primary) !important; color: var(--primary) !important;
} }
} }
.topic-list-data.main-link { .topic-list-data.main-link {
width: 63%; width: 63%;
order: 2; order: 2;
} }
.topic-list-data.posters { .topic-list-data.posters {
width: 7%; width: 7%;
order: 1; order: 1;
@ -386,10 +510,12 @@ html body #main-outlet {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
a:not(.latest) { a:not(.latest) {
display: none; display: none;
} }
} }
.topic-list-data.posts { .topic-list-data.posts {
width: 15%; width: 15%;
order: 3; order: 3;
@ -397,6 +523,7 @@ html body #main-outlet {
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} }
.topic-list-data.age { .topic-list-data.age {
width: 15%; width: 15%;
order: 4; order: 4;
@ -420,6 +547,7 @@ html body #main-outlet {
justify-content: center; justify-content: center;
align-content: center; align-content: center;
align-items: center; align-items: center;
.avatar { .avatar {
margin-right: 0; margin-right: 0;
} }
@ -430,19 +558,24 @@ html body #main-outlet {
.main-link { .main-link {
min-height: 100%; min-height: 100%;
min-height: 100%; min-height: 100%;
.link-top-line { .link-top-line {
display: block; display: block;
margin-bottom: 0.25em; margin-bottom: 0.25em;
} }
.title { .title {
font-weight: bold; font-weight: bold;
} }
.link-area { .link-area {
display: flex; display: flex;
.link-title-area { .link-title-area {
margin-right: 1em; margin-right: 1em;
font-size: $font-up-1; font-size: $font-up-1;
} }
.link-meta-area { .link-meta-area {
font-size: $font-down-3; font-size: $font-down-3;
display: flex; display: flex;
@ -450,41 +583,50 @@ html body #main-outlet {
} }
} }
} }
.posters { .posters {
.avatar { .avatar {
width: 40px; width: 40px;
height: 40px; height: 40px;
border-radius: 8px; border-radius: .375rem;
} }
a.latest { a.latest {
.avatar { .avatar {
margin-right: 0; margin-right: 0;
} }
} }
a:not(.latest) { a:not(.latest) {
margin-left: -22px; margin-left: -22px;
.avatar { .avatar {
border: 3px solid var(--secondary); border: 3px solid var(--secondary);
} }
} }
} }
.posts-map, .posts-map,
.num.age.activity { .num.age.activity {
a { a {
padding: 0; padding: 0;
} }
} }
.posts-map { .posts-map {
position: relative; position: relative;
.number { .number {
margin-right: 0.25em; margin-right: 0.25em;
} }
} }
.post-activity { .post-activity {
.d-icon-reply { .d-icon-reply {
color: var(--primary-medium); color: var(--primary-medium);
margin-right: 0.25em; margin-right: 0.25em;
} }
.relative-date { .relative-date {
color: var(--primary-medium); color: var(--primary-medium);
} }
@ -496,41 +638,114 @@ html body #main-outlet {
margin-top: 2em; margin-top: 2em;
} }
// published page additions .d-icon-lock {
.published-page-content-wrapper { display: none;
}
// Community Resources Category
.category-resources {
// Topic List
.topic-list-header {
display: none !important;
}
.topic-list-body {
.topic-list-data {
// Center content in the topic list
display: flex;
align-items: center;
}
.num.views,
.num.posts,
.num.activity,
.posters,
.topic-statuses {
display: none !important;
}
}
// Topic Posts
.topic-map,
.topic-avatar,
.more-topics__container,
.names.trigger-user-card {
// Hide the lock icon in the topic header of the post
display: none !important;
}
.topic-meta-data {
display: flex;
justify-content: right;
}
}
.become-editor-link {
display: none;
margin: -40px auto 30px auto;
padding-left: 3em;
max-width: 1000px; max-width: 1000px;
margin-top: 30px;
margin-bottom: 50px; a {
background: var(--secondary); color: var(--primary-high);
border-radius: 1em; text-decoration: underline;
padding: 3em 3em 5%; }
box-shadow: 0 24px 40px rgba(0, 0, 0, 0.07),
0 10.8529px 24.1177px rgba(0, 0, 0, 0.0456112), a:visited {
0 4.50776px 10.0172px rgba(0, 0, 0, 0.035), color: var(--primary-high);
0 1.63037px 3.62304px rgba(0, 0, 0, 0.0243888); }
z-index: 1;
position: relative;
} }
.published-page { .published-page {
.background-container { .become-editor-link {
display: block;
}
}
// published page additions
.published-page-header {
background-color: unset;
box-shadow: unset;
top: unset;
position: unset;
margin-top: 30px;
.published-page-header-wrapper {
justify-content: center;
background: var(--secondary);
max-width: 1000px;
border-radius: 1em 1em 0 0;
padding-top: 3em;
a {
display: none; display: none;
} }
&::before {
background: linear-gradient( .published-page-title {
90deg, color: var(--primary);
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;
} }
} }
}
.published-page-content-wrapper {
max-width: 1000px;
margin-top: 0;
margin-bottom: 50px;
background: var(--secondary);
border-radius: 0 0 1em 1em;
padding: 3em 3em 5%;
ul,
ol {
margin-left: 1.25em;
}
}
.published-page-author {
display: none !important;
}
.quote-button { .quote-button {
background-color: var(--primary-low-mid); background-color: var(--primary-low-mid);
@ -558,3 +773,80 @@ html body #main-outlet {
.topic-list .main-link.focused { .topic-list .main-link.focused {
box-shadow: none; box-shadow: none;
} }
// Footer
.orcashub-footer {
background-color: rgb(31 41 55);
.outer-container {
max-width: 80rem;
margin-left: auto;
margin-right: auto;
padding: 3rem 1.5rem;
}
.inner-container {
padding-bottom: 2rem;
@media (min-width: 1280) {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 2rem;
}
}
.grid {
display: grid;
gap: 2rem;
grid-template-columns: repeat(2, minmax(0, 1fr));
@media (min-width: 1280) {
grid-column: span 4/span 4;
}
}
.grid-row {
@media (min-width: 768px) {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 2rem;
}
}
.second-group {
margin-top: 3rem;
@media (min-width: 768px) {
margin-top: 0;
}
}
h3 {
color: white;
font-size: 16px;
font-weight: 500;
line-height: 1.5rem;
}
ul {
margin: 0;
list-style: none;
}
li {
a {
color: rgb(209 213 219);
font-size: 16px;
line-height: 1.5rem;
}
a:hover {
color: white;
}
a:visited {
color: rgb(209 213 219) !important;
}
}
}

52
common/footer.html Normal file
View File

@ -0,0 +1,52 @@
<div class="become-editor-link">
<a href="https://orcas.community/editor">
Become an editor
</a>
</div>
<footer class="orcashub-footer">
<div class="outer-container">
<div class="inner-container">
<div class="grid">
<div class="grid-row">
<div>
<h3>Classifieds</h3>
<ul>
<li><a href="https://orcas.community/classified/for-sale">For Sale</a></li>
<li><a href="https://orcas.community/classified/for-free">For Free</a></li>
<li><a href="https://orcas.community/classified/want-to-buy">Looking For</a></li>
<li><a href="https://orcas.community/classified/want-to-borrow">Want to Borrow</a></li>
<li><a href="https://orcas.community/classified/new">New Post</a> </li>
</ul>
</div>
<div class="second-group">
<h3>Housing</h3>
<ul>
<li><a href="https://orcas.community/housing?filters=basic_for-rent">For Rent</a></li>
<li><a href="https://orcas.community/housing?filters=basic_request">Requests</a> </li>
<li><a href="https://orcas.community/housing/new">New Post</a> </li>
</ul>
</div>
</div>
<div class="grid-row">
<div>
<h3>Other Services</h3>
<ul>
<li><a href="/" target="_blank">Groups</a> </li>
<li><a href="https://orcas.community/events">Events</a> </li>
<li><a href="https://sanjuans.online/" target="_blank">San Juans Online</a></li>
</ul>
</div>
<div class="second-group">
<h3>About</h3>
<ul>
<li><a href="https://orcas.community/terms-of-service">Terms of Service</a></li>
<li><a href="https://orcas.community/privacy-policy">Privacy Policy</a></li>
<li><a href="https://opencollective.com/orcas-community" target="_blank">Donate</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</footer>

View File

@ -1 +1,5 @@
<div class="background-container"></div> <div class="outer">
<a href="https://orcas.community/">
<div class="top-header-image"></div>
</a>
</div>

View File

@ -1,3 +1,47 @@
@import "showcased-categories"; @import "showcased-categories";
@import "chat-desktop"; @import "chat-desktop";
@import "sidebar-desktop"; @import "sidebar-desktop";
.top-header-image {
height: 128px;
width: 246px;
}
// Header links
.custom-header-links {
.headerLink a {
padding: .5rem .75rem;
margin: 0 .1rem;
color: var(--header_primary);
font-weight: 500;
font-size: .9rem;
line-height: 1.25rem;
&:hover {
color: white;
}
}
li:nth-last-child(2) {
a {
color: white;
background-color: #111827;
border-radius: .375rem;
}
}
}
// Sidebar
.sidebar-section[data-section-name="orcashub"] {
// Hide OrcasHub section in the sidebar on desktop since it's show in the header.
display: none !important;
}
// Footer
.custom-footer {
.list {
margin: 2rem 5em 4rem;
}
}

View File

@ -7,7 +7,7 @@ export default {
initialize() { initialize() {
withPluginApi("0.8.14", (api) => { withPluginApi("0.8.14", (api) => {
api.modifyClass("component:edit-category-general", { api.modifyClass("component:edit-category-general", {
pluginId: "discourse-air", pluginId: "orcashub-discourse-theme",
didInsertElement() { didInsertElement() {
this._super(...arguments); this._super(...arguments);

View File

@ -2,7 +2,7 @@ import { apiInitializer } from "discourse/lib/api";
export default apiInitializer("0.8", (api) => { export default apiInitializer("0.8", (api) => {
api.modifyClass("component:topic-list-item", { api.modifyClass("component:topic-list-item", {
pluginId: "discourse-air", pluginId: "orcashub-discourse-theme",
expandPinned: true, expandPinned: true,
}); });
}); });

View File

@ -1,5 +1,11 @@
@import "chat-mobile"; @import "chat-mobile";
.top-header-image {
height: 80px;
width: 154px;
background-size: 154px 80px;
}
.custom-search-banner-wrap { .custom-search-banner-wrap {
h1 { h1 {
font-size: 2.5em !important; font-size: 2.5em !important;
@ -200,3 +206,32 @@ ol.category-breadcrumb {
padding-right: 0.25em; padding-right: 0.25em;
} }
} }
// Footer
.custom-footer {
.list {
margin: 2rem 0;
}
}
// Community Resources Category
.category-resources {
// Topic List
.topic-list-data {
.right {
margin-left: 0 !important;
display: flex;
align-items: center;
}
}
// Topic Post
.topic-avatar,
.topic-meta-data {
display: none !important;
}
}

View File

@ -1,7 +1,7 @@
{ {
"name": "discourse-air", "name": "orcashub-discourse-theme",
"version": "1.0.0", "version": "1.0.0",
"repository": "https://github.com/discourse/discourse-air", "repository": "https://git.grosinger.net/tgrosinger/orcashub-discourse-theme",
"author": "Jordan Vidrine", "author": "Jordan Vidrine",
"license": "GPL-2.0-or-later", "license": "GPL-2.0-or-later",
"devDependencies": { "devDependencies": {

View File

@ -1,17 +1,17 @@
// sidebar // sidebar
@mixin box-shadow($value: 0px) { @mixin box-shadow($value: 0px) {
box-shadow: 0 24px 40px rgba(0, 0, 0, 0.07), box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px,
0 10.8529px 24.1177px rgba(0, 0, 0, 0.0456112), rgba(0, 0, 0, 0) 0px 0px 0px 0px,
0 4.50776px 10.0172px rgba(0, 0, 0, 0.035), rgba(0, 0, 0, 0.1) 0px 1px 3px 0px,
0 1.63037px 3.62304px rgba(0, 0, 0, 0.0243888); rgba(0, 0, 0, 0.1) 0px 1px 2px -1px;
} }
#main-outlet-wrapper { #main-outlet-wrapper {
.sidebar-wrapper { .sidebar-wrapper {
margin: 30px 0 50px; margin: 30px 0 50px;
background-color: var(--secondary); background-color: var(--secondary);
border-radius: 1em; border-radius: .5rem;
top: calc(var(--header-offset) + 30px); top: calc(var(--header-offset) + 30px);
height: calc(100vh - (var(--header-offset) + 80px)); height: calc(100vh - (var(--header-offset) + 80px));
@include box-shadow; @include box-shadow;