1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-25 06:50:55 +01:00
phorge-phorge/webroot/rsrc/css/application/base/notification-menu.css
Chad Little 004a8de350 Notications mobile menu
Summary: Adding CSS so the notifications menu renders over content on mobile, also it was sort of broken at some point.

Test Plan: Tested Mobile, Tablet and regular layouts.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D5424
2013-03-22 16:15:28 -07:00

80 lines
1.5 KiB
CSS

/**
* @provides phabricator-notification-menu-css
*/
.phabricator-notification-menu {
background: #ffffff;
font-size: 11px;
word-wrap: break-word;
overflow-y: auto;
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.5);
border: 2px solid #33393d;
border-top-width: 0;
border-radius: 3px;
}
.phabricator-notification-menu-loading {
text-align: center;
padding: 10px 0;
color: #888888;
}
.device-desktop .phabricator-notification-menu,
.device-tablet .phabricator-notification-menu {
position: fixed;
width: 360px;
top: 42px;
}
.device-phone .phabricator-notification-menu {
border-bottom: 1px solid #222222;
width: 94%;
max-width: 390px;
top: 42px !important;
left: 3% !important;
position: absolute;
}
.phabricator-notification {
padding: 6px;
cursor: pointer;
}
.device-desktop .phabricator-notification:hover {
background: #f4f6f9;
}
.phabricator-notification + .phabricator-notification {
border-top: 1px solid #e9e9e9;
}
.no-notifications {
color: #999999;
}
.phabricator-notification-list {
font-size: 11px;
}
.phabricator-notification-list .phabricator-notification-unread,
.phabricator-notification-menu .phabricator-notification-unread {
background: #aacfef;
}
.phabricator-notification-header {
font-weight: bold;
padding: 6px;
font-size: 12px;
border-bottom: 1px solid #e9e9e9;
}
.phabricator-notification-view-all {
text-align: center;
font-weight: bold;
background: #f7f7f7;
border-top: 1px solid #e9e9e9;
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
padding: 6px;
}