aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-11-16 19:48:45 -0800
committerfriendica <info@friendica.com>2013-11-16 19:48:45 -0800
commit8893643da065fb12bf9b60e3d31f65cf64c6754b (patch)
treebd3e87e03c5ab0feb541b191b7153aff722eadd2 /view/theme
parent2e464cb909ed12fbc6b9c51e8360daf3f53b6a2c (diff)
downloadvolse-hubzilla-8893643da065fb12bf9b60e3d31f65cf64c6754b.tar.gz
volse-hubzilla-8893643da065fb12bf9b60e3d31f65cf64c6754b.tar.bz2
volse-hubzilla-8893643da065fb12bf9b60e3d31f65cf64c6754b.zip
more photo menu positioning work for varying photo sizes
Diffstat (limited to 'view/theme')
-rw-r--r--view/theme/redbasic/css/style.css7
-rw-r--r--view/theme/redbasic/php/style.php6
2 files changed, 7 insertions, 6 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index 572eafdfb..f7d641e6b 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -882,7 +882,7 @@ footer {
}
.wall-item-photo-wrapper {
- margin-top: 10px;
+ margin-top: 0px;
margin-left: 10px;
margin-bottom: 10px;
width: 100px;
@@ -907,7 +907,8 @@ footer {
border: 2px solid #444444;
background: #FFFFFF;
position: absolute;
- left: 10px; top: 90px;
+ left: 10px;
+ top: $top_photo;
display: none;
z-index: 10000;
}
@@ -917,7 +918,7 @@ footer {
.comment .wall-item-photo-menu-button { top: $pmenu_reply;}
-.comment .wall-item-photo-menu { top: 60px; }
+.comment .wall-item-photo-menu { top: $reply_photo; }
.wallwall .wwto {
left: 50px;
diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php
index 515356cb6..1eb5abfbb 100644
--- a/view/theme/redbasic/php/style.php
+++ b/view/theme/redbasic/php/style.php
@@ -93,13 +93,13 @@
$converse_width="1024px";
if(! $top_photo)
$top_photo = '64px';
- $pmenu_top = intval($top_photo) - 6 . 'px';
- $wwtop = intval($top_photo) - 5 . 'px';
+ $pmenu_top = intval($top_photo) - 16 . 'px';
+ $wwtop = intval($top_photo) - 15 . 'px';
$comment_indent = intval($top_photo) + 10 . 'px';
if(! $reply_photo)
$reply_photo = '32px';
- $pmenu_reply = intval($reply_photo) - 6 . 'px';
+ $pmenu_reply = intval($reply_photo) - 16 . 'px';
if($nav_min_opacity === false || $nav_min_opacity === '') {
$nav_float_min_opacity = 1.0;