mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 09:12:41 +01:00
92678eb050
Summary: - Gets about 25% of the way toward @chad's notification mocks. - YES: Hover states, entire notification is a click target, border, header, footer. - NO: Profile pictures (lazy), timestamps (want to refactor time code before introducing a new formatting style), app icons (they'd look funny without timestamps I think) - Deletes some old files. - Mostly trying to get this good enough to turn on by default. Test Plan: Looked at notifications. Clicked some notifications. Reviewers: chad, btrahan Reviewed By: btrahan CC: aran Differential Revision: https://secure.phabricator.com/D4119
67 lines
1.2 KiB
CSS
67 lines
1.2 KiB
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: 2px solid #33393d;
|
|
border-top-width: 0;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.device .phabricator-notification-menu {
|
|
border-bottom: 1px solid #222222;
|
|
}
|
|
|
|
.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;
|
|
padding: 6px;
|
|
}
|