diff options
-rw-r--r-- | assets/default/scss/shaarli.scss | 14 | ||||
-rw-r--r-- | tpl/default/linklist.html | 15 |
2 files changed, 19 insertions, 10 deletions
diff --git a/assets/default/scss/shaarli.scss b/assets/default/scss/shaarli.scss index 691b2b37..a529f01c 100644 --- a/assets/default/scss/shaarli.scss +++ b/assets/default/scss/shaarli.scss | |||
@@ -13,7 +13,7 @@ $dark-grey: #252525; | |||
13 | $light-grey: #797979; | 13 | $light-grey: #797979; |
14 | $main-green: #1b926c; | 14 | $main-green: #1b926c; |
15 | $light-green: #b0ddce; | 15 | $light-green: #b0ddce; |
16 | $dark-green: #2a4c41; | 16 | $dark-green: #186446; |
17 | $red: #ac2925; | 17 | $red: #ac2925; |
18 | $orange: #f89406; | 18 | $orange: #f89406; |
19 | $blue: #0b5ea6; | 19 | $blue: #0b5ea6; |
@@ -716,11 +716,19 @@ body, | |||
716 | } | 716 | } |
717 | } | 717 | } |
718 | 718 | ||
719 | .label { | ||
720 | font-family: Arial, sans-serif; | ||
721 | font-size: .65em; | ||
722 | } | ||
723 | |||
719 | .label-private { | 724 | .label-private { |
720 | border: solid 1px $orange; | 725 | border: solid 1px $orange; |
721 | color: $orange; | 726 | color: $orange; |
722 | font-family: Arial, sans-serif; | 727 | } |
723 | font-size: .65em; | 728 | |
729 | .label-sticky { | ||
730 | border: solid 1px $blue; | ||
731 | color: $blue; | ||
724 | } | 732 | } |
725 | } | 733 | } |
726 | 734 | ||
diff --git a/tpl/default/linklist.html b/tpl/default/linklist.html index 1cf00783..a2aaac82 100644 --- a/tpl/default/linklist.html +++ b/tpl/default/linklist.html | |||
@@ -146,13 +146,14 @@ | |||
146 | </div> | 146 | </div> |
147 | {/if} | 147 | {/if} |
148 | 148 | ||
149 | {if="$is_logged_in"} | 149 | <div class="linklist-item-editbuttons"> |
150 | <div class="linklist-item-editbuttons"> | 150 | {if="$value.sticky"} |
151 | {if="$value.private"} | 151 | <span class="label label-sticky">{$strSticky}</span> |
152 | <span class="label label-private">{$strPrivate}</span> | 152 | {/if} |
153 | {/if} | 153 | {if="$value.private"} |
154 | </div> | 154 | <span class="label label-private">{$strPrivate}</span> |
155 | {/if} | 155 | {/if} |
156 | </div> | ||
156 | 157 | ||
157 | <h2> | 158 | <h2> |
158 | <a href="{$value.real_url}"> | 159 | <a href="{$value.real_url}"> |