aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-01 18:18:05 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-01 18:18:05 +0000
commit715fe7872366a415b97c13e3074aea02f87658b9 (patch)
tree3ec8d07d932bcff99872fa5b0bf5fb5b0344bc72
parent7b8a18ab7f993aa5f4f7f643478f06a8e3f7ed52 (diff)
downloadelgg-715fe7872366a415b97c13e3074aea02f87658b9.tar.gz
elgg-715fe7872366a415b97c13e3074aea02f87658b9.tar.bz2
added discoverable pattern to css
git-svn-id: http://code.elgg.org/elgg/trunk@7805 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--mod/bookmarks/views/default/bookmarks/bookmarklet.php13
-rw-r--r--views/default/css/elements/core.php13
2 files changed, 11 insertions, 15 deletions
diff --git a/mod/bookmarks/views/default/bookmarks/bookmarklet.php b/mod/bookmarks/views/default/bookmarks/bookmarklet.php
index b1929486d..1e11ed1ca 100644
--- a/mod/bookmarks/views/default/bookmarks/bookmarklet.php
+++ b/mod/bookmarks/views/default/bookmarks/bookmarklet.php
@@ -23,10 +23,11 @@ if (!$name && ($user = get_loggedin_user())) {
<h3><?php echo elgg_echo('bookmarks:browser_bookmarklet')?></h3>
<a href="javascript:location.href='<?php echo elgg_get_site_url(); ?>pg/bookmarks/<?php echo $name; ?>/add?address='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)"> <img src="<?php echo elgg_get_site_url(); ?>_graphics/elgg_bookmarklet.gif" border="0" title="<?php echo elgg_echo('bookmarks:this');?>" /> </a>
<br />
-<a class="link" onclick="elgg_slide_toggle(this,'#elgg-sidebar','.bookmarklet');">Instructions</a>
-
-<div class="bookmarklet hidden">
- <p><?php echo elgg_echo("bookmarks:bookmarklet:description"); ?></p>
- <p><?php echo elgg_echo("bookmarks:bookmarklet:descriptionie"); ?></p>
- <p><?php echo elgg_echo("bookmarks:bookmarklet:description:conclusion"); ?></p>
+<div class="elgg-discover">
+ <a class="link">Instructions</a>
+ <div class="elgg-discoverable">
+ <p><?php echo elgg_echo("bookmarks:bookmarklet:description"); ?></p>
+ <p><?php echo elgg_echo("bookmarks:bookmarklet:descriptionie"); ?></p>
+ <p><?php echo elgg_echo("bookmarks:bookmarklet:description:conclusion"); ?></p>
+ </div>
</div> \ No newline at end of file
diff --git a/views/default/css/elements/core.php b/views/default/css/elements/core.php
index e8e18bec3..2e47b9283 100644
--- a/views/default/css/elements/core.php
+++ b/views/default/css/elements/core.php
@@ -126,20 +126,15 @@ h2 {
.elgg-tagcloud {
text-align:justify;
}
-
-
-.right {
- float: right;
+.elgg-discover .elgg-discoverable {
+ display: none;
}
-
-.left {
- float: left;
+.elgg-discover:hover .elgg-discoverable {
+ display: block;
}
-
.elgg_hrt {
border-top: 1px solid #CCCCCC;
}
-
.elgg_hrb {
border-bottom: 1px solid #CCCCCC;
}