mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 17:02:41 +01:00
fd13275f7e
Summary: This widens pinboard images to 280x210, which neatly fits on an iPhone 4, and gives more visual space to Macros and Mocks. Test Plan: Test Pinboard in Chrome and iOS simulator. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D5224
64 lines
1.2 KiB
CSS
64 lines
1.2 KiB
CSS
/**
|
|
* @provides phabricator-pinboard-view-css
|
|
*/
|
|
|
|
.phabricator-pinboard-view {
|
|
padding: 10px 0 20px 20px;
|
|
overflow: hidden;
|
|
margin: 1em 0;
|
|
}
|
|
|
|
.device-phone .phabricator-pinboard-view {
|
|
padding: 0;
|
|
}
|
|
|
|
.phabricator-pinboard-item-view {
|
|
margin: 0 16px 16px 0;
|
|
border: 1px solid #d5d9df;
|
|
background: #ffffff;
|
|
border-radius: 3px;
|
|
|
|
float: left;
|
|
width: 300px;
|
|
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 16px;
|
|
}
|
|
|
|
.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;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.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;
|
|
}
|