1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 07:12:41 +01:00
phorge-phorge/webroot/rsrc/css/layout/phabricator-pinboard-view.css
epriestley faa50c5d93 Use a "pinboard" UI to display image macros
Summary: Moves toward unblocking D3547. Use a pinboard/album view to show image macros. Modernize and make (mostly) responsive.

Test Plan: Will attach screenshots.

Reviewers: btrahan, vrana, chad, teisenbe

Reviewed By: vrana

CC: aran

Maniphest Tasks: T175

Differential Revision: https://secure.phabricator.com/D3576
2012-10-01 14:06:00 -07:00

53 lines
971 B
CSS

/**
* @provides phabricator-pinboard-view-css
*/
.phabricator-pinboard-view {
padding: 0 2%;
overflow: hidden;
}
.device-phone .phabricator-pinboard-view {
padding: 0;
}
.phabricator-pinboard-item-view {
margin: 0 10px 20px;
border: 1px solid #aaaaaa;
background: #ffffff;
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 20px;
/* NOTE: This needs to be changed if we use images other than 160px wide. */
width: 200px;
}
.phabricator-pinboard-item-header {
padding: 5px 20px;
display: block;
background: #f3f3f3;
font-weight: bold;
}
.phabricator-pinboard-item-image-link {
padding: 20px;
display: block;
}
.phabricator-pinboard-item-content {
padding: 5px 20px;
overflow: hidden;
background: #f3f3f3;
color: #666666;
font-size: smaller;
}