add nolikes and one themes

This commit is contained in:
ivan 2019-03-02 12:20:31 +03:00
parent 711b3428e3
commit 42e141bb19
57 changed files with 8526 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);
}

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

View File

@ -0,0 +1,129 @@
/**
* ussrbasicnolikes 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,14 @@
[region=banner]
[widget=cover_photo][/widget]
[/region]
[region=aside]
[widget=fullprofile][/widget]
[widget=common_friends][/widget]
[widget=categories][/widget]
[/region]
[region=right_aside]
[widget=notifications][/widget]
[widget=tagcloud_wall][var=limit]50[/var][/widget]
[widget=archive][var=wall]1[/var][/widget]
[widget=newmember][/widget]
[/region]

View File

@ -0,0 +1,128 @@
<?php
namespace Zotlabs\Theme;
class UssrbasicnolikesConfig {
function get_schemas() {
$files = glob('view/theme/ussrbasicnolikes/schema/*.php');
$scheme_choices = [];
if($files) {
if(in_array('view/theme/ussrbasicnolikes/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(),'ussrbasicnolikes', 'narrow_navbar' );
$arr['nav_bg'] = get_pconfig(local_channel(),'ussrbasicnolikes', 'nav_bg' );
$arr['nav_icon_colour'] = get_pconfig(local_channel(),'ussrbasicnolikes', 'nav_icon_colour' );
$arr['nav_active_icon_colour'] = get_pconfig(local_channel(),'ussrbasicnolikes', 'nav_active_icon_colour' );
$arr['link_colour'] = get_pconfig(local_channel(),'ussrbasicnolikes', 'link_colour' );
$arr['banner_colour'] = get_pconfig(local_channel(),'ussrbasicnolikes', 'banner_colour' );
$arr['bgcolour'] = get_pconfig(local_channel(),'ussrbasicnolikes', 'background_colour' );
$arr['background_image'] = get_pconfig(local_channel(),'ussrbasicnolikes', 'background_image' );
$arr['item_colour'] = get_pconfig(local_channel(),'ussrbasicnolikes', 'item_colour' );
$arr['comment_item_colour'] = get_pconfig(local_channel(),'ussrbasicnolikes', 'comment_item_colour' );
$arr['font_size'] = get_pconfig(local_channel(),'ussrbasicnolikes', 'font_size' );
$arr['font_colour'] = get_pconfig(local_channel(),'ussrbasicnolikes', 'font_colour' );
$arr['radius'] = get_pconfig(local_channel(),'ussrbasicnolikes', 'radius' );
$arr['shadow'] = get_pconfig(local_channel(),'ussrbasicnolikes', 'photo_shadow' );
$arr['converse_width']=get_pconfig(local_channel(),"ussrbasicnolikes","converse_width");
$arr['top_photo']=get_pconfig(local_channel(),"ussrbasicnolikes","top_photo");
$arr['reply_photo']=get_pconfig(local_channel(),"ussrbasicnolikes","reply_photo");
$arr['advanced_theming'] = get_pconfig(local_channel(), 'ussrbasicnolikes', 'advanced_theming');
return $this->form($arr);
}
function post() {
if(!local_channel()) {
return;
}
if (isset($_POST['ussrbasicnolikes-settings-submit'])) {
set_pconfig(local_channel(), 'ussrbasicnolikes', 'narrow_navbar', $_POST['ussrbasicnolikes_narrow_navbar']);
set_pconfig(local_channel(), 'ussrbasicnolikes', 'nav_bg', $_POST['ussrbasicnolikes_nav_bg']);
set_pconfig(local_channel(), 'ussrbasicnolikes', 'nav_icon_colour', $_POST['ussrbasicnolikes_nav_icon_colour']);
set_pconfig(local_channel(), 'ussrbasicnolikes', 'nav_active_icon_colour', $_POST['ussrbasicnolikes_nav_active_icon_colour']);
set_pconfig(local_channel(), 'ussrbasicnolikes', 'link_colour', $_POST['ussrbasicnolikes_link_colour']);
set_pconfig(local_channel(), 'ussrbasicnolikes', 'background_colour', $_POST['ussrbasicnolikes_background_colour']);
set_pconfig(local_channel(), 'ussrbasicnolikes', 'banner_colour', $_POST['ussrbasicnolikes_banner_colour']);
set_pconfig(local_channel(), 'ussrbasicnolikes', 'background_image', $_POST['ussrbasicnolikes_background_image']);
set_pconfig(local_channel(), 'ussrbasicnolikes', 'item_colour', $_POST['ussrbasicnolikes_item_colour']);
set_pconfig(local_channel(), 'ussrbasicnolikes', 'comment_item_colour', $_POST['ussrbasicnolikes_comment_item_colour']);
set_pconfig(local_channel(), 'ussrbasicnolikes', 'font_size', $_POST['ussrbasicnolikes_font_size']);
set_pconfig(local_channel(), 'ussrbasicnolikes', 'font_colour', $_POST['ussrbasicnolikes_font_colour']);
set_pconfig(local_channel(), 'ussrbasicnolikes', 'radius', $_POST['ussrbasicnolikes_radius']);
set_pconfig(local_channel(), 'ussrbasicnolikes', 'photo_shadow', $_POST['ussrbasicnolikes_shadow']);
set_pconfig(local_channel(), 'ussrbasicnolikes', 'converse_width', $_POST['ussrbasicnolikes_converse_width']);
set_pconfig(local_channel(), 'ussrbasicnolikes', 'top_photo', $_POST['ussrbasicnolikes_top_photo']);
set_pconfig(local_channel(), 'ussrbasicnolikes', 'reply_photo', $_POST['ussrbasicnolikes_reply_photo']);
set_pconfig(local_channel(), 'ussrbasicnolikes', 'advanced_theming', $_POST['ussrbasicnolikes_advanced_theming']);
}
}
function form($arr) {
if(get_pconfig(local_channel(), 'ussrbasicnolikes', '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('ussrbasicnolikes_narrow_navbar',t('Narrow navbar'),$arr['narrow_navbar'], '', array(t('No'),t('Yes'))),
'$nav_bg' => array('ussrbasicnolikes_nav_bg', t('Navigation bar background color'), $arr['nav_bg']),
'$nav_icon_colour' => array('ussrbasicnolikes_nav_icon_colour', t('Navigation bar icon color '), $arr['nav_icon_colour']),
'$nav_active_icon_colour' => array('ussrbasicnolikes_nav_active_icon_colour', t('Navigation bar active icon color '), $arr['nav_active_icon_colour']),
'$link_colour' => array('ussrbasicnolikes_link_colour', t('Link color'), $arr['link_colour'], '', $link_colours),
'$banner_colour' => array('ussrbasicnolikes_banner_colour', t('Set font-color for banner'), $arr['banner_colour']),
'$bgcolour' => array('ussrbasicnolikes_background_colour', t('Set the background color'), $arr['bgcolour']),
'$background_image' => array('ussrbasicnolikes_background_image', t('Set the background image'), $arr['background_image']),
'$item_colour' => array('ussrbasicnolikes_item_colour', t('Set the background color of items'), $arr['item_colour']),
'$comment_item_colour' => array('ussrbasicnolikes_comment_item_colour', t('Set the background color of comments'), $arr['comment_item_colour']),
'$font_size' => array('ussrbasicnolikes_font_size', t('Set font-size for the entire application'), $arr['font_size'], t('Examples: 1rem, 100%, 16px')),
'$font_colour' => array('ussrbasicnolikes_font_colour', t('Set font-color for posts and comments'), $arr['font_colour']),
'$radius' => array('ussrbasicnolikes_radius', t('Set radius of corners'), $arr['radius'], t('Example: 4px')),
'$shadow' => array('ussrbasicnolikes_shadow', t('Set shadow depth of photos'), $arr['shadow']),
'$converse_width' => array('ussrbasicnolikes_converse_width',t('Set maximum width of content region in pixel'),$arr['converse_width'], t('Leave empty for default width')),
'$top_photo' => array('ussrbasicnolikes_top_photo', t('Set size of conversation author photo'), $arr['top_photo']),
'$reply_photo' => array('ussrbasicnolikes_reply_photo', t('Set size of followup author photos'), $arr['reply_photo']),
'$advanced_theming' => ['ussrbasicnolikes_advanced_theming', t('Show advanced settings'), $arr['advanced_theming'], '', [t('No'), t('Yes')]]
));
return $o;
}
}

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,'ussrbasicnolikes');
}
// Load the owners pconfig
$nav_bg = get_pconfig($uid, 'ussrbasicnolikes', 'nav_bg');
$nav_icon_colour = get_pconfig($uid, 'ussrbasicnolikes', 'nav_icon_colour');
$nav_active_icon_colour = get_pconfig($uid, 'ussrbasicnolikes', 'nav_active_icon_colour');
$banner_colour = get_pconfig($uid,'ussrbasicnolikes','banner_colour');
$narrow_navbar = get_pconfig($uid,'ussrbasicnolikes','narrow_navbar');
$link_colour = get_pconfig($uid, 'ussrbasicnolikes', 'link_colour');
$schema = get_pconfig($uid,'ussrbasicnolikes','schema');
$bgcolour = get_pconfig($uid, 'ussrbasicnolikes', 'background_colour');
$background_image = get_pconfig($uid, 'ussrbasicnolikes', 'background_image');
$item_colour = get_pconfig($uid, 'ussrbasicnolikes', 'item_colour');
$comment_item_colour = get_pconfig($uid, 'ussrbasicnolikes', 'comment_item_colour');
$font_size = get_pconfig($uid, 'ussrbasicnolikes', 'font_size');
$font_colour = get_pconfig($uid, 'ussrbasicnolikes', 'font_colour');
$radius = get_pconfig($uid, 'ussrbasicnolikes', 'radius');
$shadow = get_pconfig($uid,'ussrbasicnolikes','photo_shadow');
$converse_width=get_pconfig($uid,'ussrbasicnolikes','converse_width');
$top_photo=get_pconfig($uid,'ussrbasicnolikes','top_photo');
$reply_photo=get_pconfig($uid,'ussrbasicnolikes','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/ussrbasicnolikes/schema/' . $schema . '.php')) {
$schemefile = 'view/theme/ussrbasicnolikes/schema/' . $schema . '.php';
require_once ($schemefile);
}
if(file_exists('view/theme/ussrbasicnolikes/schema/' . $schema . '.css')) {
$schemecss = file_get_contents('view/theme/ussrbasicnolikes/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/ussrbasicnolikes/schema
if ((!$schema) || ($schema == '---')) {
if(file_exists('view/theme/ussrbasicnolikes/schema/default.php')) {
$schemefile = 'view/theme/ussrbasicnolikes/schema/default.php';
require_once ($schemefile);
}
if(file_exists('view/theme/ussrbasicnolikes/schema/default.css')) {
$schemecss = file_get_contents('view/theme/ussrbasicnolikes/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/ussrbasicnolikes/css/style.css')) {
$x = file_get_contents('view/theme/ussrbasicnolikes/css/style.css');
if($narrow_navbar && file_exists('view/theme/ussrbasicnolikes/css/narrow_navbar.css')) {
$x .= file_get_contents('view/theme/ussrbasicnolikes/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'] != 'ussrbasicnolikes')
// set_pconfig(local_channel(), 'ussrbasicnolikes', 'schema', '---');

View File

@ -0,0 +1,18 @@
<?php
/**
* * Name: Ussrbasicnolikes
* * Description: theme without likes in the interface
* * Version: 2.23
* * MinVersion: 3.8
* * MaxVersion: 6.0
* * Author: Fabrixxm
* * Maintainer: Mike Macgirvin
* * Maintainer: Mario Vavti
*/
function ussrbasicnolikes_init(&$a) {
App::$theme_info['extends'] = 'redbasic';
}

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,10 @@
<div class="widget suggestions-widget">
<h3>{{$title}}</h3>
{{if $entries}}
{{foreach $entries as $child}}
{{include file="suggest_friends.tpl" entry=$child}}
{{/foreach}}
{{/if}}
<div class="clear"></div>
<div class="suggest-widget-more"><a href="suggest">{{$more}}</a></div>
</div>

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_ussrbasicnolikes_nav_bg, #id_ussrbasicnolikes_nav_icon_colour, #id_ussrbasicnolikes_nav_active_icon_colour, #id_ussrbasicnolikes_banner_colour').colorpicker({format: 'rgba'});
$('#id_ussrbasicnolikes_link_colour,#id_ussrbasicnolikes_background_colour').colorpicker();
$('#id_ussrbasicnolikes_toolicon_colour,#id_ussrbasicnolikes_toolicon_activecolour,#id_ussrbasicnolikes_font_colour').colorpicker();
$('#id_ussrbasicnolikes_item_colour,#id_ussrbasicnolikes_comment_item_colour,#id_ussrbasicnolikes_comment_border_colour').colorpicker({format: 'rgba'});
});
</script>
{{/if}}
<div class="settings-submit-wrapper" >
<button type="submit" name="ussrbasicnolikes-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);
}

1825
ussrbasicone/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

View File

@ -0,0 +1,129 @@
/**
* ussrbasicone 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,14 @@
[region=banner]
[widget=cover_photo][/widget]
[/region]
[region=aside]
[widget=fullprofile][/widget]
[widget=common_friends][/widget]
[widget=categories][/widget]
[/region]
[region=right_aside]
[widget=notifications][/widget]
[widget=tagcloud_wall][var=limit]50[/var][/widget]
[widget=archive][var=wall]1[/var][/widget]
[widget=newmember][/widget]
[/region]

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

@ -0,0 +1,128 @@
<?php
namespace Zotlabs\Theme;
class UssrbasiconeConfig {
function get_schemas() {
$files = glob('view/theme/ussrbasicone/schema/*.php');
$scheme_choices = [];
if($files) {
if(in_array('view/theme/ussrbasicone/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(),'ussrbasicone', 'narrow_navbar' );
$arr['nav_bg'] = get_pconfig(local_channel(),'ussrbasicone', 'nav_bg' );
$arr['nav_icon_colour'] = get_pconfig(local_channel(),'ussrbasicone', 'nav_icon_colour' );
$arr['nav_active_icon_colour'] = get_pconfig(local_channel(),'ussrbasicone', 'nav_active_icon_colour' );
$arr['link_colour'] = get_pconfig(local_channel(),'ussrbasicone', 'link_colour' );
$arr['banner_colour'] = get_pconfig(local_channel(),'ussrbasicone', 'banner_colour' );
$arr['bgcolour'] = get_pconfig(local_channel(),'ussrbasicone', 'background_colour' );
$arr['background_image'] = get_pconfig(local_channel(),'ussrbasicone', 'background_image' );
$arr['item_colour'] = get_pconfig(local_channel(),'ussrbasicone', 'item_colour' );
$arr['comment_item_colour'] = get_pconfig(local_channel(),'ussrbasicone', 'comment_item_colour' );
$arr['font_size'] = get_pconfig(local_channel(),'ussrbasicone', 'font_size' );
$arr['font_colour'] = get_pconfig(local_channel(),'ussrbasicone', 'font_colour' );
$arr['radius'] = get_pconfig(local_channel(),'ussrbasicone', 'radius' );
$arr['shadow'] = get_pconfig(local_channel(),'ussrbasicone', 'photo_shadow' );
$arr['converse_width']=get_pconfig(local_channel(),"ussrbasicone","converse_width");
$arr['top_photo']=get_pconfig(local_channel(),"ussrbasicone","top_photo");
$arr['reply_photo']=get_pconfig(local_channel(),"ussrbasicone","reply_photo");
$arr['advanced_theming'] = get_pconfig(local_channel(), 'ussrbasicone', 'advanced_theming');
return $this->form($arr);
}
function post() {
if(!local_channel()) {
return;
}
if (isset($_POST['ussrbasicone-settings-submit'])) {
set_pconfig(local_channel(), 'ussrbasicone', 'narrow_navbar', $_POST['ussrbasicone_narrow_navbar']);
set_pconfig(local_channel(), 'ussrbasicone', 'nav_bg', $_POST['ussrbasicone_nav_bg']);
set_pconfig(local_channel(), 'ussrbasicone', 'nav_icon_colour', $_POST['ussrbasicone_nav_icon_colour']);
set_pconfig(local_channel(), 'ussrbasicone', 'nav_active_icon_colour', $_POST['ussrbasicone_nav_active_icon_colour']);
set_pconfig(local_channel(), 'ussrbasicone', 'link_colour', $_POST['ussrbasicone_link_colour']);
set_pconfig(local_channel(), 'ussrbasicone', 'background_colour', $_POST['ussrbasicone_background_colour']);
set_pconfig(local_channel(), 'ussrbasicone', 'banner_colour', $_POST['ussrbasicone_banner_colour']);
set_pconfig(local_channel(), 'ussrbasicone', 'background_image', $_POST['ussrbasicone_background_image']);
set_pconfig(local_channel(), 'ussrbasicone', 'item_colour', $_POST['ussrbasicone_item_colour']);
set_pconfig(local_channel(), 'ussrbasicone', 'comment_item_colour', $_POST['ussrbasicone_comment_item_colour']);
set_pconfig(local_channel(), 'ussrbasicone', 'font_size', $_POST['ussrbasicone_font_size']);
set_pconfig(local_channel(), 'ussrbasicone', 'font_colour', $_POST['ussrbasicone_font_colour']);
set_pconfig(local_channel(), 'ussrbasicone', 'radius', $_POST['ussrbasicone_radius']);
set_pconfig(local_channel(), 'ussrbasicone', 'photo_shadow', $_POST['ussrbasicone_shadow']);
set_pconfig(local_channel(), 'ussrbasicone', 'converse_width', $_POST['ussrbasicone_converse_width']);
set_pconfig(local_channel(), 'ussrbasicone', 'top_photo', $_POST['ussrbasicone_top_photo']);
set_pconfig(local_channel(), 'ussrbasicone', 'reply_photo', $_POST['ussrbasicone_reply_photo']);
set_pconfig(local_channel(), 'ussrbasicone', 'advanced_theming', $_POST['ussrbasicone_advanced_theming']);
}
}
function form($arr) {
if(get_pconfig(local_channel(), 'ussrbasicone', '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('ussrbasicone_narrow_navbar',t('Narrow navbar'),$arr['narrow_navbar'], '', array(t('No'),t('Yes'))),
'$nav_bg' => array('ussrbasicone_nav_bg', t('Navigation bar background color'), $arr['nav_bg']),
'$nav_icon_colour' => array('ussrbasicone_nav_icon_colour', t('Navigation bar icon color '), $arr['nav_icon_colour']),
'$nav_active_icon_colour' => array('ussrbasicone_nav_active_icon_colour', t('Navigation bar active icon color '), $arr['nav_active_icon_colour']),
'$link_colour' => array('ussrbasicone_link_colour', t('Link color'), $arr['link_colour'], '', $link_colours),
'$banner_colour' => array('ussrbasicone_banner_colour', t('Set font-color for banner'), $arr['banner_colour']),
'$bgcolour' => array('ussrbasicone_background_colour', t('Set the background color'), $arr['bgcolour']),
'$background_image' => array('ussrbasicone_background_image', t('Set the background image'), $arr['background_image']),
'$item_colour' => array('ussrbasicone_item_colour', t('Set the background color of items'), $arr['item_colour']),
'$comment_item_colour' => array('ussrbasicone_comment_item_colour', t('Set the background color of comments'), $arr['comment_item_colour']),
'$font_size' => array('ussrbasicone_font_size', t('Set font-size for the entire application'), $arr['font_size'], t('Examples: 1rem, 100%, 16px')),
'$font_colour' => array('ussrbasicone_font_colour', t('Set font-color for posts and comments'), $arr['font_colour']),
'$radius' => array('ussrbasicone_radius', t('Set radius of corners'), $arr['radius'], t('Example: 4px')),
'$shadow' => array('ussrbasicone_shadow', t('Set shadow depth of photos'), $arr['shadow']),
'$converse_width' => array('ussrbasicone_converse_width',t('Set maximum width of content region in pixel'),$arr['converse_width'], t('Leave empty for default width')),
'$top_photo' => array('ussrbasicone_top_photo', t('Set size of conversation author photo'), $arr['top_photo']),
'$reply_photo' => array('ussrbasicone_reply_photo', t('Set size of followup author photos'), $arr['reply_photo']),
'$advanced_theming' => ['ussrbasicone_advanced_theming', t('Show advanced settings'), $arr['advanced_theming'], '', [t('No'), t('Yes')]]
));
return $o;
}
}

163
ussrbasicone/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,'ussrbasicone');
}
// Load the owners pconfig
$nav_bg = get_pconfig($uid, 'ussrbasicone', 'nav_bg');
$nav_icon_colour = get_pconfig($uid, 'ussrbasicone', 'nav_icon_colour');
$nav_active_icon_colour = get_pconfig($uid, 'ussrbasicone', 'nav_active_icon_colour');
$banner_colour = get_pconfig($uid,'ussrbasicone','banner_colour');
$narrow_navbar = get_pconfig($uid,'ussrbasicone','narrow_navbar');
$link_colour = get_pconfig($uid, 'ussrbasicone', 'link_colour');
$schema = get_pconfig($uid,'ussrbasicone','schema');
$bgcolour = get_pconfig($uid, 'ussrbasicone', 'background_colour');
$background_image = get_pconfig($uid, 'ussrbasicone', 'background_image');
$item_colour = get_pconfig($uid, 'ussrbasicone', 'item_colour');
$comment_item_colour = get_pconfig($uid, 'ussrbasicone', 'comment_item_colour');
$font_size = get_pconfig($uid, 'ussrbasicone', 'font_size');
$font_colour = get_pconfig($uid, 'ussrbasicone', 'font_colour');
$radius = get_pconfig($uid, 'ussrbasicone', 'radius');
$shadow = get_pconfig($uid,'ussrbasicone','photo_shadow');
$converse_width=get_pconfig($uid,'ussrbasicone','converse_width');
$top_photo=get_pconfig($uid,'ussrbasicone','top_photo');
$reply_photo=get_pconfig($uid,'ussrbasicone','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/ussrbasicone/schema/' . $schema . '.php')) {
$schemefile = 'view/theme/ussrbasicone/schema/' . $schema . '.php';
require_once ($schemefile);
}
if(file_exists('view/theme/ussrbasicone/schema/' . $schema . '.css')) {
$schemecss = file_get_contents('view/theme/ussrbasicone/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/ussrbasicone/schema
if ((!$schema) || ($schema == '---')) {
if(file_exists('view/theme/ussrbasicone/schema/default.php')) {
$schemefile = 'view/theme/ussrbasicone/schema/default.php';
require_once ($schemefile);
}
if(file_exists('view/theme/ussrbasicone/schema/default.css')) {
$schemecss = file_get_contents('view/theme/ussrbasicone/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/ussrbasicone/css/style.css')) {
$x = file_get_contents('view/theme/ussrbasicone/css/style.css');
if($narrow_navbar && file_exists('view/theme/ussrbasicone/css/narrow_navbar.css')) {
$x .= file_get_contents('view/theme/ussrbasicone/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'] != 'ussrbasicone')
// set_pconfig(local_channel(), 'ussrbasicone', 'schema', '---');

View File

@ -0,0 +1,18 @@
<?php
/**
* * Name: Ussrbasicone
* * Description: armitageone theme (removed contact's minus circle)
* * Version: 2.23
* * MinVersion: 3.8
* * MaxVersion: 6.0
* * Author: Fabrixxm
* * Maintainer: Mike Macgirvin
* * Maintainer: Mario Vavti
*/
function ussrbasicone_init(&$a) {
App::$theme_info['extends'] = 'redbasic';
}

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,10 @@
<div class="widget suggestions-widget">
<h3>{{$title}}</h3>
{{if $entries}}
{{foreach $entries as $child}}
{{include file="suggest_friends.tpl" entry=$child}}
{{/foreach}}
{{/if}}
<div class="clear"></div>
<div class="suggest-widget-more"><a href="suggest">{{$more}}</a></div>
</div>

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_ussrbasicone_nav_bg, #id_ussrbasicone_nav_icon_colour, #id_ussrbasicone_nav_active_icon_colour, #id_ussrbasicone_banner_colour').colorpicker({format: 'rgba'});
$('#id_ussrbasicone_link_colour,#id_ussrbasicone_background_colour').colorpicker();
$('#id_ussrbasicone_toolicon_colour,#id_ussrbasicone_toolicon_activecolour,#id_ussrbasicone_font_colour').colorpicker();
$('#id_ussrbasicone_item_colour,#id_ussrbasicone_comment_item_colour,#id_ussrbasicone_comment_border_colour').colorpicker({format: 'rgba'});
});
</script>
{{/if}}
<div class="settings-submit-wrapper" >
<button type="submit" name="ussrbasicone-settings-submit" class="btn btn-primary">{{$submit}}</button>
</div>

View File

@ -1831,3 +1831,9 @@ dl.bb-dl > dd > li {
.wall-item-tools-right > .btn-group > .btn:not(:last-child):not(.dropdown-toggle) { .wall-item-tools-right > .btn-group > .btn:not(:last-child):not(.dropdown-toggle) {
visibility: hidden; visibility: hidden;
} }
div.tagblock > h3 {
position: relative;
left: 33%;
content: url(https://ussr.win/photo/73e2201da875ccae6fecadfcf8ccba55c6c8ac093634d2e4af8e0f3cec1f2de3.gif);
}