diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-05-19 11:47:10 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-05-19 11:47:10 +0000 |
commit | c07d96b6307bf29b33ea84177be841779e139f62 (patch) | |
tree | 392dd622e0617c96dba821c5c30bbb0042c00df9 /views | |
parent | 8f53a8a14634260a9c188b8ca8cefd8c671bf6c5 (diff) | |
download | elgg-c07d96b6307bf29b33ea84177be841779e139f62.tar.gz elgg-c07d96b6307bf29b33ea84177be841779e139f62.tar.bz2 |
improved tag text display
Diffstat (limited to 'views')
-rw-r--r-- | views/default/js/tagging.php | 4 | ||||
-rw-r--r-- | views/default/tidypics/css.php | 10 |
2 files changed, 9 insertions, 5 deletions
diff --git a/views/default/js/tagging.php b/views/default/js/tagging.php index 323c2bf57..f7e764194 100644 --- a/views/default/js/tagging.php +++ b/views/default/js/tagging.php @@ -92,7 +92,9 @@ tag_div = $('<div class="tidypics_tag" id="tag'+tag.id+'"></div>').css({ left: tag_left + 'px', top: tag_top + 'px', width: tag.width + 'px', height: tag.height + 'px' });
- tag_text_div = $('<div class="tidypics_tag_text">'+tag.text+'</div>').css({ left: tag_left + 'px', top: tag_top + 'px', width: tag.width + 'px', height: 20 + 'px' });
+ text_top = parseInt(tag_top) + parseInt(tag.height) + 5;
+
+ tag_text_div = $('<div class="tidypics_tag_text">'+tag.text+'</div>').css({ left: tag_left + 'px', top: text_top + 'px', width: '120px'});
$('body').append(tag_div);
$('body').append(tag_text_div);
diff --git a/views/default/tidypics/css.php b/views/default/tidypics/css.php index 56d4efcad..a130453fb 100644 --- a/views/default/tidypics/css.php +++ b/views/default/tidypics/css.php @@ -243,13 +243,15 @@ z-index:0; .tidypics_tag_text { display:none; -border:2px solid #ffffff; overflow:hidden; position:absolute; z-index:0; -background: #ffffff; -text-align: center; -color: #4690d6; +text-align:center; +background:#BBDAF7; +border:1px solid #3B5999; +-webkit-border-radius:3px; +-moz-border-radius:3px; +padding:1px; } #tidypics_phototags_list { |