mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-20 20:40:56 +01:00
fef3c778fd
Summary: Ref T7707. Ref T8183. - Currently, user status is derived by looking at events they //created//. Instead, look at non-cancelled invites they are attending. - Prepare for on-user caching. - Mostly remove "Sporradic" as a status, although I left room for adding more information later. Test Plan: - Called user.query. - Viewed profile. - Viewed hovercard. - Used mentions. - Saw status immediately update when attending/leaving/cancelling a current event. - Created an event ending at 6 PM and an event from 6:10PM - 7PM, saw "Away until 7PM". Reviewers: chad, btrahan Reviewed By: btrahan Subscribers: epriestley Maniphest Tasks: T8183, T7707 Differential Revision: https://secure.phabricator.com/D12833
94 lines
1.8 KiB
CSS
94 lines
1.8 KiB
CSS
/**
|
|
* @provides phabricator-hovercard-view-css
|
|
*/
|
|
|
|
.jx-hovercard-container {
|
|
position: absolute;
|
|
}
|
|
|
|
.phabricator-hovercard-wrapper {
|
|
float: left;
|
|
width: 400px;
|
|
}
|
|
|
|
.device-phone .phabricator-hovercard-wrapper {
|
|
float: left;
|
|
width: 300px;
|
|
}
|
|
|
|
.phabricator-hovercard-container {
|
|
float: left;
|
|
width: 100%;
|
|
box-shadow: {$dropshadow};
|
|
border: 1px solid {$blueborder};
|
|
border-radius: 3px;
|
|
background-color: #fff;
|
|
}
|
|
|
|
.phabricator-hovercard-head {
|
|
border-bottom: 1px solid {$thinblueborder};
|
|
}
|
|
|
|
.phabricator-hovercard-head .phui-action-header {
|
|
border-top-right-radius: 3px;
|
|
border-top-left-radius: 3px;
|
|
}
|
|
|
|
.phabricator-hovercard-head .phui-tag-type-state {
|
|
color: {$bluetext};
|
|
text-shadow: none;
|
|
}
|
|
|
|
.phabricator-hovercard-tags {
|
|
float: right;
|
|
white-space: normal;
|
|
}
|
|
|
|
.phabricator-hovercard-body {
|
|
padding: 12px 8px;
|
|
color: {$darkgreytext};
|
|
border-bottom-right-radius: 3px;
|
|
border-bottom-left-radius: 3px;
|
|
position: relative;
|
|
}
|
|
|
|
.phabricator-hovercard-body-item {
|
|
margin: 2px 0 0 0px;
|
|
}
|
|
|
|
.phabricator-hovercard-body-header {
|
|
font-size: 14px;
|
|
padding-bottom: 4px;
|
|
color: {$darkgreytext};
|
|
line-height: 18px;
|
|
}
|
|
|
|
.phabricator-hovercard-body .phabricator-hovercard-body-image {
|
|
width: 58px;
|
|
}
|
|
|
|
.phabricator-hovercard-body .phabricator-hovercard-body-details {
|
|
margin-left: 58px;
|
|
}
|
|
|
|
.phabricator-hovercard-body .profile-header-picture-frame {
|
|
float: left;
|
|
width: 50px;
|
|
height: 50px;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
background-size: 100%;
|
|
}
|
|
.phabricator-hovercard-tail {
|
|
width: 396px;
|
|
float: left;
|
|
padding: 2px;
|
|
border-top: 1px solid {$thinblueborder};
|
|
border-bottom-left-radius: 3px;
|
|
border-bottom-right-radius: 3px;
|
|
}
|
|
|
|
.phabricator-hovercard-tail button,
|
|
.phabricator-hovercard-tail a.button {
|
|
margin: 3px;
|
|
}
|