aboutsummaryrefslogtreecommitdiffhomepage
path: root/assets/default
diff options
context:
space:
mode:
Diffstat (limited to 'assets/default')
-rw-r--r--assets/default/js/base.js2
-rw-r--r--assets/default/scss/shaarli.scss12
2 files changed, 13 insertions, 1 deletions
diff --git a/assets/default/js/base.js b/assets/default/js/base.js
index 8bf79d3e..1b8d8c36 100644
--- a/assets/default/js/base.js
+++ b/assets/default/js/base.js
@@ -548,7 +548,7 @@ function init(description) {
548 event.preventDefault(); 548 event.preventDefault();
549 const block = findParent(event.target, 'div', { class: 'tag-list-item' }); 549 const block = findParent(event.target, 'div', { class: 'tag-list-item' });
550 const tag = block.getAttribute('data-tag'); 550 const tag = block.getAttribute('data-tag');
551 const refreshedToken = document.getElementById('token'); 551 const refreshedToken = document.getElementById('token').value;
552 552
553 if (confirm(`Are you sure you want to delete the tag "${tag}"?`)) { 553 if (confirm(`Are you sure you want to delete the tag "${tag}"?`)) {
554 const xhr = new XMLHttpRequest(); 554 const xhr = new XMLHttpRequest();
diff --git a/assets/default/scss/shaarli.scss b/assets/default/scss/shaarli.scss
index b8578ea6..55f9f0a1 100644
--- a/assets/default/scss/shaarli.scss
+++ b/assets/default/scss/shaarli.scss
@@ -755,6 +755,14 @@ body,
755 font-size: 1.3em; 755 font-size: 1.3em;
756} 756}
757 757
758.pin-link {
759 font-size: 1.3em;
760}
761
762.pinned-link {
763 color: $blue !important;
764}
765
758.linklist-item-description { 766.linklist-item-description {
759 position: relative; 767 position: relative;
760 padding: 0 10px; 768 padding: 0 10px;
@@ -848,6 +856,10 @@ body,
848 margin: 0 7px; 856 margin: 0 7px;
849} 857}
850 858
859.ctrl-delete {
860 margin: 0 7px 0 0;
861}
862
851// 64em -> lg 863// 64em -> lg
852@media screen and (max-width: 64em) { 864@media screen and (max-width: 64em) {
853 .linklist-item-infos-url { 865 .linklist-item-infos-url {