diff options
author | friendica <info@friendica.com> | 2013-11-15 01:11:03 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-11-15 01:11:03 -0800 |
commit | eb3a5634101c5bd55110fa4b2ed242dbfd3ad594 (patch) | |
tree | c8c255214d35c86e020497195bf380bca4da7743 /view/theme/redbasic/php/style.php | |
parent | f9a622c44ef5160942f1199dd86cfa749b79e7bc (diff) | |
download | volse-hubzilla-eb3a5634101c5bd55110fa4b2ed242dbfd3ad594.tar.gz volse-hubzilla-eb3a5634101c5bd55110fa4b2ed242dbfd3ad594.tar.bz2 volse-hubzilla-eb3a5634101c5bd55110fa4b2ed242dbfd3ad594.zip |
redbasic - set pixel dimensions of conversation top author photo and reply author photos. Hint: if you set these to something like 64px and 32px respectively and reduce the main font-size to say 0.9em, young people won't complain as much about the "ugly dated UI". You see they're used to companies squeezing every pixel out of the screen (more room for advertising) and they don't yet have bad eyes so they can still read teeny stuff. Big fonts and pictures are for old folks that need glasses and make young people complain about the "dated" interface. It's a sure sign that you're going to find old folks here and not many young adults or teens. What's missing at the moment is that if you shrink these photos, the "item-photo-menu" arrow is no longer in the bottom corner of the picture, but might be outside the photo. Will have to see if there's a way to dynamically position this based on the size.
Diffstat (limited to 'view/theme/redbasic/php/style.php')
-rw-r--r-- | view/theme/redbasic/php/style.php | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php index 7b12385b1..36918874b 100644 --- a/view/theme/redbasic/php/style.php +++ b/view/theme/redbasic/php/style.php @@ -27,6 +27,8 @@ $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'); + $top_photo=get_pconfig($uid,'redbasic','top_photo'); + $reply_photo=get_pconfig($uid,'redbasic','reply_photo'); // Now load the scheme. If a value is changed above, we'll keep the settings // If not, we'll keep those defined by the schema @@ -86,6 +88,11 @@ $active_colour = '#FFFFFF'; if (! $converse_width) $converse_width="1024px"; + if(! $top_photo) + $top_photo = '80px'; + if(! $reply_photo) + $reply_photo = '50px'; + if($nav_min_opacity === false || $nav_min_opacity === '') { $nav_float_min_opacity = 1.0; $nav_percent_min_opacity = 100; @@ -143,7 +150,9 @@ $options = array ( '$active_colour' => $active_colour, '$converse_width' => $converse_width, '$nav_float_min_opacity' => $nav_float_min_opacity, -'$nav_percent_min_opacity' => $nav_percent_min_opacity +'$nav_percent_min_opacity' => $nav_percent_min_opacity, +'$top_photo' => $top_photo, +'$reply_photo' => $reply_photo ); echo str_replace(array_keys($options), array_values($options), $x); |