From d4e28a15ee14e3621acd1f40107e3365a5199233 Mon Sep 17 00:00:00 2001 From: Andy Strobel Date: Tue, 29 Apr 2014 14:03:49 +0200 Subject: [PATCH] Added arrows to Topbar Notification Dropdowns --- protected/modules/mail/resources/mail.css | 18 +++++++++++++++++- .../mail/widgets/views/mailNotifications.php | 2 +- protected/views/layouts/main.php | 2 +- 3 files changed, 19 insertions(+), 3 deletions(-) diff --git a/protected/modules/mail/resources/mail.css b/protected/modules/mail/resources/mail.css index 99e5a6d8cb..8c6b139f34 100644 --- a/protected/modules/mail/resources/mail.css +++ b/protected/modules/mail/resources/mail.css @@ -24,4 +24,20 @@ .placeholder { color: #77777A; -} \ No newline at end of file +} + +#dropdown-messages .arrow { + top: -11px !important; +} + +@media (max-width: 767px) { + + #dropdown-messages { + width: 300px !important; + + } + + .arrow { + margin-left: -101px !important; + } +} diff --git a/protected/modules/mail/widgets/views/mailNotifications.php b/protected/modules/mail/widgets/views/mailNotifications.php index 0c0dc9d946..ce98302c67 100644 --- a/protected/modules/mail/widgets/views/mailNotifications.php +++ b/protected/modules/mail/widgets/views/mailNotifications.php @@ -47,7 +47,7 @@ $('#dropdown-messages').find('ul').remove(); // append title and loader to dropdown - $('#dropdown-messages').append('
  • '); + $('#dropdown-messages').append('
  • '); // load newest notifications $.ajax({ diff --git a/protected/views/layouts/main.php b/protected/views/layouts/main.php index 67b87c0c0c..677d302253 100644 --- a/protected/views/layouts/main.php +++ b/protected/views/layouts/main.php @@ -191,7 +191,7 @@ $('#dropdown-notifications').find('li').remove(); // append title and loader to dropdown - $('#dropdown-notifications').append('
  • '); + $('#dropdown-notifications').append('
  • '); // load newest notifications $.ajax({