mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-30 09:20:58 +01:00
76cefde0b3
Summary: Fixes T5373. Ref T5281. Several changes: - The `marshallExceptions` thing is useful if JS throws an exception when invoked from Flash, so set it. The resulting exceptions are a little odd (not escaped correctly, e.g.) but way better than nothing. - Put connection status in the notification menu. - When the connection fails, try to provide contextual help where we can. Test Plan: {F169493} Reviewers: chad, joshuaspence Reviewed By: joshuaspence Subscribers: epriestley Maniphest Tasks: T5281, T5373 Differential Revision: https://secure.phabricator.com/D9700
113 lines
2.4 KiB
CSS
113 lines
2.4 KiB
CSS
/**
|
|
* @provides phabricator-notification-menu-css
|
|
*/
|
|
|
|
.phabricator-notification-menu {
|
|
background: #fff;
|
|
font-size: 11px;
|
|
word-wrap: break-word;
|
|
overflow-y: auto;
|
|
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
|
|
border: 1px solid {$blueborder};
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.phabricator-notification .phabricator-notification-date {
|
|
margin-left: 8px;
|
|
color: {$lightgreytext};
|
|
}
|
|
|
|
.phabricator-notification-menu-loading {
|
|
text-align: center;
|
|
padding: 10px 0;
|
|
color: {$lightgreytext};
|
|
}
|
|
|
|
.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 {$thinblueborder};
|
|
width: 94%;
|
|
max-width: 390px;
|
|
top: 42px !important;
|
|
left: 3% !important;
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
.phabricator-notification {
|
|
padding: 6px 8px;
|
|
}
|
|
|
|
.phabricator-notification-menu .phabricator-notification {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.device-desktop .phabricator-notification-menu .phabricator-notification:hover {
|
|
background: {$hoverblue};
|
|
}
|
|
|
|
.device-desktop .phabricator-notification-menu
|
|
.phabricator-notification-unread.phabricator-notification:hover {
|
|
background: {$hoverselectedblue};
|
|
}
|
|
|
|
.phabricator-notification + .phabricator-notification {
|
|
border-top: 1px solid {$hoverborder};
|
|
}
|
|
|
|
.no-notifications {
|
|
color: {$lightgreytext};
|
|
}
|
|
|
|
.phabricator-notification-list .phabricator-notification-unread,
|
|
.phabricator-notification-menu .phabricator-notification-unread {
|
|
background: {$hoverblue};
|
|
}
|
|
|
|
.phabricator-notification-header {
|
|
font-weight: bold;
|
|
padding: 10px 8px;
|
|
font-size: 12px;
|
|
border-bottom: 1px solid {$thinblueborder};
|
|
}
|
|
|
|
.phabricator-notification-header a {
|
|
color: {$darkgreytext};
|
|
}
|
|
|
|
.phabricator-notification-header .phabricator-notification-clear-all {
|
|
color: #18559D;
|
|
float: right;
|
|
font-weight: normal;
|
|
}
|
|
|
|
.phabricator-notification-view-all {
|
|
text-align: center;
|
|
font-weight: bold;
|
|
background: {$greybackground};
|
|
border-top: 1px solid {$thinblueborder};
|
|
border-bottom-left-radius: 3px;
|
|
border-bottom-right-radius: 3px;
|
|
padding: 8px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.phabricator-notification-menu .aphlict-connection-status {
|
|
float: right;
|
|
font-weight: normal;
|
|
color: {$lightgreytext};
|
|
}
|
|
|
|
.aphlict-connection-status .aphlict-connection-status-connected {
|
|
color: {$green};
|
|
}
|
|
|
|
.aphlict-connection-status .aphlict-connection-status-error {
|
|
color: {$red};
|
|
}
|