diff options
author | ArthurHoaro <arthur@hoa.ro> | 2017-01-06 15:56:18 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2017-01-06 15:56:18 +0100 |
commit | 856c0db254460fd33c076b36b0382de01a118819 (patch) | |
tree | 5dc2e933bfbde0e90232ae9422e0e2fff0b35eba /tpl/default | |
parent | d2592219c6a454400a9115a24147d0b48f12b1cb (diff) | |
download | Shaarli-856c0db254460fd33c076b36b0382de01a118819.tar.gz Shaarli-856c0db254460fd33c076b36b0382de01a118819.tar.zst Shaarli-856c0db254460fd33c076b36b0382de01a118819.zip |
fix delete button
Diffstat (limited to 'tpl/default')
-rw-r--r-- | tpl/default/css/shaarli.css | 21 | ||||
-rw-r--r-- | tpl/default/editlink.html | 8 |
2 files changed, 24 insertions, 5 deletions
diff --git a/tpl/default/css/shaarli.css b/tpl/default/css/shaarli.css index 36d848d8..f0ba8adb 100644 --- a/tpl/default/css/shaarli.css +++ b/tpl/default/css/shaarli.css | |||
@@ -747,22 +747,37 @@ pre { | |||
747 | color: #777777; | 747 | color: #777777; |
748 | } | 748 | } |
749 | 749 | ||
750 | .page-form input[type="submit"] { | 750 | .page-form input[type="submit"], .page-form a.button { |
751 | margin: 15px 5px; | 751 | margin: 15px 5px; |
752 | height: 35px; | 752 | height: 35px; |
753 | line-height: 35px; | ||
753 | width: 150px; | 754 | width: 150px; |
754 | background: #1b926c; | 755 | background: #1b926c; |
756 | color: #f5f5f5; | ||
755 | border: none; | 757 | border: none; |
756 | box-shadow: 1px 1px 1px #ddd, -1px -1px 6px #ddd, -1px 1px 2px #ddd, 1px -1px 2px #ddd; | 758 | box-shadow: 1px 1px 1px #ddd, -1px -1px 6px #ddd, -1px 1px 2px #ddd, 1px -1px 2px #ddd; |
757 | font-size: 1.2em; | 759 | font-size: 1.2em; |
758 | color: #f5f5f5; | 760 | text-decoration: none; |
761 | vertical-align: center; | ||
762 | font-weight: normal; | ||
759 | } | 763 | } |
760 | 764 | ||
761 | 765 | ||
762 | .page-form input[type="submit"].button-red { | 766 | .page-form .button.button-red { |
763 | background: #ac2925; | 767 | background: #ac2925; |
764 | } | 768 | } |
765 | 769 | ||
770 | @media screen and (min-width: 64em) { | ||
771 | .page-form .submit-buttons { | ||
772 | position: relative; | ||
773 | } | ||
774 | |||
775 | .page-form .submit-buttons .button.button-red { | ||
776 | position: absolute; | ||
777 | right: 5%; | ||
778 | } | ||
779 | } | ||
780 | |||
766 | .page-form select { | 781 | .page-form select { |
767 | color: #252525; | 782 | color: #252525; |
768 | } | 783 | } |
diff --git a/tpl/default/editlink.html b/tpl/default/editlink.html index 6b480c29..b17d1038 100644 --- a/tpl/default/editlink.html +++ b/tpl/default/editlink.html | |||
@@ -58,10 +58,14 @@ | |||
58 | {/loop} | 58 | {/loop} |
59 | </div> | 59 | </div> |
60 | 60 | ||
61 | <div> | 61 | |
62 | <div class="submit-buttons"> | ||
62 | <input type="submit" value="{'Save'|t}" name="save_edit"> | 63 | <input type="submit" value="{'Save'|t}" name="save_edit"> |
63 | {if="!$link_is_new"} | 64 | {if="!$link_is_new"} |
64 | <input type="submit" value="{'Delete'|t}" name="delete_link" class="button-red"> | 65 | <a href="?delete_link&lf_linkdate={$value.id}&token={$token}" |
66 | title="" name="delete_link" class="button button-red"> | ||
67 | {'Delete'|t} | ||
68 | </a> | ||
65 | {/if} | 69 | {/if} |
66 | </div> | 70 | </div> |
67 | 71 | ||