aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic
diff options
context:
space:
mode:
Diffstat (limited to 'view/theme/redbasic')
-rw-r--r--view/theme/redbasic/css/converse_center.css6
-rw-r--r--view/theme/redbasic/css/style.css223
-rw-r--r--view/theme/redbasic/php/style.php458
-rw-r--r--view/theme/redbasic/schema/dark.css123
-rw-r--r--view/theme/redbasic/schema/dark.php80
-rw-r--r--view/theme/redbasic/schema/simple_black_on_white.css126
-rw-r--r--view/theme/redbasic/schema/simple_black_on_white.php92
-rw-r--r--view/theme/redbasic/schema/simple_green_on_black.css143
-rw-r--r--view/theme/redbasic/schema/simple_green_on_black.php101
-rw-r--r--view/theme/redbasic/schema/simple_white_on_black.css128
-rw-r--r--view/theme/redbasic/schema/simple_white_on_black.php88
11 files changed, 772 insertions, 796 deletions
diff --git a/view/theme/redbasic/css/converse_center.css b/view/theme/redbasic/css/converse_center.css
index 8e595e7ff..9b4246a5b 100644
--- a/view/theme/redbasic/css/converse_center.css
+++ b/view/theme/redbasic/css/converse_center.css
@@ -2,3 +2,9 @@ main {
margin-left: auto;
margin-right: auto;
}
+
+aside#region_3 {
+ width: $aside_widthpx;
+ min-width: $aside_widthpx;
+ max-width: $aside_widthpx;
+}
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index 15bf85e4a..946e2d7d7 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -24,8 +24,14 @@ body {
height: 100%;
}
+aside#region_1 {
+ width: $aside_widthpx;
+ min-width: $aside_widthpx;
+ max-width: $aside_widthpx;
+}
+
main {
- max-width: $main_width;
+ max-width: $main_widthpx;
}
h1, .h1, h2, .h2 {
@@ -69,28 +75,20 @@ abbr {
margin-right: 5px;
}
-a, a:visited, a:link, .fakelink, .fakelink:visited, .fakelink:link {
- font-weight: $link_font_weight;
- color: $link_colour;
- text-decoration: none;
-}
-
-a:hover, .fakelink:hover { color: $link_colour; text-decoration: underline; }
-
+a,
.fakelink {
- cursor: pointer;
+ color: $link_colour;
}
-a.btn-default {
- color: #333;
+a:hover,
+a:focus,
+.fakelink:hover,
+.fakelink:focus {
+ color: $link_colour;
}
-a.btn-success,
-a.btn-danger,
-a.btn-info,
-a.btn-warning,
-a.btn-primary {
- color: #fff;
+.fakelink {
+ cursor: pointer;
}
input[type="text"],
@@ -130,19 +128,17 @@ pre code {
code {
font-size: 1em;
padding: 5px;
- border: 1px solid $code_borderc;
- background: $code_bgcolour;
- color: $code_txtcolour;
+ border: 1px solid #ccc;
+ background: #ccc;
+ color: #000;
}
pre {
- background: $pre_bgcolour;
- color: $pre_txtcolour;
- border:1px solid $pre_borderc;
+ background: #F5F5F5;
+ color: #333;
+ border:1px solid #ccc;
}
-
-
.ccollapse-wrapper {
border: 1px solid #CCC;
padding: 5px;
@@ -255,7 +251,7 @@ footer {
}
.preview {
- background: url('../img/$preview_backgroundimg');
+ background: url('../img/gray_and_white_diagonal_stripes_background_seamless.gif');
}
#theme-preview {
@@ -268,10 +264,12 @@ footer {
}
/*TODO: we should use one class for all this. */
+/*
.group-selected, .fileas-selected, .categories-selected, .search-selected, .active {
- color: $selected_active_colour !important;
- text-decoration: $selected_active_deco !important;
+ color: #444 !important;
+ text-decoration: none !important;
}
+*/
.fileas-all {
text-decoration: none !important;
@@ -623,16 +621,6 @@ footer {
}
-.pmenu {
- border-bottom: 1px solid #eec;
- padding: 8px;
- margin-top: 5px;
- -moz-border-radius: $radiuspx;
- -webkit-border-radius: $radiuspx;
- border-radius: $radiuspx;
-
-}
-
.pmenu.horizontal {
padding: 0 0 0 0;
border-bottom: none;
@@ -787,7 +775,7 @@ a.rateme, div.rateme {
padding: 0px 5px 0px 5px;
border-radius: $radiuspx;
border-color: $nav_bd;
- background-color: $search_background;
+ background-color: #eee;
transition: background-color 300ms ease 0s;
}
@@ -800,7 +788,7 @@ a.rateme, div.rateme {
}
nav .acpopup {
- top: 49px !important;
+ top: 50px !important;
margin-left: -35px;
width: 290px;
}
@@ -1112,8 +1100,6 @@ nav .acpopup {
.required {
color: #ff0000;
- font-size: 1.8rem;
- margin-left: 5px;
}
@@ -1243,7 +1229,7 @@ div.jGrowl div.jGrowl-notification {
#nav-search-text-ac .autocomplete {
position: fixed;
- top: 50px;
+ top: 51px;
border: 1px solid $nav_bd;
border-top: none;
}
@@ -1262,7 +1248,6 @@ div.jGrowl div.jGrowl-notification {
.autocomplete {
color: $font_colour;
- background: $dropdown_bgcolour;
cursor: pointer;
text-align: left;
max-height: 350px;
@@ -1272,7 +1257,7 @@ div.jGrowl div.jGrowl-notification {
}
.autocomplete .selected {
- background: $search_background;
+ background: #eee;
}
.autocomplete div {
@@ -1324,12 +1309,12 @@ header {
}
.notif-item a {
- color: $notif_itemcolour;
+ color: #000;
}
.notif-item a:hover {
text-decoration: underline;
- color: $notif_itemhovercolour;
+ color: #000;
}
.notif-image {
@@ -1518,10 +1503,11 @@ margin-right: 50px;
.admin-icons {
font-size: 1.2em;
color: $toolicon_colour;
+ margin-right: 10px;
}
a .drop-icons {
- color: $toolicon_colour;;
+ color: $toolicon_colour;
font-size: 1.2em;
text-decoration: none;
}
@@ -1530,6 +1516,10 @@ a .drop-icons:hover {
color: #FF0000;
}
+.lockview {
+ cursor: pointer;
+}
+
.permission-inherited {
float: left;
margin-right: 10px;
@@ -1552,27 +1542,10 @@ a .drop-icons:hover {
font-size: 1.8em;
}
-.design-tools ul {
- list-style-type: none;
-}
-
-.design-icons {
- margin-right: 10px;
-}
-
-.design-icons:hover {
-text-decoration: none;
-}
-
#menulist {
list-style-type: none;
}
-.admin-icons {
- color: $toolicon_colour;
- margin-right: 10px;
-}
-
#adminpage table tr:hover {
background-color: #BBC7D7;
}
@@ -1608,11 +1581,14 @@ img.mail-list-sender-photo {
font-weight: bold;
}
-.jothidden >input, .jothidden >input {
- border: 1px solid #fff;
+.jothidden > input {
+ border: 1px solid $bgcolour;
+ background-color: $bgcolour;
}
-.jothidden >input:hover, .jothidden >input:focus {
+.jothidden > input:hover,
+.jothidden > input:focus {
border: 1px solid #cccccc;
+ background-color: #fff;
}
#profile-jot-text {
@@ -1671,7 +1647,7 @@ img.mail-list-sender-photo {
}
.generic-content-wrapper-styled {
- background-color: $genericcontent_bgcolour;
+ background-color: $comment_item_colour;
padding: 10px;
border-radius: $radiuspx;
}
@@ -1745,7 +1721,8 @@ img.mail-list-sender-photo {
font-size: 0.833em;
}
-.wall-item-content {
+.wall-item-content,
+.page-body {
font-size: $font_size;
clear: both;
}
@@ -1877,6 +1854,10 @@ nav .dropdown-menu {
color: $nav_active_icon_colour;
}
+.page-title {
+ margin: 7px 0px;
+}
+
.section-title-wrapper {
padding: 7px 10px;
background-color: $item_colour;
@@ -1948,6 +1929,14 @@ nav .dropdown-menu {
background-color: $item_colour;
}
+[id^="webpage-list-item-"]:hover td,
+[id^="block-list-item-"]:hover td,
+[id^="layout-list-item-"]:hover td,
+[id^="menu-list-item-"]:hover td,
+[id^="mitem-list-item-"]:hover td {
+ background-color: $item_colour;
+}
+
nav ul li .undefined,
nav ul li .notify-seen,
nav ul li .notify-unseen
@@ -1972,10 +1961,9 @@ nav ul li .notify-unseen
blockquote {
font-size: $font_size;
font-style: italic;
- background-color: $blockquote_bgcolour;
- border-left: 3px solid $blockquote_bordercolour;
+ border-left: 3px solid #ccc;
padding: 0.4em;
- color: $blockquote_colour;
+ color: #4d4d4d;
margin: 0px 0px 0px 20px;
}
@@ -2004,35 +1992,12 @@ nav .badge.mail-update:hover {
.dropdown-menu {
font-size: $body_font_size;
border-radius: $radiuspx;
- background-color: $dropdown_bgcolour;
-}
-
-.dropdown-menu >li > a {
- color: $dropdown_textcolour;
-}
-
-
-.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
- color: $dropdown_txtcolhover;
- background-color: $dropdown_bgcolhover;
- $dropdown_bgimghover
-}
-
-aside .nav > li > a:hover, aside .nav > li > a:focus {
- text-decoration: $navtabs_decohover;
- background-color: $navaside_bghover;
}
.dropdown-menu img {
border-radius: $radiuspx;
}
-.open .dropdown-toggle.btn-default {
- color: $dropdown_togglecol;
- background-color: $dropdown_togglebgcol;
- border-color: $dropdown_bordercol;
-}
-
.navbar-inverse {
background-image: -webkit-linear-gradient(top, $nav_gradient_top 0%, $nav_gradient_bottom 100%);
background-image: linear-gradient(to bottom, $nav_gradient_top 0%, $nav_gradient_bottom 100%);
@@ -2094,6 +2059,18 @@ aside .nav > li > a:hover, aside .nav > li > a:focus {
padding: 7px 10px;
}
+.nav-tabs.nav-justified > .active > a,
+.nav-tabs.nav-justified > .active > a:hover,
+.nav-tabs.nav-justified > .active > a:focus {
+ border-bottom-color: transparent;
+}
+
+.nav-tabs > li.active > a,
+.nav-tabs > li.active > a:hover,
+.nav-tabs > li.active > a:focus {
+ background-color: transparent;
+}
+
#tabs-collapse-1 {
padding: 0px;
margin-bottom: 25px;
@@ -2101,41 +2078,6 @@ aside .nav > li > a:hover, aside .nav > li > a:focus {
box-shadow: none;
}
-.nav-tabs{
- border-bottom:1px solid $navtabs_borderc;
-}
-
-.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus{
- color: $navtabs_fontcolour;
- background-color: $navtabs_bgcolour;
-}
-
-.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{
- border:1px solid $navtabs_borderc;
-}
-
-.nav-tabs.nav-justified > li > a {
- $navtabs_linkcolour
-}
-
-.nav-tabs > li > a:hover, .nav-tabs > li > a:focus {
- text-decoration: $navtabs_decohover;
- background-color: $navtabs_bgchover;
- border-color: transparent;
- $navtabs_linkchover
-}
-
-@media (min-width: 768px) {
- .nav-tabs.nav-justified > li > a {
- border-bottom: 1px solid $navtabs_borderc;
- }
- .nav-tabs.nav-justified > .active > a,
- .nav-tabs.nav-justified > .active > a:hover,
- .nav-tabs.nav-justified > .active > a:focus {
- border-bottom-color: transparent;
- }
-}
-
.btn {
font-size: $body_font_size;
}
@@ -2161,8 +2103,8 @@ aside .nav > li > a:hover, aside .nav > li > a:focus {
}
main {
- left: -231px;
- width: calc( 100% + 231px );
+ left: -$aside_widthpx;
+ width: calc( 100% + $aside_widthpx );
}
main.region_1-on {
@@ -2211,6 +2153,12 @@ aside .nav > li > a:hover, aside .nav > li > a:focus {
border: 3px solid red !important;
}
+.bb_rm-logo {
+ height: 1.3em;
+ width: auto;
+ margin-top:-3px;
+}
+
.bootstrap-tagsinput .tag:before {
/* Copied from icon-asterisk, is there a better way to do it? */
font-family: FontAwesome;
@@ -2222,8 +2170,8 @@ aside .nav > li > a:hover, aside .nav > li > a:focus {
/* Modified original CSS to match input in Redbasic */
.jothidden .bootstrap-tagsinput {
- border-color:#fff;
- background-color: #fff;
+ border-color: $bgcolour;
+ background-color: $bgcolour;
box-shadow: none;
display: inline-block;
border-radius: $radiuspx;
@@ -2237,7 +2185,8 @@ aside .nav > li > a:hover, aside .nav > li > a:focus {
}
.jothidden .bootstrap-tagsinput:hover, .jothidden .bootstrap-tagsinput:focus {
- border: 1px solid #cccccc;
+ border: 1px solid #ccc;
+ background-color: #fff;
}
/* Abusing theme-green is less work than makeing a new new one */
diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php
index 2d17e6d08..956c1951c 100644
--- a/view/theme/redbasic/php/style.php
+++ b/view/theme/redbasic/php/style.php
@@ -1,318 +1,216 @@
<?php
if(! $a->install) {
+
// Get the UID of the channel owner
$uid = get_theme_uid();
- if($uid)
- load_pconfig($uid,'redbasic');
+ if($uid) {
+ load_pconfig($uid,'redbasic');
+ }
-// Load the owners pconfig
- $nav_bg = get_pconfig($uid, "redbasic", "nav_bg");
- $nav_gradient_top = get_pconfig($uid, "redbasic", "nav_gradient_top");
- $nav_gradient_bottom = get_pconfig($uid, "redbasic", "nav_gradient_bottom");
- $nav_active_gradient_top = get_pconfig($uid, "redbasic", "nav_active_gradient_top");
- $nav_active_gradient_bottom = get_pconfig($uid, "redbasic", "nav_active_gradient_bottom");
- $nav_bd = get_pconfig($uid, "redbasic", "nav_bd");
- $nav_icon_colour = get_pconfig($uid, "redbasic", "nav_icon_colour");
- $nav_active_icon_colour = get_pconfig($uid, "redbasic", "nav_active_icon_colour");
- $narrow_navbar = get_pconfig($uid,'redbasic','narrow_navbar');
- $banner_colour = get_pconfig($uid,'redbasic','banner_colour');
- $link_colour = get_pconfig($uid, "redbasic", "link_colour");
- $schema = get_pconfig($uid,'redbasic','schema');
- $bgcolour = get_pconfig($uid, "redbasic", "background_colour");
- $background_image = get_pconfig($uid, "redbasic", "background_image");
- $toolicon_colour = get_pconfig($uid,'redbasic','toolicon_colour');
- $toolicon_activecolour = get_pconfig($uid,'redbasic','toolicon_activecolour');
- $item_colour = get_pconfig($uid, "redbasic", "item_colour");
- $comment_item_colour = get_pconfig($uid, "redbasic", "comment_item_colour");
- $comment_border_colour = get_pconfig($uid, "redbasic", "comment_border_colour");
- $comment_indent = get_pconfig($uid, "redbasic", "comment_indent");
- $body_font_size = get_pconfig($uid, "redbasic", "body_font_size");
- $font_size = get_pconfig($uid, "redbasic", "font_size");
- $font_colour = get_pconfig($uid, "redbasic", "font_colour");
- $radius = get_pconfig($uid, "redbasic", "radius");
- $shadow = get_pconfig($uid,"redbasic","photo_shadow");
- $converse_width=get_pconfig($uid,"redbasic","converse_width");
- $converse_center=get_pconfig($uid,"redbasic","converse_center");
- $nav_min_opacity=get_pconfig($uid,'redbasic','nav_min_opacity');
- $top_photo=get_pconfig($uid,'redbasic','top_photo');
- $reply_photo=get_pconfig($uid,'redbasic','reply_photo');
+ // Load the owners pconfig
+ $nav_bg = get_pconfig($uid, "redbasic", "nav_bg");
+ $nav_gradient_top = get_pconfig($uid, "redbasic", "nav_gradient_top");
+ $nav_gradient_bottom = get_pconfig($uid, "redbasic", "nav_gradient_bottom");
+ $nav_active_gradient_top = get_pconfig($uid, "redbasic", "nav_active_gradient_top");
+ $nav_active_gradient_bottom = get_pconfig($uid, "redbasic", "nav_active_gradient_bottom");
+ $nav_bd = get_pconfig($uid, "redbasic", "nav_bd");
+ $nav_icon_colour = get_pconfig($uid, "redbasic", "nav_icon_colour");
+ $nav_active_icon_colour = get_pconfig($uid, "redbasic", "nav_active_icon_colour");
+ $narrow_navbar = get_pconfig($uid,'redbasic','narrow_navbar');
+ $banner_colour = get_pconfig($uid,'redbasic','banner_colour');
+ $link_colour = get_pconfig($uid, "redbasic", "link_colour");
+ $schema = get_pconfig($uid,'redbasic','schema');
+ $bgcolour = get_pconfig($uid, "redbasic", "background_colour");
+ $background_image = get_pconfig($uid, "redbasic", "background_image");
+ $toolicon_colour = get_pconfig($uid,'redbasic','toolicon_colour');
+ $toolicon_activecolour = get_pconfig($uid,'redbasic','toolicon_activecolour');
+ $item_colour = get_pconfig($uid, "redbasic", "item_colour");
+ $comment_item_colour = get_pconfig($uid, "redbasic", "comment_item_colour");
+ $comment_border_colour = get_pconfig($uid, "redbasic", "comment_border_colour");
+ $comment_indent = get_pconfig($uid, "redbasic", "comment_indent");
+ $body_font_size = get_pconfig($uid, "redbasic", "body_font_size");
+ $font_size = get_pconfig($uid, "redbasic", "font_size");
+ $font_colour = get_pconfig($uid, "redbasic", "font_colour");
+ $radius = get_pconfig($uid, "redbasic", "radius");
+ $shadow = get_pconfig($uid,"redbasic","photo_shadow");
+ $converse_width=get_pconfig($uid,"redbasic","converse_width");
+ $converse_center=get_pconfig($uid,"redbasic","converse_center");
+ $nav_min_opacity=get_pconfig($uid,'redbasic','nav_min_opacity');
+ $top_photo=get_pconfig($uid,'redbasic','top_photo');
+ $reply_photo=get_pconfig($uid,'redbasic','reply_photo');
}
- // Now load the scheme. If a value is changed above, we'll keep the settings
- // If not, we'll keep those defined by the schema
- // Setting $schema to '' wasn't working for some reason, so we'll check it's
- // not --- like the mobile theme does instead.
-
+// Now load the scheme. If a value is changed above, we'll keep the settings
+// If not, we'll keep those defined by the schema
+// Setting $schema to '' wasn't working for some reason, so we'll check it's
+// not --- like the mobile theme does instead.
- // Allow layouts to over-ride the schema
+// Allow layouts to over-ride the schema
- if($_REQUEST['schema'])
- $schema = $_REQUEST['schema'];
+if($_REQUEST['schema']) {
+ $schema = $_REQUEST['schema'];
+}
- if (($schema) && ($schema != '---')) {
- // Check it exists, because this setting gets distributed to clones
- if(file_exists('view/theme/redbasic/schema/' . $schema . '.php')) {
- $schemefile = 'view/theme/redbasic/schema/' . $schema . '.php';
- require_once ($schemefile);
- }
- if(file_exists('view/theme/redbasic/schema/' . $schema . '.css')) {
- $schemecss = file_get_contents('view/theme/redbasic/schema/' . $schema . '.css');
- }
+if (($schema) && ($schema != '---')) {
+ // Check it exists, because this setting gets distributed to clones
+ if(file_exists('view/theme/redbasic/schema/' . $schema . '.php')) {
+ $schemefile = 'view/theme/redbasic/schema/' . $schema . '.php';
+ require_once ($schemefile);
}
- // If we haven't got a schema, load the default. We shouldn't touch this - we
- // should leave it for admins to define for themselves.
- if (! $schema) {
- if(file_exists('view/theme/redbasic/schema/default.php')) {
- $schemefile = 'view/theme/redbasic/schema/default.php';
- require_once ($schemefile);
- }
- if(file_exists('view/theme/redbasic/schema/default.css')) {
- $schemecss = file_get_contents('view/theme/redbasic/schema/default.css');
- }
+ if(file_exists('view/theme/redbasic/schema/' . $schema . '.css')) {
+ $schemecss = file_get_contents('view/theme/redbasic/schema/' . $schema . '.css');
}
-
-
-//Set some defaults - we have to do this after pulling owner settings, and we have to check for each setting
-//individually. If we don't, we'll have problems if a user has set one, but not all options.
- if (! $nav_bg)
- $nav_bg = "#222";
- if (! $nav_gradient_top)
- $nav_gradient_top = "#3c3c3c";
- if (! $nav_gradient_bottom)
- $nav_gradient_bottom = "#222";
- if (! $nav_active_gradient_top)
- $nav_active_gradient_top = "#222";
- if (! $nav_active_gradient_bottom)
- $nav_active_gradient_bottom = "#282828";
- if (! $nav_bd)
- $nav_bd = "#222";
- if (! $nav_icon_colour)
- $nav_icon_colour = "#999";
- if (! $nav_active_icon_colour)
- $nav_active_icon_colour = "#fff";
- if (! $navtabs_borderc)
- $navtabs_borderc = "rgba(204,204,204,0.8)";
- if (! $navtabs_fontcolour)
- $navtabs_fontcolour = "#555";
- if (! $navtabs_bgcolour)
- $navtabs_bgcolour = "rgba(254,254,254,0.4)";
- if (! $navtabs_linkcolour)
- $navtabs_linkcolour = "";
- if (! $navtabs_linkchover)
- $navtabs_linkchover = "";
- if (! $navtabs_decohover)
- $navtabs_decohover = "none";
- if (! $navtabs_bgchover)
- $navtabs_bgchover = "rgba(238,238,238,0.8)";
- if (! $link_colour)
- $link_colour = "#337AB7";
- if (! $navaside_bghover)
- $navaside_bghover = "#eee";
- if (! $link_font_weight)
- $link_font_weight = "normal";
- if (! $banner_colour)
- $banner_colour = "#fff";
- if (! $search_background)
- $search_background = "#eee";
- if (! $bgcolour)
- $bgcolour = "#fdfdfd";
- if (! $background_image)
- $background_image ='';
- if (! $item_colour)
- $item_colour = "rgba(238,238,238,0.8)";
- if (! $comment_item_colour)
- $comment_item_colour = "rgba(254,254,254,0.4)";
- if (! $genericcontent_bgcolour)
- $genericcontent_bgcolour = $comment_item_colour;
- if (! $comment_border_colour)
- $comment_border_colour = "rgba(238,238,238,0.8)";
- if (! $toolicon_colour)
- $toolicon_colour = '#777';
- if (! $toolicon_activecolour)
- $toolicon_activecolour = '#000';
- if (! $item_opacity)
- $item_opacity = "1";
- if (! $font_size)
- $font_size = "0.9rem";
- if (! $body_font_size)
- $body_font_size = "0.75rem";
- if (! $font_colour)
- $font_colour = "#4d4d4d";
- if (! $selected_active_colour)
- $selected_active_colour = "#444";
- if (! $selected_active_deco)
- $selected_active_deco = "none";
- if (! $blockquote_colour)
- $blockquote_colour = "#4d4d4d";
- if (! $blockquote_bgcolour)
- $blockquote_bgcolour = "";
- if (! $blockquote_bordercolour)
- $blockquote_bordercolour = "#ccc";
- if (! $code_borderc)
- $code_borderc = "#ccc";
- if (! $code_bgcolour)
- $code_bgcolour = "#ccc";
- if (! $code_txtcolour)
- $code_txtcolour = "#000";
- if (! $pre_borderc)
- $pre_borderc = "#ccc";
- if (! $pre_bgcolour)
- $pre_bgcolour = "#F5F5F5";
- if (! $pre_txtcolour)
- $pre_txtcolour = "#333";
- if (! $notif_itemcolour)
- $notif_itemcolour = "#000";
- if (! $notif_itemhovercolour)
- $notif_itemhovercolour = "#000";
- if (! $dropdown_bgcolour)
- $dropdown_bgcolour = "#FFF";
- if (! $dropdown_textcolour)
- $dropdown_textcolour = "#333";
- if (! $dropdown_txtcolhover)
- $dropdown_txtcolhover = "#262626";
- if (! $dropdown_bgcolhover)
- $dropdown_bgcolhover = "#F5F5F5";
- if (! $dropdown_bgimghover)
- $dropdown_bgimghover = "";
- if (! $dropdown_togglecol)
- $dropdown_togglecol = "#333";
- if (! $dropdown_togglebgcol)
- $dropdown_togglebgcol = "#EBEBEB";
- if (! $dropdown_bordercol)
- $dropdown_bordercol = "#ADADAD";
- if (! $preview_backgroundimg)
- $preview_backgroundimg = "gray_and_white_diagonal_stripes_background_seamless.gif";
- if (! $acpopup_bgcolour)
- $acpopup_bgcolour = "#fff";
- if (! $acpopup_bordercolour)
- $acpopup_bordercolour = "#ccc";
- if (! $acpopup_tgbl_bgcolour)
- $acpopup_tgbl_bgcolour = "#ddddff";
- if (! $acpopup_hovercolour)
- $acpopup_hovercolour = "#000";
+}
- if (! $radius)
- $radius = "4";
- if (! $shadow)
- $shadow = "0";
- if(! $active_colour)
- $active_colour = "#fff";
- if (! $converse_width)
- $converse_width = "1024";
- if(! $top_photo)
- $top_photo = '48px';
- if(! $comment_indent)
- $comment_indent = '0px';
- if(! $reply_photo)
- $reply_photo = '32px';
+// If we haven't got a schema, load the default. We shouldn't touch this - we
+// should leave it for admins to define for themselves.
+if (! $schema) {
- if($nav_min_opacity === false || $nav_min_opacity === '') {
- $nav_float_min_opacity = 1.0;
- $nav_percent_min_opacity = 100;
+ if(file_exists('view/theme/redbasic/schema/default.php')) {
+ $schemefile = 'view/theme/redbasic/schema/default.php';
+ require_once ($schemefile);
}
- else {
- $nav_float_min_opacity = (float) $nav_min_opacity;
- $nav_percent_min_opacity = (int) 100 * $nav_min_opacity;
+
+ if(file_exists('view/theme/redbasic/schema/default.css')) {
+ $schemecss = file_get_contents('view/theme/redbasic/schema/default.css');
}
+}
+
+//Set some defaults - we have to do this after pulling owner settings, and we have to check for each setting
+//individually. If we don't, we'll have problems if a user has set one, but not all options.
+if (! $nav_bg)
+ $nav_bg = "#222";
+if (! $nav_gradient_top)
+ $nav_gradient_top = "#3c3c3c";
+if (! $nav_gradient_bottom)
+ $nav_gradient_bottom = "#222";
+if (! $nav_active_gradient_top)
+ $nav_active_gradient_top = "#222";
+if (! $nav_active_gradient_bottom)
+ $nav_active_gradient_bottom = "#282828";
+if (! $nav_bd)
+ $nav_bd = "#222";
+if (! $nav_icon_colour)
+ $nav_icon_colour = "#999";
+if (! $nav_active_icon_colour)
+ $nav_active_icon_colour = "#fff";
+if (! $link_colour)
+ $link_colour = "#337AB7";
+if (! $banner_colour)
+ $banner_colour = "#fff";
+if (! $bgcolour)
+ $bgcolour = "#fdfdfd";
+if (! $background_image)
+ $background_image ='';
+if (! $item_colour)
+ $item_colour = "rgba(238,238,238,0.8)";
+if (! $comment_item_colour)
+ $comment_item_colour = "rgba(254,254,254,0.4)";
+if (! $comment_border_colour)
+ $comment_border_colour = "rgba(238,238,238,0.8)";
+if (! $toolicon_colour)
+ $toolicon_colour = '#777';
+if (! $toolicon_activecolour)
+ $toolicon_activecolour = '#000';
+if (! $item_opacity)
+ $item_opacity = "1";
+if (! $font_size)
+ $font_size = "0.9rem";
+if (! $body_font_size)
+ $body_font_size = "0.75rem";
+if (! $font_colour)
+ $font_colour = "#4d4d4d";
+if (! $radius)
+ $radius = "4";
+if (! $shadow)
+ $shadow = "0";
+if (! $converse_width)
+ $converse_width = "1024";
+if(! $top_photo)
+ $top_photo = '48px';
+if(! $comment_indent)
+ $comment_indent = '0px';
+if(! $reply_photo)
+ $reply_photo = '32px';
+if($nav_min_opacity === false || $nav_min_opacity === '') {
+ $nav_float_min_opacity = 1.0;
+ $nav_percent_min_opacity = 100;
+}
+else {
+ $nav_float_min_opacity = (float) $nav_min_opacity;
+ $nav_percent_min_opacity = (int) 100 * $nav_min_opacity;
+}
+
// Apply the settings
- if(file_exists('view/theme/redbasic/css/style.css')) {
- $x = file_get_contents('view/theme/redbasic/css/style.css');
+if(file_exists('view/theme/redbasic/css/style.css')) {
+ $x = file_get_contents('view/theme/redbasic/css/style.css');
-// left aside is 231px + converse width
-$main_width = (231 + intval($converse_width));
+ $aside_width = 231;
-// prevent main_width smaller than 768px
-$main_width = (($main_width < 768) ? 768 : $main_width) . 'px';
+ // left aside and right aside are is 231px + converse width
+ if($converse_center) {
+ $main_width = (($aside_width * 2) + intval($converse_width));
+ }
+ else {
+ $main_width = (($aside_width) + intval($converse_width));
+ }
+ // prevent main_width smaller than 768px
+ $main_width = (($main_width < 768) ? 768 : $main_width);
+
+ $options = array (
+ '$nav_bg' => $nav_bg,
+ '$nav_gradient_top' => $nav_gradient_top,
+ '$nav_gradient_bottom' => $nav_gradient_bottom,
+ '$nav_active_gradient_top' => $nav_active_gradient_top,
+ '$nav_active_gradient_bottom' => $nav_active_gradient_bottom,
+ '$nav_bd' => $nav_bd,
+ '$nav_icon_colour' => $nav_icon_colour,
+ '$nav_active_icon_colour' => $nav_active_icon_colour,
+ '$link_colour' => $link_colour,
+ '$banner_colour' => $banner_colour,
+ '$bgcolour' => $bgcolour,
+ '$background_image' => $background_image,
+ '$item_colour' => $item_colour,
+ '$comment_item_colour' => $comment_item_colour,
+ '$comment_border_colour' => $comment_border_colour,
+ '$toolicon_colour' => $toolicon_colour,
+ '$toolicon_activecolour' => $toolicon_activecolour,
+ '$font_size' => $font_size,
+ '$font_colour' => $font_colour,
+ '$body_font_size' => $body_font_size,
+ '$radius' => $radius,
+ '$shadow' => $shadow,
+ '$converse_width' => $converse_width,
+ '$nav_float_min_opacity' => $nav_float_min_opacity,
+ '$nav_percent_min_opacity' => $nav_percent_min_opacity,
+ '$top_photo' => $top_photo,
+ '$reply_photo' => $reply_photo,
+ '$pmenu_top' => $pmenu_top,
+ '$pmenu_reply' => $pmenu_reply,
+ '$comment_indent' => $comment_indent,
+ '$main_width' => $main_width,
+ '$aside_width' => $aside_width
+ );
-$options = array (
-'$nav_bg' => $nav_bg,
-'$nav_gradient_top' => $nav_gradient_top,
-'$nav_gradient_bottom' => $nav_gradient_bottom,
-'$nav_active_gradient_top' => $nav_active_gradient_top,
-'$nav_active_gradient_bottom' => $nav_active_gradient_bottom,
-'$nav_bd' => $nav_bd,
-'$nav_icon_colour' => $nav_icon_colour,
-'$nav_active_icon_colour' => $nav_active_icon_colour,
-'$navtabs_borderc' => $navtabs_borderc,
-'$navtabs_fontcolour' => $navtabs_fontcolour,
-'$navtabs_bgcolour' => $navtabs_bgcolour,
-'$navtabs_linkcolour' => $navtabs_linkcolour,
-'$navtabs_linkchover' => $navtabs_linkchover,
-'$navtabs_bgchover' => $navtabs_bgchover,
-'$navtabs_decohover' => $navtabs_decohover,
-'$navaside_bghover' => $navaside_bghover,
-'$link_colour' => $link_colour,
-'$link_font_weight' => $link_font_weight,
-'$banner_colour' => $banner_colour,
-'$search_background' => $search_background,
-'$bgcolour' => $bgcolour,
-'$background_image' => $background_image,
-'$genericcontent_bgcolour' => $genericcontent_bgcolour,
-'$item_colour' => $item_colour,
-'$comment_item_colour' => $comment_item_colour,
-'$comment_border_colour' => $comment_border_colour,
-'$toolicon_colour' => $toolicon_colour,
-'$toolicon_activecolour' => $toolicon_activecolour,
-'$font_size' => $font_size,
-'$font_colour' => $font_colour,
-'$selected_active_colour' => $selected_active_colour,
-'$selected_active_deco' => $selected_active_deco,
-'$body_font_size' => $body_font_size,
-'$blockquote_colour' => $blockquote_colour,
-'$blockquote_bgcolour' => $blockquote_bgcolour,
-'$blockquote_bordercolour' => $blockquote_bordercolour,
-'$blockquote_bgcolourhover' => $blockquote_bgcolourhover,
-'$code_borderc' => $code_borderc,
-'$code_bgcolour' => $code_bgcolour,
-'$code_txtcolour' => $code_txtcolour,
-'$pre_borderc' => $pre_borderc,
-'$pre_bgcolour' => $pre_bgcolour,
-'$pre_txtcolour' => $pre_txtcolour,
-'$notif_itemcolour' => $notif_itemcolour,
-'$notif_itemhovercolour' => $notif_itemhovercolour,
-'$dropdown_bgcolour' => $dropdown_bgcolour,
-'$dropdown_textcolour' => $dropdown_textcolour,
-'$dropdown_txtcolhover' => $dropdown_txtcolhover,
-'$dropdown_bgcolhover' => $dropdown_bgcolhover,
-'$dropdown_bgimghover' => $dropdown_bgimghover,
-'$dropdown_togglecol' => $dropdown_togglecol,
-'$dropdown_togglebgcol' => $dropdown_togglebgcol,
-'$dropdown_bordercol' => $dropdown_bordercol,
-'$preview_backgroundimg' => $preview_backgroundimg,
-'$acpopup_bgcolour' => $acpopup_bgcolour,
-'$acpopup_bordercolour' => $acpopup_bordercolour,
-'$acpopup_tgbl_bgcolour' => $acpopup_tgbl_bgcolour,
-'$acpopup_hovercolour' => $acpopup_hovercolour,
-'$radius' => $radius,
-'$shadow' => $shadow,
-'$active_colour' => $active_colour,
-'$converse_width' => $converse_width,
-'$nav_float_min_opacity' => $nav_float_min_opacity,
-'$nav_percent_min_opacity' => $nav_percent_min_opacity,
-'$top_photo' => $top_photo,
-'$reply_photo' => $reply_photo,
-'$pmenu_top' => $pmenu_top,
-'$pmenu_reply' => $pmenu_reply,
-'$comment_indent' => $comment_indent,
-'$main_width' => $main_width,
-);
+ echo str_replace(array_keys($options), array_values($options), $x);
-echo str_replace(array_keys($options), array_values($options), $x);
}
if($narrow_navbar && file_exists('view/theme/redbasic/css/narrow_navbar.css')) {
echo file_get_contents('view/theme/redbasic/css/narrow_navbar.css');
}
+
if($converse_center && file_exists('view/theme/redbasic/css/converse_center.css')) {
- echo str_replace(array_keys($options), array_values($options), $x);
+ $cc = file_get_contents('view/theme/redbasic/css/converse_center.css');
+ echo str_replace(array_keys($options), array_values($options), $cc);
}
if($schemecss) {
diff --git a/view/theme/redbasic/schema/dark.css b/view/theme/redbasic/schema/dark.css
index 78aa27d38..02ee4707e 100644
--- a/view/theme/redbasic/schema/dark.css
+++ b/view/theme/redbasic/schema/dark.css
@@ -1,13 +1,5 @@
-.vcard {
- border-bottom: 1px solid #333;
-}
-
-#contact-block {
- border-bottom: 1px solid #333;
-}
-
-.widget {
- border-bottom: 1px solid #333;
+.vcard, #contact-block, .widget {
+ border-bottom: 1px solid #fff;
}
.abook-pending-contact, .abook-permschange {
@@ -136,7 +128,6 @@ nav .dropdown-menu>li>a:hover,nav .dropdown-menu>li>a:focus{
background-image: none;
}
-
nav .dropdown-menu .divider{
background-color: #222;
}
@@ -150,3 +141,113 @@ nav .dropdown-menu>li>a:hover,nav .dropdown-menu>li>a:focus{
nav .dropdown-menu {
background-color: #000;
}
+
+#nav-search-text {
+ background-color: #999;
+}
+
+.autocomplete .selected {
+ background: #999;
+}
+
+.nav-tabs{
+ border-bottom:1px solid #333;
+}
+
+.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{
+ border:1px solid #333;
+}
+
+.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus {
+ color: #fff;
+ background-color: #111;
+}
+
+.nav-tabs.nav-justified > li > a {
+ color: #ccc;
+}
+
+.nav-tabs > li > a:hover, .nav-tabs > li > a:focus {
+ text-decoration: underline;
+ background-color: #222;
+ color: #ccc;
+}
+
+aside .nav > li > a:hover, aside .nav > li > a:focus {
+ text-decoration: underline;
+ background-color: #222;
+}
+
+a, a:visited, a:link, .fakelink, .fakelink:visited, .fakelink:link {
+ font-weight: bold;
+}
+
+.group-selected, .fileas-selected, .categories-selected, .search-selected, .active {
+ color: #fff !important;
+ text-decoration: underline !important;
+}
+
+.generic-content-wrapper-styled {
+ background-color: rgba(28,28,28,0.8);
+}
+
+.autocomplete {
+ background: #222;
+}
+
+blockquote {
+ background-color: #1e1e1e;
+ border-left: 3px solid #666;
+ color: #ccc;
+}
+
+code {
+ border: 1px solid #090909;
+ background: #000;
+ color: #fff;
+}
+
+pre {
+ background: #000;
+ color: #fff;
+ border:1px solid #090909;
+}
+
+.notif-item a {
+ color: #ccc;
+}
+
+.notif-item a:hover {
+ color: #fff;
+}
+
+.dropdown-menu {
+ background-color: #222;
+}
+
+.dropdown-menu >li > a {
+ color: #ccc;
+}
+
+.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
+ color: #ddd;
+ background-color: #333;
+ background-image: none;
+}
+
+.open .dropdown-toggle.btn-default {
+ color: #ccc;
+ background-color: #222;
+ border-color: #222;
+}
+
+.preview {
+ background: url('../img/gray_and_black_diagonal_stripes_background_seamless.gif');
+}
+
+@media (min-width: 768px) {
+ .nav-tabs.nav-justified > li > a {
+ border-bottom: 1px solid #333;
+ }
+}
+
diff --git a/view/theme/redbasic/schema/dark.php b/view/theme/redbasic/schema/dark.php
index b3addcfff..92e703325 100644
--- a/view/theme/redbasic/schema/dark.php
+++ b/view/theme/redbasic/schema/dark.php
@@ -16,42 +16,16 @@
$nav_icon_colour = "#999";
if (! $nav_active_icon_colour)
$nav_active_icon_colour = "#fff";
- if (! $navtabs_borderc)
- $navtabs_borderc = "#333";
- if (! $navtabs_fontcolour)
- $navtabs_fontcolour = "#fff";
- if (! $navtabs_bgcolour)
- $navtabs_bgcolour = "#111";
- if (! $navtabs_linkcolour)
- $navtabs_linkcolour = "color: #ccc;";
- if (! $navtabs_linkchover)
- $navtabs_linkchover = "color: #fff;";
- if (! $navtabs_bgchover)
- $navtabs_bgchover = "#222";
- if (! $navtabs_decohover)
- $navtabs_decohover = "underline";
- if (! $navaside_bghover)
- $navaside_bghover = "#222";
if (! $link_colour)
$link_colour = "#fff";
- if (! $link_font_weight)
- $link_font_weight = "bold";
- if (! $selected_active_colour)
- $selected_active_colour = "#fff";
- if (! $selected_active_deco)
- $selected_active_deco = "underline";
if (! $banner_colour)
$banner_colour = "#999";
- if (! $search_background)
- $search_background = "#999";
if (! $bgcolour)
$bgcolour = "#111";
if (! $item_colour)
$item_colour = "rgba(28,28,28,0.8)";
if (! $comment_item_colour)
$comment_item_colour = "rgba(18,18,18,0.4)";
- if (! $genericcontent_bgcolour)
- $genericcontent_bgcolour = "rgba(28,28,28,0.8)";
if (! $comment_border_colour)
$comment_border_colour = "rgba(28,28,28,0.8)";
if (! $toolicon_colour)
@@ -60,55 +34,5 @@
$toolicon_activecolour = '#fff';
if (! $font_colour)
$font_colour = "#ccc";
- if (! $blockquote_colour)
- $blockquote_colour = "#ccc";
- if (! $blockquote_bgcolour)
- $blockquote_bgcolour = "#1e1e1e";
- if (! $blockquote_bordercolour)
- $blockquote_bordercolour = "#666";
- if (! $code_borderc)
- $code_borderc = "#090909";
- if (! $code_bgcolour)
- $code_bgcolour = "#000";
- if (! $code_txtcolour)
- $code_txtcolour = "#fff";
- if (! $pre_borderc)
- $pre_borderc = "#090909";
- if (! $pre_bgcolour)
- $pre_bgcolour = "#000";
- if (! $pre_txtcolour)
- $pre_txtcolour = "#fff";
- if (! $item_bordercolour)
- $item_bordercolour = "#333";
- if (! $notif_itemcolour)
- $notif_itemcolour = "#ccc";
- if (! $notif_itemhovercolour)
- $notif_itemhovercolour = "#fff";
- if (! $acpopup_bgcolour)
- $acpopup_bgcolour = "#222";
- if (! $acpopup_bordercolour)
- $acpopup_bordercolour = "#333";
- if (! $acpopup_tgbl_bgcolour)
- $acpopup_tgbl_bgcolour = "#333";
- if (! $acpopup_hovercolour)
- $acpopup_hovercolour = "#fff";
- if (! $editbuttons_bghover)
- $editbuttons_bghover = "#222";
- if (! $dropdown_bgcolour)
- $dropdown_bgcolour = "#222";
- if (! $dropdown_textcolour)
- $dropdown_textcolour = "#ccc";
- if (! $dropdown_txtcolhover)
- $dropdown_txtcolhover = "#ddd";
- if (! $dropdown_bgcolhover)
- $dropdown_bgcolhover = "#333";
- if (! $dropdown_bgimghover)
- $dropdown_bgimghover = "background-image: none;";
- if (! $dropdown_togglecol)
- $dropdown_togglecol = "#ccc";
- if (! $dropdown_togglebgcol)
- $dropdown_togglebgcol = "#222";
- if (! $dropdown_bordercol)
- $dropdown_bordercol = "#222";
- if (! $preview_backgroundimg)
- $preview_backgroundimg = "gray_and_black_diagonal_stripes_background_seamless.gif";
+
+
diff --git a/view/theme/redbasic/schema/simple_black_on_white.css b/view/theme/redbasic/schema/simple_black_on_white.css
index dd47a3280..c00f3c260 100644
--- a/view/theme/redbasic/schema/simple_black_on_white.css
+++ b/view/theme/redbasic/schema/simple_black_on_white.css
@@ -1,12 +1,4 @@
-.vcard {
- border-bottom: 1px solid #fff;
-}
-
-#contact-block {
- border-bottom: 1px solid #fff;
-}
-
-.widget {
+.vcard, #contact-block, .widget {
border-bottom: 1px solid #fff;
}
@@ -136,7 +128,6 @@ nav .dropdown-menu>li>a:hover,nav .dropdown-menu>li>a:focus{
background-image: none;
}
-
nav .dropdown-menu .divider{
background-color: #F5F5F5;
}
@@ -150,3 +141,118 @@ nav .dropdown-menu>li>a:hover,nav .dropdown-menu>li>a:focus{
nav .dropdown-menu {
background-color: #fff;
}
+
+a.rateme, div.rateme {
+ border: 1px solid #fff;
+}
+
+#nav-search-text {
+ background-color: #F5F5F5;
+}
+
+.autocomplete .selected {
+ background: #F5F5F5;
+}
+
+.nav-tabs{
+ border-bottom:1px solid #000;
+}
+
+.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{
+ border:1px solid #000;
+}
+
+.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus {
+ color: #000;
+ background-color: #fff;
+}
+
+.nav-tabs.nav-justified > li > a {
+ color: #000;
+}
+
+.nav-tabs > li > a:hover, .nav-tabs > li > a:focus {
+ text-decoration: underline;
+ background-color: #fff;
+ color: #000;
+}
+
+aside .nav > li > a:hover, aside .nav > li > a:focus {
+ text-decoration: underline;
+ background-color: #F5F5F5;
+}
+
+a, a:visited, a:link, .fakelink, .fakelink:visited, .fakelink:link {
+ font-weight: bold;
+}
+
+.group-selected, .fileas-selected, .categories-selected, .search-selected, .active {
+ color: #000 !important;
+ text-decoration: underline !important;
+}
+
+.generic-content-wrapper-styled {
+ background-color: rgba(255,255,255,0.8);
+}
+
+.autocomplete {
+ background: #fff;
+}
+
+blockquote {
+ background-color: #fff;
+ border-left: 3px solid #000;
+ color: #111;
+}
+
+code {
+ border: 1px solid #000;
+ background: #fff;
+ color: #000;
+}
+
+pre {
+ background: #fff;
+ color: #111;
+ border:1px solid #000;
+}
+
+.notif-item a {
+ color: #000;
+}
+
+.notif-item a:hover {
+ color: #000;
+}
+
+.dropdown-menu {
+ background-color: #fff;
+}
+
+.dropdown-menu >li > a {
+ color: #000;
+}
+
+.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
+ color: #000;
+ background-color: #F5F5F5;
+ background-image: none;
+}
+
+.open .dropdown-toggle.btn-default {
+ color: #000;
+ background-color: #fff;
+ border-color: #fff;
+}
+
+.preview {
+ background: url('../img/gray_and_white_diagonal_stripes_background_seamless.gif');
+}
+
+@media (min-width: 768px) {
+ .nav-tabs.nav-justified > li > a {
+ border-bottom: 1px solid #000;
+ }
+}
+
+
diff --git a/view/theme/redbasic/schema/simple_black_on_white.php b/view/theme/redbasic/schema/simple_black_on_white.php
index 7c1c99a32..6853a0ed5 100644
--- a/view/theme/redbasic/schema/simple_black_on_white.php
+++ b/view/theme/redbasic/schema/simple_black_on_white.php
@@ -16,98 +16,24 @@
$nav_icon_colour = "#111";
if (! $nav_active_icon_colour)
$nav_active_icon_colour = "#000";
-
- if (! $navtabs_borderc)
- $navtabs_borderc = "#000";
- if (! $navtabs_fontcolour)
- $navtabs_fontcolour = "#000";
- if (! $navtabs_bgcolour)
- $navtabs_bgcolour = "#fff";
- if (! $navtabs_linkcolour)
- $navtabs_linkcolour = "color: #000;";
- if (! $navtabs_linkchover)
- $navtabs_linkchover = "color: #000;";
- if (! $navtabs_bgchover)
- $navtabs_bgchover = "#fff";
- if (! $navtabs_decohover)
- $navtabs_decohover = "underline";
- if (! $navaside_bghover)
- $navaside_bghover = "#F5F5F5";
- if (! $link_colour)
- $link_colour = "#000";
- if (! $link_font_weight)
- $link_font_weight = "bold";
- if (! $selected_active_colour)
- $selected_active_colour = "#000";
- if (! $selected_active_deco)
- $selected_active_deco = "underline";
if (! $banner_colour)
$banner_colour = "#fff";
- if (! $search_background)
- $search_background = "#F5F5F5";
+ if (! $link_colour)
+ $link_colour = "#000";
if (! $bgcolour)
$bgcolour = "#fff";
- if (! $genericcontent_bgcolour)
- $genericcontent_bgcolour = 'rgba(255,255,255,0.8)';
+ if (! $toolicon_colour)
+ $toolicon_colour = "#111";
+ if (! $toolicon_activecolour)
+ $toolicon_activecolour = "#000";
if (! $item_colour)
$item_colour = "rgba(255,255,255,0.8)";
if (! $comment_item_colour)
$comment_item_colour = "rgba(255,255,255,0.4)";
if (! $comment_border_colour)
$comment_border_colour = "rgba(255,255,255,0.8)";
- if (! $toolicon_colour)
- $toolicon_colour = '#111';
- if (! $toolicon_activecolour)
- $toolicon_activecolour = '#000';
if (! $font_colour)
$font_colour = "#000";
- if (! $blockquote_colour)
- $blockquote_colour = "#111";
- if (! $blockquote_bgcolour)
- $blockquote_bgcolour = "#fff";
- if (! $blockquote_bordercolour)
- $blockquote_bordercolour = "#000";
- if (! $code_borderc)
- $code_borderc = "#000";
- if (! $code_bgcolour)
- $code_bgcolour = "#fff";
- if (! $code_txtcolour)
- $code_txtcolour = "#000";
- if (! $pre_borderc)
- $pre_borderc = "#000";
- if (! $pre_bgcolour)
- $pre_bgcolour = "#fff";
- if (! $pre_txtcolour)
- $pre_txtcolour = "#111";
- if (! $item_bordercolour)
- $item_bordercolour = "#000";
- if (! $notif_itemcolour)
- $notif_itemcolour = "#000";
- if (! $notif_itemhovercolour)
- $notif_itemhovercolour = "#000";
- if (! $acpopup_bgcolour)
- $acpopup_bgcolour = "#fff";
- if (! $acpopup_bordercolour)
- $acpopup_bordercolour = "#000";
- if (! $acpopup_tgbl_bgcolour)
- $acpopup_tgbl_bgcolour = "#fff";
- if (! $acpopup_hovercolour)
- $acpopup_hovercolour = "#000";
- if (! $dropdown_bgcolour)
- $dropdown_bgcolour = "#fff";
- if (! $dropdown_textcolour)
- $dropdown_textcolour = "#000";
- if (! $dropdown_txtcolhover)
- $dropdown_txtcolhover = "#000";
- if (! $dropdown_bgcolhover)
- $dropdown_bgcolhover = "#F5F5F5";
- if (! $dropdown_bgimghover)
- $dropdown_bgimghover = "background-image: none;";
- if (! $dropdown_togglecol)
- $dropdown_togglecol = "#000";
- if (! $dropdown_togglebgcol)
- $dropdown_togglebgcol = "#fff";
- if (! $dropdown_bordercol)
- $dropdown_bordercol = "#fff";
- if (! $preview_backgroundimg)
- $preview_backgroundimg = "gray_and_white_diagonal_stripes_background_seamless.gif";
+
+
+
diff --git a/view/theme/redbasic/schema/simple_green_on_black.css b/view/theme/redbasic/schema/simple_green_on_black.css
index 671465529..ce4465930 100644
--- a/view/theme/redbasic/schema/simple_green_on_black.css
+++ b/view/theme/redbasic/schema/simple_green_on_black.css
@@ -1,13 +1,5 @@
-.vcard {
- border-bottom: 1px solid #000;
-}
-
-#contact-block {
- border-bottom: 1px solid #000;
-}
-
-.widget {
- border-bottom: 1px solid #000;
+.vcard, #contact-block, .widget {
+ border-bottom: 1px solid #fff;
}
.abook-pending-contact, .abook-permschange {
@@ -150,3 +142,134 @@ nav .dropdown-menu>li>a:hover,nav .dropdown-menu>li>a:focus{
nav .dropdown-menu {
background-color: #000;
}
+
+.rconnect {
+ color: #50f148;
+}
+
+a.rateme, div.rateme {
+ color: #50f148;
+ border: 1px solid #000;
+}
+
+a.rconnect, a.rateme, div.rateme {
+ color: #50f148;
+}
+
+.navbar-inverse .navbar-nav > .open > a,
+.navbar-inverse .navbar-nav > .open > a:hover,
+.navbar-inverse .navbar-nav > .open > a:focus {
+ color: #50f148;
+}
+
+#nav-search-text {
+ background-color: #000;
+}
+
+.autocomplete .selected {
+ background: #000;
+}
+
+.nav-tabs{
+ border-bottom:1px solid #143D12;
+}
+
+.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{
+ border:1px solid #143D12;
+}
+
+.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus {
+ color: #46D43F;
+ background-color: #000;
+}
+
+.nav-tabs.nav-justified > li > a {
+ color: #50f148;
+}
+
+.nav-tabs > li > a:hover, .nav-tabs > li > a:focus {
+ text-decoration: underline;
+ background-color: #000;
+ color: #50f148;
+}
+
+aside .nav > li > a:hover, aside .nav > li > a:focus {
+ text-decoration: underline;
+ background-color: #143D12;
+}
+
+a, a:visited, a:link, .fakelink, .fakelink:visited, .fakelink:link {
+ font-weight: bold;
+}
+
+.group-selected, .fileas-selected, .categories-selected, .search-selected, .active {
+ color: #50f148 !important;
+ text-decoration: underline !important;
+}
+
+.generic-content-wrapper-styled {
+ background-color: rgba(0,0,0,0.8);
+}
+
+.autocomplete {
+ background: #000;
+}
+
+blockquote {
+ background-color: #000;
+ border-left: 3px solid #143D12;
+ color: #32962D;
+}
+
+code {
+ border: 1px solid #143D12;
+ background: #000;
+ color: #32962D;
+}
+
+pre {
+ background: #000;
+ color: #32962D;
+ border:1px solid #143D12;
+}
+
+.notif-item a {
+ color: #50f148;
+}
+
+.notif-item a:hover {
+ color: #50f148;
+}
+
+.dropdown-menu {
+ background-color: #000;
+}
+
+.dropdown-menu >li > a {
+ color: #32962D;
+}
+
+.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
+ color: #50f148;
+ background-color: #143D12;
+ background-image: none;
+}
+
+.open .dropdown-toggle.btn-default {
+ color: #50f148;
+ background-color: #000;
+ border-color: #143D12;
+}
+
+.preview {
+ background: url('../img/gray_and_black_diagonal_stripes_background_seamless.gif');
+}
+
+
+@media (min-width: 768px) {
+ .nav-tabs.nav-justified > li > a {
+ border-bottom: 1px solid #143D12;
+ }
+}
+
+
diff --git a/view/theme/redbasic/schema/simple_green_on_black.php b/view/theme/redbasic/schema/simple_green_on_black.php
index 6b104a4e6..2660624d6 100644
--- a/view/theme/redbasic/schema/simple_green_on_black.php
+++ b/view/theme/redbasic/schema/simple_green_on_black.php
@@ -16,108 +16,21 @@
$nav_icon_colour = "#32962D";
if (! $nav_active_icon_colour)
$nav_active_icon_colour = "#50f148";
- if (! $navtabs_borderc)
- $navtabs_borderc = "#143D12";
- if (! $navtabs_fontcolour)
- $navtabs_fontcolour = "#46D43F";
- if (! $navtabs_bgcolour)
- $navtabs_bgcolour = "#000";
- if (! $navtabs_linkcolour)
- $navtabs_linkcolour = "color: #50f148;";
- if (! $navtabs_linkchover)
- $navtabs_linkchover = "color: #50f148;";
- if (! $navtabs_bgchover)
- $navtabs_bgchover = "#000";
- if (! $navtabs_decohover)
- $navtabs_decohover = "underline";
-if (! $navaside_bghover)
- $navaside_bghover = "#143D12";
- if (! $link_colour)
- $link_colour = "#50f148";
- if (! $link_font_weight)
- $link_font_weight = "bold";
- if (! $selected_active_colour)
- $selected_active_colour = "#50f148";
- if (! $selected_active_deco)
- $selected_active_deco = "underline";
if (! $banner_colour)
$banner_colour = "#000";
- if (! $search_background)
- $search_background = "#000";
+ if (! $link_colour)
+ $link_colour = "#50f148";
if (! $bgcolour)
- $bgcolour = "#000";
- if (! $genericcontent_bgcolour)
- $genericcontent_bgcolour = 'rgba(0,0,0,0.8)';
+ $bgcolour = "#000";
+ if (! $toolicon_colour)
+ $toolicon_colour = "#32962D";
+ if (! $toolicon_activecolour)
+ $toolicon_activecolour = "#50f148";
if (! $item_colour)
$item_colour = "rgba(0,0,0,0.8)";
if (! $comment_item_colour)
$comment_item_colour = "rgba(0,0,0,0.4)";
if (! $comment_border_colour)
$comment_border_colour = "rgba(0,0,0,0.8)";
- if (! $toolicon_colour)
- $toolicon_colour = '#32962D';
- if (! $toolicon_activecolour)
- $toolicon_activecolour = '#50f148';
if (! $font_colour)
$font_colour = "#46D43F";
- if (! $blockquote_colour)
- $blockquote_colour = "#32962D";
- if (! $blockquote_bgcolour)
- $blockquote_bgcolour = "#000";
- if (! $blockquote_bordercolour)
- $blockquote_bordercolour = "#143D12";
- if (! $code_borderc)
- $code_borderc = "#143D12";
- if (! $code_bgcolour)
- $code_bgcolour = "#000";
- if (! $code_txtcolour)
- $code_txtcolour = "#32962D";
- if (! $pre_borderc)
- $pre_borderc = "#143D12";
- if (! $pre_bgcolour)
- $pre_bgcolour = "#000";
- if (! $pre_txtcolour)
- $pre_txtcolour = "#32962D";
- if (! $item_bordercolour)
- $item_bordercolour = "#143D12";
- if (! $notif_itemcolour)
- $notif_itemcolour = "#50f148";
- if (! $notif_itemhovercolour)
- $notif_itemhovercolour = "#50f148";
- if (! $acpopup_bgcolour)
- $acpopup_bgcolour = "#000";
- if (! $acpopup_bordercolour)
- $acpopup_bordercolour = "#143D12";
- if (! $acpopup_tgbl_bgcolour)
- $acpopup_tgbl_bgcolour = "#000";
- if (! $acpopup_hovercolour)
- $acpopup_hovercolour = "#50f148";
- if (! $dropdown_bgcolour)
- $dropdown_bgcolour = "#000";
- if (! $dropdown_textcolour)
- $dropdown_textcolour = "#32962D";
- if (! $dropdown_txtcolhover)
- $dropdown_txtcolhover = "#50f148";
- if (! $dropdown_bgcolhover)
- $dropdown_bgcolhover = "#143D12";
- if (! $dropdown_bgimghover)
- $dropdown_bgimghover = "background-image: none;";
- if (! $dropdown_togglecol)
- $dropdown_togglecol = "#50f148";
- if (! $dropdown_togglebgcol)
- $dropdown_togglebgcol = "#000";
- if (! $dropdown_bordercol)
- $dropdown_bordercol = "#143D12";
- if (! $preview_backgroundimg)
- $preview_backgroundimg = "gray_and_black_diagonal_stripes_background_seamless.gif";
-
-
-
-
-
-
-
-
-
-
-
diff --git a/view/theme/redbasic/schema/simple_white_on_black.css b/view/theme/redbasic/schema/simple_white_on_black.css
index 761fe795b..3504265b9 100644
--- a/view/theme/redbasic/schema/simple_white_on_black.css
+++ b/view/theme/redbasic/schema/simple_white_on_black.css
@@ -1,20 +1,11 @@
-.vcard {
- border-bottom: 1px solid #000;
-}
-
-#contact-block {
- border-bottom: 1px solid #000;
-}
-
-.widget {
- border-bottom: 1px solid #000;
+.vcard, #contact-block, .widget {
+ border-bottom: 1px solid #fff;
}
.abook-pending-contact, .abook-permschange {
background: #000;
}
-
#cboxContent a {
color: #000;
}
@@ -150,3 +141,118 @@ nav .dropdown-menu>li>a:hover,nav .dropdown-menu>li>a:focus{
nav .dropdown-menu {
background-color: #000;
}
+
+a.rateme, div.rateme {
+ border: 1px solid #000;
+}
+
+#nav-search-text {
+ background-color: #000;
+}
+
+.autocomplete .selected {
+ background: #000;
+}
+
+.nav-tabs{
+ border-bottom:1px solid #fff;
+}
+
+.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{
+ border:1px solid #fff;
+}
+
+.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus {
+ color: #fff;
+ background-color: #000;
+}
+
+.nav-tabs.nav-justified > li > a {
+ color: #fff;
+}
+
+.nav-tabs > li > a:hover, .nav-tabs > li > a:focus {
+ text-decoration: underline;
+ background-color: #000;
+ color: #fff;
+}
+
+aside .nav > li > a:hover, aside .nav > li > a:focus {
+ text-decoration: underline;
+ background-color: #030303;
+}
+
+a, a:visited, a:link, .fakelink, .fakelink:visited, .fakelink:link {
+ font-weight: bold;
+}
+
+.group-selected, .fileas-selected, .categories-selected, .search-selected, .active {
+ color: #fff !important;
+ text-decoration: underline !important;
+}
+
+.generic-content-wrapper-styled {
+ background-color: rgba(0,0,0,0.8);
+}
+
+.autocomplete {
+ background: #000;
+}
+
+blockquote {
+ background-color: #000;
+ border-left: 3px solid #fff;
+ color: #eee;
+}
+
+code {
+ border: 1px solid #eee;
+ background: #000;
+ color: #eee;
+}
+
+pre {
+ background: #000;
+ color: #eee;
+ border:1px solid #fff;
+}
+
+.notif-item a {
+ color: #fff;
+}
+
+.notif-item a:hover {
+ color: #fff;
+}
+
+.dropdown-menu {
+ background-color: #000;
+}
+
+.dropdown-menu >li > a {
+ color: #fff;
+}
+
+.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
+ color: #fff;
+ background-color: #030303;
+ background-image: none;
+}
+
+.open .dropdown-toggle.btn-default {
+ color: #fff;
+ background-color: #000;
+ border-color: #000;
+}
+
+.preview {
+ background: url('../img/gray_and_black_diagonal_stripes_background_seamless.gif');
+}
+
+@media (min-width: 768px) {
+ .nav-tabs.nav-justified > li > a {
+ border-bottom: 1px solid #fff;
+ }
+}
+
+
diff --git a/view/theme/redbasic/schema/simple_white_on_black.php b/view/theme/redbasic/schema/simple_white_on_black.php
index f940b7c64..a76709ac9 100644
--- a/view/theme/redbasic/schema/simple_white_on_black.php
+++ b/view/theme/redbasic/schema/simple_white_on_black.php
@@ -16,97 +16,21 @@
$nav_icon_colour = "#eee";
if (! $nav_active_icon_colour)
$nav_active_icon_colour = "#fff";
- if (! $navtabs_borderc)
- $navtabs_borderc = "#fff";
- if (! $navtabs_fontcolour)
- $navtabs_fontcolour = "#fff";
- if (! $navtabs_bgcolour)
- $navtabs_bgcolour = "#000";
- if (! $navtabs_linkcolour)
- $navtabs_linkcolour = "color: #fff;";
- if (! $navtabs_linkchover)
- $navtabs_linkchover = "color: #fff;";
- if (! $navtabs_bgchover)
- $navtabs_bgchover = "#000";
- if (! $navtabs_decohover)
- $navtabs_decohover = "underline";
- if (! $navaside_bghover)
- $navaside_bghover = "#030303";
- if (! $link_colour)
- $link_colour = "#fff";
- if (! $link_font_weight)
- $link_font_weight = "bold";
- if (! $selected_active_colour)
- $selected_active_colour = "#fff";
- if (! $selected_active_deco)
- $selected_active_deco = "underline";
if (! $banner_colour)
$banner_colour = "#000";
- if (! $search_background)
- $search_background = "#000";
+ if (! $link_colour)
+ $link_colour = "#fff";
if (! $bgcolour)
$bgcolour = "#000";
- if (! $genericcontent_bgcolour)
- $genericcontent_bgcolour ='rgba(0,0,0,0.8)';
+ if (! $toolicon_colour)
+ $toolicon_colour = "#eee";
+ if (! $toolicon_activecolour)
+ $toolicon_activecolour = "#fff";
if (! $item_colour)
$item_colour = "rgba(0,0,0,0.8)";
if (! $comment_item_colour)
$comment_item_colour = "rgba(0,0,0,0.4)";
if (! $comment_border_colour)
$comment_border_colour = "rgba(0,0,0,0.8)";
- if (! $toolicon_colour)
- $toolicon_colour = '#eee';
- if (! $toolicon_activecolour)
- $toolicon_activecolour = '#fff';
if (! $font_colour)
$font_colour = "#fff";
- if (! $blockquote_colour)
- $blockquote_colour = "#eee";
- if (! $blockquote_bgcolour)
- $blockquote_bgcolour = "#000";
- if (! $blockquote_bordercolour)
- $blockquote_bordercolour = "#fff";
- if (! $code_borderc)
- $code_borderc = "#eee";
- if (! $code_bgcolour)
- $code_bgcolour = "#000";
- if (! $code_txtcolour)
- $code_txtcolour = "#eee";
- if (! $pre_borderc)
- $pre_borderc = "#fff";
- if (! $pre_bgcolour)
- $pre_bgcolour = "#000";
- if (! $pre_txtcolour)
- $pre_txtcolour = "#eee";
- if (! $item_bordercolour)
- $item_bordercolour = "#fff";
- if (! $notif_itemcolour)
- $notif_itemcolour = "#fff";
- if (! $notif_itemhovercolour)
- $notif_itemhovercolour = "#fff";
- if (! $acpopup_bgcolour)
- $acpopup_bgcolour = "#000";
- if (! $acpopup_bordercolour)
- $acpopup_bordercolour = "#fff";
- if (! $acpopup_tgbl_bgcolour)
- $acpopup_tgbl_bgcolour = "#000";
- if (! $acpopup_hovercolour)
- $acpopup_hovercolour = "#fff";
- if (! $dropdown_bgcolour)
- $dropdown_bgcolour = "#000";
- if (! $dropdown_textcolour)
- $dropdown_textcolour = "#fff";
- if (! $dropdown_txtcolhover)
- $dropdown_txtcolhover = "#fff";
- if (! $dropdown_bgcolhover)
- $dropdown_bgcolhover = "#030303";
- if (! $dropdown_bgimghover)
- $dropdown_bgimghover = "background-image: none;";
- if (! $dropdown_togglecol)
- $dropdown_togglecol = "#fff";
- if (! $dropdown_togglebgcol)
- $dropdown_togglebgcol = "#000";
- if (! $dropdown_bordercol)
- $dropdown_bordercol = "#000";
- if (! $preview_backgroundimg)
- $preview_backgroundimg = "gray_and_black_diagonal_stripes_background_seamless.gif";