From 4154c25b5f2f8044a37d7f84e04173bb54f2375b Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Tue, 22 May 2018 22:44:38 +0200 Subject: Add a button to set links as sticky Meaning that they always appear on top of all links Fixes #186 --- assets/default/scss/shaarli.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'assets') diff --git a/assets/default/scss/shaarli.scss b/assets/default/scss/shaarli.scss index b8578ea6..037183dd 100644 --- a/assets/default/scss/shaarli.scss +++ b/assets/default/scss/shaarli.scss @@ -755,6 +755,14 @@ body, font-size: 1.3em; } +.pin-link { + font-size: 1.3em; +} + +.pinned-link { + color: #0b5ea6 !important; +} + .linklist-item-description { position: relative; padding: 0 10px; @@ -848,6 +856,10 @@ body, margin: 0 7px; } +.ctrl-delete { + margin: 0 7px 0 0; +} + // 64em -> lg @media screen and (max-width: 64em) { .linklist-item-infos-url { -- cgit v1.2.3 From d9bf5b31ff9e2d007ddfb7f7756184f0ca9676c8 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sat, 6 Oct 2018 13:09:11 +0200 Subject: Sticky feature - Add translation and display for logged out users --- assets/default/scss/shaarli.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'assets') diff --git a/assets/default/scss/shaarli.scss b/assets/default/scss/shaarli.scss index 037183dd..55f9f0a1 100644 --- a/assets/default/scss/shaarli.scss +++ b/assets/default/scss/shaarli.scss @@ -756,11 +756,11 @@ body, } .pin-link { - font-size: 1.3em; + font-size: 1.3em; } .pinned-link { - color: #0b5ea6 !important; + color: $blue !important; } .linklist-item-description { @@ -857,7 +857,7 @@ body, } .ctrl-delete { - margin: 0 7px 0 0; + margin: 0 7px 0 0; } // 64em -> lg -- cgit v1.2.3