1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-22 13:30:55 +01:00
phorge-phorge/webroot/rsrc/css/application/conpherence/notification.css
Chad Little 3ce3ce957d Clean up css race condition in Conpherence notification menu
Summary: Depending on when packages loaded, this CSS sometimes gets overwritten. Make it more specific and always present.

Test Plan: Reload a lot

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D16657
2016-10-03 12:32:57 -07:00

87 lines
1.8 KiB
CSS

/**
* @provides conpherence-notification-css
*/
.phabricator-notification.conpherence-notification {
padding: 0;
}
.phabricator-notification .conpherence-menu-item-view {
display: block;
height: 46px;
overflow: hidden;
position: relative;
text-decoration: none;
border-bottom: none;
border-right: 0;
border-left: 0;
}
.phabricator-notification .conpherence-menu-item-view
.conpherence-menu-item-image {
top: 8px;
left: 8px;
display: block;
position: absolute;
width: 30px;
height: 30px;
background-size: 100%;
border-radius: 3px;
}
.phabricator-notification .conpherence-menu-item-view
.conpherence-menu-item-title {
display: block;
margin-top: 8px;
margin-left: 46px;
text-align: left;
font-weight: bold;
font-size: {$normalfontsize};
color: {$darkgreytext};
width: 314px;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
.phabricator-notification .conpherence-menu-item-view
.conpherence-menu-item-subtitle {
display: block;
color: {$lightgreytext};
font-size: {$smallestfontsize};
margin-top: 2px;
margin-left: 46px;
width: 290px;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
.phabricator-notification .conpherence-menu-item-view
.conpherence-menu-item-unread-count {
position: absolute;
right: 8px;
top: 15px;
background: {$blue};
border-radius: 2px;
color: #fff;
font-weight: bold;
padding: 0 5px 1px;
font-size: {$smallestfontsize};
}
.phabricator-notification .no-room-notification {
color: {$lightgreytext};
display: block;
}
.phabricator-notification-header .persistent-option {
white-space: nowrap;
float: right;
}
.phabricator-notification-header .persistent-option span {
margin-left: 4px;
font-weight: normal;
color: {$greytext};
}