This commit is contained in:
ussr.win 2018-11-05 09:26:24 +01:00
parent 40e934f651
commit dcf5493266
53 changed files with 8543 additions and 0 deletions

View File

@ -0,0 +1,15 @@
.wall-item-content.conv-list-mode {
max-width: 280px;
height:200px;
min-height: 200px;
overflow: hidden;
}
.thread-wrapper.toplevel_item.conv-list-mode {
width: 300px;
height: 300px;
float: left;
margin-left: 5px;
margin-bottom: 35px;
}

View File

@ -0,0 +1,24 @@
/*
section {
left: 0px;
width: 800px;
margin-left: auto;
margin-right: auto;
}
body {background-color: #d00 !important;}
.page-content-wrapper {background: #fff;
color: #000;
border-radius: 20px;
box-shadow: 5px 5px 5px #111;
}
h3.page-title {
padding-top: 30px;
color: #033}
.page-body {padding: 40px;}
.page-body strong {color: #033;}
.nav-links {margin-top: 5px;}
*/

View File

@ -0,0 +1,30 @@
@media screen and (min-width: 767px) {
nav.navbar {
padding-top: 1px;
padding-bottom: 1px
}
nav .badge {
top: 0px;
left: -0.25rem;
}
.contextual-help-content-open {
top: 2.5rem;
}
aside {
padding-top: 3.5rem;
}
section {
padding-top: 3.5rem;
}
#jGrowl.top-right {
top: 3.5rem;
right: 15px;
}
}

View File

@ -0,0 +1,58 @@
.rotleft1 {
-webkit-transform: rotate(-1deg);
-moz-transform: rotate(-1deg);
-ms-transform: rotate(-1deg);
-o-transform: rotate(-1deg);
}
.rotleft2 {
-webkit-transform: rotate(-2deg);
-moz-transform: rotate(-2deg);
-ms-transform: rotate(-2deg);
-o-transform: rotate(-2deg);
}
.rotleft3 {
-webkit-transform: rotate(-3deg);
-moz-transform: rotate(-3deg);
-ms-transform: rotate(-3deg);
-o-transform: rotate(-3deg);
}
.rotleft4 {
-webkit-transform: rotate(-4deg);
-moz-transform: rotate(-4deg);
-ms-transform: rotate(-4deg);
-o-transform: rotate(-4deg);
}
.rotright1 {
-webkit-transform: rotate(1deg);
-moz-transform: rotate(1deg);
-ms-transform: rotate(1deg);
-o-transform: rotate(1deg);
}
.rotright2 {
-webkit-transform: rotate(2deg);
-moz-transform: rotate(2deg);
-ms-transform: rotate(2deg);
-o-transform: rotate(2deg);
}
.rotright3 {
-webkit-transform: rotate(3deg);
-moz-transform: rotate(3deg);
-ms-transform: rotate(3deg);
-o-transform: rotate(3deg);
}
.rotright4 {
-webkit-transform: rotate(4deg);
-moz-transform: rotate(4deg);
-ms-transform: rotate(4deg);
-o-transform: rotate(4deg);
}

1802
ussrbasic/css/style.css Normal file

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB

129
ussrbasic/js/redbasic.js Normal file
View File

@ -0,0 +1,129 @@
/**
* redbasic theme specific JavaScript
*/
$(document).ready(function() {
// CSS3 calc() fallback (for unsupported browsers)
$('body').append('<div id="css3-calc" style="width: 10px; width: calc(10px + 10px); display: none;"></div>');
if( $('#css3-calc').width() == 10) {
$(window).resize(function() {
if($(window).width() < 992) {
$('main').css('width', $(window).width() + $('aside').outerWidth() );
} else {
$('main').css('width', '100%' );
}
});
}
$('#css3-calc').remove(); // Remove the test element
if($(window).width() >= 992) {
$('#left_aside_wrapper, #right_aside_wrapper').stick_in_parent({
offset_top: parseInt($('aside').css('padding-top')),
parent: 'main',
spacer: '.aside_spacer'
});
}
$('#expand-aside').on('click', toggleAside);
$('section').on('click', function() {
if($('main').hasClass('region_1-on')){
toggleAside();
}
});
var left_aside_height = $('#left_aside_wrapper').height();
$('#left_aside_wrapper').on('click', function() {
if(left_aside_height != $('#left_aside_wrapper').height()) {
$(document.body).trigger("sticky_kit:recalc");
left_aside_height = $('#left_aside_wrapper').height();
}
});
var right_aside_height = $('#right_aside_wrapper').height();
$('#right_aside_wrapper').on('click', function() {
if(right_aside_height != $('#right_aside_wrapper').height()) {
$(document.body).trigger("sticky_kit:recalc");
right_aside_height = $('#right_aside_wrapper').height();
}
});
$('.usermenu').click(function() {
if($('#navbar-collapse-1, #navbar-collapse-2').hasClass('show')){
$('#navbar-collapse-1, #navbar-collapse-2').removeClass('show');
}
});
$('#menu-btn').click(function() {
if($('#navbar-collapse-1').hasClass('show')){
$('#navbar-collapse-1').removeClass('show');
}
});
$('.notifications-btn').click(function(e) {
e.preventDefault();
e.stopPropagation();
if($('#navbar-collapse-2').hasClass('show')){
$('#navbar-collapse-2').removeClass('show');
}
});
$("input[data-role=cat-tagsinput]").tagsinput({
tagClass: 'badge badge-pill badge-warning text-dark'
});
$('a.disabled').click(function(e) {
e.preventDefault();
e.stopPropagation();
});
var doctitle = document.title;
function checkNotify() {
var notifyUpdateElem = document.getElementById('notify-update');
if(notifyUpdateElem !== null) {
if(notifyUpdateElem.innerHTML !== "")
document.title = "(" + notifyUpdateElem.innerHTML + ") " + doctitle;
else
document.title = doctitle;
}
}
setInterval(function () {checkNotify();}, 10 * 1000);
});
function makeFullScreen(full) {
if(typeof full=='undefined' || full == true) {
$('main').addClass('fullscreen');
$('header, nav, aside, #fullscreen-btn').attr('style','display:none !important');
$('#inline-btn').show();
}
else {
$('main').removeClass('fullscreen');
$('header, nav, aside, #fullscreen-btn').show();
$('#inline-btn').hide();
$(document.body).trigger("sticky_kit:recalc");
}
}
function toggleAside() {
$('#expand-aside-icon').toggleClass('fa-arrow-circle-right').toggleClass('fa-arrow-circle-left');
if($('main').hasClass('region_1-on')){
$('html, body').css('overflow-x', '');
$('main').removeClass('region_1-on')
$('#overlay').remove();
$('#left_aside_wrapper').trigger("sticky_kit:detach");
}
else {
$('html, body').css('overflow-x', 'hidden');
$('main').addClass('region_1-on')
$('<div id="overlay"></div>').appendTo('section');
$('#left_aside_wrapper').stick_in_parent({
offset_top: $('nav').outerHeight(true) + 10,
parent: '#region_1',
spacer: '#left_aside_spacer'
});
}
}

128
ussrbasic/php/config.php Normal file
View File

@ -0,0 +1,128 @@
<?php
namespace Zotlabs\Theme;
class RedbasicConfig {
function get_schemas() {
$files = glob('view/theme/ussrbasic/schema/*.php');
$scheme_choices = [];
if($files) {
if(in_array('view/theme/ussrbasic/schema/default.php', $files)) {
$scheme_choices['---'] = t('Default');
$scheme_choices['focus'] = t('Focus (Hubzilla default)');
}
else {
$scheme_choices['---'] = t('Focus (Hubzilla default)');
}
foreach($files as $file) {
$f = basename($file, ".php");
if($f != 'default') {
$scheme_name = $f;
$scheme_choices[$f] = $scheme_name;
}
}
}
return $scheme_choices;
}
function get() {
if(! local_channel()) {
return;
}
$arr = array();
$arr['narrow_navbar'] = get_pconfig(local_channel(),'redbasic', 'narrow_navbar' );
$arr['nav_bg'] = get_pconfig(local_channel(),'redbasic', 'nav_bg' );
$arr['nav_icon_colour'] = get_pconfig(local_channel(),'redbasic', 'nav_icon_colour' );
$arr['nav_active_icon_colour'] = get_pconfig(local_channel(),'redbasic', 'nav_active_icon_colour' );
$arr['link_colour'] = get_pconfig(local_channel(),'redbasic', 'link_colour' );
$arr['banner_colour'] = get_pconfig(local_channel(),'redbasic', 'banner_colour' );
$arr['bgcolour'] = get_pconfig(local_channel(),'redbasic', 'background_colour' );
$arr['background_image'] = get_pconfig(local_channel(),'redbasic', 'background_image' );
$arr['item_colour'] = get_pconfig(local_channel(),'redbasic', 'item_colour' );
$arr['comment_item_colour'] = get_pconfig(local_channel(),'redbasic', 'comment_item_colour' );
$arr['font_size'] = get_pconfig(local_channel(),'redbasic', 'font_size' );
$arr['font_colour'] = get_pconfig(local_channel(),'redbasic', 'font_colour' );
$arr['radius'] = get_pconfig(local_channel(),'redbasic', 'radius' );
$arr['shadow'] = get_pconfig(local_channel(),'redbasic', 'photo_shadow' );
$arr['converse_width']=get_pconfig(local_channel(),"redbasic","converse_width");
$arr['top_photo']=get_pconfig(local_channel(),"redbasic","top_photo");
$arr['reply_photo']=get_pconfig(local_channel(),"redbasic","reply_photo");
$arr['advanced_theming'] = get_pconfig(local_channel(), 'redbasic', 'advanced_theming');
return $this->form($arr);
}
function post() {
if(!local_channel()) {
return;
}
if (isset($_POST['redbasic-settings-submit'])) {
set_pconfig(local_channel(), 'redbasic', 'narrow_navbar', $_POST['redbasic_narrow_navbar']);
set_pconfig(local_channel(), 'redbasic', 'nav_bg', $_POST['redbasic_nav_bg']);
set_pconfig(local_channel(), 'redbasic', 'nav_icon_colour', $_POST['redbasic_nav_icon_colour']);
set_pconfig(local_channel(), 'redbasic', 'nav_active_icon_colour', $_POST['redbasic_nav_active_icon_colour']);
set_pconfig(local_channel(), 'redbasic', 'link_colour', $_POST['redbasic_link_colour']);
set_pconfig(local_channel(), 'redbasic', 'background_colour', $_POST['redbasic_background_colour']);
set_pconfig(local_channel(), 'redbasic', 'banner_colour', $_POST['redbasic_banner_colour']);
set_pconfig(local_channel(), 'redbasic', 'background_image', $_POST['redbasic_background_image']);
set_pconfig(local_channel(), 'redbasic', 'item_colour', $_POST['redbasic_item_colour']);
set_pconfig(local_channel(), 'redbasic', 'comment_item_colour', $_POST['redbasic_comment_item_colour']);
set_pconfig(local_channel(), 'redbasic', 'font_size', $_POST['redbasic_font_size']);
set_pconfig(local_channel(), 'redbasic', 'font_colour', $_POST['redbasic_font_colour']);
set_pconfig(local_channel(), 'redbasic', 'radius', $_POST['redbasic_radius']);
set_pconfig(local_channel(), 'redbasic', 'photo_shadow', $_POST['redbasic_shadow']);
set_pconfig(local_channel(), 'redbasic', 'converse_width', $_POST['redbasic_converse_width']);
set_pconfig(local_channel(), 'redbasic', 'top_photo', $_POST['redbasic_top_photo']);
set_pconfig(local_channel(), 'redbasic', 'reply_photo', $_POST['redbasic_reply_photo']);
set_pconfig(local_channel(), 'redbasic', 'advanced_theming', $_POST['redbasic_advanced_theming']);
}
}
function form($arr) {
if(get_pconfig(local_channel(), 'redbasic', 'advanced_theming'))
$expert = 1;
$o .= replace_macros(get_markup_template('theme_settings.tpl'), array(
'$submit' => t('Submit'),
'$baseurl' => z_root(),
'$theme' => \App::$channel['channel_theme'],
'$expert' => $expert,
'$title' => t("Theme settings"),
'$narrow_navbar' => array('redbasic_narrow_navbar',t('Narrow navbar'),$arr['narrow_navbar'], '', array(t('No'),t('Yes'))),
'$nav_bg' => array('redbasic_nav_bg', t('Navigation bar background color'), $arr['nav_bg']),
'$nav_icon_colour' => array('redbasic_nav_icon_colour', t('Navigation bar icon color '), $arr['nav_icon_colour']),
'$nav_active_icon_colour' => array('redbasic_nav_active_icon_colour', t('Navigation bar active icon color '), $arr['nav_active_icon_colour']),
'$link_colour' => array('redbasic_link_colour', t('Link color'), $arr['link_colour'], '', $link_colours),
'$banner_colour' => array('redbasic_banner_colour', t('Set font-color for banner'), $arr['banner_colour']),
'$bgcolour' => array('redbasic_background_colour', t('Set the background color'), $arr['bgcolour']),
'$background_image' => array('redbasic_background_image', t('Set the background image'), $arr['background_image']),
'$item_colour' => array('redbasic_item_colour', t('Set the background color of items'), $arr['item_colour']),
'$comment_item_colour' => array('redbasic_comment_item_colour', t('Set the background color of comments'), $arr['comment_item_colour']),
'$font_size' => array('redbasic_font_size', t('Set font-size for the entire application'), $arr['font_size'], t('Examples: 1rem, 100%, 16px')),
'$font_colour' => array('redbasic_font_colour', t('Set font-color for posts and comments'), $arr['font_colour']),
'$radius' => array('redbasic_radius', t('Set radius of corners'), $arr['radius'], t('Example: 4px')),
'$shadow' => array('redbasic_shadow', t('Set shadow depth of photos'), $arr['shadow']),
'$converse_width' => array('redbasic_converse_width',t('Set maximum width of content region in pixel'),$arr['converse_width'], t('Leave empty for default width')),
'$top_photo' => array('redbasic_top_photo', t('Set size of conversation author photo'), $arr['top_photo']),
'$reply_photo' => array('redbasic_reply_photo', t('Set size of followup author photos'), $arr['reply_photo']),
'$advanced_theming' => ['redbasic_advanced_theming', t('Show advanced settings'), $arr['advanced_theming'], '', [t('No'), t('Yes')]]
));
return $o;
}
}

163
ussrbasic/php/style.php Normal file
View File

@ -0,0 +1,163 @@
<?php
if(! App::$install) {
// Get the UID of the channel owner
$uid = get_theme_uid();
if($uid) {
load_pconfig($uid,'redbasic');
}
// Load the owners pconfig
$nav_bg = get_pconfig($uid, 'redbasic', 'nav_bg');
$nav_icon_colour = get_pconfig($uid, 'redbasic', 'nav_icon_colour');
$nav_active_icon_colour = get_pconfig($uid, 'redbasic', 'nav_active_icon_colour');
$banner_colour = get_pconfig($uid,'redbasic','banner_colour');
$narrow_navbar = get_pconfig($uid,'redbasic','narrow_navbar');
$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');
$item_colour = get_pconfig($uid, 'redbasic', 'item_colour');
$comment_item_colour = get_pconfig($uid, 'redbasic', 'comment_item_colour');
$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');
$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.
// Allow layouts to over-ride the 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/ussrbasic/schema/' . $schema . '.php')) {
$schemefile = 'view/theme/ussrbasic/schema/' . $schema . '.php';
require_once ($schemefile);
}
if(file_exists('view/theme/ussrbasic/schema/' . $schema . '.css')) {
$schemecss = file_get_contents('view/theme/ussrbasic/schema/' . $schema . '.css');
}
}
// Allow admins to set a default schema for the hub.
// default.php and default.css MUST be symlinks to existing schema files in view/theme/redbasic/schema
if ((!$schema) || ($schema == '---')) {
if(file_exists('view/theme/ussrbasic/schema/default.php')) {
$schemefile = 'view/theme/ussrbasic/schema/default.php';
require_once ($schemefile);
}
if(file_exists('view/theme/ussrbasic/schema/default.css')) {
$schemecss = file_get_contents('view/theme/ussrbasic/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 = '#343a40';
if (! $nav_icon_colour)
$nav_icon_colour = 'rgba(255, 255, 255, 0.5)';
if (! $nav_active_icon_colour)
$nav_active_icon_colour = 'rgba(255, 255, 255, 0.75)';
if (! $link_colour)
$link_colour = '#007bff';
if (! $banner_colour)
$banner_colour = '#fff';
if (! $bgcolour)
$bgcolour = 'rgb(254,254,254)';
if (! $background_image)
$background_image ='';
if (! $item_colour)
$item_colour = 'rgb(238,238,238)';
if (! $comment_item_colour)
$comment_item_colour = 'rgb(255,255,255)';
if (! $item_opacity)
$item_opacity = '1';
if (! $font_size)
$font_size = '0.875rem';
if (! $font_colour)
$font_colour = '#4d4d4d';
if (! $radius)
$radius = '0.25rem';
if (! $shadow)
$shadow = '0';
if (! $converse_width)
$converse_width = '790';
if(! $top_photo)
$top_photo = '2.3rem';
if(! $reply_photo)
$reply_photo = '2.3rem';
// Apply the settings
if(file_exists('view/theme/ussrbasic/css/style.css')) {
$x = file_get_contents('view/theme/ussrbasic/css/style.css');
if($narrow_navbar && file_exists('view/theme/ussrbasic/css/narrow_navbar.css')) {
$x .= file_get_contents('view/theme/ussrbasic/css/narrow_navbar.css');
}
if($schemecss) {
$x .= $schemecss;
}
$aside_width = 288;
// left aside and right aside are 285px + converse width
$main_width = (($aside_width * 2) + intval($converse_width));
// prevent main_width smaller than 768px
$main_width = (($main_width < 768) ? 768 : $main_width);
$options = array (
'$nav_bg' => $nav_bg,
'$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,
'$font_size' => $font_size,
'$font_colour' => $font_colour,
'$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,
'$main_width' => $main_width,
'$aside_width' => $aside_width
);
echo str_replace(array_keys($options), array_values($options), $x);
}
// Set the schema to the default schema in derived themes. See the documentation for creating derived themes how to override this.
if(local_channel() && App::$channel && App::$channel['channel_theme'] != 'redbasic')
set_pconfig(local_channel(), 'redbasic', 'schema', '---');

16
ussrbasic/php/theme.php Normal file
View File

@ -0,0 +1,16 @@
<?php
/**
* * Name: Ussrbasic
* * Description: Ussr.win Hubzilla standard theme
* * Version: 2.1
* * MinVersion: 2.3.1
* * MaxVersion: 6.0
* * Author: Fabrixxm
* * Maintainer: Mike Macgirvin
* * Maintainer: Mario Vavti
*/
function redbasic_init(&$a) {
}

View File

@ -0,0 +1,17 @@
<?php
head_add_css('/library/fork-awesome/css/fork-awesome.min.css');
head_add_css('/vendor/twbs/bootstrap/dist/css/bootstrap.min.css');
head_add_css('/library/bootstrap-tagsinput/bootstrap-tagsinput.css');
head_add_css('/view/css/bootstrap-red.css');
head_add_css('/library/datetimepicker/jquery.datetimepicker.css');
head_add_css('/library/bootstrap-colorpicker/dist/css/bootstrap-colorpicker.min.css');
require_once('view/php/theme_init.php');
head_add_js('/vendor/twbs/bootstrap/dist/js/bootstrap.bundle.min.js');
head_add_js('/library/bootbox/bootbox.min.js');
head_add_js('/library/bootstrap-tagsinput/bootstrap-tagsinput.js');
head_add_js('/library/datetimepicker/jquery.datetimepicker.js');
head_add_js('/library/bootstrap-colorpicker/dist/js/bootstrap-colorpicker.js');

View File

@ -0,0 +1,15 @@
.comment .wall-item-body {
padding-left: 42px;
}
.wall-item-content-wrapper.comment {
border-bottom: 1px solid #dee2e6;
}
.widget {
border: 1px solid #dee2e6;
}
#note-text {
border: 1px solid transparent;
}

View File

@ -0,0 +1,6 @@
<?php
if (! $radiuspx)
$radiuspx = "4";
if (! $comment_border_colour)
$comment_border_colour = "rgb(238,238,238)";

View File

@ -0,0 +1,5 @@
.dropdown-header.text-white-50,
.navbar-dark .navbar-toggler,
.navbar-dark .nav-link.active {
color: rgba(0,0,0,0.7) !important;
}

View File

@ -0,0 +1,12 @@
<?php
if (! $nav_bg)
$nav_bg = "#f8f9fa";
if (! $nav_icon_colour)
$nav_icon_colour = "rgba(0, 0, 0, 0.5);";
if (! $nav_active_icon_colour)
$nav_active_icon_colour = "rgba(0, 0, 0, 0.7)";
if (! $radius)
$radius = "4px";
if (! $banner_colour)
$banner_colour = "rgba(0, 0, 0, 0.7)";

482
ussrbasic/schema/dark.css Normal file
View File

@ -0,0 +1,482 @@
.generic-content-wrapper {
background-color: transparent;
}
textarea, input, select
{
color: #BBB !important;
background: #333 !important;
border-color: #2B2B2B !important;
}
#profile-jot-submit-wrapper {
border-top: none;
padding: 10px 0;
}
#jot-title {
border-radius: 3px;
}
#jot-title-wrap {
border-bottom: none;
margin-bottom: 5px;
}
#jot-category-wrap {
border-bottom: none;
margin-bottom: 5px;
}
.bootstrap-tagsinput {
background: #333;
}
optgroup {
color: #CCC !important;
}
option {
color: $link_colour !important;
}
.vcard, #contact-block, .widget {
background-color: transparent;
border: none;
border-bottom: 1px solid #333;
border-radius: 0px
}
#profile-photo-wrapper {
border: none;
}
#profile-edit-default-desc {
background-color: #665029;
color: #FFF;
padding: 20px;
}
.photo {
box-shadow: none;
}
.abook-pending-contact, .abook-permschange {
background: #402900;
}
.contact-entry-wrapper {
border: 1px solid #333;
}
#cboxContent a {
color: #000;
}
#cboxContent {
color: #111;
}
#adminpage table tr:hover {
background-color: #222;
}
#colorbox {
border: 0px solid #1E1E1E;
background-color: #1E1E1E;
}
.chat-item-text {
background-color: #222;
}
.fc-state-highlight {
background: none repeat scroll 0% 0% #333 !important;
}
.well {
background-color: #1E1E1E;
border: 1px solid #222;
background-image: linear-gradient(to bottom, #1E1E1E 0px, #1E1E1E 100%);
}
.alert-info, .section-content-info-wrapper {
color: #CCC;
background-color:#333;
border-color: #444;
background-image: linear-gradient(to bottom, #333 0px, #333 100%);
}
.abook-self {
background-color: #251111;
}
.acl-button-show,
.acl-button-hide {
color: #fff;
}
#acl-select {
background-color:#333;
border: 1px solid #444;
color: #FFF;
}
#acl-showall {
color: #FFF;
}
#acl-list {
border: 1px solid #444;
}
#acl-search-wrapper {
border-bottom: 1px solid #444;
}
.acl-list-item {
border: 1px solid #222;
color: #CCC;
background-color:#333;
}
.abook-self {
border: 1px solid #222;
color: #555;
background-color:#111;
}
.modal-content,
#notifications_wrapper {
background-color: #111;
}
.dropdown-header.text-black-50,
.nav-link.active {
color:#fff !important;
}
a.btn, aside a {
font-weight: 400 !important;
}
.btn {
background-color: #1e1e1e;
border-color: #222;
color: #ccc;
text-shadow: none;
box-shadow: none;
}
.btn:hover, .btn:focus, .btn:active {
background-color: #222;
border-color: #222;
color: #fff;
text-decoration: underline;
}
.btn-default.btn-sm:hover, .btn-default.btn-sm:focus, .btn-default.btn-sm:active .btn-default.btn-sm.active {
text-decoration: none;
}
.btn-primary, input#event-submit, input#rmagic-submit-button, input#lostpass-submit-button {
background-color: #337AB7;
color: #FFF;
}
.btn-primary:hover, .btn-primary:focus, input#event-submit:hover, input#event-submit:focus, input#rmagic-submit-button:hover, input#rmagic-submit-button:focus, input#lostpass-submit-button:hover, input#lostpass-submit-button:focus {
border-color: #204D74;
background-color: #286090;
color: #FFF;
}
.btn-success {
color: #FFF !important;
background-color: #5CB85C !important;
border-color: #4CAE4C !important;
}
.btn-success:hover, .btn-success:focus {
color: #FFF !important;
background-color: #449D44 !important;
border-color: #398439 !important;
}
.btn-warning {
color: #FFF !important;
background-color: #F0AD4E !important;
border-color: #EEA236 !important;
}
.btn-warning:hover, .btn-warning:focus {
color: #FFF !important;
background-color: #EC971F !important;
border-color: #D58512 !important;
}
.btn-danger, form#chat-destroy > input {
background-color: #D9534F !important;
border-color: #D43F3A !important;
color: #FFF !important;
}
.btn-danger:hover, .btn-danger:focus, form#chat-destroy > input:hover, form#chat-destroy > input:focus {
color: #FFF !important;
background-color: #C9302C !important;
border-color: #AC2925 !important;
}
.pager_first,
.pager_last,
.pager_prev,
.pager_next,
.pager-prev,
.pager-next,
.pager_n {
border: 1px solid #222;
background: #1e1e1e;
}
input {
border: 1px solid #222;
}
input[type="submit"] {
background-color: #333;
color: #fff;
}
.notify-seen a {
background: #111;
color: #222 !important;
}
.notify-seen a:hover {
background: #222;
color: #ccc !important;
}
nav .dropdown-menu>li>a{
color: #fff;
}
nav .dropdown-menu>li>a:hover,nav .dropdown-menu>li>a:focus{
color: #fff;
background-color: #222;
background-image: none;
}
nav .dropdown-menu .divider{
background-color: #222;
}
nav .dropdown-menu>li>a:hover,nav .dropdown-menu>li>a:focus{
color: #fff;
background-color: #222;
background-image: none;
}
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-link.active {
color: #fff;
background-color: #111;
border-color: #333;
}
.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus {
text-decoration: underline;
background-color: #222;
color: #ccc;
border-color: #333;
}
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;
}
.list-group-item {
background-color: #222;
}
.text-dark {
color: #aaa !important;
}
a.text-dark:focus, a.text-dark:hover {
color: #ddd !important;
}
.group-selected, .fileas-selected, .categories-selected, .search-selected, a.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;
}
#wiki-content-container code {
background: #000;
}
.notif-item a {
color: #ccc;
}
.notif-item a:hover {
color: #fff;
}
.dropdown-menu {
background-color: #222;
}
.dropdown-menu >li > a {
color: #ccc !important;
}
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
color: #ddd;
background-color: #333;
background-image: none;
}
.open .dropdown-toggle.btn-default, .open .dropdown-toggle.btn-default:focus {
color: #ccc;
background-color: #222;
border-color: #222;
}
.pmenu-item:hover a {
background-color: #333 !important;
color: #ddd;
}
.preview {
background: url('../img/gray_and_black_diagonal_stripes_background_seamless.gif');
}
.xdsoft_datepicker.active {
color: #222 !important;
text-decoration: none !important;
}
.xdsoft_datepicker.active:hover, .xdsoft_datepicker.active:focus {
color: #222 !important;
text-decoration: underline;
}
@media (min-width: 768px) {
.nav-tabs.nav-justified > li > a {
border-bottom: 1px solid #333;
}
}
#profile-jot-wrapper {
background-color: inherit;
border: none;
}
.nav-tabs.nav-justified {
background-color: inherit;
border: none;
}
.table-striped > tbody > tr:nth-of-type(2n+1), .table-hover > tbody > tr:hover {
background-color: #191919;
}
.table > tbody > tr > td {
border-color: #888;
}
.help-content {
border-bottom: #222 thin solid;
}
.help-content-open {
-moz-box-shadow: 0px 3px 3px #222;
-webkit-box-shadow: 0px 3px 3px #222;
box-shadow: 0px 3px 3px #222;
}
.contextual-help-content-open {
background: $nav_bg;
border-bottom: #555 1px solid;
box-shadow: 0px 3px 3px rgba(85,85,85,0.2);
}
.contextual-help-tool {
opacity: 0.5;
}
.contextual-help-tool:hover {
opacity: 1;
}
.contextual-help-tool i {
color: $link_colour;
}
.profile-match-wrapper {
width: 150px;
height: 120px;
border: none;
}
.profile-match-name {
width: 144px;
white-space: nowrap;
text-overflow: ellipsis;
}
.widget-nav-pills-icons:hover + a {
background-color: #222;
}
.widget-nav-pills-checkbox:hover + a {
background-color: #222;
}

41
ussrbasic/schema/dark.php Normal file
View File

@ -0,0 +1,41 @@
<?php
if (! $nav_bg)
$nav_bg = "#000";
if (! $nav_gradient_top)
$nav_gradient_top = "#000";
if (! $nav_gradient_bottom)
$nav_gradient_bottom = "#000";
if (! $nav_active_gradient_top)
$nav_active_gradient_top = "#333";
if (! $nav_active_gradient_bottom)
$nav_active_gradient_bottom = "#111";
if (! $nav_bd)
$nav_bd = "#111";
if (! $nav_icon_colour)
$nav_icon_colour = "#999";
if (! $nav_active_icon_colour)
$nav_active_icon_colour = "#fff";
if (! $link_colour)
$link_colour = "#fff";
if (! $banner_colour)
$banner_colour = "#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 (! $comment_border_colour)
$comment_border_colour = "rgba(28,28,28,0.8)";
if (! $toolicon_colour)
$toolicon_colour = '#999';
if (! $toolicon_activecolour)
$toolicon_activecolour = '#fff';
if (! $font_colour)
$font_colour = "#ccc";
if (! $converse_width)
$converse_width = "1024";

View File

@ -0,0 +1,322 @@
.generic-content-wrapper {
border: 1px solid #fff;
background-color: transparent;
}
.vcard, #contact-block, .widget {
background-color: transparent;
border: none;
border-bottom: 1px solid #fff;
}
.abook-pending-contact, .abook-permschange {
background: #fff;
}
#cboxContent a {
color: #fff;
}
#cboxContent {
color: #fff;
}
#adminpage table tr:hover {
background-color: #fff;
}
#colorbox {
border: 0px solid #fff;
background-color: #fff;
}
.chat-item-text {
background-color: #fff;
}
.fc-state-highlight {
background: none repeat scroll 0% 0% #fff !important;
}
.well {
background-color: #fff;
border: 1px solid #000;
background-image: linear-gradient(to bottom, #fff 0px, #fff 100%);
}
.alert-info {
color: #000;
background-color:#fff;
border-color: #000;
background-image: linear-gradient(to bottom, #fff 0px, #fff 100%);
}
#acl-select {
border: 1px solid #000;
color: #000;
}
.acl-list-item {
border: 1px solid #000;
background-color: #FFF;
}
.abook-self {
border: 1px solid #EEE;
color: #ccc;
background-color: #EEE;
}
.acl-button-show,
.acl-button-hide {
color: #000;
}
#acl-list {
border: 1px solid #fff;
}
.modal-content {
background-color: #fff;
}
a.btn, aside a {
font-weight: 400 !important;
}
.btn-default {
background-color: #fff;
border-color: #000;
color: #111;
text-shadow: none;
box-shadow: none;
}
.btn-default:hover, .btn-default:focus, .btn-default:active .btn-default.active {
background-color: #fff;
border-color: #000;
color: #000;
text-decoration: underline;
}
.btn-default.btn-sm:hover, .btn-default.btn-sm:focus, .btn-default.btn-sm:active .btn-default.btn-sm.active {
text-decoration: none;
}
.pager_first,
.pager_last,
.pager_prev,
.pager_next,
.pager-prev,
.pager-next,
.pager_n {
border: 1px solid #000;
background: #fff;
}
input {
border: 1px solid #000;
}
input[type="submit"] {
background-color: #fff;
color: #000;
}
.notify-seen a {
background: #fff;
color: #fff !important;
}
.notify-seen a:hover {
background: #fff;
color: #000 !important;
}
nav .dropdown-menu>li>a{
color: #000;
}
nav .dropdown-menu>li>a:hover,nav .dropdown-menu>li>a:focus{
color: #000;
background-color: #F5F5F5;
background-image: none;
}
nav .dropdown-menu .divider{
background-color: #F5F5F5;
}
nav .dropdown-menu>li>a:hover,nav .dropdown-menu>li>a:focus{
color: #000;
background-color: #F5F5F5;
background-image: none;
}
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;
}
.list-group-item {
background-color: #F5F5F5;
}
a, a:visited, a:link, .fakelink, .fakelink:visited, .fakelink:link {
font-weight: bold;
}
.group-selected, .fileas-selected, .categories-selected, .search-selected, a.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;
}
}
#profile-jot-wrapper {
background-color: inherit;
border: none;
}
.nav-tabs.nav-justified {
background-color: inherit;
border: none;
}
.help-content {
border-bottom: #000 thin solid;
}
.help-content-open {
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
}
.contextual-help-content-open {
background: #FFF;
}
.profile-match-wrapper {
width: 150px;
height: 120px;
border: none;
}
.profile-match-name {
width: 144px;
white-space: nowrap;
text-overflow: ellipsis;
}
.widget-nav-pills-icons:hover + a {
background-color: #F5F5F5;
}
.widget-nav-pills-checkbox:hover + a {
background-color: #F5F5F5;
}

View File

@ -0,0 +1,42 @@
<?php
if (! $nav_bg)
$nav_bg = "#fff";
if (! $nav_gradient_top)
$nav_gradient_top = "#fff";
if (! $nav_gradient_bottom)
$nav_gradient_bottom = "#fff";
if (! $nav_active_gradient_top)
$nav_active_gradient_top = "#fff";
if (! $nav_active_gradient_bottom)
$nav_active_gradient_bottom = "#fff";
if (! $nav_bd)
$nav_bd = "#fff";
if (! $nav_icon_colour)
$nav_icon_colour = "#111";
if (! $nav_active_icon_colour)
$nav_active_icon_colour = "#000";
if (! $banner_colour)
$banner_colour = "#fff";
if (! $link_colour)
$link_colour = "#000";
if (! $bgcolour)
$bgcolour = "#fff";
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 (! $font_colour)
$font_colour = "#000";
if (! $converse_width)
$converse_width = "1024";

View File

@ -0,0 +1,408 @@
.generic-content-wrapper {
border: 1px solid #000;
background-color: transparent;
}
textarea, input, select
{
color: $font_colour !important;
background: $bgcolour !important;
border: 1px solid #143D12 !important;
}
#profile-jot-submit-wrapper {
border-top: none;
padding: 10px 0;
}
#jot-title-wrap {
border-bottom: none;
margin-bottom: 5px;
}
optgroup {
color: #32962D !important;
}
option {
color: $link_colour !important;
}
.vcard, #contact-block, .widget {
background-color: transparent;
border: none;
border-bottom: 1px solid #fff;
}
.abook-pending-contact, .abook-permschange {
background: #000;
}
#cboxContent a {
color: #000;
}
#cboxContent {
color: #000;
}
#adminpage table tr:hover {
background-color: #000;
}
#colorbox {
border: 0px solid #000;
background-color: #000;
}
.chat-item-text {
background-color: #000;
}
.fc-state-highlight {
background: none repeat scroll 0% 0% #000 !important;
}
.well {
background-color: #000;
border: 1px solid #143D12;
background-image: linear-gradient(to bottom, #000 0px, #000 100%);
}
.alert-info {
color: #50f148;
background-color:#000;
border-color: #143D12;
background-image: linear-gradient(to bottom, #000 0px, #000 100%);
}
.section-content-info-wrapper {
color: #50f148;
background-color:#000;
border: 1px solid #143D12 !important;
}
.modal-header {
border-bottom: 1px solid #143D12;
}
.modal-footer {
border-top: 1px solid #143D12;
}
#acl-select {
background-color: #000;
border: 1px solid #143D12;
color: #50f148;
}
.abook-self {
color: #333;
background-color: #000 !important;
border: 1px solid #111;
}
.acl-button-show,
.acl-button-hide {
color: #fff;
}
#acl-list {
border: 1px solid #143D12;
}
#acl-search-wrapper {
border-bottom: 1px solid #143D12;
}
.acl-list-item {
border: 1px solid #111;
background-color:#111;
}
.modal-content {
background-color: #000;
}
a.btn, aside a {
font-weight: 400 !important;
}
.btn-default {
background-color: #000;
border-color: #143D12;
color: #32962D;
text-shadow: none;
box-shadow: none;
}
.btn-default:hover, .btn-default:focus, .btn-default:active .btn-default.active {
background-color: #000;
border-color: #143D12;
color: #50f148;
text-decoration: underline;
}
.btn-default.btn-sm:hover, .btn-default.btn-sm:focus, .btn-default.btn-sm:active .btn-default.btn-sm.active {
text-decoration: none;
}
.pager_first,
.pager_last,
.pager_prev,
.pager_next,
.pager-prev,
.pager-next,
.pager_n {
border: 1px solid #143D12;
background: #000;
}
input {
border: 1px solid #143D12;
}
input[type="submit"] {
background-color: #000;
color: #50f148;
}
.notify-seen a {
background: #000;
color: #000 !important;
}
.notify-seen a:hover {
background: #000;
color: #50f148 !important;
}
nav .dropdown-menu>li>a {
color: #50f148;
}
nav .dropdown-menu>li>a:hover,nav .dropdown-menu>li>a:focus {
color: #50f148;
background-color: #143D12;
background-image: none;
}
nav .dropdown-menu .divider {
background-color: #143D12;
}
nav .dropdown-menu>li>a:hover,nav .dropdown-menu>li>a:focus {
color: #50f148;
background-color: #143D12;
background-image: none;
}
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;
border-color: #143D12;
}
aside .nav > li > a:hover, aside .nav > li > a:focus {
text-decoration: underline;
background-color: #143D12;
}
.list-group-item {
background-color: #143D12;
}
a, a:visited, a:link, .fakelink, .fakelink:visited, .fakelink:link {
font-weight: bold;
}
.group-selected, .fileas-selected, .categories-selected, .search-selected, a.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, .open .dropdown-toggle.btn-default:focus {
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;
}
}
#profile-jot-wrapper {
background-color: inherit;
border: none;
}
.nav-tabs.nav-justified {
background-color: inherit;
border: none;
}
.table-striped > tbody > tr:nth-of-type(2n+1) {
background-color: #000;
}
.table-hover > tbody > tr:hover {
background-color: #143D12;
}
.table > tbody > tr > td {
border-color: #143D12;
}
.help-content {
border-bottom: #143D12 thin solid;
}
.help-content-open {
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
}
.contextual-help-content-open {
background: $nav_bg;
border-bottom: #1C5419 1px solid;
box-shadow: 0px 3px 3px rgba(28,84,25,0.2);
}
.contextual-help-tool {
opacity: 0.5;
}
.contextual-help-tool:hover {
opacity: 1;
}
.contextual-help-tool i {
color: $link_colour;
}
.profile-match-wrapper {
width: 150px;
height: 120px;
border: none;
}
.profile-match-name {
width: 144px;
white-space: nowrap;
text-overflow: ellipsis;
}
.widget-nav-pills-icons:hover + a {
background-color: #143D12;
}
.widget-nav-pills-checkbox:hover + a {
background-color: #143D12;
}

View File

@ -0,0 +1,38 @@
<?php
if (! $nav_bg)
$nav_bg = "#000";
if (! $nav_gradient_top)
$nav_gradient_top = "#000";
if (! $nav_gradient_bottom)
$nav_gradient_bottom = "#000";
if (! $nav_active_gradient_top)
$nav_active_gradient_top = "#000";
if (! $nav_active_gradient_bottom)
$nav_active_gradient_bottom = "#000";
if (! $nav_bd)
$nav_bd = "#000";
if (! $nav_icon_colour)
$nav_icon_colour = "#32962D";
if (! $nav_active_icon_colour)
$nav_active_icon_colour = "#50f148";
if (! $banner_colour)
$banner_colour = "#000";
if (! $link_colour)
$link_colour = "#50f148";
if (! $bgcolour)
$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 (! $font_colour)
$font_colour = "#46D43F";
if (! $converse_width)
$converse_width = "1024";

View File

@ -0,0 +1,382 @@
.generic-content-wrapper {
border: 1px solid #000;
background-color: transparent;
}
textarea, input, select
{
color: $font_colour !important;
background: $bgcolour !important;
border: 1px solid #FFF !important;
}
#profile-jot-submit-wrapper {
border-top: none;
padding: 10px 0;
}
#jot-title-wrap {
border-bottom: none;
margin-bottom: 5px;
}
optgroup {
color: #FFF !important;
}
option {
color: $link_colour !important;
}
.vcard, #contact-block, .widget {
background-color: transparent;
border: none;
border-bottom: 1px solid #fff;
}
#cboxContent a {
color: #000;
}
#cboxContent {
color: #000;
}
#adminpage table tr:hover {
background-color: #000;
}
#colorbox {
border: 0px solid #000;
background-color: #000;
}
.chat-item-text {
background-color: #000;
}
.fc-state-highlight {
background: none repeat scroll 0% 0% #000 !important;
}
.well {
background-color: #000;
border: 1px solid #fff;
background-image: linear-gradient(to bottom, #000 0px, #000 100%);
}
.alert-info {
color: #fff;
background-color:#000;
border-color: #fff;
background-image: linear-gradient(to bottom, #000 0px, #000 100%);
}
.section-content-info-wrapper {
color: #fff;
background-color:#000;
border: 1px solid #fff !important;
}
.modal-header {
border-bottom: 1px solid #000;
}
.modal-footer {
border-top: 1px solid #000;
}
#acl-select {
background-color: #000;
border: 1px solid #fff;
color: #fff;
}
.abook-self {
color: #333;
background-color: #111 !important;
border: 1px solid #111;
}
.acl-button-show,
.acl-button-hide {
color: #fff;
}
#acl-list {
border: 1px solid #000;
}
#acl-search-wrapper {
border-bottom: 1px solid #000;
}
.acl-list-item {
border: 1px solid #fff;
background-color:#000;
}
.modal-content {
background-color: #000;
}
a.btn, aside a {
font-weight: 400 !important;
}
.btn-default {
background-color: #000;
border-color: #fff;
color: #eee;
text-shadow: none;
box-shadow: none;
}
.btn-default:hover, .btn-default:focus, .btn-default:active .btn-default.active {
background-color: #000;
border-color: #fff;
color: #fff;
text-decoration: underline;
}
.btn-default.btn-sm:hover, .btn-default.btn-sm:focus, .btn-default.btn-sm:active .btn-default.btn-sm.active {
text-decoration: none;
}
.pager_first,
.pager_last,
.pager_prev,
.pager_next,
.pager-prev,
.pager-next,
.pager_n {
border: 1px solid #fff;
background: #000;
}
input {
border: 1px solid #fff;
}
input[type="submit"] {
background-color: #000;
color: #fff;
}
.notify-seen a {
background: #000;
color: #000 !important;
}
.notify-seen a:hover {
background: #000;
color: #fff !important;
}
nav .dropdown-menu>li>a{
color: #fff;
}
nav .dropdown-menu>li>a:hover,nav .dropdown-menu>li>a:focus{
color: #fff;
background-color: #030303;
background-image: none;
}
nav .dropdown-menu .divider{
background-color: #030303;
}
nav .dropdown-menu>li>a:hover,nav .dropdown-menu>li>a:focus{
color: #fff;
background-color: #030303;
background-image: none;
}
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;
}
.list-group-item {
background-color: #030303;
}
a, a:visited, a:link, .fakelink, .fakelink:visited, .fakelink:link {
font-weight: bold;
}
.group-selected, .fileas-selected, .categories-selected, .search-selected, a.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, .open .dropdown-toggle.btn-default:focus {
color: #fff;
background-color: #000;
border-color: #fff;
}
.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;
}
}
#profile-jot-wrapper {
background-color: inherit;
border: none;
}
.nav-tabs.nav-justified {
background-color: inherit;
border: none;
}
.table-striped > tbody > tr:nth-of-type(2n+1), .table-hover > tbody > tr:hover {
background-color: #030303;
}
.table > tbody > tr > td {
border-color: #FFF;
}
.help-content {
border-bottom: #FFF thin solid;
}
.help-content-open {
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
}
.contextual-help-content-open {
background: $nav_bg;
border-bottom: #FFF 1px solid;
box-shadow: 0px 3px 3px rgba(255,255,255,0.2);
}
.contextual-help-tool {
opacity: 0.5;
}
.contextual-help-tool:hover {
opacity: 1;
}
.contextual-help-tool i {
color: $link_colour;
}
.profile-match-wrapper {
width: 150px;
height: 120px;
border: none;
}
.profile-match-name {
width: 144px;
white-space: nowrap;
text-overflow: ellipsis;
}
.widget-nav-pills-icons:hover + a {
background-color: #030303;
}
.widget-nav-pills-checkbox:hover + a {
background-color: #030303;
}

View File

@ -0,0 +1,38 @@
<?php
if (! $nav_bg)
$nav_bg = "#000";
if (! $nav_gradient_top)
$nav_gradient_top = "#000";
if (! $nav_gradient_bottom)
$nav_gradient_bottom = "#000";
if (! $nav_active_gradient_top)
$nav_active_gradient_top = "#000";
if (! $nav_active_gradient_bottom)
$nav_active_gradient_bottom = "#000";
if (! $nav_bd)
$nav_bd = "#000";
if (! $nav_icon_colour)
$nav_icon_colour = "#eee";
if (! $nav_active_icon_colour)
$nav_active_icon_colour = "#fff";
if (! $banner_colour)
$banner_colour = "#000";
if (! $link_colour)
$link_colour = "#fff";
if (! $bgcolour)
$bgcolour = "#000";
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 (! $font_colour)
$font_colour = "#fff";
if (! $converse_width)
$converse_width = "1024";

View File

@ -0,0 +1,34 @@
{{include file="field_checkbox.tpl" field=$narrow_navbar}}
{{include file="field_input.tpl" field=$converse_width}}
{{include file="field_input.tpl" field=$font_size}}
{{include file="field_checkbox.tpl" field=$advanced_theming}}
{{if $expert}}
{{include file="field_colorinput.tpl" field=$nav_bg}}
{{include file="field_colorinput.tpl" field=$nav_icon_colour}}
{{include file="field_colorinput.tpl" field=$nav_active_icon_colour}}
{{include file="field_colorinput.tpl" field=$banner_colour}}
{{include file="field_colorinput.tpl" field=$bgcolour}}
{{include file="field_colorinput.tpl" field=$background_image}}
{{include file="field_colorinput.tpl" field=$item_colour}}
{{include file="field_colorinput.tpl" field=$comment_item_colour}}
{{*include file="field_colorinput.tpl" field=$comment_border_colour*}}
{{*include file="field_input.tpl" field=$comment_indent*}}
{{include file="field_colorinput.tpl" field=$font_colour}}
{{include file="field_colorinput.tpl" field=$link_colour}}
{{include file="field_input.tpl" field=$radius}}
{{include file="field_input.tpl" field=$shadow}}
{{include file="field_input.tpl" field=$top_photo}}
{{include file="field_input.tpl" field=$reply_photo}}
<script>
$(function(){
$('#id_redbasic_nav_bg, #id_redbasic_nav_icon_colour, #id_redbasic_nav_active_icon_colour, #id_redbasic_banner_colour').colorpicker({format: 'rgba'});
$('#id_redbasic_link_colour,#id_redbasic_background_colour').colorpicker();
$('#id_redbasic_toolicon_colour,#id_redbasic_toolicon_activecolour,#id_redbasic_font_colour').colorpicker();
$('#id_redbasic_item_colour,#id_redbasic_comment_item_colour,#id_redbasic_comment_border_colour').colorpicker({format: 'rgba'});
});
</script>
{{/if}}
<div class="settings-submit-wrapper" >
<button type="submit" name="redbasic-settings-submit" class="btn btn-primary">{{$submit}}</button>
</div>

View File

@ -0,0 +1,15 @@
.wall-item-content.conv-list-mode {
max-width: 280px;
height:200px;
min-height: 200px;
overflow: hidden;
}
.thread-wrapper.toplevel_item.conv-list-mode {
width: 300px;
height: 300px;
float: left;
margin-left: 5px;
margin-bottom: 35px;
}

View File

@ -0,0 +1,24 @@
/*
section {
left: 0px;
width: 800px;
margin-left: auto;
margin-right: auto;
}
body {background-color: #d00 !important;}
.page-content-wrapper {background: #fff;
color: #000;
border-radius: 20px;
box-shadow: 5px 5px 5px #111;
}
h3.page-title {
padding-top: 30px;
color: #033}
.page-body {padding: 40px;}
.page-body strong {color: #033;}
.nav-links {margin-top: 5px;}
*/

View File

@ -0,0 +1,30 @@
@media screen and (min-width: 767px) {
nav.navbar {
padding-top: 1px;
padding-bottom: 1px
}
nav .badge {
top: 0px;
left: -0.25rem;
}
.contextual-help-content-open {
top: 2.5rem;
}
aside {
padding-top: 3.5rem;
}
section {
padding-top: 3.5rem;
}
#jGrowl.top-right {
top: 3.5rem;
right: 15px;
}
}

View File

@ -0,0 +1,58 @@
.rotleft1 {
-webkit-transform: rotate(-1deg);
-moz-transform: rotate(-1deg);
-ms-transform: rotate(-1deg);
-o-transform: rotate(-1deg);
}
.rotleft2 {
-webkit-transform: rotate(-2deg);
-moz-transform: rotate(-2deg);
-ms-transform: rotate(-2deg);
-o-transform: rotate(-2deg);
}
.rotleft3 {
-webkit-transform: rotate(-3deg);
-moz-transform: rotate(-3deg);
-ms-transform: rotate(-3deg);
-o-transform: rotate(-3deg);
}
.rotleft4 {
-webkit-transform: rotate(-4deg);
-moz-transform: rotate(-4deg);
-ms-transform: rotate(-4deg);
-o-transform: rotate(-4deg);
}
.rotright1 {
-webkit-transform: rotate(1deg);
-moz-transform: rotate(1deg);
-ms-transform: rotate(1deg);
-o-transform: rotate(1deg);
}
.rotright2 {
-webkit-transform: rotate(2deg);
-moz-transform: rotate(2deg);
-ms-transform: rotate(2deg);
-o-transform: rotate(2deg);
}
.rotright3 {
-webkit-transform: rotate(3deg);
-moz-transform: rotate(3deg);
-ms-transform: rotate(3deg);
-o-transform: rotate(3deg);
}
.rotright4 {
-webkit-transform: rotate(4deg);
-moz-transform: rotate(4deg);
-ms-transform: rotate(4deg);
-o-transform: rotate(4deg);
}

1802
ussrbasicpub/css/style.css Normal file

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB

129
ussrbasicpub/js/redbasic.js Normal file
View File

@ -0,0 +1,129 @@
/**
* ussrbasicpub theme specific JavaScript
*/
$(document).ready(function() {
// CSS3 calc() fallback (for unsupported browsers)
$('body').append('<div id="css3-calc" style="width: 10px; width: calc(10px + 10px); display: none;"></div>');
if( $('#css3-calc').width() == 10) {
$(window).resize(function() {
if($(window).width() < 992) {
$('main').css('width', $(window).width() + $('aside').outerWidth() );
} else {
$('main').css('width', '100%' );
}
});
}
$('#css3-calc').remove(); // Remove the test element
if($(window).width() >= 992) {
$('#left_aside_wrapper, #right_aside_wrapper').stick_in_parent({
offset_top: parseInt($('aside').css('padding-top')),
parent: 'main',
spacer: '.aside_spacer'
});
}
$('#expand-aside').on('click', toggleAside);
$('section').on('click', function() {
if($('main').hasClass('region_1-on')){
toggleAside();
}
});
var left_aside_height = $('#left_aside_wrapper').height();
$('#left_aside_wrapper').on('click', function() {
if(left_aside_height != $('#left_aside_wrapper').height()) {
$(document.body).trigger("sticky_kit:recalc");
left_aside_height = $('#left_aside_wrapper').height();
}
});
var right_aside_height = $('#right_aside_wrapper').height();
$('#right_aside_wrapper').on('click', function() {
if(right_aside_height != $('#right_aside_wrapper').height()) {
$(document.body).trigger("sticky_kit:recalc");
right_aside_height = $('#right_aside_wrapper').height();
}
});
$('.usermenu').click(function() {
if($('#navbar-collapse-1, #navbar-collapse-2').hasClass('show')){
$('#navbar-collapse-1, #navbar-collapse-2').removeClass('show');
}
});
$('#menu-btn').click(function() {
if($('#navbar-collapse-1').hasClass('show')){
$('#navbar-collapse-1').removeClass('show');
}
});
$('.notifications-btn').click(function(e) {
e.preventDefault();
e.stopPropagation();
if($('#navbar-collapse-2').hasClass('show')){
$('#navbar-collapse-2').removeClass('show');
}
});
$("input[data-role=cat-tagsinput]").tagsinput({
tagClass: 'badge badge-pill badge-warning text-dark'
});
$('a.disabled').click(function(e) {
e.preventDefault();
e.stopPropagation();
});
var doctitle = document.title;
function checkNotify() {
var notifyUpdateElem = document.getElementById('notify-update');
if(notifyUpdateElem !== null) {
if(notifyUpdateElem.innerHTML !== "")
document.title = "(" + notifyUpdateElem.innerHTML + ") " + doctitle;
else
document.title = doctitle;
}
}
setInterval(function () {checkNotify();}, 10 * 1000);
});
function makeFullScreen(full) {
if(typeof full=='undefined' || full == true) {
$('main').addClass('fullscreen');
$('header, nav, aside, #fullscreen-btn').attr('style','display:none !important');
$('#inline-btn').show();
}
else {
$('main').removeClass('fullscreen');
$('header, nav, aside, #fullscreen-btn').show();
$('#inline-btn').hide();
$(document.body).trigger("sticky_kit:recalc");
}
}
function toggleAside() {
$('#expand-aside-icon').toggleClass('fa-arrow-circle-right').toggleClass('fa-arrow-circle-left');
if($('main').hasClass('region_1-on')){
$('html, body').css('overflow-x', '');
$('main').removeClass('region_1-on')
$('#overlay').remove();
$('#left_aside_wrapper').trigger("sticky_kit:detach");
}
else {
$('html, body').css('overflow-x', 'hidden');
$('main').addClass('region_1-on')
$('<div id="overlay"></div>').appendTo('section');
$('#left_aside_wrapper').stick_in_parent({
offset_top: $('nav').outerHeight(true) + 10,
parent: '#region_1',
spacer: '#left_aside_spacer'
});
}
}

View File

@ -0,0 +1,129 @@
/**
* ussrbasicpub theme specific JavaScript
*/
$(document).ready(function() {
// CSS3 calc() fallback (for unsupported browsers)
$('body').append('<div id="css3-calc" style="width: 10px; width: calc(10px + 10px); display: none;"></div>');
if( $('#css3-calc').width() == 10) {
$(window).resize(function() {
if($(window).width() < 992) {
$('main').css('width', $(window).width() + $('aside').outerWidth() );
} else {
$('main').css('width', '100%' );
}
});
}
$('#css3-calc').remove(); // Remove the test element
if($(window).width() >= 992) {
$('#left_aside_wrapper, #right_aside_wrapper').stick_in_parent({
offset_top: parseInt($('aside').css('padding-top')),
parent: 'main',
spacer: '.aside_spacer'
});
}
$('#expand-aside').on('click', toggleAside);
$('section').on('click', function() {
if($('main').hasClass('region_1-on')){
toggleAside();
}
});
var left_aside_height = $('#left_aside_wrapper').height();
$('#left_aside_wrapper').on('click', function() {
if(left_aside_height != $('#left_aside_wrapper').height()) {
$(document.body).trigger("sticky_kit:recalc");
left_aside_height = $('#left_aside_wrapper').height();
}
});
var right_aside_height = $('#right_aside_wrapper').height();
$('#right_aside_wrapper').on('click', function() {
if(right_aside_height != $('#right_aside_wrapper').height()) {
$(document.body).trigger("sticky_kit:recalc");
right_aside_height = $('#right_aside_wrapper').height();
}
});
$('.usermenu').click(function() {
if($('#navbar-collapse-1, #navbar-collapse-2').hasClass('show')){
$('#navbar-collapse-1, #navbar-collapse-2').removeClass('show');
}
});
$('#menu-btn').click(function() {
if($('#navbar-collapse-1').hasClass('show')){
$('#navbar-collapse-1').removeClass('show');
}
});
$('.notifications-btn').click(function(e) {
e.preventDefault();
e.stopPropagation();
if($('#navbar-collapse-2').hasClass('show')){
$('#navbar-collapse-2').removeClass('show');
}
});
$("input[data-role=cat-tagsinput]").tagsinput({
tagClass: 'badge badge-pill badge-warning text-dark'
});
$('a.disabled').click(function(e) {
e.preventDefault();
e.stopPropagation();
});
var doctitle = document.title;
function checkNotify() {
var notifyUpdateElem = document.getElementById('notify-update');
if(notifyUpdateElem !== null) {
if(notifyUpdateElem.innerHTML !== "")
document.title = "(" + notifyUpdateElem.innerHTML + ") " + doctitle;
else
document.title = doctitle;
}
}
setInterval(function () {checkNotify();}, 10 * 1000);
});
function makeFullScreen(full) {
if(typeof full=='undefined' || full == true) {
$('main').addClass('fullscreen');
$('header, nav, aside, #fullscreen-btn').attr('style','display:none !important');
$('#inline-btn').show();
}
else {
$('main').removeClass('fullscreen');
$('header, nav, aside, #fullscreen-btn').show();
$('#inline-btn').hide();
$(document.body).trigger("sticky_kit:recalc");
}
}
function toggleAside() {
$('#expand-aside-icon').toggleClass('fa-arrow-circle-right').toggleClass('fa-arrow-circle-left');
if($('main').hasClass('region_1-on')){
$('html, body').css('overflow-x', '');
$('main').removeClass('region_1-on')
$('#overlay').remove();
$('#left_aside_wrapper').trigger("sticky_kit:detach");
}
else {
$('html, body').css('overflow-x', 'hidden');
$('main').addClass('region_1-on')
$('<div id="overlay"></div>').appendTo('section');
$('#left_aside_wrapper').stick_in_parent({
offset_top: $('nav').outerHeight(true) + 10,
parent: '#region_1',
spacer: '#left_aside_spacer'
});
}
}

128
ussrbasicpub/php/config.php Normal file
View File

@ -0,0 +1,128 @@
<?php
namespace Zotlabs\Theme;
class UssrbasicpubConfig {
function get_schemas() {
$files = glob('view/theme/ussrbasicpub/schema/*.php');
$scheme_choices = [];
if($files) {
if(in_array('view/theme/ussrbasicpub/schema/default.php', $files)) {
$scheme_choices['---'] = t('Default');
$scheme_choices['focus'] = t('Focus (Hubzilla default)');
}
else {
$scheme_choices['---'] = t('Focus (Hubzilla default)');
}
foreach($files as $file) {
$f = basename($file, ".php");
if($f != 'default') {
$scheme_name = $f;
$scheme_choices[$f] = $scheme_name;
}
}
}
return $scheme_choices;
}
function get() {
if(! local_channel()) {
return;
}
$arr = array();
$arr['narrow_navbar'] = get_pconfig(local_channel(),'ussrbasicpub', 'narrow_navbar' );
$arr['nav_bg'] = get_pconfig(local_channel(),'ussrbasicpub', 'nav_bg' );
$arr['nav_icon_colour'] = get_pconfig(local_channel(),'ussrbasicpub', 'nav_icon_colour' );
$arr['nav_active_icon_colour'] = get_pconfig(local_channel(),'ussrbasicpub', 'nav_active_icon_colour' );
$arr['link_colour'] = get_pconfig(local_channel(),'ussrbasicpub', 'link_colour' );
$arr['banner_colour'] = get_pconfig(local_channel(),'ussrbasicpub', 'banner_colour' );
$arr['bgcolour'] = get_pconfig(local_channel(),'ussrbasicpub', 'background_colour' );
$arr['background_image'] = get_pconfig(local_channel(),'ussrbasicpub', 'background_image' );
$arr['item_colour'] = get_pconfig(local_channel(),'ussrbasicpub', 'item_colour' );
$arr['comment_item_colour'] = get_pconfig(local_channel(),'ussrbasicpub', 'comment_item_colour' );
$arr['font_size'] = get_pconfig(local_channel(),'ussrbasicpub', 'font_size' );
$arr['font_colour'] = get_pconfig(local_channel(),'ussrbasicpub', 'font_colour' );
$arr['radius'] = get_pconfig(local_channel(),'ussrbasicpub', 'radius' );
$arr['shadow'] = get_pconfig(local_channel(),'ussrbasicpub', 'photo_shadow' );
$arr['converse_width']=get_pconfig(local_channel(),"ussrbasicpub","converse_width");
$arr['top_photo']=get_pconfig(local_channel(),"ussrbasicpub","top_photo");
$arr['reply_photo']=get_pconfig(local_channel(),"ussrbasicpub","reply_photo");
$arr['advanced_theming'] = get_pconfig(local_channel(), 'ussrbasicpub', 'advanced_theming');
return $this->form($arr);
}
function post() {
if(!local_channel()) {
return;
}
if (isset($_POST['ussrbasicpub-settings-submit'])) {
set_pconfig(local_channel(), 'ussrbasicpub', 'narrow_navbar', $_POST['ussrbasicpub_narrow_navbar']);
set_pconfig(local_channel(), 'ussrbasicpub', 'nav_bg', $_POST['ussrbasicpub_nav_bg']);
set_pconfig(local_channel(), 'ussrbasicpub', 'nav_icon_colour', $_POST['ussrbasicpub_nav_icon_colour']);
set_pconfig(local_channel(), 'ussrbasicpub', 'nav_active_icon_colour', $_POST['ussrbasicpub_nav_active_icon_colour']);
set_pconfig(local_channel(), 'ussrbasicpub', 'link_colour', $_POST['ussrbasicpub_link_colour']);
set_pconfig(local_channel(), 'ussrbasicpub', 'background_colour', $_POST['ussrbasicpub_background_colour']);
set_pconfig(local_channel(), 'ussrbasicpub', 'banner_colour', $_POST['ussrbasicpub_banner_colour']);
set_pconfig(local_channel(), 'ussrbasicpub', 'background_image', $_POST['ussrbasicpub_background_image']);
set_pconfig(local_channel(), 'ussrbasicpub', 'item_colour', $_POST['ussrbasicpub_item_colour']);
set_pconfig(local_channel(), 'ussrbasicpub', 'comment_item_colour', $_POST['ussrbasicpub_comment_item_colour']);
set_pconfig(local_channel(), 'ussrbasicpub', 'font_size', $_POST['ussrbasicpub_font_size']);
set_pconfig(local_channel(), 'ussrbasicpub', 'font_colour', $_POST['ussrbasicpub_font_colour']);
set_pconfig(local_channel(), 'ussrbasicpub', 'radius', $_POST['ussrbasicpub_radius']);
set_pconfig(local_channel(), 'ussrbasicpub', 'photo_shadow', $_POST['ussrbasicpub_shadow']);
set_pconfig(local_channel(), 'ussrbasicpub', 'converse_width', $_POST['ussrbasicpub_converse_width']);
set_pconfig(local_channel(), 'ussrbasicpub', 'top_photo', $_POST['ussrbasicpub_top_photo']);
set_pconfig(local_channel(), 'ussrbasicpub', 'reply_photo', $_POST['ussrbasicpub_reply_photo']);
set_pconfig(local_channel(), 'ussrbasicpub', 'advanced_theming', $_POST['ussrbasicpub_advanced_theming']);
}
}
function form($arr) {
if(get_pconfig(local_channel(), 'ussrbasicpub', 'advanced_theming'))
$expert = 1;
$o .= replace_macros(get_markup_template('theme_settings.tpl'), array(
'$submit' => t('Submit'),
'$baseurl' => z_root(),
'$theme' => \App::$channel['channel_theme'],
'$expert' => $expert,
'$title' => t("Theme settings"),
'$narrow_navbar' => array('ussrbasicpub_narrow_navbar',t('Narrow navbar'),$arr['narrow_navbar'], '', array(t('No'),t('Yes'))),
'$nav_bg' => array('ussrbasicpub_nav_bg', t('Navigation bar background color'), $arr['nav_bg']),
'$nav_icon_colour' => array('ussrbasicpub_nav_icon_colour', t('Navigation bar icon color '), $arr['nav_icon_colour']),
'$nav_active_icon_colour' => array('ussrbasicpub_nav_active_icon_colour', t('Navigation bar active icon color '), $arr['nav_active_icon_colour']),
'$link_colour' => array('ussrbasicpub_link_colour', t('Link color'), $arr['link_colour'], '', $link_colours),
'$banner_colour' => array('ussrbasicpub_banner_colour', t('Set font-color for banner'), $arr['banner_colour']),
'$bgcolour' => array('ussrbasicpub_background_colour', t('Set the background color'), $arr['bgcolour']),
'$background_image' => array('ussrbasicpub_background_image', t('Set the background image'), $arr['background_image']),
'$item_colour' => array('ussrbasicpub_item_colour', t('Set the background color of items'), $arr['item_colour']),
'$comment_item_colour' => array('ussrbasicpub_comment_item_colour', t('Set the background color of comments'), $arr['comment_item_colour']),
'$font_size' => array('ussrbasicpub_font_size', t('Set font-size for the entire application'), $arr['font_size'], t('Examples: 1rem, 100%, 16px')),
'$font_colour' => array('ussrbasicpub_font_colour', t('Set font-color for posts and comments'), $arr['font_colour']),
'$radius' => array('ussrbasicpub_radius', t('Set radius of corners'), $arr['radius'], t('Example: 4px')),
'$shadow' => array('ussrbasicpub_shadow', t('Set shadow depth of photos'), $arr['shadow']),
'$converse_width' => array('ussrbasicpub_converse_width',t('Set maximum width of content region in pixel'),$arr['converse_width'], t('Leave empty for default width')),
'$top_photo' => array('ussrbasicpub_top_photo', t('Set size of conversation author photo'), $arr['top_photo']),
'$reply_photo' => array('ussrbasicpub_reply_photo', t('Set size of followup author photos'), $arr['reply_photo']),
'$advanced_theming' => ['ussrbasicpub_advanced_theming', t('Show advanced settings'), $arr['advanced_theming'], '', [t('No'), t('Yes')]]
));
return $o;
}
}

163
ussrbasicpub/php/style.php Normal file
View File

@ -0,0 +1,163 @@
<?php
if(! App::$install) {
// Get the UID of the channel owner
$uid = get_theme_uid();
if($uid) {
load_pconfig($uid,'ussrbasicpub');
}
// Load the owners pconfig
$nav_bg = get_pconfig($uid, 'ussrbasicpub', 'nav_bg');
$nav_icon_colour = get_pconfig($uid, 'ussrbasicpub', 'nav_icon_colour');
$nav_active_icon_colour = get_pconfig($uid, 'ussrbasicpub', 'nav_active_icon_colour');
$banner_colour = get_pconfig($uid,'ussrbasicpub','banner_colour');
$narrow_navbar = get_pconfig($uid,'ussrbasicpub','narrow_navbar');
$link_colour = get_pconfig($uid, 'ussrbasicpub', 'link_colour');
$schema = get_pconfig($uid,'ussrbasicpub','schema');
$bgcolour = get_pconfig($uid, 'ussrbasicpub', 'background_colour');
$background_image = get_pconfig($uid, 'ussrbasicpub', 'background_image');
$item_colour = get_pconfig($uid, 'ussrbasicpub', 'item_colour');
$comment_item_colour = get_pconfig($uid, 'ussrbasicpub', 'comment_item_colour');
$font_size = get_pconfig($uid, 'ussrbasicpub', 'font_size');
$font_colour = get_pconfig($uid, 'ussrbasicpub', 'font_colour');
$radius = get_pconfig($uid, 'ussrbasicpub', 'radius');
$shadow = get_pconfig($uid,'ussrbasicpub','photo_shadow');
$converse_width=get_pconfig($uid,'ussrbasicpub','converse_width');
$top_photo=get_pconfig($uid,'ussrbasicpub','top_photo');
$reply_photo=get_pconfig($uid,'ussrbasicpub','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.
// Allow layouts to over-ride the 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/ussrbasicpub/schema/' . $schema . '.php')) {
$schemefile = 'view/theme/ussrbasicpub/schema/' . $schema . '.php';
require_once ($schemefile);
}
if(file_exists('view/theme/ussrbasicpub/schema/' . $schema . '.css')) {
$schemecss = file_get_contents('view/theme/ussrbasicpub/schema/' . $schema . '.css');
}
}
// Allow admins to set a default schema for the hub.
// default.php and default.css MUST be symlinks to existing schema files in view/theme/ussrbasicpub/schema
if ((!$schema) || ($schema == '---')) {
if(file_exists('view/theme/ussrbasicpub/schema/default.php')) {
$schemefile = 'view/theme/ussrbasicpub/schema/default.php';
require_once ($schemefile);
}
if(file_exists('view/theme/ussrbasicpub/schema/default.css')) {
$schemecss = file_get_contents('view/theme/ussrbasicpub/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 = '#343a40';
if (! $nav_icon_colour)
$nav_icon_colour = 'rgba(255, 255, 255, 0.5)';
if (! $nav_active_icon_colour)
$nav_active_icon_colour = 'rgba(255, 255, 255, 0.75)';
if (! $link_colour)
$link_colour = '#007bff';
if (! $banner_colour)
$banner_colour = '#fff';
if (! $bgcolour)
$bgcolour = 'rgb(254,254,254)';
if (! $background_image)
$background_image ='';
if (! $item_colour)
$item_colour = 'rgb(238,238,238)';
if (! $comment_item_colour)
$comment_item_colour = 'rgb(255,255,255)';
if (! $item_opacity)
$item_opacity = '1';
if (! $font_size)
$font_size = '0.875rem';
if (! $font_colour)
$font_colour = '#4d4d4d';
if (! $radius)
$radius = '0.25rem';
if (! $shadow)
$shadow = '0';
if (! $converse_width)
$converse_width = '790';
if(! $top_photo)
$top_photo = '2.3rem';
if(! $reply_photo)
$reply_photo = '2.3rem';
// Apply the settings
if(file_exists('view/theme/ussrbasicpub/css/style.css')) {
$x = file_get_contents('view/theme/ussrbasicpub/css/style.css');
if($narrow_navbar && file_exists('view/theme/ussrbasicpub/css/narrow_navbar.css')) {
$x .= file_get_contents('view/theme/ussrbasicpub/css/narrow_navbar.css');
}
if($schemecss) {
$x .= $schemecss;
}
$aside_width = 288;
// left aside and right aside are 285px + converse width
$main_width = (($aside_width * 2) + intval($converse_width));
// prevent main_width smaller than 768px
$main_width = (($main_width < 768) ? 768 : $main_width);
$options = array (
'$nav_bg' => $nav_bg,
'$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,
'$font_size' => $font_size,
'$font_colour' => $font_colour,
'$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,
'$main_width' => $main_width,
'$aside_width' => $aside_width
);
echo str_replace(array_keys($options), array_values($options), $x);
}
// Set the schema to the default schema in derived themes. See the documentation for creating derived themes how to override this.
if(local_channel() && App::$channel && App::$channel['channel_theme'] != 'ussrbasicpub')
set_pconfig(local_channel(), 'ussrbasicpub', 'schema', '---');

View File

@ -0,0 +1,16 @@
<?php
/**
* * Name: Ussrbasicpub
* * Description: Hubzilla standard theme
* * Version: 2.1
* * MinVersion: 2.3.1
* * MaxVersion: 6.0
* * Author: Fabrixxm
* * Maintainer: Mike Macgirvin
* * Maintainer: Mario Vavti
*/
function ussrbasicpub_init(&$a) {
}

View File

@ -0,0 +1,17 @@
<?php
head_add_css('/library/fork-awesome/css/fork-awesome.min.css');
head_add_css('/vendor/twbs/bootstrap/dist/css/bootstrap.min.css');
head_add_css('/library/bootstrap-tagsinput/bootstrap-tagsinput.css');
head_add_css('/view/css/bootstrap-red.css');
head_add_css('/library/datetimepicker/jquery.datetimepicker.css');
head_add_css('/library/bootstrap-colorpicker/dist/css/bootstrap-colorpicker.min.css');
require_once('view/php/theme_init.php');
head_add_js('/vendor/twbs/bootstrap/dist/js/bootstrap.bundle.min.js');
head_add_js('/library/bootbox/bootbox.min.js');
head_add_js('/library/bootstrap-tagsinput/bootstrap-tagsinput.js');
head_add_js('/library/datetimepicker/jquery.datetimepicker.js');
head_add_js('/library/bootstrap-colorpicker/dist/js/bootstrap-colorpicker.js');

View File

@ -0,0 +1,15 @@
.comment .wall-item-body {
padding-left: 42px;
}
.wall-item-content-wrapper.comment {
border-bottom: 1px solid #dee2e6;
}
.widget {
border: 1px solid #dee2e6;
}
#note-text {
border: 1px solid transparent;
}

View File

@ -0,0 +1,6 @@
<?php
if (! $radiuspx)
$radiuspx = "4";
if (! $comment_border_colour)
$comment_border_colour = "rgb(238,238,238)";

View File

@ -0,0 +1,5 @@
.dropdown-header.text-white-50,
.navbar-dark .navbar-toggler,
.navbar-dark .nav-link.active {
color: rgba(0,0,0,0.7) !important;
}

View File

@ -0,0 +1,12 @@
<?php
if (! $nav_bg)
$nav_bg = "#f8f9fa";
if (! $nav_icon_colour)
$nav_icon_colour = "rgba(0, 0, 0, 0.5);";
if (! $nav_active_icon_colour)
$nav_active_icon_colour = "rgba(0, 0, 0, 0.7)";
if (! $radius)
$radius = "4px";
if (! $banner_colour)
$banner_colour = "rgba(0, 0, 0, 0.7)";

View File

@ -0,0 +1,482 @@
.generic-content-wrapper {
background-color: transparent;
}
textarea, input, select
{
color: #BBB !important;
background: #333 !important;
border-color: #2B2B2B !important;
}
#profile-jot-submit-wrapper {
border-top: none;
padding: 10px 0;
}
#jot-title {
border-radius: 3px;
}
#jot-title-wrap {
border-bottom: none;
margin-bottom: 5px;
}
#jot-category-wrap {
border-bottom: none;
margin-bottom: 5px;
}
.bootstrap-tagsinput {
background: #333;
}
optgroup {
color: #CCC !important;
}
option {
color: $link_colour !important;
}
.vcard, #contact-block, .widget {
background-color: transparent;
border: none;
border-bottom: 1px solid #333;
border-radius: 0px
}
#profile-photo-wrapper {
border: none;
}
#profile-edit-default-desc {
background-color: #665029;
color: #FFF;
padding: 20px;
}
.photo {
box-shadow: none;
}
.abook-pending-contact, .abook-permschange {
background: #402900;
}
.contact-entry-wrapper {
border: 1px solid #333;
}
#cboxContent a {
color: #000;
}
#cboxContent {
color: #111;
}
#adminpage table tr:hover {
background-color: #222;
}
#colorbox {
border: 0px solid #1E1E1E;
background-color: #1E1E1E;
}
.chat-item-text {
background-color: #222;
}
.fc-state-highlight {
background: none repeat scroll 0% 0% #333 !important;
}
.well {
background-color: #1E1E1E;
border: 1px solid #222;
background-image: linear-gradient(to bottom, #1E1E1E 0px, #1E1E1E 100%);
}
.alert-info, .section-content-info-wrapper {
color: #CCC;
background-color:#333;
border-color: #444;
background-image: linear-gradient(to bottom, #333 0px, #333 100%);
}
.abook-self {
background-color: #251111;
}
.acl-button-show,
.acl-button-hide {
color: #fff;
}
#acl-select {
background-color:#333;
border: 1px solid #444;
color: #FFF;
}
#acl-showall {
color: #FFF;
}
#acl-list {
border: 1px solid #444;
}
#acl-search-wrapper {
border-bottom: 1px solid #444;
}
.acl-list-item {
border: 1px solid #222;
color: #CCC;
background-color:#333;
}
.abook-self {
border: 1px solid #222;
color: #555;
background-color:#111;
}
.modal-content,
#notifications_wrapper {
background-color: #111;
}
.dropdown-header.text-black-50,
.nav-link.active {
color:#fff !important;
}
a.btn, aside a {
font-weight: 400 !important;
}
.btn {
background-color: #1e1e1e;
border-color: #222;
color: #ccc;
text-shadow: none;
box-shadow: none;
}
.btn:hover, .btn:focus, .btn:active {
background-color: #222;
border-color: #222;
color: #fff;
text-decoration: underline;
}
.btn-default.btn-sm:hover, .btn-default.btn-sm:focus, .btn-default.btn-sm:active .btn-default.btn-sm.active {
text-decoration: none;
}
.btn-primary, input#event-submit, input#rmagic-submit-button, input#lostpass-submit-button {
background-color: #337AB7;
color: #FFF;
}
.btn-primary:hover, .btn-primary:focus, input#event-submit:hover, input#event-submit:focus, input#rmagic-submit-button:hover, input#rmagic-submit-button:focus, input#lostpass-submit-button:hover, input#lostpass-submit-button:focus {
border-color: #204D74;
background-color: #286090;
color: #FFF;
}
.btn-success {
color: #FFF !important;
background-color: #5CB85C !important;
border-color: #4CAE4C !important;
}
.btn-success:hover, .btn-success:focus {
color: #FFF !important;
background-color: #449D44 !important;
border-color: #398439 !important;
}
.btn-warning {
color: #FFF !important;
background-color: #F0AD4E !important;
border-color: #EEA236 !important;
}
.btn-warning:hover, .btn-warning:focus {
color: #FFF !important;
background-color: #EC971F !important;
border-color: #D58512 !important;
}
.btn-danger, form#chat-destroy > input {
background-color: #D9534F !important;
border-color: #D43F3A !important;
color: #FFF !important;
}
.btn-danger:hover, .btn-danger:focus, form#chat-destroy > input:hover, form#chat-destroy > input:focus {
color: #FFF !important;
background-color: #C9302C !important;
border-color: #AC2925 !important;
}
.pager_first,
.pager_last,
.pager_prev,
.pager_next,
.pager-prev,
.pager-next,
.pager_n {
border: 1px solid #222;
background: #1e1e1e;
}
input {
border: 1px solid #222;
}
input[type="submit"] {
background-color: #333;
color: #fff;
}
.notify-seen a {
background: #111;
color: #222 !important;
}
.notify-seen a:hover {
background: #222;
color: #ccc !important;
}
nav .dropdown-menu>li>a{
color: #fff;
}
nav .dropdown-menu>li>a:hover,nav .dropdown-menu>li>a:focus{
color: #fff;
background-color: #222;
background-image: none;
}
nav .dropdown-menu .divider{
background-color: #222;
}
nav .dropdown-menu>li>a:hover,nav .dropdown-menu>li>a:focus{
color: #fff;
background-color: #222;
background-image: none;
}
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-link.active {
color: #fff;
background-color: #111;
border-color: #333;
}
.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus {
text-decoration: underline;
background-color: #222;
color: #ccc;
border-color: #333;
}
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;
}
.list-group-item {
background-color: #222;
}
.text-dark {
color: #aaa !important;
}
a.text-dark:focus, a.text-dark:hover {
color: #ddd !important;
}
.group-selected, .fileas-selected, .categories-selected, .search-selected, a.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;
}
#wiki-content-container code {
background: #000;
}
.notif-item a {
color: #ccc;
}
.notif-item a:hover {
color: #fff;
}
.dropdown-menu {
background-color: #222;
}
.dropdown-menu >li > a {
color: #ccc !important;
}
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
color: #ddd;
background-color: #333;
background-image: none;
}
.open .dropdown-toggle.btn-default, .open .dropdown-toggle.btn-default:focus {
color: #ccc;
background-color: #222;
border-color: #222;
}
.pmenu-item:hover a {
background-color: #333 !important;
color: #ddd;
}
.preview {
background: url('../img/gray_and_black_diagonal_stripes_background_seamless.gif');
}
.xdsoft_datepicker.active {
color: #222 !important;
text-decoration: none !important;
}
.xdsoft_datepicker.active:hover, .xdsoft_datepicker.active:focus {
color: #222 !important;
text-decoration: underline;
}
@media (min-width: 768px) {
.nav-tabs.nav-justified > li > a {
border-bottom: 1px solid #333;
}
}
#profile-jot-wrapper {
background-color: inherit;
border: none;
}
.nav-tabs.nav-justified {
background-color: inherit;
border: none;
}
.table-striped > tbody > tr:nth-of-type(2n+1), .table-hover > tbody > tr:hover {
background-color: #191919;
}
.table > tbody > tr > td {
border-color: #888;
}
.help-content {
border-bottom: #222 thin solid;
}
.help-content-open {
-moz-box-shadow: 0px 3px 3px #222;
-webkit-box-shadow: 0px 3px 3px #222;
box-shadow: 0px 3px 3px #222;
}
.contextual-help-content-open {
background: $nav_bg;
border-bottom: #555 1px solid;
box-shadow: 0px 3px 3px rgba(85,85,85,0.2);
}
.contextual-help-tool {
opacity: 0.5;
}
.contextual-help-tool:hover {
opacity: 1;
}
.contextual-help-tool i {
color: $link_colour;
}
.profile-match-wrapper {
width: 150px;
height: 120px;
border: none;
}
.profile-match-name {
width: 144px;
white-space: nowrap;
text-overflow: ellipsis;
}
.widget-nav-pills-icons:hover + a {
background-color: #222;
}
.widget-nav-pills-checkbox:hover + a {
background-color: #222;
}

View File

@ -0,0 +1,41 @@
<?php
if (! $nav_bg)
$nav_bg = "#000";
if (! $nav_gradient_top)
$nav_gradient_top = "#000";
if (! $nav_gradient_bottom)
$nav_gradient_bottom = "#000";
if (! $nav_active_gradient_top)
$nav_active_gradient_top = "#333";
if (! $nav_active_gradient_bottom)
$nav_active_gradient_bottom = "#111";
if (! $nav_bd)
$nav_bd = "#111";
if (! $nav_icon_colour)
$nav_icon_colour = "#999";
if (! $nav_active_icon_colour)
$nav_active_icon_colour = "#fff";
if (! $link_colour)
$link_colour = "#fff";
if (! $banner_colour)
$banner_colour = "#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 (! $comment_border_colour)
$comment_border_colour = "rgba(28,28,28,0.8)";
if (! $toolicon_colour)
$toolicon_colour = '#999';
if (! $toolicon_activecolour)
$toolicon_activecolour = '#fff';
if (! $font_colour)
$font_colour = "#ccc";
if (! $converse_width)
$converse_width = "1024";

View File

@ -0,0 +1,322 @@
.generic-content-wrapper {
border: 1px solid #fff;
background-color: transparent;
}
.vcard, #contact-block, .widget {
background-color: transparent;
border: none;
border-bottom: 1px solid #fff;
}
.abook-pending-contact, .abook-permschange {
background: #fff;
}
#cboxContent a {
color: #fff;
}
#cboxContent {
color: #fff;
}
#adminpage table tr:hover {
background-color: #fff;
}
#colorbox {
border: 0px solid #fff;
background-color: #fff;
}
.chat-item-text {
background-color: #fff;
}
.fc-state-highlight {
background: none repeat scroll 0% 0% #fff !important;
}
.well {
background-color: #fff;
border: 1px solid #000;
background-image: linear-gradient(to bottom, #fff 0px, #fff 100%);
}
.alert-info {
color: #000;
background-color:#fff;
border-color: #000;
background-image: linear-gradient(to bottom, #fff 0px, #fff 100%);
}
#acl-select {
border: 1px solid #000;
color: #000;
}
.acl-list-item {
border: 1px solid #000;
background-color: #FFF;
}
.abook-self {
border: 1px solid #EEE;
color: #ccc;
background-color: #EEE;
}
.acl-button-show,
.acl-button-hide {
color: #000;
}
#acl-list {
border: 1px solid #fff;
}
.modal-content {
background-color: #fff;
}
a.btn, aside a {
font-weight: 400 !important;
}
.btn-default {
background-color: #fff;
border-color: #000;
color: #111;
text-shadow: none;
box-shadow: none;
}
.btn-default:hover, .btn-default:focus, .btn-default:active .btn-default.active {
background-color: #fff;
border-color: #000;
color: #000;
text-decoration: underline;
}
.btn-default.btn-sm:hover, .btn-default.btn-sm:focus, .btn-default.btn-sm:active .btn-default.btn-sm.active {
text-decoration: none;
}
.pager_first,
.pager_last,
.pager_prev,
.pager_next,
.pager-prev,
.pager-next,
.pager_n {
border: 1px solid #000;
background: #fff;
}
input {
border: 1px solid #000;
}
input[type="submit"] {
background-color: #fff;
color: #000;
}
.notify-seen a {
background: #fff;
color: #fff !important;
}
.notify-seen a:hover {
background: #fff;
color: #000 !important;
}
nav .dropdown-menu>li>a{
color: #000;
}
nav .dropdown-menu>li>a:hover,nav .dropdown-menu>li>a:focus{
color: #000;
background-color: #F5F5F5;
background-image: none;
}
nav .dropdown-menu .divider{
background-color: #F5F5F5;
}
nav .dropdown-menu>li>a:hover,nav .dropdown-menu>li>a:focus{
color: #000;
background-color: #F5F5F5;
background-image: none;
}
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;
}
.list-group-item {
background-color: #F5F5F5;
}
a, a:visited, a:link, .fakelink, .fakelink:visited, .fakelink:link {
font-weight: bold;
}
.group-selected, .fileas-selected, .categories-selected, .search-selected, a.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;
}
}
#profile-jot-wrapper {
background-color: inherit;
border: none;
}
.nav-tabs.nav-justified {
background-color: inherit;
border: none;
}
.help-content {
border-bottom: #000 thin solid;
}
.help-content-open {
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
}
.contextual-help-content-open {
background: #FFF;
}
.profile-match-wrapper {
width: 150px;
height: 120px;
border: none;
}
.profile-match-name {
width: 144px;
white-space: nowrap;
text-overflow: ellipsis;
}
.widget-nav-pills-icons:hover + a {
background-color: #F5F5F5;
}
.widget-nav-pills-checkbox:hover + a {
background-color: #F5F5F5;
}

View File

@ -0,0 +1,42 @@
<?php
if (! $nav_bg)
$nav_bg = "#fff";
if (! $nav_gradient_top)
$nav_gradient_top = "#fff";
if (! $nav_gradient_bottom)
$nav_gradient_bottom = "#fff";
if (! $nav_active_gradient_top)
$nav_active_gradient_top = "#fff";
if (! $nav_active_gradient_bottom)
$nav_active_gradient_bottom = "#fff";
if (! $nav_bd)
$nav_bd = "#fff";
if (! $nav_icon_colour)
$nav_icon_colour = "#111";
if (! $nav_active_icon_colour)
$nav_active_icon_colour = "#000";
if (! $banner_colour)
$banner_colour = "#fff";
if (! $link_colour)
$link_colour = "#000";
if (! $bgcolour)
$bgcolour = "#fff";
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 (! $font_colour)
$font_colour = "#000";
if (! $converse_width)
$converse_width = "1024";

View File

@ -0,0 +1,408 @@
.generic-content-wrapper {
border: 1px solid #000;
background-color: transparent;
}
textarea, input, select
{
color: $font_colour !important;
background: $bgcolour !important;
border: 1px solid #143D12 !important;
}
#profile-jot-submit-wrapper {
border-top: none;
padding: 10px 0;
}
#jot-title-wrap {
border-bottom: none;
margin-bottom: 5px;
}
optgroup {
color: #32962D !important;
}
option {
color: $link_colour !important;
}
.vcard, #contact-block, .widget {
background-color: transparent;
border: none;
border-bottom: 1px solid #fff;
}
.abook-pending-contact, .abook-permschange {
background: #000;
}
#cboxContent a {
color: #000;
}
#cboxContent {
color: #000;
}
#adminpage table tr:hover {
background-color: #000;
}
#colorbox {
border: 0px solid #000;
background-color: #000;
}
.chat-item-text {
background-color: #000;
}
.fc-state-highlight {
background: none repeat scroll 0% 0% #000 !important;
}
.well {
background-color: #000;
border: 1px solid #143D12;
background-image: linear-gradient(to bottom, #000 0px, #000 100%);
}
.alert-info {
color: #50f148;
background-color:#000;
border-color: #143D12;
background-image: linear-gradient(to bottom, #000 0px, #000 100%);
}
.section-content-info-wrapper {
color: #50f148;
background-color:#000;
border: 1px solid #143D12 !important;
}
.modal-header {
border-bottom: 1px solid #143D12;
}
.modal-footer {
border-top: 1px solid #143D12;
}
#acl-select {
background-color: #000;
border: 1px solid #143D12;
color: #50f148;
}
.abook-self {
color: #333;
background-color: #000 !important;
border: 1px solid #111;
}
.acl-button-show,
.acl-button-hide {
color: #fff;
}
#acl-list {
border: 1px solid #143D12;
}
#acl-search-wrapper {
border-bottom: 1px solid #143D12;
}
.acl-list-item {
border: 1px solid #111;
background-color:#111;
}
.modal-content {
background-color: #000;
}
a.btn, aside a {
font-weight: 400 !important;
}
.btn-default {
background-color: #000;
border-color: #143D12;
color: #32962D;
text-shadow: none;
box-shadow: none;
}
.btn-default:hover, .btn-default:focus, .btn-default:active .btn-default.active {
background-color: #000;
border-color: #143D12;
color: #50f148;
text-decoration: underline;
}
.btn-default.btn-sm:hover, .btn-default.btn-sm:focus, .btn-default.btn-sm:active .btn-default.btn-sm.active {
text-decoration: none;
}
.pager_first,
.pager_last,
.pager_prev,
.pager_next,
.pager-prev,
.pager-next,
.pager_n {
border: 1px solid #143D12;
background: #000;
}
input {
border: 1px solid #143D12;
}
input[type="submit"] {
background-color: #000;
color: #50f148;
}
.notify-seen a {
background: #000;
color: #000 !important;
}
.notify-seen a:hover {
background: #000;
color: #50f148 !important;
}
nav .dropdown-menu>li>a {
color: #50f148;
}
nav .dropdown-menu>li>a:hover,nav .dropdown-menu>li>a:focus {
color: #50f148;
background-color: #143D12;
background-image: none;
}
nav .dropdown-menu .divider {
background-color: #143D12;
}
nav .dropdown-menu>li>a:hover,nav .dropdown-menu>li>a:focus {
color: #50f148;
background-color: #143D12;
background-image: none;
}
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;
border-color: #143D12;
}
aside .nav > li > a:hover, aside .nav > li > a:focus {
text-decoration: underline;
background-color: #143D12;
}
.list-group-item {
background-color: #143D12;
}
a, a:visited, a:link, .fakelink, .fakelink:visited, .fakelink:link {
font-weight: bold;
}
.group-selected, .fileas-selected, .categories-selected, .search-selected, a.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, .open .dropdown-toggle.btn-default:focus {
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;
}
}
#profile-jot-wrapper {
background-color: inherit;
border: none;
}
.nav-tabs.nav-justified {
background-color: inherit;
border: none;
}
.table-striped > tbody > tr:nth-of-type(2n+1) {
background-color: #000;
}
.table-hover > tbody > tr:hover {
background-color: #143D12;
}
.table > tbody > tr > td {
border-color: #143D12;
}
.help-content {
border-bottom: #143D12 thin solid;
}
.help-content-open {
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
}
.contextual-help-content-open {
background: $nav_bg;
border-bottom: #1C5419 1px solid;
box-shadow: 0px 3px 3px rgba(28,84,25,0.2);
}
.contextual-help-tool {
opacity: 0.5;
}
.contextual-help-tool:hover {
opacity: 1;
}
.contextual-help-tool i {
color: $link_colour;
}
.profile-match-wrapper {
width: 150px;
height: 120px;
border: none;
}
.profile-match-name {
width: 144px;
white-space: nowrap;
text-overflow: ellipsis;
}
.widget-nav-pills-icons:hover + a {
background-color: #143D12;
}
.widget-nav-pills-checkbox:hover + a {
background-color: #143D12;
}

View File

@ -0,0 +1,38 @@
<?php
if (! $nav_bg)
$nav_bg = "#000";
if (! $nav_gradient_top)
$nav_gradient_top = "#000";
if (! $nav_gradient_bottom)
$nav_gradient_bottom = "#000";
if (! $nav_active_gradient_top)
$nav_active_gradient_top = "#000";
if (! $nav_active_gradient_bottom)
$nav_active_gradient_bottom = "#000";
if (! $nav_bd)
$nav_bd = "#000";
if (! $nav_icon_colour)
$nav_icon_colour = "#32962D";
if (! $nav_active_icon_colour)
$nav_active_icon_colour = "#50f148";
if (! $banner_colour)
$banner_colour = "#000";
if (! $link_colour)
$link_colour = "#50f148";
if (! $bgcolour)
$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 (! $font_colour)
$font_colour = "#46D43F";
if (! $converse_width)
$converse_width = "1024";

View File

@ -0,0 +1,382 @@
.generic-content-wrapper {
border: 1px solid #000;
background-color: transparent;
}
textarea, input, select
{
color: $font_colour !important;
background: $bgcolour !important;
border: 1px solid #FFF !important;
}
#profile-jot-submit-wrapper {
border-top: none;
padding: 10px 0;
}
#jot-title-wrap {
border-bottom: none;
margin-bottom: 5px;
}
optgroup {
color: #FFF !important;
}
option {
color: $link_colour !important;
}
.vcard, #contact-block, .widget {
background-color: transparent;
border: none;
border-bottom: 1px solid #fff;
}
#cboxContent a {
color: #000;
}
#cboxContent {
color: #000;
}
#adminpage table tr:hover {
background-color: #000;
}
#colorbox {
border: 0px solid #000;
background-color: #000;
}
.chat-item-text {
background-color: #000;
}
.fc-state-highlight {
background: none repeat scroll 0% 0% #000 !important;
}
.well {
background-color: #000;
border: 1px solid #fff;
background-image: linear-gradient(to bottom, #000 0px, #000 100%);
}
.alert-info {
color: #fff;
background-color:#000;
border-color: #fff;
background-image: linear-gradient(to bottom, #000 0px, #000 100%);
}
.section-content-info-wrapper {
color: #fff;
background-color:#000;
border: 1px solid #fff !important;
}
.modal-header {
border-bottom: 1px solid #000;
}
.modal-footer {
border-top: 1px solid #000;
}
#acl-select {
background-color: #000;
border: 1px solid #fff;
color: #fff;
}
.abook-self {
color: #333;
background-color: #111 !important;
border: 1px solid #111;
}
.acl-button-show,
.acl-button-hide {
color: #fff;
}
#acl-list {
border: 1px solid #000;
}
#acl-search-wrapper {
border-bottom: 1px solid #000;
}
.acl-list-item {
border: 1px solid #fff;
background-color:#000;
}
.modal-content {
background-color: #000;
}
a.btn, aside a {
font-weight: 400 !important;
}
.btn-default {
background-color: #000;
border-color: #fff;
color: #eee;
text-shadow: none;
box-shadow: none;
}
.btn-default:hover, .btn-default:focus, .btn-default:active .btn-default.active {
background-color: #000;
border-color: #fff;
color: #fff;
text-decoration: underline;
}
.btn-default.btn-sm:hover, .btn-default.btn-sm:focus, .btn-default.btn-sm:active .btn-default.btn-sm.active {
text-decoration: none;
}
.pager_first,
.pager_last,
.pager_prev,
.pager_next,
.pager-prev,
.pager-next,
.pager_n {
border: 1px solid #fff;
background: #000;
}
input {
border: 1px solid #fff;
}
input[type="submit"] {
background-color: #000;
color: #fff;
}
.notify-seen a {
background: #000;
color: #000 !important;
}
.notify-seen a:hover {
background: #000;
color: #fff !important;
}
nav .dropdown-menu>li>a{
color: #fff;
}
nav .dropdown-menu>li>a:hover,nav .dropdown-menu>li>a:focus{
color: #fff;
background-color: #030303;
background-image: none;
}
nav .dropdown-menu .divider{
background-color: #030303;
}
nav .dropdown-menu>li>a:hover,nav .dropdown-menu>li>a:focus{
color: #fff;
background-color: #030303;
background-image: none;
}
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;
}
.list-group-item {
background-color: #030303;
}
a, a:visited, a:link, .fakelink, .fakelink:visited, .fakelink:link {
font-weight: bold;
}
.group-selected, .fileas-selected, .categories-selected, .search-selected, a.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, .open .dropdown-toggle.btn-default:focus {
color: #fff;
background-color: #000;
border-color: #fff;
}
.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;
}
}
#profile-jot-wrapper {
background-color: inherit;
border: none;
}
.nav-tabs.nav-justified {
background-color: inherit;
border: none;
}
.table-striped > tbody > tr:nth-of-type(2n+1), .table-hover > tbody > tr:hover {
background-color: #030303;
}
.table > tbody > tr > td {
border-color: #FFF;
}
.help-content {
border-bottom: #FFF thin solid;
}
.help-content-open {
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
}
.contextual-help-content-open {
background: $nav_bg;
border-bottom: #FFF 1px solid;
box-shadow: 0px 3px 3px rgba(255,255,255,0.2);
}
.contextual-help-tool {
opacity: 0.5;
}
.contextual-help-tool:hover {
opacity: 1;
}
.contextual-help-tool i {
color: $link_colour;
}
.profile-match-wrapper {
width: 150px;
height: 120px;
border: none;
}
.profile-match-name {
width: 144px;
white-space: nowrap;
text-overflow: ellipsis;
}
.widget-nav-pills-icons:hover + a {
background-color: #030303;
}
.widget-nav-pills-checkbox:hover + a {
background-color: #030303;
}

View File

@ -0,0 +1,38 @@
<?php
if (! $nav_bg)
$nav_bg = "#000";
if (! $nav_gradient_top)
$nav_gradient_top = "#000";
if (! $nav_gradient_bottom)
$nav_gradient_bottom = "#000";
if (! $nav_active_gradient_top)
$nav_active_gradient_top = "#000";
if (! $nav_active_gradient_bottom)
$nav_active_gradient_bottom = "#000";
if (! $nav_bd)
$nav_bd = "#000";
if (! $nav_icon_colour)
$nav_icon_colour = "#eee";
if (! $nav_active_icon_colour)
$nav_active_icon_colour = "#fff";
if (! $banner_colour)
$banner_colour = "#000";
if (! $link_colour)
$link_colour = "#fff";
if (! $bgcolour)
$bgcolour = "#000";
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 (! $font_colour)
$font_colour = "#fff";
if (! $converse_width)
$converse_width = "1024";

View File

@ -0,0 +1,34 @@
{{include file="field_checkbox.tpl" field=$narrow_navbar}}
{{include file="field_input.tpl" field=$converse_width}}
{{include file="field_input.tpl" field=$font_size}}
{{include file="field_checkbox.tpl" field=$advanced_theming}}
{{if $expert}}
{{include file="field_colorinput.tpl" field=$nav_bg}}
{{include file="field_colorinput.tpl" field=$nav_icon_colour}}
{{include file="field_colorinput.tpl" field=$nav_active_icon_colour}}
{{include file="field_colorinput.tpl" field=$banner_colour}}
{{include file="field_colorinput.tpl" field=$bgcolour}}
{{include file="field_colorinput.tpl" field=$background_image}}
{{include file="field_colorinput.tpl" field=$item_colour}}
{{include file="field_colorinput.tpl" field=$comment_item_colour}}
{{*include file="field_colorinput.tpl" field=$comment_border_colour*}}
{{*include file="field_input.tpl" field=$comment_indent*}}
{{include file="field_colorinput.tpl" field=$font_colour}}
{{include file="field_colorinput.tpl" field=$link_colour}}
{{include file="field_input.tpl" field=$radius}}
{{include file="field_input.tpl" field=$shadow}}
{{include file="field_input.tpl" field=$top_photo}}
{{include file="field_input.tpl" field=$reply_photo}}
<script>
$(function(){
$('#id_ussrbasicpub_nav_bg, #id_ussrbasicpub_nav_icon_colour, #id_ussrbasicpub_nav_active_icon_colour, #id_ussrbasicpub_banner_colour').colorpicker({format: 'rgba'});
$('#id_ussrbasicpub_link_colour,#id_ussrbasicpub_background_colour').colorpicker();
$('#id_ussrbasicpub_toolicon_colour,#id_ussrbasicpub_toolicon_activecolour,#id_ussrbasicpub_font_colour').colorpicker();
$('#id_ussrbasicpub_item_colour,#id_ussrbasicpub_comment_item_colour,#id_ussrbasicpub_comment_border_colour').colorpicker({format: 'rgba'});
});
</script>
{{/if}}
<div class="settings-submit-wrapper" >
<button type="submit" name="ussrbasicpub-settings-submit" class="btn btn-primary">{{$submit}}</button>
</div>