aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-11-13 17:19:56 -0800
committerfriendica <info@friendica.com>2013-11-13 17:19:56 -0800
commit0f6907ab68e5d85d3ca80212be0c07e47159bd41 (patch)
treeceb384047b996adc2c9199071021cf41d96ecb4c
parent13fb987b04bc5a695df433e53e6d5f966ec355c5 (diff)
downloadvolse-hubzilla-0f6907ab68e5d85d3ca80212be0c07e47159bd41.tar.gz
volse-hubzilla-0f6907ab68e5d85d3ca80212be0c07e47159bd41.tar.bz2
volse-hubzilla-0f6907ab68e5d85d3ca80212be0c07e47159bd41.zip
change section_width to converse_width
-rw-r--r--view/theme/redbasic/css/style.css7
-rw-r--r--view/theme/redbasic/php/config.php6
-rw-r--r--view/theme/redbasic/php/style.php8
3 files changed, 9 insertions, 12 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index 3212d98a3..7f9d68f63 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -133,10 +133,7 @@ nav {
}
-/*
-section {width: $section_width;
-}
-*/
+
nav:hover {
background-image: linear-gradient(bottom, $nav_bg_3 26%, $nav_bg_4 82%);
@@ -1028,7 +1025,7 @@ footer {
.thread-wrapper.toplevel_item {
width: 92%;
- max-width: 1024px;
+ max-width: $converse_width;
}
.wall-item-body {
diff --git a/view/theme/redbasic/php/config.php b/view/theme/redbasic/php/config.php
index eb583d9bf..c549b5f59 100644
--- a/view/theme/redbasic/php/config.php
+++ b/view/theme/redbasic/php/config.php
@@ -18,7 +18,7 @@ function theme_content(&$a) {
$arr['font_colour'] = get_pconfig(local_user(),'redbasic', 'font_colour' );
$arr['radius'] = get_pconfig(local_user(),'redbasic', 'radius' );
$arr['shadow'] = get_pconfig(local_user(),'redbasic', 'photo_shadow' );
- $arr['section_width']=get_pconfig(local_user(),"redbasic","section_width");
+ $arr['converse_width']=get_pconfig(local_user(),"redbasic","converse_width");
$arr['nav_min_opacity']=get_pconfig(local_user(),"redbasic","nav_min_opacity");
$arr['sloppy_photos']=get_pconfig(local_user(),"redbasic","sloppy_photos");
return redbasic_form($a, $arr);
@@ -41,7 +41,7 @@ function theme_post(&$a) {
set_pconfig(local_user(), 'redbasic', 'font_colour', $_POST['redbasic_font_colour']);
set_pconfig(local_user(), 'redbasic', 'radius', $_POST['redbasic_radius']);
set_pconfig(local_user(), 'redbasic', 'photo_shadow', $_POST['redbasic_shadow']);
- set_pconfig(local_user(), 'redbasic', 'section_width', $_POST['redbasic_section_width']);
+ set_pconfig(local_user(), 'redbasic', 'converse_width', $_POST['redbasic_converse_width']);
set_pconfig(local_user(), 'redbasic', 'nav_min_opacity', $_POST['redbasic_nav_min_opacity']);
set_pconfig(local_user(), 'redbasic', 'sloppy_photos', $_POST['redbasic_sloppy_photos']);
}
@@ -93,7 +93,7 @@ if(feature_enabled(local_user(),'expert'))
'$font_colour' => array('redbasic_font_colour', t('Set font-colour for posts and comments'), $arr['font_colour']),
'$radius' => array('redbasic_radius', t('Set radius of corners'), $arr['radius']),
'$shadow' => array('redbasic_shadow', t('Set shadow depth of photos'), $arr['shadow']),
- '$section_width' => array('redbasic_section_width',t('Set width of main section'),$arr['section_width']),
+ '$converse_width' => array('redbasic_converse_width',t('Set maximum width of conversation regions'),$arr['converse_width']),
'$nav_min_opacity' => array('redbasic_nav_min_opacity',t('Set minimum opacity of nav bar - to hide it'),$arr['nav_min_opacity']),
'$sloppy_photos' => array('redbasic_sloppy_photos',t('Sloppy photo albums'),$arr['sloppy_photos'],t('Are you a clean desk or a messy desk person?')),
));
diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php
index 716a2dd9e..d6104a090 100644
--- a/view/theme/redbasic/php/style.php
+++ b/view/theme/redbasic/php/style.php
@@ -24,7 +24,7 @@
$font_colour = get_pconfig($uid, "redbasic", "font_colour");
$radius = get_pconfig($uid, "redbasic", "radius");
$shadow = get_pconfig($uid,"redbasic","photo_shadow");
- $section_width=get_pconfig($uid,"redbasic","section_width");
+ $converse_width=get_pconfig($uid,"redbasic","converse_width");
$nav_min_opacity=get_pconfig($uid,'redbasic','nav_min_opacity');
$sloppy_photos=get_pconfig($uid,'redbasic','sloppy_photos');
@@ -84,8 +84,8 @@
$shadow = "0";
if(! $active_colour)
$active_colour = '#FFFFFF';
- if (! $section_width)
- $section_width="72%";
+ if (! $converse_width)
+ $converse_width="1024px";
if($nav_min_opacity === false || $nav_min_opacity === '') {
$nav_float_min_opacity = 1.0;
$nav_percent_min_opacity = 100;
@@ -141,7 +141,7 @@ $options = array (
'$radius' => $radius,
'$shadow' => $shadow,
'$active_colour' => $active_colour,
-'$section_width' => $section_width,
+'$converse_width' => $section_width,
'$nav_float_min_opacity' => $nav_float_min_opacity,
'$nav_percent_min_opacity' => $nav_percent_min_opacity
);