more photo menu positioning work for varying photo sizes
This commit is contained in:
parent
2e464cb909
commit
8893643da0
@ -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;
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user