From c36e9c186548471cb9443711730b9baef4e7a8ec Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Tue, 14 Jun 2016 00:13:09 +0300 Subject: [PATCH] pin/unpin --- icons/mail_unpinned2.png | Bin 0 -> 689 bytes mail.css | 14 +++++++++++++- mail.htm | 6 +++--- 3 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 icons/mail_unpinned2.png diff --git a/icons/mail_unpinned2.png b/icons/mail_unpinned2.png new file mode 100644 index 0000000000000000000000000000000000000000..80877417e7cd78fb79da7280bde7d100ed0509fe GIT binary patch literal 689 zcmV;i0#5yjP)gsYb&G|D{W14UcEnhwb+!2(Shg9IfoDD!1KtaUrfUP z6sk6ynUCL=0BZsXTZMwio;!15t$YWo1~8j!I-A{@HXJoHk}C4%bSUAk84!sjP-~05 zQIbTlUZvSFnwm2jnsU8Vl8Aj?6YoIrBE#N&K{1F@`OVbjeLiS180hdq zyaGTF3Jxbpe0wXC>UMWHd>)q<09IKhwckhvgKiT5a9-eqz5Oc}2fA7vHYY-83IO_8 zCb(7M#3$nuTIJN+?{~*;`JPTpzTr6jFT`qU-a!a?SSGk$ejPqMbO|D{1WM-$cL*gV zt$*40@$lZ*)#DbEPEN|9#1(l$fu1F!k@$gGh{jh&C|ZMhyu2 zr2_yC13-Xff(M5Q)hWz3Mz5W8wVgVGVVIv~f-3+pTXPzpk3YH&0CNCvnq`9de~I%S X>&xPLffzQC00000NkvXXu0mjfuyZLb literal 0 HcmV?d00001 diff --git a/mail.css b/mail.css index f3c553c..b2c3425 100644 --- a/mail.css +++ b/mail.css @@ -987,7 +987,19 @@ div width: 16px; height: 16px; margin: 4px 0 0 10px; - background: url(icons/mail_unpinned.png); + opacity: 0.5; + background: url(icons/mail_unpinned2.png); + transition: all 0.2s ease-out; +} + +.message-view .message .headers .top .pin:hover +{ + opacity: 1; +} + +.message-view .message .headers .top .pin.pressed +{ + background: url(icons/mail_pinned.png); } .message-view .message .headers .header-table diff --git a/mail.htm b/mail.htm index d800563..03ac4eb 100644 --- a/mail.htm +++ b/mail.htm @@ -493,15 +493,15 @@