1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-21 13:00:56 +01:00
phorge-phorge/webroot/rsrc/css/layout/phabricator-pinboard-view.css
Chad Little 413c65b608 Fix margin hover issue on pinboard.
Summary: Removes the -1px and tweaks the colors just a bit more.

Test Plan: Review Pholio and Macro.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Maniphest Tasks: T2664

Differential Revision: https://secure.phabricator.com/D5213
2013-03-04 13:35:27 -08:00

61 lines
1.2 KiB
CSS

/**
* @provides phabricator-pinboard-view-css
*/
.phabricator-pinboard-view {
padding: 10px 0 20px 20px;
overflow: hidden;
margin: 1em 0;
}
.phabricator-pinboard-item-view {
margin: 0 16px 16px 0;
border: 1px solid #d5d9df;
background: #ffffff;
border-radius: 3px;
display: block;
float: left;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
text-align: left;
}
.phabricator-pinboard-item-view:hover {
cursor: pointer;
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.30);
}
/* On phones, show a single column of items. */
.device-phone .phabricator-pinboard-item-view {
float: none;
margin: 0 auto 10px;
/* NOTE: This needs to be changed if we use images other than 160px wide. */
width: 240px;
}
.phabricator-pinboard-item-header {
padding: 5px 10px;
display: block;
background: #edf0f4;
font-weight: bold;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
border-bottom: 1px solid #d5d9df;
}
.phabricator-pinboard-item-header a {
color: #333;
}
.phabricator-pinboard-item-image-link {
padding: 10px;
display: block;
}
.phabricator-pinboard-item-content {
padding: 0 10px 5px;
overflow: hidden;
color: #777;
font-size: 11px;
}