From c07d96b6307bf29b33ea84177be841779e139f62 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Tue, 19 May 2009 11:47:10 +0000 Subject: improved tag text display --- views/default/js/tagging.php | 4 +++- views/default/tidypics/css.php | 10 ++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) (limited to 'views/default') 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 = $('
').css({ left: tag_left + 'px', top: tag_top + 'px', width: tag.width + 'px', height: tag.height + 'px' }); - tag_text_div = $('
'+tag.text+'
').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 = $('
'+tag.text+'
').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 { -- cgit v1.2.3