1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 17:02:41 +01:00
phorge-phorge/webroot/rsrc/css/layout/phabricator-pinboard-view.css
Chad Little 74f6c75ae7 Tighten pinboard view.
Summary: Removes a little slop from the top and right of the pinboard view.

Test Plan: Tested Macro and Pholio layouts. Things wrapped less.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D5197
2013-03-03 13:32:02 -08:00

52 lines
997 B
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 20px 20px 0;
border: 1px solid #ccc;
background: #ffffff;
border-radius: 3px;
display: block;
float: left;
box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.15);
text-align: left;
}
/* 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: #f3f3f3;
font-weight: bold;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
}
.phabricator-pinboard-item-image-link {
padding: 10px;
display: block;
}
.phabricator-pinboard-item-content {
padding: 0 10px 5px;
overflow: hidden;
color: #777;
font-size: 11px;
}