1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-06 21:01:02 +01:00
phorge-phorge/webroot/rsrc/css/layout/phabricator-pinboard-view.css
Chad Little bb08b8c905 Pinboard view updates and Pholio List
Summary: Adds hover states to pinboard-items, adds date created and author on pholio home mock.

Test Plan: Review Pholio and Macro home pages

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Maniphest Tasks: T2645

Differential Revision: https://secure.phabricator.com/D5200
2013-03-04 11:04:30 -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 20px 20px 0;
border: 1px solid #d7d7d7;
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);
margin-top: -1px;
}
/* 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;
}
.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;
}