From c04e72abfe9824c41b88d984135f5a6e64ad5242 Mon Sep 17 00:00:00 2001
From: raghunayyar
Date: Fri, 8 Feb 2013 15:08:36 +0530
Subject: [PATCH 1/4] Initial Commit for Style Fixing in Bookmark Edit Button.
The button loads in a new line on hover, check.
---
css/bookmarks.css | 16 ++++++++++------
templates/js_tpl.php | 13 +++++--------
2 files changed, 15 insertions(+), 14 deletions(-)
diff --git a/css/bookmarks.css b/css/bookmarks.css
index 2e993efa..bddb5dbf 100644
--- a/css/bookmarks.css
+++ b/css/bookmarks.css
@@ -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;
diff --git a/templates/js_tpl.php b/templates/js_tpl.php
index 75b39a85..f8561edd 100644
--- a/templates/js_tpl.php
+++ b/templates/js_tpl.php
@@ -10,15 +10,12 @@
<%= escapeHTML(title == '' ? encodeURI(url) : title ) %>
- <%= escapeHTML(description)%>
- <%= formatDate(added_date) %>
-
-
-
- "
- title="t('Edit');?>">
+
+ " title="t('Edit');?>">
-
+
+ <%= escapeHTML(description)%>
+ <%= formatDate(added_date) %>
From 9e0756d902c3deea938807985b1595eb782e1793 Mon Sep 17 00:00:00 2001
From: raghunayyar
Date: Fri, 8 Feb 2013 15:30:05 +0530
Subject: [PATCH 2/4] Edit Button Loads correctly.
---
css/bookmarks.css | 20 +++++++++-----------
1 file changed, 9 insertions(+), 11 deletions(-)
diff --git a/css/bookmarks.css b/css/bookmarks.css
index bddb5dbf..d4c6195e 100644
--- a/css/bookmarks.css
+++ b/css/bookmarks.css
@@ -99,7 +99,7 @@ input.disabled, input.disabled:hover, input.disabled:focus {
}
.bookmark_single:hover {
- background-color:#f8f8f8
+ background-color:#f8f8f8;
}
.bookmark_single:hover .bookmark_actions {
@@ -111,20 +111,18 @@ input.disabled, input.disabled:hover, input.disabled:focus {
display: inline-block;
margin-right: 0.8em;
margin-top:0.7em;
- width: 20%;
- text-overflow: ellipsis;
- overflow: hidden;
- white-space: nowrap;
}
-.bookmark_edit_btn {
- /*position: absolute;
- top: 0.6em;
- left: 21%;*/
+.bookmark_title a {
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ overflow: hidden;
+ display: inline-block;
+ max-width: 15em;
}
-.bookmark_title:hover .bookmark_edit_btn {
- display:inline;
+.bookmark_single:hover .bookmark_title .bookmark_edit_btn {
+ display:inline-block;
}
.bm_view_list .bookmark_tags {
From 9a5bd7cd8c5250b9514da2d4910d86905e4fe3b4 Mon Sep 17 00:00:00 2001
From: raghunayyar
Date: Fri, 8 Feb 2013 15:36:04 +0530
Subject: [PATCH 3/4] Fixes Crappy Intendation.
---
css/bookmarks.css | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/css/bookmarks.css b/css/bookmarks.css
index d4c6195e..405de1b2 100644
--- a/css/bookmarks.css
+++ b/css/bookmarks.css
@@ -107,10 +107,10 @@ input.disabled, input.disabled:hover, input.disabled:focus {
}
.bookmark_title {
- font-weight: bold;
- display: inline-block;
- margin-right: 0.8em;
- margin-top:0.7em;
+ font-weight: bold;
+ display: inline-block;
+ margin-right: 0.8em;
+ margin-top:0.7em;
}
.bookmark_title a {
From 48f2f8d1fd65d84eefcd27d0adb0ec8bebc6531f Mon Sep 17 00:00:00 2001
From: raghunayyar
Date: Fri, 8 Feb 2013 15:38:20 +0530
Subject: [PATCH 4/4] More Indentation Errors in js_tpl.php
---
templates/js_tpl.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/templates/js_tpl.php b/templates/js_tpl.php
index f8561edd..3b94f0fa 100644
--- a/templates/js_tpl.php
+++ b/templates/js_tpl.php
@@ -15,7 +15,7 @@
<%= escapeHTML(description)%>
- <%= formatDate(added_date) %>
+ <%= formatDate(added_date) %>