1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 17:28:51 +02:00
phorge-phorge/webroot/rsrc/css/application/conpherence/notification.css
epriestley b06b3d79b7 Make CSS agnostic to underlying profile image size
Summary: Ref T7707. My analysis there was a bit confused and this isn't really all that important, but seems cleaner and desirable to be agnostic to the underlying image size.

Test Plan: Tested Safari, Firefox and Chrome with a variety of profile image sizes.

Reviewers: chad, btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T7707

Differential Revision: https://secure.phabricator.com/D12825
2015-05-13 11:38:46 -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: 100%;
}
.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;
}