1
0
mirror of https://github.com/owncloud/bookmarks.git synced 2025-02-18 15:54:28 +01:00

Initial Commit for Style Fixing in Bookmark Edit Button.

The button loads in a new line on hover, check.
This commit is contained in:
raghunayyar 2013-02-08 15:08:36 +05:30
parent 833a8342d4
commit c04e72abfe
2 changed files with 15 additions and 14 deletions

View File

@ -106,12 +106,6 @@ input.disabled, input.disabled:hover, input.disabled:focus {
display: block;
}
.bookmark_edit_btn {
position: absolute;
top: 0.6em;
left: 21%;
}
.bookmark_title {
font-weight: bold;
display: inline-block;
@ -123,6 +117,16 @@ input.disabled, input.disabled:hover, input.disabled:focus {
white-space: nowrap;
}
.bookmark_edit_btn {
/*position: absolute;
top: 0.6em;
left: 21%;*/
}
.bookmark_title:hover .bookmark_edit_btn {
display:inline;
}
.bm_view_list .bookmark_tags {
position: absolute;
top: 0.5em;

View File

@ -10,15 +10,12 @@
<a href="<%= encodeURI(url) %>" target="_blank" class="bookmark_link">
<%= escapeHTML(title == '' ? encodeURI(url) : title ) %>
</a>
<span class="bookmark_edit bookmark_edit_btn">
<img class="svg" src="<?php echo OCP\image_path("", "actions/rename.svg");?>" title="<?php echo $l->t('Edit');?>">
</span>
</p>
<span class="bookmark_desc"><%= escapeHTML(description)%> </span>
<span class="bookmark_date"><%= formatDate(added_date) %></span>
</p>
<div class="bookmark_edit_btn">
<span class="bookmark_edit">
<img class="svg" src="<?php echo OCP\image_path("", "actions/rename.svg");?>"
title="<?php echo $l->t('Edit');?>">
</span>
</div>
</div>
</script>