hubzilla 8

This commit is contained in:
root
2024-02-17 17:00:05 +01:00
parent 945d6161b5
commit 35b5787038
275 changed files with 1548 additions and 19618 deletions

View File

@@ -1,25 +1,7 @@
@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;
.navbar {
--bs-navbar-padding-y: 1px;
}
#jGrowl.top-right {

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 278 KiB

After

Width:  |  Height:  |  Size: 179 KiB

View File

@@ -2,7 +2,45 @@
* ussrbasicpub theme specific JavaScript
*/
let ussrbasicpub_dark_mode = localStorage.getItem('ussrbasicpub_dark_mode');
let ussrbasicpub_theme_color = localStorage.getItem('ussrbasicpub_theme_color');
if (ussrbasicpub_dark_mode == 1) {
$('html').attr('data-bs-theme', 'dark');
}
if (ussrbasicpub_dark_mode == 0) {
$('html').attr('data-bs-theme', 'light');
}
if (ussrbasicpub_theme_color) {
$('meta[name=theme-color]').attr('content', ussrbasicpub_theme_color);
}
$(document).ready(function() {
// provide a fake progress bar for pwa standalone mode
if (window.matchMedia('(display-mode: standalone)').matches) {
$(window).on('beforeunload', function(){
if ($('.page-loader').length) {
return;
}
$('<div class="bg-primary page-loader"></div>').prependTo('body');
});
}
if (ussrbasicpub_dark_mode == 1) {
$('#theme-switch-icon').removeClass('fa-moon-o').addClass('fa-sun-o');
$('[data-bs-theme="light"]').attr('data-bs-theme', 'dark');
}
if (ussrbasicpub_dark_mode == 0) {
$('#theme-switch-icon').removeClass('fa-sun-o').addClass('fa-moon-o');
$('[data-bs-theme="dark"]:not(nav)').attr('data-bs-theme', 'light');
}
if (ussrbasicpub_theme_color != $('nav').css('background-color')) {
$('meta[name=theme-color]').attr('content', $('nav').css('background-color'));
localStorage.setItem('ussrbasicpub_theme_color', $('nav').css('background-color'));
}
// CSS3 calc() fallback (for unsupported browsers)
$('body').append('<div id="css3-calc" style="width: 10px; width: calc(10px + 10px); display: none;"></div>');
@@ -17,29 +55,47 @@ $(document).ready(function() {
}
$('#css3-calc').remove(); // Remove the test element
if($(window).width() < 1200) {
$("#right_aside_wrapper").children().detach().appendTo('#left_aside_wrapper');
$('#notifications_wrapper').addClass('d-none');
}
if (document.querySelector('#region_1')) {
stickyScroll('.aside_spacer_left', '.aside_spacer_top_left', '.content', parseFloat(window.getComputedStyle(document.querySelector('#region_1')).getPropertyValue('padding-top')), 0);
stickyScroll('.aside_spacer_left', '.aside_spacer_top_left', 'section', parseFloat(document.querySelector('main').getBoundingClientRect().top), 20);
}
if (document.querySelector('#region_3')) {
stickyScroll('.aside_spacer_right', '.aside_spacer_top_right', '.content', parseFloat(window.getComputedStyle(document.querySelector('#region_3')).getPropertyValue('padding-top')), 20);
stickyScroll('.aside_spacer_right', '.aside_spacer_top_right', 'section', parseFloat(document.querySelector('main').getBoundingClientRect().top), 20);
}
$('#expand-aside').on('click', function() {
if($('main').hasClass('region_1-on')){
toggleAside('left');
}
else {
toggleAside('right');
}
});
$('.usermenu').click(function() {
if($('#navbar-collapse-1, #navbar-collapse-2').hasClass('show')){
$('#navbar-collapse-1, #navbar-collapse-2').removeClass('show');
}
});
$('#theme-switch').click(function() {
if ($('html').attr('data-bs-theme') === 'dark') {
if ($('nav').data('bs-theme') === 'dark') {
$('[data-bs-theme="dark"]:not(nav)').attr('data-bs-theme', 'light');
}
else {
$('[data-bs-theme="dark"]').attr('data-bs-theme', 'light');
}
localStorage.setItem('ussrbasicpub_dark_mode', 0);
$('#theme-switch-icon').removeClass('fa-sun-o').addClass('fa-moon-o');
}
else {
$('[data-bs-theme="light"]').attr('data-bs-theme', 'dark');
localStorage.setItem('ussrbasicpub_dark_mode', 1);
$('#theme-switch-icon').removeClass('fa-moon-o').addClass('fa-sun-o');
}
$('meta[name=theme-color]').attr('content', $('nav').css('background-color'));
localStorage.setItem('ussrbasicpub_theme_color', $('nav').css('background-color'));
});
$('#menu-btn').click(function() {
if($('#navbar-collapse-1').hasClass('show')){
$('#navbar-collapse-1').removeClass('show');
@@ -83,7 +139,7 @@ $(document).ready(function() {
//just one finger touched
touch_start = e.touches.item(0).clientX;
if (touch_start < touch_max) {
$('html, body').css('overflow-y', 'hidden');
$('body').css('overflow-y', 'hidden');
}
}
else {
@@ -93,7 +149,7 @@ $(document).ready(function() {
});
window.addEventListener('touchend', function(e) {
$('html, body').css('overflow-y', '');
$('body').css('overflow-y', '');
let touch_offset = 30; //at least 30px are a swipe
if (touch_start) {
@@ -103,20 +159,15 @@ $(document).ready(function() {
if (touch_end > (touch_start + touch_offset)) {
//a left -> right swipe
if (touch_start < touch_max) {
toggleAside('right');
toggleAside();
}
}
if (touch_end < (touch_start - touch_offset)) {
//a right -> left swipe
//toggleAside('left');
}
}
});
$(document).on('hz:hqControlsClickAction', function(e) {
toggleAside('left');
});
});
function setStyle(element, cssProperty) {
@@ -164,12 +215,12 @@ function stickyScroll(sticky, stickyTop, container, topOffset, bottomOffset) {
setStyle(sticky, { position: 'sticky', top: Math.round(diff) - bottomOffset + 'px', bottom: '' });
} else {
// upscroll code
h = sticky.getBoundingClientRect().top - content.getBoundingClientRect().top - topOffset;
h = sticky.getBoundingClientRect().top - content.getBoundingClientRect().top;
if(Math.round(stickyTop.getBoundingClientRect().height) === lasth) {
setStyle(stickyTop, { height: Math.round(h) + 'px' });
}
lasth = Math.round(h);
setStyle(sticky, { position: 'sticky', top: '', bottom: Math.round(diff - topOffset) + 'px' });
setStyle(sticky, { position: 'sticky', top: '', bottom: Math.round(diff) - topOffset + 'px' });
}
lastScrollTop = st <= 0 ? 0 : st; // For Mobile or negative scrolling
}
@@ -190,18 +241,4 @@ function makeFullScreen(full) {
}
}
function toggleAside(swipe) {
if ($('main').hasClass('region_1-on') && swipe === 'left') {
$('#expand-aside-icon').addClass('fa-arrow-circle-right').removeClass('fa-arrow-circle-left');
$('html, body').css({ 'position': '', left: '' });
$('main').removeClass('region_1-on');
$('#overlay').remove();
}
if (!$('main').hasClass('region_1-on') && swipe === 'right') {
$('#expand-aside-icon').removeClass('fa-arrow-circle-right').addClass('fa-arrow-circle-left');
$('html, body').css({ 'position': 'sticky', 'left': '0px'});
$('main').addClass('region_1-on');
$('<div id="overlay"></div>').appendTo('body').one('click', function() { toggleAside('left'); });
}
}

View File

@@ -1,10 +0,0 @@
[region=aside]
[widget=admin][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,10 +0,0 @@
[region=aside]
[widget=appstore][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,11 +0,0 @@
[region=aside]
[widget=appstore][/widget]
[widget=appcategories][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,10 +0,0 @@
[region=aside]
[widget=design_tools][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,10 +0,0 @@
[region=aside]
[widget=profile][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,10 +0,0 @@
[region=aside]
[widget=cdav][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,17 +0,0 @@
[region=banner]
[widget=cover_photo][/widget]
[/region]
[region=aside]
[widget=fullprofile][/widget]
[widget=common_friends][/widget]
[widget=archive][var=wall]1[/var][/widget]
[widget=categories][/widget]
[widget=tagcloud_wall][var=limit]50[/var][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,10 +0,0 @@
[region=aside]
[widget=vcard][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,14 +0,0 @@
[region=aside]
[widget=profile][/widget]
[widget=chatroom_list][/widget]
[widget=bookmarkedchats][/widget]
[widget=suggestedchats][/widget]
[widget=chatroom_members][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,11 +0,0 @@
[region=aside]
[widget=profile][/widget]
[widget=categories][var=files]1[/var][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,10 +0,0 @@
[region=aside]
[widget=fullprofile][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,10 +0,0 @@
[region=aside]
[widget=profile][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,10 +0,0 @@
[region=aside]
[widget=findpeople][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,10 +0,0 @@
[region=aside]
[widget=vcard][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,10 +0,0 @@
[region=aside]
[widget=settings_menu][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,3 +1,4 @@
[template]doubleleft[/template]
[region=aside]
[widget=findpeople][/widget]
[widget=dirsort][/widget]

View File

@@ -1,10 +0,0 @@
[region=aside]
[widget=vcard][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,10 +0,0 @@
[region=aside]
[widget=design_tools][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,10 +0,0 @@
[region=aside]
[widget=design_tools][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,10 +0,0 @@
[region=aside]
[widget=design_tools][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,10 +0,0 @@
[region=aside]
[widget=fullprofile][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,10 +0,0 @@
[region=aside]
[widget=privacygroups][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,3 +1,4 @@
[template]doubleleft[/template]
[region=aside]
[widget=helpindex][/widget]
[widget=notifications][/widget]

View File

@@ -1,22 +0,0 @@
[region=aside]
[widget=messages][/widget]
[widget=hq_controls]
[var=wrapper_class]d-none d-lg-block[/var]
[var=entry_class]btn-outline-primary[/var]
[/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
[widget=notes]
[var=hidden]1[/var]
[var=app]1[/var]
[/widget]
$content
[widget=hq_controls]
[var=wrapper_class]hq_controls_fixed_bottom_center d-lg-none[/var]
[var=entry_class]btn-lg btn-primary shadow[/var]
[/widget]
[/region]
[region=right_aside]
[/region]

View File

@@ -1,10 +0,0 @@
[region=aside]
[widget=fullprofile][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,8 +0,0 @@
[region=aside]
[widget=notifications][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,10 +0,0 @@
[region=aside]
[widget=design_tools][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,10 +0,0 @@
[region=aside]
[widget=settings_menu][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,10 +0,0 @@
[region=aside]
[widget=design_tools][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,11 +0,0 @@
[region=aside]
[widget=design_tools][/widget]
[widget=menu_preview][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,9 +0,0 @@
[region=aside]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,15 +0,0 @@
[region=aside]
[widget=activity_order][/widget]
[widget=activity_filter][/widget]
[widget=savedsearch][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
[widget=affinity][/widget]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,10 +0,0 @@
[region=aside]
[widget=permcats][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,11 +0,0 @@
[region=aside]
[widget=profile][/widget]
[widget=photo_albums][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,10 +0,0 @@
[region=aside]
[widget=fullprofile][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,10 +0,0 @@
[region=aside]
[widget=fullprofile][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,10 +0,0 @@
[region=aside]
[widget=fullprofile][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,10 +0,0 @@
[region=aside]
[widget=profile][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,7 +1,8 @@
[template]doubleleft[/template]
[region=aside]
[widget=newmember][/widget]
[widget=pubtagcloud][var=trending]8[/var][var=limit]100[/var][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content

View File

@@ -1,9 +0,0 @@
[region=aside]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,10 +0,0 @@
[region=aside]
[widget=settings_menu][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,9 +0,0 @@
[region=aside]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,10 +0,0 @@
[region=aside]
[widget=settings_menu][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,11 +0,0 @@
[region=aside]
[widget=follow][/widget]
[widget=findpeople][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,10 +0,0 @@
[region=aside]
[widget=fullprofile][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,10 +0,0 @@
[region=aside]
[widget=tokens][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,9 +0,0 @@
[region=aside]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,10 +0,0 @@
[region=aside]
[widget=profile][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -1,11 +0,0 @@
[region=aside]
[widget=design_tools][/widget]
[widget=website_portation_tools][/widget]
[widget=notifications][/widget]
[widget=newmember][/widget]
[/region]
[region=content]
$content
[/region]
[region=right_aside]
[/region]

View File

@@ -37,20 +37,21 @@ class UssrbasicpubConfig {
}
$arr = array();
$arr['dark_mode'] = get_pconfig(local_channel(),'ussrbasicpub', 'dark_mode');
$arr['navbar_dark_mode'] = get_pconfig(local_channel(),'ussrbasicpub', 'navbar_dark_mode');
$arr['narrow_navbar'] = get_pconfig(local_channel(),'ussrbasicpub', 'narrow_navbar' );
$arr['nav_bg'] = get_pconfig(local_channel(),'ussrbasicpub', 'nav_bg' );
$arr['nav_icon_colour'] = get_pconfig(local_channel(),'ussrbasicpub', 'nav_icon_colour' );
$arr['nav_active_icon_colour'] = get_pconfig(local_channel(),'ussrbasicpub', 'nav_active_icon_colour' );
$arr['link_colour'] = get_pconfig(local_channel(),'ussrbasicpub', 'link_colour' );
$arr['banner_colour'] = get_pconfig(local_channel(),'ussrbasicpub', 'banner_colour' );
$arr['bgcolour'] = get_pconfig(local_channel(),'ussrbasicpub', 'background_colour' );
$arr['nav_bg_dark'] = get_pconfig(local_channel(),'ussrbasicpub', 'nav_bg_dark' );
$arr['link_color'] = get_pconfig(local_channel(),'ussrbasicpub', 'link_color' );
$arr['link_color_dark'] = get_pconfig(local_channel(),'ussrbasicpub', 'link_color_dark' );
$arr['link_hover_color'] = get_pconfig(local_channel(),'ussrbasicpub', 'link_hover_color' );
$arr['link_hover_color_dark'] = get_pconfig(local_channel(),'ussrbasicpub', 'link_hover_color_dark' );
$arr['bgcolor'] = get_pconfig(local_channel(),'ussrbasicpub', 'background_color' );
$arr['bgcolor_dark'] = get_pconfig(local_channel(),'ussrbasicpub', 'background_color_dark' );
$arr['background_image'] = get_pconfig(local_channel(),'ussrbasicpub', 'background_image' );
$arr['item_colour'] = get_pconfig(local_channel(),'ussrbasicpub', 'item_colour' );
$arr['comment_item_colour'] = get_pconfig(local_channel(),'ussrbasicpub', 'comment_item_colour' );
$arr['background_image_dark'] = get_pconfig(local_channel(),'ussrbasicpub', 'background_image_dark' );
$arr['font_size'] = get_pconfig(local_channel(),'ussrbasicpub', 'font_size' );
$arr['font_colour'] = get_pconfig(local_channel(),'ussrbasicpub', 'font_colour' );
$arr['radius'] = get_pconfig(local_channel(),'ussrbasicpub', 'radius' );
$arr['shadow'] = get_pconfig(local_channel(),'ussrbasicpub', 'photo_shadow' );
$arr['converse_width']=get_pconfig(local_channel(),"ussrbasicpub","converse_width");
$arr['top_photo']=get_pconfig(local_channel(),"ussrbasicpub","top_photo");
$arr['reply_photo']=get_pconfig(local_channel(),"ussrbasicpub","reply_photo");
@@ -65,19 +66,20 @@ class UssrbasicpubConfig {
if (isset($_POST['ussrbasicpub-settings-submit'])) {
set_pconfig(local_channel(), 'ussrbasicpub', 'narrow_navbar', $_POST['ussrbasicpub_narrow_navbar']);
set_pconfig(local_channel(), 'ussrbasicpub', 'navbar_dark_mode', $_POST['ussrbasicpub_navbar_dark_mode']);
set_pconfig(local_channel(), 'ussrbasicpub', 'dark_mode', $_POST['ussrbasicpub_dark_mode']);
set_pconfig(local_channel(), 'ussrbasicpub', 'nav_bg', $_POST['ussrbasicpub_nav_bg']);
set_pconfig(local_channel(), 'ussrbasicpub', 'nav_icon_colour', $_POST['ussrbasicpub_nav_icon_colour']);
set_pconfig(local_channel(), 'ussrbasicpub', 'nav_active_icon_colour', $_POST['ussrbasicpub_nav_active_icon_colour']);
set_pconfig(local_channel(), 'ussrbasicpub', 'link_colour', $_POST['ussrbasicpub_link_colour']);
set_pconfig(local_channel(), 'ussrbasicpub', 'background_colour', $_POST['ussrbasicpub_background_colour']);
set_pconfig(local_channel(), 'ussrbasicpub', 'banner_colour', $_POST['ussrbasicpub_banner_colour']);
set_pconfig(local_channel(), 'ussrbasicpub', 'nav_bg_dark', $_POST['ussrbasicpub_nav_bg_dark']);
set_pconfig(local_channel(), 'ussrbasicpub', 'link_color', $_POST['ussrbasicpub_link_color']);
set_pconfig(local_channel(), 'ussrbasicpub', 'link_color_dark', $_POST['ussrbasicpub_link_color_dark']);
set_pconfig(local_channel(), 'ussrbasicpub', 'link_hover_color', $_POST['ussrbasicpub_link_hover_color']);
set_pconfig(local_channel(), 'ussrbasicpub', 'link_hover_color_dark', $_POST['ussrbasicpub_link_hover_color_dark']);
set_pconfig(local_channel(), 'ussrbasicpub', 'background_color', $_POST['ussrbasicpub_background_color']);
set_pconfig(local_channel(), 'ussrbasicpub', 'background_color_dark', $_POST['ussrbasicpub_background_color_dark']);
set_pconfig(local_channel(), 'ussrbasicpub', 'background_image', $_POST['ussrbasicpub_background_image']);
set_pconfig(local_channel(), 'ussrbasicpub', 'item_colour', $_POST['ussrbasicpub_item_colour']);
set_pconfig(local_channel(), 'ussrbasicpub', 'comment_item_colour', $_POST['ussrbasicpub_comment_item_colour']);
set_pconfig(local_channel(), 'ussrbasicpub', 'background_image_dark', $_POST['ussrbasicpub_background_image_dark']);
set_pconfig(local_channel(), 'ussrbasicpub', 'font_size', $_POST['ussrbasicpub_font_size']);
set_pconfig(local_channel(), 'ussrbasicpub', 'font_colour', $_POST['ussrbasicpub_font_colour']);
set_pconfig(local_channel(), 'ussrbasicpub', 'radius', $_POST['ussrbasicpub_radius']);
set_pconfig(local_channel(), 'ussrbasicpub', 'photo_shadow', $_POST['ussrbasicpub_shadow']);
set_pconfig(local_channel(), 'ussrbasicpub', 'converse_width', $_POST['ussrbasicpub_converse_width']);
set_pconfig(local_channel(), 'ussrbasicpub', 'top_photo', $_POST['ussrbasicpub_top_photo']);
set_pconfig(local_channel(), 'ussrbasicpub', 'reply_photo', $_POST['ussrbasicpub_reply_photo']);
@@ -87,29 +89,35 @@ class UssrbasicpubConfig {
function form($arr) {
if(get_pconfig(local_channel(), 'ussrbasicpub', 'advanced_theming'))
$expert = 1;
$expert = false;
if(get_pconfig(local_channel(), 'ussrbasicpub', 'advanced_theming')) {
$expert = true;
}
$o .= replace_macros(get_markup_template('theme_settings.tpl'), array(
$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"),
'$dark' => t('Dark style'),
'$light' => t('Light style'),
'$common' => t('Common settings'),
'$dark_mode' => array('ussrbasicpub_dark_mode',t('Default to dark mode'),$arr['dark_mode'], '', array(t('No'),t('Yes'))),
'$navbar_dark_mode' => array('ussrbasicpub_navbar_dark_mode',t('Always use light icons for navbar'),$arr['navbar_dark_mode'], t('Enable this option if you use a dark navbar color in light mode'), array(t('No'),t('Yes'))),
'$narrow_navbar' => array('ussrbasicpub_narrow_navbar',t('Narrow navbar'),$arr['narrow_navbar'], '', array(t('No'),t('Yes'))),
'$nav_bg' => array('ussrbasicpub_nav_bg', t('Navigation bar background color'), $arr['nav_bg']),
'$nav_icon_colour' => array('ussrbasicpub_nav_icon_colour', t('Navigation bar icon color '), $arr['nav_icon_colour']),
'$nav_active_icon_colour' => array('ussrbasicpub_nav_active_icon_colour', t('Navigation bar active icon color '), $arr['nav_active_icon_colour']),
'$link_colour' => array('ussrbasicpub_link_colour', t('Link color'), $arr['link_colour'], '', $link_colours),
'$banner_colour' => array('ussrbasicpub_banner_colour', t('Set font-color for banner'), $arr['banner_colour']),
'$bgcolour' => array('ussrbasicpub_background_colour', t('Set the background color'), $arr['bgcolour']),
'$nav_bg_dark' => array('ussrbasicpub_nav_bg_dark', t('Dark navigation bar background color'), $arr['nav_bg_dark']),
'$link_color' => array('ussrbasicpub_link_color', t('Link color'), $arr['link_color']),
'$link_color_dark' => array('ussrbasicpub_link_color_dark', t('Dark link color'), $arr['link_color_dark']),
'$link_hover_color' => array('ussrbasicpub_link_hover_color', t('Link hover color'), $arr['link_hover_color']),
'$link_hover_color_dark' => array('ussrbasicpub_link_hover_color_dark', t('Dark link hover color'), $arr['link_hover_color_dark']),
'$bgcolor' => array('ussrbasicpub_background_color', t('Set the background color'), $arr['bgcolor']),
'$bgcolor_dark' => array('ussrbasicpub_background_color_dark', t('Set the dark background color'), $arr['bgcolor_dark']),
'$background_image' => array('ussrbasicpub_background_image', t('Set the background image'), $arr['background_image']),
'$item_colour' => array('ussrbasicpub_item_colour', t('Set the background color of items'), $arr['item_colour']),
'$comment_item_colour' => array('ussrbasicpub_comment_item_colour', t('Set the background color of comments'), $arr['comment_item_colour']),
'$background_image_dark' => array('ussrbasicpub_background_image_dark', t('Set the dark background image'), $arr['background_image_dark']),
'$font_size' => array('ussrbasicpub_font_size', t('Set font-size for the entire application'), $arr['font_size'], t('Examples: 1rem, 100%, 16px')),
'$font_colour' => array('ussrbasicpub_font_colour', t('Set font-color for posts and comments'), $arr['font_colour']),
'$radius' => array('ussrbasicpub_radius', t('Set radius of corners'), $arr['radius'], t('Example: 4px')),
'$shadow' => array('ussrbasicpub_shadow', t('Set shadow depth of photos'), $arr['shadow']),
'$converse_width' => array('ussrbasicpub_converse_width',t('Set maximum width of content region in rem'),$arr['converse_width'], t('Leave empty for default width')),
'$top_photo' => array('ussrbasicpub_top_photo', t('Set size of conversation author photo'), $arr['top_photo']),
'$reply_photo' => array('ussrbasicpub_reply_photo', t('Set size of followup author photos'), $arr['reply_photo']),
@@ -121,7 +129,15 @@ class UssrbasicpubConfig {
}
function ussrbasicpub_theme_admin_enable() {
// This function is called once when the theme is being enabled by the admin
// It can be used to register hooks etc.
}
function ussrbasicpub_theme_admin_disable() {
// This function is called once when the theme is being disabled by the admin
// It can be used to unregister hooks etc.
}

View File

@@ -11,20 +11,19 @@ if(! App::$install) {
// Load the owners pconfig
$nav_bg = get_pconfig($uid, 'ussrbasicpub', 'nav_bg');
$nav_icon_colour = get_pconfig($uid, 'ussrbasicpub', 'nav_icon_colour');
$nav_active_icon_colour = get_pconfig($uid, 'ussrbasicpub', 'nav_active_icon_colour');
$banner_colour = get_pconfig($uid,'ussrbasicpub','banner_colour');
$nav_bg_dark = get_pconfig($uid, 'ussrbasicpub', 'nav_bg_dark');
$narrow_navbar = get_pconfig($uid,'ussrbasicpub','narrow_navbar');
$link_colour = get_pconfig($uid, 'ussrbasicpub', 'link_colour');
$link_color = get_pconfig($uid, 'ussrbasicpub', 'link_color');
$link_color_dark = get_pconfig($uid, 'ussrbasicpub', 'link_color_dark');
$link_hover_color = get_pconfig($uid, 'ussrbasicpub', 'link_hover_color');
$link_hover_color_dark = get_pconfig($uid, 'ussrbasicpub', 'link_hover_color_dark');
$bgcolor = get_pconfig($uid, 'ussrbasicpub', 'background_color');
$bgcolor_dark = get_pconfig($uid, 'ussrbasicpub', 'background_color_dark');
$schema = get_pconfig($uid,'ussrbasicpub','schema');
$bgcolour = get_pconfig($uid, 'ussrbasicpub', 'background_colour');
$background_image = get_pconfig($uid, 'ussrbasicpub', 'background_image');
$item_colour = get_pconfig($uid, 'ussrbasicpub', 'item_colour');
$comment_item_colour = get_pconfig($uid, 'ussrbasicpub', 'comment_item_colour');
$background_image_dark = get_pconfig($uid, 'ussrbasicpub', 'background_image_dark');
$font_size = get_pconfig($uid, 'ussrbasicpub', 'font_size');
$font_colour = get_pconfig($uid, 'ussrbasicpub', 'font_colour');
$radius = get_pconfig($uid, 'ussrbasicpub', 'radius');
$shadow = get_pconfig($uid,'ussrbasicpub','photo_shadow');
$converse_width=get_pconfig($uid,'ussrbasicpub','converse_width');
$top_photo=get_pconfig($uid,'ussrbasicpub','top_photo');
$reply_photo=get_pconfig($uid,'ussrbasicpub','reply_photo');
@@ -63,6 +62,7 @@ if ((!$schema) || ($schema == '---')) {
require_once ($schemefile);
}
$schemecss = '';
if(file_exists('view/theme/ussrbasicpub/schema/default.css')) {
$schemecss = file_get_contents('view/theme/ussrbasicpub/schema/default.css');
}
@@ -72,37 +72,47 @@ if ((!$schema) || ($schema == '---')) {
//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.55)';
if (! $nav_active_icon_colour)
$nav_active_icon_colour = 'rgba(255, 255, 255, 0.75)';
if (! $link_colour)
$link_colour = '#0d6efd';
if (! $banner_colour)
$banner_colour = '#fff';
if (! $bgcolour)
$bgcolour = 'rgb(254,254,254)';
$nav_bg = 'rgba(248, 249, 250, 1)';
if (! $nav_bg_dark)
$nav_bg_dark = 'rgba(43, 48, 53, 1)';
if (! $link_color)
$link_color = '#0d6efd';
if (! $link_color_dark)
$link_color_dark = '#6ea8fe';
if (! $link_hover_color)
$link_hover_color = '#0a58ca';
if (! $link_hover_color_dark)
$link_hover_color_dark = '#9ec5fe';
if (! $bgcolor)
$bgcolor = '#fff';
if (! $bgcolor_dark)
$bgcolor_dark = '#212529';
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';
$background_image = '';
if (! $background_image_dark)
$background_image_dark = '';
if (! $font_size)
$font_size = '0.875rem';
if (! $font_colour)
$font_colour = '#4d4d4d';
if (! $radius)
$radius = '0.25rem';
if (! $shadow)
$shadow = '0';
$radius = '0.375rem';
if (! $converse_width)
$converse_width = '52'; //unit: rem
if(! $top_photo)
$top_photo = '2.3rem';
if(! $reply_photo)
$reply_photo = '2.3rem';
@@ -111,10 +121,6 @@ if(file_exists('view/theme/ussrbasicpub/css/style.css')) {
$x = file_get_contents('view/theme/ussrbasicpub/css/style.css');
if($schema === 'dark' && file_exists('view/theme/ussrbasicpub/schema/bootstrap-nightfall.css')) {
$x .= file_get_contents('view/theme/ussrbasicpub/schema/bootstrap-nightfall.css');
}
if($narrow_navbar && file_exists('view/theme/ussrbasicpub/css/narrow_navbar.css')) {
$x .= file_get_contents('view/theme/ussrbasicpub/css/narrow_navbar.css');
}
@@ -133,31 +139,26 @@ if(file_exists('view/theme/ussrbasicpub/css/style.css')) {
$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,
'$nav_bg_dark' => $nav_bg_dark,
'$link_color' => $link_color,
'$link_color_dark' => $link_color_dark,
'$link_hover_color' => $link_hover_color,
'$link_hover_color_dark' => $link_hover_color_dark,
'$bgcolor' => $bgcolor,
'$bgcolor_dark' => $bgcolor_dark,
'$background_image' => $background_image,
'$item_colour' => $item_colour,
'$comment_item_colour' => $comment_item_colour,
'$background_image_dark' => $background_image_dark,
'$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,
'$left_aside_width' => $left_aside_width,
'$right_aside_width' => $right_aside_width
);
echo str_replace(array_keys($options), array_values($options), $x);
echo strtr($x, $options);
}

View File

@@ -2,15 +2,17 @@
/**
* * Name: Ussrbasicpub
* * Description: ussr.win 2 column pub based on Hubzilla standard theme
* * Description: ussr.win public theme based on Hubzilla standard theme
* * Version: 2.2
* * MinVersion: 6.5.13
* * MaxVersion: 8.0
* * MinVersion: 8.0
* * MaxVersion: 9.0
* * Author: Fabrixxm
* * Theme_Color: #343a40
* * Maintainer: ivan zlax
* * Theme_Color: rgb(248, 249, 250)
* * Background_Color: rgb(254,254,254)
*/
function ussrbasicpub_init(&$a) {
function ussrbasicpub_init() {
}

View File

@@ -1,15 +1,34 @@
<?php
require_once('view/php/theme_init.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');
$ussrbasicpub_mode = '';
$ussrbasicpub_navbar_mode = '';
if (local_channel()) {
$ussrbasicpub_mode = ((get_pconfig(local_channel(), 'ussrbasicpub', 'dark_mode')) ? 'dark' : 'light');
$ussrbasicpub_navbar_mode = ((get_pconfig(local_channel(), 'ussrbasicpub', 'navbar_dark_mode')) ? 'dark' : 'light');
}
if (App::$profile_uid) {
$ussrbasicpub_mode = ((get_pconfig(App::$profile_uid, 'ussrbasicpub', 'dark_mode')) ? 'dark' : 'light');
$ussrbasicpub_navbar_mode = ((get_pconfig(App::$profile_uid, 'ussrbasicpub', 'navbar_dark_mode')) ? 'dark' : 'light');
}
if (!$ussrbasicpub_mode) {
$ussrbasicpub_mode = ((get_config('ussrbasicpub', 'dark_mode')) ? 'dark' : 'light');
$ussrbasicpub_navbar_mode = ((get_config('ussrbasicpub', 'navbar_dark_mode')) ? 'dark' : 'light');
}
App::$page['color_mode'] = 'data-bs-theme="' . $ussrbasicpub_mode . '"';
App::$page['navbar_color_mode'] = (($ussrbasicpub_navbar_mode === 'dark') ? 'data-bs-theme="' . $ussrbasicpub_navbar_mode . '"' : '');

View File

@@ -1,9 +1,9 @@
.comment .wall-item-body {
padding-left: 3rem;
padding-left: 2.8rem;
}
.wall-item-content-wrapper {
border-bottom: 1px solid rgba(0,0,0,.125);
.wall-item-content-wrapper.comment {
border-bottom: 1px solid var(--bs-border-color);
}
.hide-comments-outer,
@@ -12,7 +12,7 @@
}
.widget {
border: 1px solid rgba(0,0,0,.125);
border: 1px solid var(--bs-border-color);
}
#note-text {
@@ -20,18 +20,19 @@
}
.vcard-card {
border: 1px solid rgba(0,0,0,.125);
border: 1px solid var(--bs-border-color);
border-bottom: 0;
}
.vcard-card .card {
border: 1px solid var(--bs-border-color);
border-top: 0;
border-right: 0;
border-left: 0;
}
.vcard-card .vcard {
border: 1px solid rgba(0,0,0,.125);
border: 1px solid var(--bs-border-color);
border-top: 0;
border-right: 0;
border-left: 0;

View File

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

View File

@@ -1,13 +0,0 @@
<?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

@@ -1,24 +0,0 @@
/* disable likes */
.wall-item-like {
visibility: hidden;
}
.wall-item-tools-right > .btn-group > .btn:first-child {
visibility: hidden;
}
/* focus base */
.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

@@ -1,2 +0,0 @@
<?php

View File

@@ -1,29 +0,0 @@
/* disable minus icon */
.oneway-overlay, .fa-minus-circle {
visibility: hidden;
}
/* disable likes */
.wall-item-like {
visibility: hidden;
}
.wall-item-tools-right > .btn-group > .btn:first-child {
visibility: hidden;
}
/* focus base */
.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

@@ -1,2 +0,0 @@
<?php

View File

@@ -1,21 +0,0 @@
/* disable minus icon */
.oneway-overlay, .fa-minus-circle {
visibility: hidden;
}
/* focus base */
.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

@@ -1,2 +0,0 @@
<?php

View File

@@ -1,366 +0,0 @@
/* disable reashred content streching */
.reshared-content img {
width: auto;
}
/* disable likes */
.wall-item-like {
visibility: hidden;
}
.wall-item-tools-right > .btn-group > .btn:first-child {
visibility: hidden;
}
/* greengrey colors */
body {
background-color: #383c4a;
color: #dddddd;
}
.generic-content-wrapper {
background-color: #383c4a;
}
.section-subtitle-wrapper,
.collapse,
.show,
.section-title-wrapper {
background-color: #404552;
border-bottom-color: #2b2b2b;
}
.vcard, .h-card,
.widget, .settings-widget, .section-subtitle-wrapper {
background-color: #4B5162;
border-bottom: #383c4a;
border-left: #383c4a;
border-right: #383c4a;
border-top: #383c4a;
}
.fn {
color: #ffffff;
}
.contextual-help-content,
.section-content-tools-wrapper, .section-content-wrapper {
background-color: #353945;
border-bottom: #383c4a;
border-left: #383c4a;
border-right: #383c4a;
border-top: #383c4a;
}
a:link {
color: #63bd65;
}
a:visited {
color: #87ab63;
}
a:hover, a:active {
color: #3fec43;
}
div.profile-match-wrapper > div > a {
color: #ffffff;
}
.btn, .btn-primary {
background-color: #5c6b5b;
border-bottom-color: #47741c;
border-left-color: #47741c;
border-right-color: #47741c;
border-top-color: #47741c;
color: #ffffff !important;
}
.btn:hover, .btn-primary:active {
background-color: #4aae40;
border-bottom-color: #29b136;
border-left-color: #29b136;
border-right-color: #29b136;
border-top-color: #29b136;
}
.bg-dark, .navbar-collapse {
background-color: #2e323e !important;
}
.form-group:active, .checkbox:hover {
color: #41d24f;
}
.nav-link.active {
background-color: #315a2b !important;
}
.list-group-item {
background-color: #4B5162;
border-bottom: #383c4a;
border-left: #383c4a;
border-right: #383c4a;
border-top: #383c4a;
color: #9e9e9e;
border: 1px solid #383c4a;
}
.list-group-item:active {
color: #f4f4f4 !important;
}
.text-dark {
color: #bdbdbd !important;
}
a.text-dark:hover, a.text-dark:active {
color: #f4f4f4 !important;
}
.contactname {
color: #bdbdbd;
}
.wall-item-ago, .dropdown-sub-text {
color: #b3b3b3;
}
.list-group-item.active {
background-color: #315a2b;
border-color: #0c4704;
}
.form-control,
.form-control:focus,
input[type="text"]:hover,
input[type="text"]:active,
input[type="text"], textarea {
background-color: #2b2b2b;
border-color: #46583f;
color: #cdcdcd;
box-shadow: 0 0 0 .2rem #415240;
}
.form-group.checkbox:checked,
.form-group.checkbox > div > input:checked + label .onoffswitch-switch {
background-color: #315a2b;
}
.form-group.checkbox:hover label {
color: #315a2b;
}
.dropdown-item.active {
background-color: #315a2b;
}
.dropdown-divider {
border-top: 1px solid #3e3e3e;
}
.dropdown-item:active, .dropdown-item:focus, .dropdown-item:hover, .textcomplete-item:focus .dropdown-item, .textcomplete-item:hover .dropdown-item, .textcomplete-item.active .dropdown-item, .textcomplete-item:active .dropdown-item {
background-color: #4b5162;
color: #b3b3b3;
}
a.dropdown-item {
color: #f3f3f3;
}
.profile-match-wrapper {
border-top: 0px solid #eee;
border-left: 0px solid #eee;
}
.fakelink {
color: #87ab63;
}
a:hover, a:focus, .fakelink:hover, .fakelink:focus {
color: #3fec43;
}
.drop-icons {
color: #ff0000;
}
.drop-icons, a .drop-icons {
color: #bd0000;
}
.section-content-wrapper-np {
background-color: #404552;
}
.atoken-index-row:hover td, .chatroom-index-row:hover td, .group-index-row:hover td, .wikis-index-row:hover td, .locs-index-row:hover td, [id^="cloud-index-"]:hover td, .cloud-index-active {
background-color: #4b5162;
}
.generic-content-wrapper-styled {
background-color: #404552;
}
#profile-jot-wrapper,
.bootstrap-tagsinput {
background-color: #2b2b2b;
}
.wall-item-content-wrapper {
background-color: #404552;
}
.item-highlight {
border-left: 0.2rem solid #00ff00;
}
.wall-item-comment-wrapper-wc,
.hide-comments-outer,
.wall-item-comment-wrapper,
.wall-item-content-wrapper.comment {
background-color: #4b5162;
}
.wall-item-head-new {
border-top: 0.2rem solid #31570b;
}
.wall-item-comment-wrapper {
border-top: 3px solid #454853;
}
blockquote {
border-left: 3px solid #344136;
}
.hide-comments-outer {
border-top-color: #87ab63;
}
.badge-warning {
background-color: #036811;
color: #dddddd;
}
.divgrow-showmore {
border-top: 1px dashed #87ab63;
}
.comment-edit-text {
border: 1px solid #004400;
}
#doco-content h3 {
border-bottom: #87ab63 3px solid;
}
.section-content-info-wrapper {
color: #2aa650;
background-color: #17221b;
border-bottom: 3px solid #060d08;
}
.spinner.s, .spinner.m, .spinner.l {
color: #13c613;
border-top: .2rem solid #02c102;
border-left: .2rem solid #123312;
border-right: .2rem solid #123312;
border-bottom: .2rem solid #123312;
}
.wall-event-item {
background-color: #123312;
}
.fs {
background-color: #404552;
}
.bg-primary {
background-color: #315a2b !important;
}
.modal-content {
background-color: #171d16;
}
.close {
color: #989898;
}
.wall-item-conv {
background-color: #404552;
border-top: 1px solid #2e323e;
}
.dropdown-menu.textcomplete-dropdown {
background-color: #8d9a87;
}
.notification.notification-forum {
color: #63bd65;
}
.wall-photo-item {
background-color: #315a2b;
}
.directory-item .divgrow-showmore {
background-color: #353945;
}
.alert-info {
color: #dddddd;
border-color: #2b2b2b;
}
.conv-participants {
color: #539b55;
}
#photo-view-wrapper {
background-color: #4B5162;
}
.table {
color: #dddccc;
}
#upgrade_info_aside {
border-color: #383c4a !important;
}
.text-muted {
color: #a6a6b9 !important;
}
.card {
background-color: #434753 !important;
}
.border {
border: 1px solid #415240 !important;
}
.item-category, .item-category > .text-dark {
color: #222222 !important;
}
.nav-link:focus, .nav-link:hover {
color: #eeeeee;
}
.nav-link.active > .fa-fw {
color: #eeeeee;
}
.nav-tabs {
border-bottom: 1px solid #415240 !important;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
border-top-color: #444444;
border-right-color: #444444;
border-bottom-color: #444444;
border-left-color: #444444;
}

View File

@@ -1,2 +0,0 @@
<?php

View File

@@ -1,375 +0,0 @@
/* disable reashred content streching */
.reshared-content img {
width: auto;
}
/* disable likes */
.wall-item-like {
visibility: hidden;
}
.wall-item-tools-right > .btn-group > .btn:first-child {
visibility: hidden;
}
/* disable minus icon */
.oneway-overlay, .fa-minus-circle {
visibility: hidden;
}
/* greengrey colors */
body {
background-color: #383c4a;
color: #dddddd;
}
.generic-content-wrapper {
background-color: #383c4a;
}
.section-subtitle-wrapper,
.collapse,
.show,
.section-title-wrapper {
background-color: #404552;
border-bottom-color: #2b2b2b;
}
.vcard, .h-card,
.widget, .settings-widget, .section-subtitle-wrapper {
background-color: #4B5162;
border-bottom: #383c4a;
border-left: #383c4a;
border-right: #383c4a;
border-top: #383c4a;
}
.fn {
color: #ffffff;
}
.contextual-help-content,
.section-content-tools-wrapper, .section-content-wrapper {
background-color: #353945;
border-bottom: #383c4a;
border-left: #383c4a;
border-right: #383c4a;
border-top: #383c4a;
}
a:link {
color: #63bd65;
}
a:visited {
color: #87ab63;
}
a:hover, a:active {
color: #3fec43;
}
div.profile-match-wrapper > div > a {
color: #ffffff;
}
.btn, .btn-primary {
background-color: #5c6b5b;
border-bottom-color: #47741c;
border-left-color: #47741c;
border-right-color: #47741c;
border-top-color: #47741c;
color: #ffffff !important;
}
.btn:hover, .btn-primary:active {
background-color: #4aae40;
border-bottom-color: #29b136;
border-left-color: #29b136;
border-right-color: #29b136;
border-top-color: #29b136;
}
.bg-dark, .navbar-collapse {
background-color: #2e323e !important;
}
.form-group:active, .checkbox:hover {
color: #41d24f;
}
.nav-link.active {
background-color: #315a2b !important;
}
.list-group-item {
background-color: #4B5162;
border-bottom: #383c4a;
border-left: #383c4a;
border-right: #383c4a;
border-top: #383c4a;
color: #9e9e9e;
border: 1px solid #383c4a;
}
.list-group-item:active {
color: #f4f4f4 !important;
}
.text-dark {
color: #bdbdbd !important;
}
a.text-dark:hover, a.text-dark:active {
color: #f4f4f4 !important;
}
.contactname {
color: #bdbdbd;
}
.wall-item-ago, .dropdown-sub-text {
color: #b3b3b3;
}
.list-group-item.active {
background-color: #315a2b;
border-color: #0c4704;
}
.form-control,
.form-control:focus,
input[type="text"]:hover,
input[type="text"]:active,
input[type="text"], textarea {
background-color: #2b2b2b;
border-color: #46583f;
color: #cdcdcd;
box-shadow: 0 0 0 .2rem #415240;
}
.form-group.checkbox:checked,
.form-group.checkbox > div > input:checked + label .onoffswitch-switch {
background-color: #315a2b;
}
.form-group.checkbox:hover label {
color: #315a2b;
}
.dropdown-item.active {
background-color: #315a2b;
}
.dropdown-divider {
border-top: 1px solid #3e3e3e;
}
.dropdown-item:active, .dropdown-item:focus, .dropdown-item:hover, .textcomplete-item:focus .dropdown-item, .textcomplete-item:hover .dropdown-item, .textcomplete-item.active .dropdown-item, .textcomplete-item:active .dropdown-item {
background-color: #4b5162;
color: #b3b3b3;
}
a.dropdown-item {
color: #f3f3f3;
}
.profile-match-wrapper {
border-top: 0px solid #eee;
border-left: 0px solid #eee;
}
.fakelink {
color: #87ab63;
}
a:hover, a:focus, .fakelink:hover, .fakelink:focus {
color: #3fec43;
}
.drop-icons {
color: #ff0000;
}
.drop-icons, a .drop-icons {
color: #bd0000;
}
.section-content-wrapper-np {
background-color: #404552;
}
.atoken-index-row:hover td, .chatroom-index-row:hover td, .group-index-row:hover td, .wikis-index-row:hover td, .locs-index-row:hover td, [id^="cloud-index-"]:hover td, .cloud-index-active {
background-color: #4b5162;
}
.generic-content-wrapper-styled {
background-color: #404552;
}
#profile-jot-wrapper,
.bootstrap-tagsinput {
background-color: #2b2b2b;
}
.wall-item-content-wrapper {
background-color: #404552;
}
.item-highlight {
border-left: 0.2rem solid #00ff00;
}
.wall-item-comment-wrapper-wc,
.hide-comments-outer,
.wall-item-comment-wrapper,
.wall-item-content-wrapper.comment {
background-color: #4b5162;
}
.wall-item-head-new {
border-top: 0.2rem solid #31570b;
}
.wall-item-comment-wrapper {
border-top: 3px solid #454853;
}
blockquote {
border-left: 3px solid #344136;
}
.hide-comments-outer {
border-top-color: #87ab63;
}
.badge-warning {
background-color: #036811;
color: #dddddd;
}
.divgrow-showmore {
border-top: 1px dashed #87ab63;
}
.comment-edit-text {
border: 1px solid #004400;
}
#doco-content h3 {
border-bottom: #87ab63 3px solid;
}
.section-content-info-wrapper {
color: #2aa650;
background-color: #17221b;
border-bottom: 3px solid #060d08;
}
.spinner.s, .spinner.m, .spinner.l {
color: #13c613;
border-top: .2rem solid #02c102;
border-left: .2rem solid #123312;
border-right: .2rem solid #123312;
border-bottom: .2rem solid #123312;
}
.wall-event-item {
background-color: #123312;
}
.fs {
background-color: #404552;
}
.bg-primary {
background-color: #315a2b !important;
}
.modal-content {
background-color: #171d16;
}
.close {
color: #989898;
}
.wall-item-conv {
background-color: #404552;
border-top: 1px solid #2e323e;
}
.dropdown-menu.textcomplete-dropdown {
background-color: #8d9a87;
}
.notification.notification-forum {
color: #63bd65;
}
.wall-photo-item {
background-color: #315a2b;
}
.directory-item .divgrow-showmore {
background-color: #353945;
}
.vcard-header:hover, .vcard-header.active {
background-color: #4B5162;
}
.alert-info {
color: #dddddd;
border-color: #2b2b2b;
}
.conv-participants {
color: #539b55;
}
#photo-view-wrapper {
background-color: #4B5162;
}
.table {
color: #dddccc;
}
#upgrade_info_aside {
border-color: #383c4a !important;
}
.text-muted {
color: #a6a6b9 !important;
}
.card {
background-color: #434753 !important;
}
.border {
border: 1px solid #415240 !important;
}
.item-category, .item-category > .text-dark {
color: #222222 !important;
}
.nav-link:focus, .nav-link:hover {
color: #eeeeee;
}
.nav-link.active > .fa-fw {
color: #eeeeee;
}
.nav-tabs {
border-bottom: 1px solid #415240 !important;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
border-top-color: #444444;
border-right-color: #444444;
border-bottom-color: #444444;
border-left-color: #444444;
}

View File

@@ -1,2 +0,0 @@
<?php

View File

@@ -1,367 +0,0 @@
/* disable reashred content streching */
.reshared-content img {
width: auto;
}
/* disable minus icon */
.oneway-overlay, .fa-minus-circle {
visibility: hidden;
}
/* greengrey colors */
body {
background-color: #383c4a;
color: #dddddd;
}
.generic-content-wrapper {
background-color: #383c4a;
}
.section-subtitle-wrapper,
.collapse,
.show,
.section-title-wrapper {
background-color: #404552;
border-bottom-color: #2b2b2b;
}
.vcard, .h-card,
.widget, .settings-widget, .section-subtitle-wrapper {
background-color: #4B5162;
border-bottom: #383c4a;
border-left: #383c4a;
border-right: #383c4a;
border-top: #383c4a;
}
.fn {
color: #ffffff;
}
.contextual-help-content,
.section-content-tools-wrapper, .section-content-wrapper {
background-color: #353945;
border-bottom: #383c4a;
border-left: #383c4a;
border-right: #383c4a;
border-top: #383c4a;
}
a:link {
color: #63bd65;
}
a:visited {
color: #87ab63;
}
a:hover, a:active {
color: #3fec43;
}
div.profile-match-wrapper > div > a {
color: #ffffff;
}
.btn, .btn-primary {
background-color: #5c6b5b;
border-bottom-color: #47741c;
border-left-color: #47741c;
border-right-color: #47741c;
border-top-color: #47741c;
color: #ffffff !important;
}
.btn:hover, .btn-primary:active {
background-color: #4aae40;
border-bottom-color: #29b136;
border-left-color: #29b136;
border-right-color: #29b136;
border-top-color: #29b136;
}
.bg-dark, .navbar-collapse {
background-color: #2e323e !important;
}
.form-group:active, .checkbox:hover {
color: #41d24f;
}
.nav-link.active {
background-color: #315a2b !important;
}
.list-group-item {
background-color: #4B5162;
border-bottom: #383c4a;
border-left: #383c4a;
border-right: #383c4a;
border-top: #383c4a;
color: #9e9e9e;
border: 1px solid #383c4a;
}
.list-group-item:active {
color: #f4f4f4 !important;
}
.text-dark {
color: #bdbdbd !important;
}
a.text-dark:hover, a.text-dark:active {
color: #f4f4f4 !important;
}
.contactname {
color: #bdbdbd;
}
.wall-item-ago, .dropdown-sub-text {
color: #b3b3b3;
}
.list-group-item.active {
background-color: #315a2b;
border-color: #0c4704;
}
.form-control,
.form-control:focus,
input[type="text"]:hover,
input[type="text"]:active,
input[type="text"], textarea {
background-color: #2b2b2b;
border-color: #46583f;
color: #cdcdcd;
box-shadow: 0 0 0 .2rem #415240;
}
.form-group.checkbox:checked,
.form-group.checkbox > div > input:checked + label .onoffswitch-switch {
background-color: #315a2b;
}
.form-group.checkbox:hover label {
color: #315a2b;
}
.dropdown-item.active {
background-color: #315a2b;
}
.dropdown-divider {
border-top: 1px solid #3e3e3e;
}
.dropdown-item:active, .dropdown-item:focus, .dropdown-item:hover, .textcomplete-item:focus .dropdown-item, .textcomplete-item:hover .dropdown-item, .textcomplete-item.active .dropdown-item, .textcomplete-item:active .dropdown-item {
background-color: #4b5162;
color: #b3b3b3;
}
a.dropdown-item {
color: #f3f3f3;
}
.profile-match-wrapper {
border-top: 0px solid #eee;
border-left: 0px solid #eee;
}
.fakelink {
color: #87ab63;
}
a:hover, a:focus, .fakelink:hover, .fakelink:focus {
color: #3fec43;
}
.drop-icons {
color: #ff0000;
}
.drop-icons, a .drop-icons {
color: #bd0000;
}
.section-content-wrapper-np {
background-color: #404552;
}
.atoken-index-row:hover td, .chatroom-index-row:hover td, .group-index-row:hover td, .wikis-index-row:hover td, .locs-index-row:hover td, [id^="cloud-index-"]:hover td, .cloud-index-active {
background-color: #4b5162;
}
.generic-content-wrapper-styled {
background-color: #404552;
}
#profile-jot-wrapper,
.bootstrap-tagsinput {
background-color: #2b2b2b;
}
.wall-item-content-wrapper {
background-color: #404552;
}
.item-highlight {
border-left: 0.2rem solid #00ff00;
}
.wall-item-comment-wrapper-wc,
.hide-comments-outer,
.wall-item-comment-wrapper,
.wall-item-content-wrapper.comment {
background-color: #4b5162;
}
.wall-item-head-new {
border-top: 0.2rem solid #31570b;
}
.wall-item-comment-wrapper {
border-top: 3px solid #454853;
}
blockquote {
border-left: 3px solid #344136;
}
.hide-comments-outer {
border-top-color: #87ab63;
}
.badge-warning {
background-color: #036811;
color: #dddddd;
}
.divgrow-showmore {
border-top: 1px dashed #87ab63;
}
.comment-edit-text {
border: 1px solid #004400;
}
#doco-content h3 {
border-bottom: #87ab63 3px solid;
}
.section-content-info-wrapper {
color: #2aa650;
background-color: #17221b;
border-bottom: 3px solid #060d08;
}
.spinner.s, .spinner.m, .spinner.l {
color: #13c613;
border-top: .2rem solid #02c102;
border-left: .2rem solid #123312;
border-right: .2rem solid #123312;
border-bottom: .2rem solid #123312;
}
.wall-event-item {
background-color: #123312;
}
.fs {
background-color: #404552;
}
.bg-primary {
background-color: #315a2b !important;
}
.modal-content {
background-color: #171d16;
}
.close {
color: #989898;
}
.wall-item-conv {
background-color: #404552;
border-top: 1px solid #2e323e;
}
.dropdown-menu.textcomplete-dropdown {
background-color: #8d9a87;
}
.notification.notification-forum {
color: #63bd65;
}
.wall-photo-item {
background-color: #315a2b;
}
.directory-item .divgrow-showmore {
background-color: #353945;
}
.vcard-header:hover, .vcard-header.active {
background-color: #4B5162;
}
.alert-info {
color: #dddddd;
border-color: #2b2b2b;
}
.conv-participants {
color: #539b55;
}
#photo-view-wrapper {
background-color: #4B5162;
}
.table {
color: #dddccc;
}
#upgrade_info_aside {
border-color: #383c4a !important;
}
.text-muted {
color: #a6a6b9 !important;
}
.card {
background-color: #434753 !important;
}
.border {
border: 1px solid #415240 !important;
}
.item-category, .item-category > .text-dark {
color: #222222 !important;
}
.nav-link:focus, .nav-link:hover {
color: #eeeeee;
}
.nav-link.active > .fa-fw {
color: #eeeeee;
}
.nav-tabs {
border-bottom: 1px solid #415240 !important;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
border-top-color: #444444;
border-right-color: #444444;
border-bottom-color: #444444;
border-left-color: #444444;
}

View File

@@ -1,2 +0,0 @@
<?php

View File

@@ -1,361 +0,0 @@
/* disable reashred content streching */
.reshared-content img {
width: auto;
}
/* greengrey colors */
body {
background-color: #383c4a;
color: #dddddd;
}
.generic-content-wrapper {
background-color: #383c4a;
}
.section-subtitle-wrapper,
.collapse,
.show,
.section-title-wrapper {
background-color: #404552;
border-bottom-color: #2b2b2b;
}
.vcard, .h-card,
.widget, .settings-widget, .section-subtitle-wrapper {
background-color: #4B5162;
border-bottom: #383c4a;
border-left: #383c4a;
border-right: #383c4a;
border-top: #383c4a;
}
.fn {
color: #ffffff;
}
.contextual-help-content,
.section-content-tools-wrapper, .section-content-wrapper {
background-color: #353945;
border-bottom: #383c4a;
border-left: #383c4a;
border-right: #383c4a;
border-top: #383c4a;
}
a:link {
color: #63bd65;
}
a:visited {
color: #87ab63;
}
a:hover, a:active {
color: #3fec43;
}
div.profile-match-wrapper > div > a {
color: #ffffff;
}
.btn, .btn-primary {
background-color: #5c6b5b;
border-bottom-color: #47741c;
border-left-color: #47741c;
border-right-color: #47741c;
border-top-color: #47741c;
color: #ffffff !important;
}
.btn:hover, .btn-primary:active {
background-color: #4aae40;
border-bottom-color: #29b136;
border-left-color: #29b136;
border-right-color: #29b136;
border-top-color: #29b136;
}
.bg-dark, .navbar-collapse {
background-color: #2e323e !important;
}
.form-group:active, .checkbox:hover {
color: #41d24f;
}
.nav-link.active {
background-color: #315a2b !important;
}
.list-group-item {
background-color: #4B5162;
border-bottom: #383c4a;
border-left: #383c4a;
border-right: #383c4a;
border-top: #383c4a;
color: #9e9e9e;
border: 1px solid #383c4a;
}
.list-group-item:active {
color: #f4f4f4 !important;
}
.text-dark {
color: #bdbdbd !important;
}
a.text-dark:hover, a.text-dark:active {
color: #f4f4f4 !important;
}
.contactname {
color: #bdbdbd;
}
.wall-item-ago, .dropdown-sub-text {
color: #b3b3b3;
}
.list-group-item.active {
background-color: #315a2b;
border-color: #0c4704;
}
.form-control,
.form-control:focus,
input[type="text"]:hover,
input[type="text"]:active,
input[type="text"], textarea {
background-color: #2b2b2b;
border-color: #46583f;
color: #cdcdcd;
box-shadow: 0 0 0 .2rem #415240;
}
.form-group.checkbox:checked,
.form-group.checkbox > div > input:checked + label .onoffswitch-switch {
background-color: #315a2b;
}
.form-group.checkbox:hover label {
color: #315a2b;
}
.dropdown-item.active {
background-color: #315a2b;
}
.dropdown-divider {
border-top: 1px solid #3e3e3e;
}
.dropdown-item:active, .dropdown-item:focus, .dropdown-item:hover, .textcomplete-item:focus .dropdown-item, .textcomplete-item:hover .dropdown-item, .textcomplete-item.active .dropdown-item, .textcomplete-item:active .dropdown-item {
background-color: #4b5162;
color: #b3b3b3;
}
a.dropdown-item {
color: #f3f3f3;
}
.profile-match-wrapper {
border-top: 0px solid #eee;
border-left: 0px solid #eee;
}
.fakelink {
color: #87ab63;
}
a:hover, a:focus, .fakelink:hover, .fakelink:focus {
color: #3fec43;
}
.drop-icons {
color: #ff0000;
}
.drop-icons, a .drop-icons {
color: #bd0000;
}
.section-content-wrapper-np {
background-color: #404552;
}
.atoken-index-row:hover td, .chatroom-index-row:hover td, .group-index-row:hover td, .wikis-index-row:hover td, .locs-index-row:hover td, [id^="cloud-index-"]:hover td, .cloud-index-active {
background-color: #4b5162;
}
.generic-content-wrapper-styled {
background-color: #404552;
}
#profile-jot-wrapper,
.bootstrap-tagsinput {
background-color: #2b2b2b;
}
.wall-item-content-wrapper {
background-color: #404552;
}
.item-highlight {
border-left: 0.2rem solid #00ff00;
}
.wall-item-comment-wrapper-wc,
.hide-comments-outer,
.wall-item-comment-wrapper,
.wall-item-content-wrapper.comment {
background-color: #4b5162;
}
.wall-item-head-new {
border-top: 0.2rem solid #31570b;
}
.wall-item-comment-wrapper {
border-top: 3px solid #454853;
}
blockquote {
border-left: 3px solid #344136;
}
.hide-comments-outer {
border-top-color: #87ab63;
}
.badge-warning {
background-color: #036811;
color: #dddddd;
}
.divgrow-showmore {
border-top: 1px dashed #87ab63;
}
.comment-edit-text {
border: 1px solid #004400;
}
#doco-content h3 {
border-bottom: #87ab63 3px solid;
}
.section-content-info-wrapper {
color: #2aa650;
background-color: #17221b;
border-bottom: 3px solid #060d08;
}
.spinner.s, .spinner.m, .spinner.l {
color: #13c613;
border-top: .2rem solid #02c102;
border-left: .2rem solid #123312;
border-right: .2rem solid #123312;
border-bottom: .2rem solid #123312;
}
.wall-event-item {
background-color: #123312;
}
.fs {
background-color: #404552;
}
.bg-primary {
background-color: #315a2b !important;
}
.modal-content {
background-color: #171d16;
}
.close {
color: #989898;
}
.wall-item-conv {
background-color: #404552;
border-top: 1px solid #2e323e;
}
.dropdown-menu.textcomplete-dropdown {
background-color: #8d9a87;
}
.notification.notification-forum {
color: #63bd65;
}
.wall-photo-item {
background-color: #315a2b;
}
.directory-item .divgrow-showmore {
background-color: #353945;
}
.vcard-header:hover, .vcard-header.active {
background-color: #4B5162;
}
.alert-info {
color: #dddddd;
border-color: #2b2b2b;
}
.conv-participants {
color: #539b55;
}
#photo-view-wrapper {
background-color: #4B5162;
}
.table {
color: #dddccc;
}
#upgrade_info_aside {
border-color: #383c4a !important;
}
.text-muted {
color: #a6a6b9 !important;
}
.card {
background-color: #434753 !important;
}
.border {
border: 1px solid #415240 !important;
}
.item-category, .item-category > .text-dark {
color: #222222 !important;
}
.nav-link:focus, .nav-link:hover {
color: #eeeeee;
}
.nav-link.active > .fa-fw {
color: #eeeeee;
}
.nav-tabs {
border-bottom: 1px solid #415240 !important;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
border-top-color: #444444;
border-right-color: #444444;
border-bottom-color: #444444;
border-left-color: #444444;
}

View File

@@ -1,2 +0,0 @@
<?php

View File

@@ -1895,4 +1895,4 @@ body::selection {
background: rgba(23, 162, 184, 0.5);
}
/*# sourceMappingURL=bootstrap-nightfall.css.map */
/*# sourceMappingURL=bootstrap-nightfall.css.map */

View File

@@ -1,506 +0,0 @@
.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;
}
.dropdown-item {
color: $font_colour;
}
a.btn, aside a {
font-weight: 400 !important;
}
.btn {
background-color: #1e1e1e;
border-color: #222;
color: $font_colour;
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: #20537E;
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: #ccc !important;
background-color: #336A33 !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: #B22A26 !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;
}
.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;
}
/* category badge fix: */
a.text-dark:focus, a.text-dark:hover {
color: #ddd !important;
}
.badge-warning {
/* background-color: #ffc927; */
}
.badge-warning a.text-dark {
color: #333 !important;
}
.badge-warning a.text-dark:focus, .badge-warning a.text-dark:hover {
color: red !important;
text-decoration: none;
}
/* fix color for highlithed text */
span.default-highlight {
color: #333;
border-radius: 4px;
}

View File

@@ -1,41 +0,0 @@
<?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 = '52'; //unit: rem;

View File

@@ -1,387 +0,0 @@
/* disable reashred content streching */
.reshared-content img {
width: auto;
}
/* disable allcontact link in profile */
.allcontact-link {
display: none;
}
/* disable likes */
.wall-item-like {
visibility: hidden;
}
.wall-item-tools-right > .btn-group > .btn:first-child {
visibility: hidden;
}
/* disable minus icon */
.oneway-overlay, .fa-minus-circle {
visibility: hidden;
}
/* personal zlax file insted tags title */
div.tagblock > h3 {
position: relative;
left: 33%;
content: url(https://ussr.win/photo/73e2201da875ccae6fecadfcf8ccba55c6c8ac093634d2e4af8e0f3cec1f2de3.gif);
}
/* greengrey colors */
body {
background-color: #383c4a;
color: #dddddd;
}
.generic-content-wrapper {
background-color: #383c4a;
}
.section-subtitle-wrapper,
.collapse,
.show,
.section-title-wrapper {
background-color: #404552;
border-bottom-color: #2b2b2b;
}
.vcard, .h-card,
.widget, .settings-widget, .section-subtitle-wrapper {
background-color: #4B5162;
border-bottom: #383c4a;
border-left: #383c4a;
border-right: #383c4a;
border-top: #383c4a;
}
.fn {
color: #ffffff;
}
.contextual-help-content,
.section-content-tools-wrapper, .section-content-wrapper {
background-color: #353945;
border-bottom: #383c4a;
border-left: #383c4a;
border-right: #383c4a;
border-top: #383c4a;
}
a:link {
color: #63bd65;
}
a:visited {
color: #87ab63;
}
a:hover, a:active {
color: #3fec43;
}
div.profile-match-wrapper > div > a {
color: #ffffff;
}
.btn, .btn-primary {
background-color: #5c6b5b;
border-bottom-color: #47741c;
border-left-color: #47741c;
border-right-color: #47741c;
border-top-color: #47741c;
color: #ffffff !important;
}
.btn:hover, .btn-primary:active {
background-color: #4aae40;
border-bottom-color: #29b136;
border-left-color: #29b136;
border-right-color: #29b136;
border-top-color: #29b136;
}
.bg-dark, .navbar-collapse {
background-color: #2e323e !important;
}
.form-group:active, .checkbox:hover {
color: #41d24f;
}
.nav-link.active {
background-color: #315a2b !important;
}
.list-group-item {
background-color: #4B5162;
border-bottom: #383c4a;
border-left: #383c4a;
border-right: #383c4a;
border-top: #383c4a;
color: #9e9e9e;
border: 1px solid #383c4a;
}
.list-group-item:active {
color: #f4f4f4 !important;
}
.text-dark {
color: #bdbdbd !important;
}
a.text-dark:hover, a.text-dark:active {
color: #f4f4f4 !important;
}
.contactname {
color: #bdbdbd;
}
.wall-item-ago, .dropdown-sub-text {
color: #b3b3b3;
}
.list-group-item.active {
background-color: #315a2b;
border-color: #0c4704;
}
.form-control,
.form-control:focus,
input[type="text"]:hover,
input[type="text"]:active,
input[type="text"], textarea {
background-color: #2b2b2b;
border-color: #46583f;
color: #cdcdcd;
box-shadow: 0 0 0 .2rem #415240;
}
.form-group.checkbox:checked,
.form-group.checkbox > div > input:checked + label .onoffswitch-switch {
background-color: #315a2b;
}
.form-group.checkbox:hover label {
color: #315a2b;
}
.dropdown-item.active {
background-color: #315a2b;
}
.dropdown-divider {
border-top: 1px solid #3e3e3e;
}
.dropdown-item:active, .dropdown-item:focus, .dropdown-item:hover, .textcomplete-item:focus .dropdown-item, .textcomplete-item:hover .dropdown-item, .textcomplete-item.active .dropdown-item, .textcomplete-item:active .dropdown-item {
background-color: #4b5162;
color: #b3b3b3;
}
a.dropdown-item {
color: #f3f3f3;
}
.profile-match-wrapper {
border-top: 0px solid #eee;
border-left: 0px solid #eee;
}
.fakelink {
color: #87ab63;
}
a:hover, a:focus, .fakelink:hover, .fakelink:focus {
color: #3fec43;
}
.drop-icons {
color: #ff0000;
}
.drop-icons, a .drop-icons {
color: #bd0000;
}
.section-content-wrapper-np {
background-color: #404552;
}
.atoken-index-row:hover td, .chatroom-index-row:hover td, .group-index-row:hover td, .wikis-index-row:hover td, .locs-index-row:hover td, [id^="cloud-index-"]:hover td, .cloud-index-active {
background-color: #4b5162;
}
.generic-content-wrapper-styled {
background-color: #404552;
}
#profile-jot-wrapper,
.bootstrap-tagsinput {
background-color: #2b2b2b;
}
.wall-item-content-wrapper {
background-color: #404552;
}
.item-highlight {
border-left: 0.2rem solid #00ff00;
}
.wall-item-comment-wrapper-wc,
.hide-comments-outer,
.wall-item-comment-wrapper,
.wall-item-content-wrapper.comment {
background-color: #4b5162;
}
.wall-item-head-new {
border-top: 0.2rem solid #31570b;
}
.wall-item-comment-wrapper {
border-top: 3px solid #454853;
}
blockquote {
border-left: 3px solid #344136;
}
.hide-comments-outer {
border-top-color: #87ab63;
}
.badge-warning {
background-color: #036811;
color: #dddddd;
}
.divgrow-showmore {
border-top: 1px dashed #87ab63;
}
.comment-edit-text {
border: 1px solid #004400;
}
#doco-content h3 {
border-bottom: #87ab63 3px solid;
}
.section-content-info-wrapper {
color: #2aa650;
background-color: #17221b;
border-bottom: 3px solid #060d08;
}
.spinner.s, .spinner.m, .spinner.l {
color: #13c613;
border-top: .2rem solid #02c102;
border-left: .2rem solid #123312;
border-right: .2rem solid #123312;
border-bottom: .2rem solid #123312;
}
.wall-event-item {
background-color: #123312;
}
.fs {
background-color: #404552;
}
.bg-primary {
background-color: #315a2b !important;
}
.modal-content {
background-color: #171d16;
}
.close {
color: #989898;
}
.wall-item-conv {
background-color: #404552;
border-top: 1px solid #2e323e;
}
.dropdown-menu.textcomplete-dropdown {
background-color: #8d9a87;
}
.notification.notification-forum {
color: #63bd65;
}
.wall-photo-item {
background-color: #315a2b;
}
.directory-item .divgrow-showmore {
background-color: #353945;
}
.vcard-header:hover, .vcard-header.active {
background-color: #4B5162;
}
.alert-info {
color: #dddddd;
border-color: #2b2b2b;
}
.conv-participants {
color: #539b55;
}
#photo-view-wrapper {
background-color: #4B5162;
}
.table {
color: #dddccc;
}
#upgrade_info_aside {
border-color: #383c4a !important;
}
.text-muted {
color: #a6a6b9 !important;
}
.card {
background-color: #434753 !important;
}
.border {
border: 1px solid #415240 !important;
}
.item-category, .item-category > .text-dark {
color: #222222 !important;
}
.nav-link:focus, .nav-link:hover {
color: #eeeeee;
}
.nav-link.active > .fa-fw {
color: #eeeeee;
}
.nav-tabs {
border-bottom: 1px solid #415240 !important;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
border-top-color: #444444;
border-right-color: #444444;
border-bottom-color: #444444;
border-left-color: #444444;
}

View File

@@ -1,2 +0,0 @@
<?php

View File

@@ -1,32 +1,14 @@
<nav class="navbar fixed-top navbar-expand-lg navbar-dark bg-dark">
<nav id="navbar-top" class="navbar navbar-expand-lg sticky-top bg-body-tertiary mb-4" {{$navbar_color_mode}}>
<div class="container-fluid flex-nowrap">
{{if $nav.login && !$userinfo}}
<div class="d-lg-none pt-1 pb-1">
{{if $nav.loginmenu.1.4}}
<a class="btn btn-primary btn-sm text-white" href="#" title="{{$nav.loginmenu.1.3}}" id="{{$nav.loginmenu.1.4}}_collapse" data-bs-toggle="modal" data-bs-target="#nav-login">
{{$nav.loginmenu.1.1}}
</a>
{{else}}
<a class="btn btn-primary btn-sm text-white" href="login" title="{{$nav.loginmenu.1.3}}">
{{$nav.loginmenu.1.1}}
</a>
{{/if}}
{{if $nav.register}}
<a class="btn btn-warning btn-sm text-dark" href="{{$nav.register.0}}" title="{{$nav.register.3}}" id="{{$nav.register.4}}" >
{{$nav.register.1}}
</a>
{{/if}}
</div>
{{/if}}
{{if $userinfo}}
<div class="d-flex" style="max-width: 50%">
<div class="dropdown">
<div class="fakelink usermenu" data-bs-toggle="dropdown">
<img id="avatar" src="{{$userinfo.icon}}" alt="{{$userinfo.name}}">
<i class="fa fa-caret-down"></i>
<div class="cursor-pointer usermenu" data-bs-toggle="dropdown">
<img id="avatar" src="{{$userinfo.icon}}" alt="{{$userinfo.name}}" class="rounded">
<i class="navbar-text fa fa-caret-down"></i>
</div>
{{if $is_owner}}
<div class="dropdown-menu">
<div class="dropdown-menu" {{$color_mode}}>
{{foreach $nav.usermenu as $usermenu}}
<a class="dropdown-item{{if $usermenu.2}} active{{/if}}" href="{{$usermenu.0}}" title="{{$usermenu.3}}" role="menuitem" id="{{$usermenu.4}}">{{$usermenu.1}}</a>
{{/foreach}}
@@ -59,7 +41,7 @@
</div>
{{/if}}
{{if ! $is_owner}}
<div class="dropdown-menu" role="menu" aria-labelledby="avatar">
<div class="dropdown-menu" role="menu" aria-labelledby="avatar" {{$color_mode}}>
<a class="dropdown-item" href="{{$nav.rusermenu.0}}" role="menuitem">{{$nav.rusermenu.1}}</a>
<a class="dropdown-item" href="{{$nav.rusermenu.2}}" role="menuitem">{{$nav.rusermenu.3}}</a>
</div>
@@ -83,8 +65,9 @@
{{/if}}
{{/if}}
</div>
{{else}}
<div class="navbar-text d-lg-none navbar-banner">{{$banner}}</div>
{{/if}}
<div class="navbar-toggler-right">
{{if $nav.help.6}}
<button id="context-help-btn" class="navbar-toggler border-0" type="button" onclick="contextualHelp(); return false;">
@@ -106,7 +89,7 @@
<div class="collapse navbar-collapse justify-content-between" id="navbar-collapse-1">
<ul class="navbar-nav">
{{if $nav.login && !$userinfo}}
<li class="nav-item">
<li class="nav-item">
<a href="help" class="nav-link {{if (substr($url,17,4)=="help")}} active{{/if}}" title="{{$nav.help.3}}"><i class="fa fa-fw fa-question-circle"></i></a>
</li>
<li class="nav-item">
@@ -114,7 +97,7 @@
</li>
<li class="nav-item d-lg-flex">
{{if $nav.loginmenu.1.4}}
<a class="nav-link" href="#" title="{{$nav.loginmenu.1.3}}" id="{{$nav.loginmenu.1.4}}" data-bs-toggle="modal" data-bs-target="#nav-login">
<a class="nav-link" href="#" title="{{$nav.loginmenu.1.3}}" data-bs-toggle="modal" data-bs-target="#nav-login">
{{$nav.loginmenu.1.1}}
</a>
{{else}}
@@ -126,7 +109,7 @@
{{/if}}
{{if $nav.register}}
<li class="nav-item {{$nav.register.2}} d-lg-flex">
<a class="nav-link" href="{{$nav.register.0}}" title="{{$nav.register.3}}" id="{{$nav.register.4}}">{{$nav.register.1}}</a>
<a class="nav-link" href="{{$nav.register.0}}" title="{{$nav.register.3}}">{{$nav.register.1}}</a>
</li>
{{/if}}
{{if $nav.alogout}}
@@ -136,10 +119,10 @@
{{/if}}
</ul>
<div id="banner" class="navbar-text">{{$banner}}</div>
<div class="navbar-text navbar-banner">{{$banner}}</div>
<ul id="nav-right" class="navbar-nav">
<li class="nav-item collapse clearfix" id="nav-search">
<li class="nav-item collapse clearfix" id="nav-search" {{$color_mode}}>
<form class="form-inline" method="get" action="{{$nav.search.4}}" role="search">
<input class="form-control form-control-sm mt-1 me-2" id="nav-search-text" type="text" value="" placeholder="{{$help}}" name="search" title="{{$nav.search.3}}" onclick="this.submit();" onblur="closeMenu('nav-search'); openMenu('nav-search-btn');"/>
</form>
@@ -150,10 +133,10 @@
<li class="nav-item" id="nav-search-btn">
<a class="nav-link" href="#nav-search" title="{{$nav.search.3}}" onclick="openMenu('nav-search'); closeMenu('nav-search-btn'); $('#nav-search-text').focus(); return false;"><i class="fa fa-fw fa-search"></i></a>
</li>
<li class="nav-item">
<li class="nav-item">
<a href="directory" class="navbar-app nav-link {{if (substr($url,17,9)=="directory")}} active{{/if}}" title="{{t('Directory')}}"><i class="fa fa-fw fa-sitemap"></i></a>
</li>
<li class="nav-item">
<li class="nav-item">
<a href="pubstream" class="navbar-app nav-link {{if (substr($url,17,9)=="pubstream")}} active{{/if}}" title="{{t('Public Stream')}}"><i class="fa fa-fw fa-globe"></i></a>
</li>
<li class="nav-item">
@@ -169,7 +152,7 @@
{{/if}}
{{if $localuser || $nav.pubs}}
<li id="notifications-btn" class="nav-item d-xl-none">
<a class="nav-link text-white notifications-btn" href="#"><i id="notifications-btn-icon" class="fa fa-exclamation-circle notifications-btn-icon"></i></a>
<a class="nav-link notifications-btn" href="#"><i id="notifications-btn-icon" class="fa fa-exclamation-circle notifications-btn-icon"></i></a>
</li>
{{/if}}
{{if $navbar_apps}}
@@ -197,55 +180,89 @@
</nav>
<div class="offcanvas offcanvas-end" tabindex="-1" id="app-bin" aria-labelledby="app-bin-label">
<div class="offcanvas-header">
<div class="lh-1" id="app-bin-label">
{{if $nav.login && !$userinfo}}
<div class="hstack gap-1 d-lg-none pt-1 pb-1">
{{if $nav.loginmenu.1.4}}
<a class="btn btn-primary btn-sm text-white" href="#" title="{{$nav.loginmenu.1.3}}" data-bs-toggle="modal" data-bs-target="#nav-login">
{{$nav.loginmenu.1.1}}
</a>
{{else}}
<a class="btn btn-primary btn-sm text-white" href="login" title="{{$nav.loginmenu.1.3}}">
{{$nav.loginmenu.1.1}}
</a>
{{/if}}
{{if $nav.register}}
<a class="btn btn-warning btn-sm text-dark" href="{{$nav.register.0}}" title="{{$nav.register.3}}">
{{$nav.register.1}}
</a>
{{/if}}
</div>
<div class="nav d-lg-flex w-100"></div>
{{else}}
<div class="lh-sm w-75" id="app-bin-label">
{{if $name}}
<img src="{{$thumb}}" class="menu-img-2">
<div class="float-start pe-2">
<div class="fw-bold">{{$name}}</div>
<div class="text-muted">{{$sitelocation}}</div>
<img src="{{$thumb}}" class="menu-img-3">
<div class="p-1">
<div class="fw-bold text-truncate">{{$name}}</div>
<div class="text-muted text-truncate">{{$sitelocation}}</div>
</div>
{{/if}}
</div>
<i id="app-bin-trash" class="fa fa-2x fa-fw fa-trash-o d-none"></i>
<button type="button" class="btn-close text-reset" data-bs-dismiss="offcanvas" aria-label="Close"></button>
{{/if}}
<div class="hstack gap-1">
{{if $theme_switch_icon}}
<button id="theme-switch" type="button" class="btn btn-outline-secondary border-0"><i id="theme-switch-icon" class="fa fa-{{$theme_switch_icon}}-o"></i></button>
{{/if}}
<button type="button" class="btn-close text-reset" data-bs-dismiss="offcanvas" aria-label="Close"></button>
</div>
</div>
<div class="offcanvas-body pt-0">
<div class="offcanvas-body">
{{if $channel_apps.0}}
<div class="dropdown-header text-uppercase">
<div class="text-uppercase text-muted">
{{$channelapps}}
</div>
{{foreach $channel_apps as $channel_app}}
{{$channel_app}}
{{/foreach}}
<div class="nav nav-pills flex-column">
{{foreach $channel_apps as $channel_app}}
{{$channel_app}}
{{/foreach}}
</div>
{{/if}}
{{if $navbar_apps.0}}
<div class="d-lg-none dropdown-header text-uppercase">
<div class="d-lg-none dropdown-header text-uppercase text-muted">
{{$pinned_apps}}
</div>
<div id="nav-app-bin-container" class="d-lg-none">
<div id="nav-app-bin-container" class="d-lg-none nav nav-pills flex-column">
{{foreach $navbar_apps as $navbar_app}}
{{$navbar_app|replace:'navbar-app nav-link':'dropdown-item nav-app-sortable'|replace:'fa':'generic-icons-nav fa'}}
{{$navbar_app|replace:'fa':'generic-icons-nav fa'}}
{{/foreach}}
</div>
{{/if}}
{{if $is_owner}}
<div class="dropdown-header text-uppercase">
<div class="text-uppercase text-muted nav-link">
{{$featured_apps}}
</div>
<div id="app-bin-container" data-token="{{$form_security_token}}">
<div id="app-bin-container" data-token="{{$form_security_token}}" class="nav nav-pills flex-column">
{{foreach $nav_apps as $nav_app}}
{{$nav_app}}
{{/foreach}}
</div>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="/apps"><i class="generic-icons-nav fa fa-fw fa-plus"></i>{{$addapps}}</a>
<hr>
<div class="nav nav-pills flex-column">
<a class="nav-link" href="/apps"><i class="generic-icons-nav fa fa-fw fa-plus"></i>{{$addapps}}</a>
</div>
{{else}}
<div class="dropdown-header text-uppercase">
<div class="text-uppercase text-muted nav-link">
{{$sysapps}}
</div>
{{foreach $nav_apps as $nav_app}}
{{$nav_app}}
{{/foreach}}
<div class="nav nav-pills flex-column">
{{foreach $nav_apps as $nav_app}}
{{$nav_app}}
{{/foreach}}
</div>
{{/if}}
</div>
</div>

View File

@@ -1,31 +1,33 @@
{{include file="field_checkbox.tpl" field=$dark_mode}}
{{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}}
<h3>{{$light}}</h3>
{{include file="field_checkbox.tpl" field=$navbar_dark_mode}}
{{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=$bgcolor}}
{{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_colorinput.tpl" field=$link_color}}
{{include file="field_colorinput.tpl" field=$link_hover_color}}
<h3>{{$dark}}</h3>
{{include file="field_colorinput.tpl" field=$nav_bg_dark}}
{{include file="field_colorinput.tpl" field=$bgcolor_dark}}
{{include file="field_colorinput.tpl" field=$background_image_dark}}
{{include file="field_colorinput.tpl" field=$link_color_dark}}
{{include file="field_colorinput.tpl" field=$link_hover_color_dark}}
<h3>{{$common}}</h3>
{{include file="field_input.tpl" field=$radius}}
{{include file="field_input.tpl" field=$shadow}}
{{include file="field_input.tpl" field=$top_photo}}
{{include file="field_input.tpl" field=$reply_photo}}
<script>
$(function(){
$('#id_ussrbasicpub_nav_bg, #id_ussrbasicpub_nav_icon_colour, #id_ussrbasicpub_nav_active_icon_colour, #id_ussrbasicpub_banner_colour').colorpicker({format: 'rgba'});
$('#id_ussrbasicpub_link_colour,#id_ussrbasicpub_background_colour').colorpicker();
$('#id_ussrbasicpub_toolicon_colour,#id_ussrbasicpub_toolicon_activecolour,#id_ussrbasicpub_font_colour').colorpicker();
$('#id_ussrbasicpub_item_colour,#id_ussrbasicpub_comment_item_colour,#id_ussrbasicpub_comment_border_colour').colorpicker({format: 'rgba'});
$('#id_ussrbasicpub_link_color, #id_ussrbasicpub_link_color_dark, #id_ussrbasicpub_link_hover_color, #id_ussrbasicpub_link_hover_color_dark, #id_ussrbasicpub_background_color, #id_ussrbasicpub_background_color_dark, #id_ussrbasicpub_nav_bg, #id_ussrbasicpub_nav_bg_dark').colorpicker({format: 'rgba'});
});
</script>
{{/if}}