diff options
-rw-r--r-- | inc/shaarli.css | 23 | ||||
-rw-r--r-- | tpl/linklist.html | 10 |
2 files changed, 26 insertions, 7 deletions
diff --git a/inc/shaarli.css b/inc/shaarli.css index b4d0414c..695c2a8d 100644 --- a/inc/shaarli.css +++ b/inc/shaarli.css | |||
@@ -67,10 +67,26 @@ h1 { font-size:20pt; font-weight:bold; font-style:italic; margin-bottom:20px; } | |||
67 | 67 | ||
68 | } | 68 | } |
69 | 69 | ||
70 | /* Edit/Delete buttons on links */ | 70 | /* Small tab on the left of each link with edit/delete buttons. */ |
71 | .button_edit, .button_delete { border-radius:0; box-shadow:none; border-style:none; border-width:0; padding:0; background:none; } | 71 | .button_edit, .button_delete { border-radius:0; box-shadow:none; border-style:none; border-width:0; padding:0; background:none; } |
72 | .button_edit { margin-left:10px; } | 72 | .linkeditbuttons { |
73 | 73 | position:absolute; | |
74 | left:-1px; | ||
75 | padding:4px 2px 2px 2px; | ||
76 | background-color:#f0f0f0; | ||
77 | |||
78 | -webkit-border-radius:0px 6px 6px 0px; | ||
79 | -moz-border-radius:0px 6px 6px 0px; | ||
80 | -o-border-radius:0px 6px 6px 0px; | ||
81 | -ms-border-radius:0px 6px 6px 0px; | ||
82 | border-radius:0px 6px 6px 0px; | ||
83 | |||
84 | -webkit-box-shadow:0px 0px 3px 0px #333333; | ||
85 | -moz-box-shadow:0px 0px 3px 0px #333333; | ||
86 | -o-box-shadow:0px 0px 3px 0px #333333; | ||
87 | -ms-box-shadow:0px 0px 3px 0px #333333; | ||
88 | box-shadow:0px 0px 3px 0px #333333; | ||
89 | } | ||
74 | 90 | ||
75 | #pageheader #logo{ | 91 | #pageheader #logo{ |
76 | background-image: url('../images/logo.png'); | 92 | background-image: url('../images/logo.png'); |
@@ -211,6 +227,7 @@ cursor:pointer; | |||
211 | } | 227 | } |
212 | */ | 228 | */ |
213 | #linklist li.private { background: url('../images/private.png') no-repeat 10px center; padding-left:60px; } | 229 | #linklist li.private { background: url('../images/private.png') no-repeat 10px center; padding-left:60px; } |
230 | #linklist li { padding-left:26px; } | ||
214 | .private .linktitle a {color:#969696;} | 231 | .private .linktitle a {color:#969696;} |
215 | .linktitle { font-size:14pt; font-weight:bold; } | 232 | .linktitle { font-size:14pt; font-weight:bold; } |
216 | .linktitle a { text-decoration: none; color:#80AD48; } | 233 | .linktitle a { text-decoration: none; color:#80AD48; } |
diff --git a/tpl/linklist.html b/tpl/linklist.html index bfb1fcda..267e13bc 100644 --- a/tpl/linklist.html +++ b/tpl/linklist.html | |||
@@ -32,12 +32,14 @@ | |||
32 | <li{if="$value.class"} class="{$value.class}"{/if}> | 32 | <li{if="$value.class"} class="{$value.class}"{/if}> |
33 | <div class="thumbnail">{$value.url|thumbnail}</div> | 33 | <div class="thumbnail">{$value.url|thumbnail}</div> |
34 | <div class="linkcontainer"> | 34 | <div class="linkcontainer"> |
35 | <span class="linktitle"><a href="{$redirector}{$value.url}">{$value.title|htmlspecialchars}</a></span> | ||
36 | {if="isLoggedIn()"} | 35 | {if="isLoggedIn()"} |
37 | <form method="GET" class="buttoneditform"><input type="hidden" name="edit_link" value="{$value.linkdate}"><input type="image" alt="Edit" src="images/edit_icon.png#" title="Edit" class="button_edit"></form> | 36 | <div class="linkeditbuttons"> |
38 | <form method="POST" class="buttoneditform"><input type="hidden" name="lf_linkdate" value="{$value.linkdate}"> | 37 | <form method="GET" class="buttoneditform"><input type="hidden" name="edit_link" value="{$value.linkdate}"><input type="image" alt="Edit" src="images/edit_icon.png#" title="Edit" class="button_edit"></form><br> |
39 | <input type="hidden" name="token" value="{$token}"><input type="hidden" name="delete_link"><input type="image" alt="Delete" src="images/delete_icon.png#" title="Delete" class="button_delete" onClick="return confirmDeleteLink();"></form> | 38 | <form method="POST" class="buttoneditform"><input type="hidden" name="lf_linkdate" value="{$value.linkdate}"> |
39 | <input type="hidden" name="token" value="{$token}"><input type="hidden" name="delete_link"><input type="image" alt="Delete" src="images/delete_icon.png#" title="Delete" class="button_delete" onClick="return confirmDeleteLink();"></form> | ||
40 | </div> | ||
40 | {/if} | 41 | {/if} |
42 | <span class="linktitle"><a href="{$redirector}{$value.url}">{$value.title|htmlspecialchars}</a></span> | ||
41 | <br> | 43 | <br> |
42 | {if="$value.description"}<div class="linkdescription"{if condition="$search_type=='permalink'"} style="max-height:none !important;"{/if}>{$value.description}</div>{/if} | 44 | {if="$value.description"}<div class="linkdescription"{if condition="$search_type=='permalink'"} style="max-height:none !important;"{/if}>{$value.description}</div>{/if} |
43 | {if="!$GLOBALS['config']['HIDE_TIMESTAMPS'] || isLoggedIn()"} | 45 | {if="!$GLOBALS['config']['HIDE_TIMESTAMPS'] || isLoggedIn()"} |