1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-27 09:12:41 +01:00
phorge-phorge/webroot/rsrc/css/layout/phabricator-hovercard-view.css
Chad Little 8827854ff8 Lightblue Hovercards
Summary: The blue cards were still pretty strong for me, tested out some light blue ones and they of course look fantastic.

Test Plan: UIExamples, Feed

Reviewers: epriestley

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9366
2014-06-03 14:37:38 -07:00

104 lines
1.9 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: 0 3px 8px rgba(0, 0, 0, 0.35);
border: 1px solid {$blueborder};
border-radius: 3px;
background-color: #fff;
}
.phabricator-hovercard-head {
border-bottom: 1px solid {$thinblueborder};
}
.phabricator-hovercard-head .phabricator-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 {
float: left;
width: 100%;
padding: 12px 0;
color: {$darkgreytext};
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
}
.phabricator-hovercard-body-header {
margin: 0 0 0 8px;
}
.phabricator-hovercard-body-item {
margin: 2px 0 0 8px;
}
.phabricator-hovercard-body-header {
font-size: 14px;
padding-bottom: 4px;
color: {$darkgreytext};
line-height: 18px;
}
.phabricator-hovercard-body .phabricator-hovercard-body-image {
clear: left;
float: left;
width: 58px;
}
.phabricator-hovercard-body .phabricator-hovercard-body-details {
clear: right;
float: left;
width: 342px;
}
.phabricator-hovercard-body .profile-header-picture-frame {
float: left;
margin: 0px 8px 0px 8px;
width: 50px;
height: 50px;
background-position: center;
background-repeat: no-repeat;
}
.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;
}