1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-13 02:12:41 +01:00
phorge-phorge/webroot/rsrc/css/application/conpherence/notification.css
Chad Little 54b513286c Reduce subtitle length in Conpherence menu
Summary: If you have a subtitle that is long and a new count indicator, they overlap. This gives a little space.

Test Plan: fake a count

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D12429
2015-04-15 16:19:18 -07:00

71 lines
1.4 KiB
CSS

/**
* @provides conpherence-notification-css
*/
/* kill styles on 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: 30px;
}
.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: 13px;
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: 11px;
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: 11px;
}