1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-27 09:12:41 +01:00
phorge-phorge/webroot/rsrc/css/phui/phui-pinboard-view.css
Chad Little c371077bbe [Redesign] Thinner PHUIPinboardItemView
Summary: Ref T8099, Cleaner, thinner layout for PHUIPinboardItemView. Removes inner padding, cleans UI by putting title underneath image.

Test Plan:
Review Macro, Pholio, Dashboards with Pholio

{F422185}

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T8099

Differential Revision: https://secure.phabricator.com/D12987
2015-05-24 08:06:10 -07:00

105 lines
1.9 KiB
CSS

/**
* @provides phui-pinboard-view-css
*/
.phui-pinboard-view {
padding: 8px 0 16px 16px;
overflow: hidden;
}
.dashboard-pane .phui-pinboard-view {
padding: 16px 8px;
}
.device-phone .phui-pinboard-view {
padding: 0;
}
.phui-pinboard-item-view {
margin: 0 12px 16px 0;
text-align: left;
width: 280px;
background: #fff;
border: 1px solid {$lightblueborder};
border-radius: 3px;
}
.phui-pinboard-view .phui-pinboard-item-view {
float: left;
}
.device-desktop .phui-pinboard-item-view:hover {
border-color: {$blue};
}
.device-desktop .phui-pinboard-item-view:hover .phui-pinboard-item-header a {
color: {$blue};
}
/* On phones, show a single column of items. */
.device-phone .phui-pinboard-item-view {
float: none;
margin: 0 auto 16px;
}
.phui-pinboard-item-header {
padding: 6px 8px;
display: block;
font-weight: bold;
white-space: nowrap;
overflow: hidden;
border-top: 1px solid {$thinblueborder};
}
.phui-pinboard-item-header a {
color: {$darkbluetext};
}
.phui-pinboard-item-image-link {
display: block;
}
.phui-pinboard-item-image-link img {
border-top-left-radius: 3px;
border-top-right-radius: 3px;
}
.phui-pinboard-item-content {
padding: 0 8px 8px;
overflow: hidden;
color: {$bluetext};
font-size: 12px;
}
.phui-pinboard-item-count {
float: left;
margin-left: 8px;
}
.phui-pinboard-icons {
padding: 4px 8px 4px 0;
color: {$darkbluetext};
overflow: hidden;
}
.phui-pinboard-icon {
margin-right: 4px;
}
.phui-pinboard-item-disabled .phui-pinboard-item-image-link img {
opacity: 0.25;
}
.phui-pinboard-item-disabled .phui-pinboard-item-header a {
color: {$greytext};
text-decoration: line-through;
}
.dashboard-panel .phui-pinboard-view {
margin: 0;
padding: 16px 12px 0 12px;
background: #fff;
border-left: 1px solid {$lightblueborder};
border-right: 1px solid {$lightblueborder};
border-bottom: 1px solid {$blueborder};
}