From 7ed4ab5bad05035ee58f1676d50179c532049bf3 Mon Sep 17 00:00:00 2001 From: Tristan Olive Date: Wed, 20 May 2015 23:17:53 -0400 Subject: [PATCH] Added new mail notification icon for logged in users (DBOINCP-170) --- .../default/boinc/themes/boinc/css/pages.css | 20 ++++++++++++++++++ .../boinc/themes/boinc/images/icon-mail.png | Bin 0 -> 808 bytes .../boinc/themes/boinc/templates/page.tpl.php | 15 +++++++++++++ 3 files changed, 35 insertions(+) create mode 100644 drupal/sites/default/boinc/themes/boinc/images/icon-mail.png diff --git a/drupal/sites/default/boinc/themes/boinc/css/pages.css b/drupal/sites/default/boinc/themes/boinc/css/pages.css index 5697986e3c..77d16d1d24 100644 --- a/drupal/sites/default/boinc/themes/boinc/css/pages.css +++ b/drupal/sites/default/boinc/themes/boinc/css/pages.css @@ -685,6 +685,26 @@ table.user-projects { padding: 3px 5px 1px; background: #747477; } +.new-mail-indicator { + background: url(../images/icon-mail.png) 0 0 no-repeat; + background-size: 25px; + float: right; + height: 25px; + margin-top: 5px; + text-align: center; + width: 25px; +} +.new-mail-indicator .item-count-wrapper { + background: none; + margin: 0; + padding: 0; +} +.new-mail-indicator .item-count { + background-color: #800; + color: #fff; + margin: 6px 0 0; + padding: 0 1px; +} .item-list .pager { font-size: 10px; diff --git a/drupal/sites/default/boinc/themes/boinc/images/icon-mail.png b/drupal/sites/default/boinc/themes/boinc/images/icon-mail.png new file mode 100644 index 0000000000000000000000000000000000000000..757b7ae4e9faea2cbb165608170414996fe83418 GIT binary patch literal 808 zcmV+@1K0eCP)Px#0%A)?L;wJ)jUzGu000SaNLh0L05@F#05@F$8GuGz00007bV*G`2j2x06gxMk z2MT!r00OK@L_t(&-tCx8XcIvcfM=7a)nE^m`V&!l5Gf)EdMLeF@t}z4MZtqqJgOj~ zH_@I1Zxs|o!3s*#ra?q+B1i-eih_txL4nd6iR2shp~`9Nsu8DwnpdslK*d`>d6-R9UTQ z}@fwccm;>sM3n4uwQmV*&289Id=R#Ryy0U zvpaV(5+nQvN4@KTcZt}`R4n+%^yn6(#$dO2a|MNn;j^43W!KLzv?3K@eu%c zL!X$mj)(KcUnMIl4LUwdfI#iCEf$yU7(bham)RxY-Q0DZ4-^1+#THRu15cX57w8hR z_wmJ(5h?(4oF#21rZ~f_5&SEM9Ifr9Hp@T&;2FK5*d|_t;vcY9%oyO4PoALw%y0@z zw2<@6`R4xOxXA5bIAD1*762$Y7LcvH)@D6rqsZ!EGO%V-0;A$yP$-sgkw32c<(w-g z&1h5tZhYP?PND4^l_{&#&K)AF m)b`Ele_*>li6oNv-{UWXZ=eo5W$vB;0000