Compare commits

...
This repository has been archived on 2021-07-28. You can view files and clone it, but cannot push or open issues or pull requests.

7 Commits

7 changed files with 115 additions and 27 deletions

View File

@ -3,9 +3,20 @@
* By Disroot.org
* Based on Redbasic
*/
/* colors */
:root{
--maindark: #50162d;
--mainbright: #ccbdc3;
--secondarydark: #8eb726;
--secondarybright: #6c9504;
--postbackground: #eeeeee;
--inactivegrey: #b5b5b5;
/* --backgrounddark:
--backgroundbright:
*/
}
/* generals */
html {
font-size: $font_size;
}
@ -24,6 +35,9 @@ body {
color: #fff;
background-color: $link_bgcolour;
}
.small, small {
font-size: 100%;
}
/* navbar */
@ -56,8 +70,8 @@ body {
.section-content-info-wrapper {
padding: 21px 10px;
color: #50162d;
background-color: #ccbdc3;
color: var(--maindark);
background-color: var(--mainbright);
border-bottom: 3px solid rgb(255,255,255);
text-align: center;
border-radius: $radius;
@ -92,6 +106,10 @@ body {
color: $link_colour;
}
.form-group.checkbox > div > input:checked + label .onoffswitch-switch {
background-color: var(--beetbright);
}
/* content and posts */
.wall-item-photo {
width: 3.7rem;
@ -107,21 +125,31 @@ body {
border-bottom-left-radius: 0.5rem;
border-top: 0px;
}
.wall-item-content {
margin: 1.5rem;
}
.comment-edit-text {
border-radius: 0.5rem;
margin-bottom: 0.5rem;
height: 4rem;
border: 0px;
}
#avatar {
border-radius: 50%;
box-shadow: none;
}
.menu-img-3 {
border-radius: 50%
}
.photo, .contact-block-img {
border-radius: 50%;
box-shadow: none;
}
.channel-photo-wrapper img {
border-radius: 50%;
}
.vcard {
margin-bottom: 10px;
@ -134,7 +162,7 @@ body {
}
.wall-item-head-new {
border-top: 0.2rem solid $link_bgcolour;
border-top: 0px;
}
.wall-item-title {
@ -142,12 +170,12 @@ body {
}
.ivoted {
color: #8EB726;
color: var(--secondarydark);
/* color: $future_variable_2;*/
}
.item-highlight {
border-left: 0.2rem solid #8EB726;
border-left: 0.2rem solid var(--secondarydark);
}
#jot-title,
@ -176,6 +204,7 @@ body {
}
.panel .section-subtitle-wrapper {
border-radius: $radius $radius 0 0;
#color: #ffffff;
}
.generic-content-wrapper {
@ -197,7 +226,19 @@ body {
-webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
}
.badge {
font-size: 100%;
padding: .6em;
margin-top: .5em;
color: #ffffff;
}
.badge-warning {
background-color: var(--secondarydark);
}
.list-group-item {
padding:.75rem 1.25rem 1.25rem;
}
/* bootstrap overrides */
@ -216,8 +257,8 @@ line-height: 1.5;
.btn-primary, .btn-success {
color: #fff;
background-color: #8eb726;
border-color: #8eb726;
background-color: var(--secondarydark);
border-color: var(--secondarydark);
}
.btn-primary:hover, .btn-success:hover {
@ -228,16 +269,16 @@ line-height: 1.5;
.btn-primary.disabled, .btn-primary:disabled {
color: #fff;
background-color: #8eb726;
border-color: #8eb726;
background-color: var(--secondarydark);
border-color: var(--secondarydark);
}
.btn-outline-primary {
color: #8eb726;
border-color: #8eb726;
color: var(--secondarydark);
border-color: var(--secondarydark);
}
.btn-outline-secondary {
color: #b5b5b5;
color: var(--inactivegrey);
border-color: unset;
border: 0px;
}
@ -249,17 +290,17 @@ line-height: 1.5;
}
.btn-outline-primary.disabled, .btn-outline-primary:disabled {
color: #8eb726;
color: var(--secondarydark);
}
.btn-outline-secondary:hover {
color: #50162d;
color: var(--maindark);
border-color: unset;
background-color: unset;
}
.show>.btn-outline-secondary.dropdown-toggle {
color: #50162d;
color: var(--maindark);
background-color: unset;
border: 0px;
}
@ -276,7 +317,7 @@ line-height: 1.5;
.dropdown-item.active {
color: #fff;
background-color: #8eb726;
background-color: var(--maindark);
}
.dropdown-item:active,
@ -286,7 +327,7 @@ line-height: 1.5;
.textcomplete-item:hover .dropdown-item,
.textcomplete-item.active .dropdown-item,
.textcomplete-item:active .dropdown-item {
color: #50162d;
color: var(--maindark);
background-color: unset;
font-weight: bold;
}
@ -417,3 +458,33 @@ img.smiley {
border-radius: $radius;
padding: 2% 0;
}
/* HQ */
#left_aside_wrapper .nav-link.active {
font-size: large;
color: var(--maindark);
background-color: unset;
border: unset;
}
#left_aside_wrapper .nav-link {
color: var(--inactivegrey);
}
#left_aside_wrapper .nav-link:hover {
/*background-color: var(--maindark);*/
color: var(--maindark);
/*border-color: var(--maindark);*/
border-radius: unset;
border: unset;
}
.list-group-item.active {
background-color: var(--secondarydark);
border-color: var(--secondarydark);
}
.border {
border: unset;
}
.list-group {
-moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
-webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
}

View File

@ -7,6 +7,7 @@
[/region]
[region=content]
[widget=affinity][/widget]
$content
[/region]

View File

@ -3,10 +3,10 @@
/**
* * Name: Beetroot
* * Description: Redbasic Derived theme
* * Version: 2.1
* * Version: 3.0
* * MinVersion: 2.3.1
* * MaxVersion: 6.0
* * Author: Antilopa
* * MaxVersion: 6.10
* * Author: Antilopa&Muppeth
* * Compat: Red [*]
*
*/

View File

@ -0,0 +1,4 @@
root {
--beetroot: #ccbdc3:
$bgcolour: #000000;
}

View File

@ -0,0 +1,18 @@
<?php
if (! $radius)
$radius = '0.1rem';
if (! $shadow)
$shadow = '0.2rem';
if (! $bgcolour)
$bgcolour = '#ffffff';
if (! $font_colour)
$font_colour = '#a9a9a9';
if (! $nav_bg)
$nav_bg = '#ffffff';
if (! $item_colour)
$item_colour = 'var(--beetroot)';
if (! $comment_item_colour)
$comment_item_colour = '#ffffff';
if (! $link_bgcolour)
$link_bgcolour = 'rgb(30,30,30)';

View File

@ -1,6 +0,0 @@
<?php
if (! $radius)
$radius = '0.1rem';
if (! $shadow)
$shadow = '0.2rem';