Commit 2f4ab1fd authored by Pryetranka's avatar Pryetranka

Initial commit

parents
Pipeline #111 failed with stages
.directory
workfiles/
{
"name": "Purple World",
"component": false,
"license_url": null,
"about_url": "http://bartosjiri.com",
"authors": "Pryetranka",
"theme_version": "1.0.0",
"minimum_discourse_version": "2.3.0.beta8",
"maximum_discourse_version": null,
"assets": {
"body-background": "assets/body-background.jpg",
"header-background": "assets/header-background.jpg",
"welcome-header-background": "assets/welcome-header-background.jpg",
"welcome-header-logo": "assets/welcome-header-logo.png"
},
"color_schemes": {
"Purple World": {
"primary": "222222",
"secondary": "ffffff",
"tertiary": "6812e6",
"quaternary": "27135c",
"header_background": "ffffff",
"header_primary": "333333",
"highlight": "ffff4d",
"danger": "e45735",
"success": "1ca551",
"love": "fa6c8d"
}
}
}
\ No newline at end of file
/*--------------------------------------------------------------------------
PURPLE WORLD
----------------------------------------------------------------------------
Desc: A custom Discourse theme for Purple World community
Website: http://purpleworld.net
Author: Jiri Bartos (http://bartosjiri.com)
--------------------------------------------------------------------------*/
// To change the base color, edit the following file:
@import "common/pw_variables";
// -------------------------------------------------------------------------
@import "common/pw_about";
@import "common/pw_admin";
@import "common/pw_alert";
@import "common/pw_background";
@import "common/pw_badges";
@import "common/pw_base";
@import "common/pw_buttons";
@import "common/pw_composer";
@import "common/pw_groups";
@import "common/pw_header";
@import "common/pw_home";
@import "common/pw_modal";
@import "common/pw_plugins";
@import "common/pw_post-components";
@import "common/pw_profile";
@import "common/pw_review";
@import "common/pw_search";
@import "common/pw_select-kit";
@import "common/pw_share-link";
@import "common/pw_staff";
@import "common/pw_tags";
@import "common/pw_topic-admin-menu";
@import "common/pw_topic-list";
@import "common/pw_topic-post";
@import "common/pw_topic-timeline";
@import "common/pw_topic";
@import "common/pw_users";
@import "common/pw_welcome-header";
// -------------------------------------------------------------------------
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700" rel="stylesheet">
<meta name="theme-color" content="#29135c">
<script type='text/x-handlebars' data-template-name='/connectors/below-site-header/pw-welcome-header'>
<div class="pw-welcome-header">
<div class="pw-welcome-header-wrapper">
<img src="https://i.imgur.com/vtw4DxV.png">
<div class="pw-welcome-header-content">
<span>Welcome to</span>
<h2>Purple World Forums</h2>
</div>
</div>
</div>
</script>
\ No newline at end of file
/*--------------------------------------------------------------------------
PURPLE WORLD
----------------------------------------------------------------------------
Desc: A custom Discourse theme for Purple World community
Website: http://purpleworld.net
Author: Jiri Bartos (http://bartosjiri.com)
--------------------------------------------------------------------------*/
@import "common/pw_variables";
// -------------------------------------------------------------------------
@import "desktop/pw_alert";
@import "desktop/pw_background";
@import "desktop/pw_groups";
@import "desktop/pw_home";
@import "desktop/pw_plugins";
@import "desktop/pw_post-components";
@import "desktop/pw_profile";
@import "desktop/pw_review";
@import "desktop/pw_search";
@import "desktop/pw_tags";
@import "desktop/pw_topic-list";
@import "desktop/pw_topic-post";
@import "desktop/pw_topic";
@import "desktop/pw_users";
@import "desktop/pw_welcome-header";
// -------------------------------------------------------------------------
\ No newline at end of file
/*--------------------------------------------------------------------------
PURPLE WORLD
----------------------------------------------------------------------------
Desc: A custom Discourse theme for Purple World community
Website: http://purpleworld.net
Author: Jiri Bartos (http://bartosjiri.com)
--------------------------------------------------------------------------*/
@import "common/pw_variables";
// -------------------------------------------------------------------------
@import "mobile/pw_groups";
@import "mobile/pw_home";
@import "mobile/pw_post-components";
@import "mobile/pw_profile";
@import "mobile/pw_search";
@import "mobile/pw_topic-admin-menu";
@import "mobile/pw_topic-list";
@import "mobile/pw_topic-post";
@import "mobile/pw_topic";
@import "mobile/pw_users";
@import "desktop/pw_welcome-header";
// -------------------------------------------------------------------------
\ No newline at end of file
body {
&:not(.admin-interface) {
.body-page {
.nav-pills {
.nav-item-about,
.nav-item-faq,
.nav-item-tos,
.nav-item-privacy {
a {
background: transparent;
border: none;
color: $light-a050;
transition: all 0.15s ease;
svg {
fill: $light-a050;
transition: fill 0.15s ease;
}
span {
color: $light-a050;
transition: color 0.15s ease;
}
&:hover {
color: $light-a100;
background: $light-a025;
svg {
fill: $light-a100;
}
span {
color: $light-a100;
}
}
&.active {
color: $light-a100;
svg {
fill: $light-a100;
}
span {
color: $light-a100;
}
}
}
}
}
.about {
.user-detail {
.name-line {
.username {
a {
color: $light-a075;
transition: color 0.15s ease;
&:hover {
color: $light-a100;
}
}
}
.name {
color: $light-a075;
}
}
.title {
// @to-be-done
}
}
table {
tr {
th {
color: $light-a050;
}
}
}
p {
a {
color: $light-a100;
border-bottom: 1Px solid $light-a025;
transition: all 0.15s ease;
&:hover {
border-bottom: 1Px solid $light-a100;
}
}
}
}
div {
h2,
h3 {
a {
color: $light-a100;
}
}
p {
a {
color: $light-a100;
border-bottom: 1Px solid $light-a025;
transition: all 0.15s ease;
&:hover {
border-bottom: 1Px solid $light-a100;
}
}
}
}
}
}
}
\ No newline at end of file
.admin-interface {
background: $light-a100;
#main {
background: $light-a100;
.d-header {
background-color: $light-a100;
}
.admin-main-nav {
background: $light-a100;
}
.admin-content {
color: $dark-a100;
}
}
.modal {
color: $dark-a100;
}
#d-popover {
color: $dark-a100;
}
}
body {
&:not(.admin-interface) {
.alert {
background-color: $light-a025;
color: $light-a085;
// font-size: $font-up-1;
.close {
// font-size: $font-up-3;
color: $primary-low-mid;
svg {
fill: $light-a050;
transition: fill 0.15s ease;
&:hover {
fill: $light-a100;
}
}
}
button.close {
background: transparent;
}
&.alert-success {
background-color: $success-low;
color: $light-a085;
}
&.alert-error {
background-color: $danger-low;
color: $light-a085;
}
&.alert-info {
background-color: $light-a025;
color: $light-a085;
&.clickable {
color: $light-a085;
}
}
a {
color: $light-a100;
border-bottom: 1px solid $light-a025;
transition: all 0.15s ease;
&:hover {
border-bottom: 1px solid $light-a100;
}
}
}
.modal-inner-container {
.alert-alert-error {
background-color: $danger;
color: $light-a100;
}
}
}
}
body {
&:not(.admin-interface) {
background-color: $purple-primary;
}
}
\ No newline at end of file
body {
&:not(.admin-interface) {
.cooked {
.badge-notification {
&.clicks {
background: $light-a025;
color: $light-a100;
}
}
}
.badges {
.badge-groups {
.badge-grouping {
.title {
h3 {
color: $light-a085;
}
}
.badge-group-list {
.badge-card {
background-color: $light-a005;
border: none;
.badge-contents {
.badge-info {
.badge-info-item {
h3 {
a {
color: $light-a085;
transition: color 0.15s ease;
&:hover {
color: $light-a100;
}
}
}
.badge-summary {
color: $light-a085;
a {
color: $light-a100;
border-bottom: 1px solid $light-a025;
transition: all 0.15s ease;
&:hover {
border-bottom: 1px solid $light-a100;
}
}
}
}
}
}
.grant-count {
color: $light-a050;
font-weight: normal;
}
.check-display {
background-color: $light-a015;
}
}
}
}
}
}
.show-badge {
h1 {
color: $light-a085;
a {
color: $light-a085;
transition: color 0.15s ease;
&:hover {
color: $light-a100;
}
}
}
.show-badge-details {
.badge-card {
background-color: $light-a005;
border: none;
.badge-contents {
.badge-info {
.badge-info-item {
h3 {
a {
color: $light-a085;
}
}
.badge-summary {
color: $light-a085;
a {
color: $light-a100;
border-bottom: 1px solid $light-a025;
transition: all 0.15s ease;
&:hover {
border-bottom: 1px solid $light-a100;
}
}
}
}
}
}
.grant-count {
color: $light-a050;
font-weight: normal;
}
.check-display {
background-color: $light-a015;
}
}
.badge-grant-info {
.grant-info-item {
color: $light-a085;
}
}
}
.user-badges {
.badges-granted {
.user-info {
.user-detail {
.name-line {
.username {
a {
color: $light-a075;
transition: color 0.15s ease;
&:hover {
color: $light-a100;
}
}
}
.name {
color: $light-a075;
}
}
.title {
// @to-be-done
}
.details {
.granted-on {
color: $light-a050;
}
.post-link {
color: $light-a050;
transition: color 0.15s ease;
&:hover {
color: $light-a075;
}
}
}
}
}
}
.btn {
a {
background: $light-a015;
color: $light-a075;
transition: all 0.15s ease;
&:hover {
background: $light-a025;
color: $light-a100;
}
}
}
}
}
}
}
\ No newline at end of file
html {
color: $light-a085;
font-family: "Open Sans", Helvetica, Arial, sans-serif;
font-weight: 400;
line-height: 1.7;
background-color: $purple-primary;
}
hr {
border-top: 1px solid $light-a015;
}
tbody {
border-top: 3px solid $light-a015;
}
tr {
border-bottom: 1px solid $light-a015
}
\ No newline at end of file
.btn-primary {
@include rgba-background($purple-cta, 0.85);
transition: all 0.15s ease;
svg {
fill: $light-a085;
transition: fill 0.15s ease;
}
span {
color: $light-a085;
transition: color 0.15s ease;
}
&:hover {
background: $purple-cta !important;
svg {
fill: $light-a100;
}
span {
color: $light-a100;
}
}
}
\ No newline at end of file
.composer-fields {
.reply-to {
.reply-details {
.composer-action-title {
.select-kit {
.select-kit-header {
color: $dark-a075;
background: transparent;
transition: background 0.15s ease;
svg {
fill: $dark-a075;
}
&:hover {
@include rgba-background($purple-primary, 0.15);
}
}
}
}
}
.composer-controls {
button {
svg {
fill: $dark-a075;
transition: fill 0.15s ease;
}
&:hover {
svg {
fill: $dark-a100;
}
}
}
}
}
.category-input {
color: $dark-a050;
}
.mini-tag-chooser {
color: $dark-a050;
}
}
.d-editor {
.d-editor-modals {
color: $dark-a100;
}
.d-editor-container {
.d-editor-textarea-wrapper {
.d-editor-button-bar {
button {
background: transparent;
transition: background 0.15s ease;
svg {
fill: $dark-a075;
}
&:hover {
@include rgba-background($purple-primary, 0.15);
svg {
fill: $dark-a075;
}
}
}
.d-editor-spacer {
border-left: 1px solid $dark-a075;
}
.select-kit {
color: $dark-a100;
}
}
}
.d-editor-preview-wrapper {
.d-editor-preview {
color: $dark-a100;
.discourse-local-date {
color: $dark-a100;
svg {
fill: $dark-a100;
}
span {
color: $dark-a100;
}
}
aside {
.title {
border-left: 5px solid $dark-a015;
}
blockquote {
background: transparent;
border-left: 5px solid $dark-a015;
}
}
}
}
}
}
.submit-panel {
.save-or-cancel {
.btn-primary {
svg {
transition: fill 0.15s ease;
}
}
.cancel {
color: $dark-a075;
transition: color 0.15s ease;
&:hover {
color: $dark-a100;
}
}
}
.toggle-preview {
color: $dark-a075;
transition: color 0.15s ease;
}
}
\ No newline at end of file
This diff is collapsed.
body {
&:not(.admin-interface) {
.d-header {
background: url($header-background);
background-position: center;
.title {
a {
color: $light-a100;
}
}
.extra-info-wrapper {
.title-wrapper {
h1 {
.topic-statuses {
a {
svg {
fill: $light-a100;
}
}
}
.topic-link {
color: $light-a100;
}
}
.categories-wrapper {
.badge-wrapper {
.badge-category {
color: $light-a075;
svg {
fill: $light-a075;
}
span {
color: $light-a075;
}
}
}
}
.discourse-tags {
a {
color: $light-a050 !important;
}
}
}
}
.panel {
.d-header-icons {
li {
a {
svg {
fill: $light-a075;
transition: fill 0.15s ease;
}
.badge-notification,
.unread-notifications {
background-color: $light-a085;
color: $dark-a100;
}
&:hover {
background: $light-a025;
svg {
fill: $light-a100;