1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 09:18:48 +02:00
phorge-phorge/webroot/rsrc/css/application/base/notification-menu.css
epriestley 3c7944d297 Switch to new menubar
Summary:
  - Looks better (can probably still use some tweaks), especially search.
  - Moves logout from weird footer location to main menu.
  - Reactive: on tablets and phones, the menu adjusts to remain useful.
  - Fixed position on desktops for future side nav changes.
  - Adds an icon header thing that's currently hard-coded but will be application-driven soon.

Test Plan: Used menu on desktop, tablet, phone, logged in / logged out, toggled darkconsole. Will add some screenshots.

Reviewers: btrahan, chad

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T1569

Differential Revision: https://secure.phabricator.com/D3105
2012-07-30 16:09:14 -07:00

52 lines
974 B
CSS

/**
* @provides phabricator-notification-menu-css
*/
.phabricator-notification-menu {
background: #ffffff;
font-size: 11px;
word-wrap: break-word;
overflow-y: auto;
}
.device-desktop .phabricator-notification-menu {
position: fixed;
width: 360px;
top: 42px;
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.5);
z-index: 9;
border: 1px solid #33393d;
border-top-width: 0;
}
.device-tablet .phabricator-notification-menu,
.device-phone .phabricator-notification-menu {
border-bottom: 1px solid #222222;
}
.phabricator-notification {
padding: 6px 6px;
margin: 1px 0;
}
.no-notifications {
color: #999999;
}
.phabricator-notification-list {
font-size: 11px;
}
.phabricator-notification-list .phabricator-notification-unread,
.phabricator-notification-menu .phabricator-notification-unread {
background: #aacfef;
}
.view-all-notifications {
text-align: center;
font-weight: bold;
background: #eeeeee;
border-top: 1px solid #dddddd;
}