1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 17:28:51 +02:00
phorge-phorge/webroot/rsrc/css/phui/phui-pinboard-view.css
Chad Little b2f3001ec4 Replace Sprite-Icons with FontAwesome
Summary: The removes the sprite sheet 'icons' and replaces it with FontAwesome fonts.

Test Plan:
- Grep for SPRITE_ICONS and replace
- Grep for sprite-icons and replace
- Grep for PhabricatorActionList and choose all new icons
- Grep for Crumbs and fix icons
- Test/Replace PHUIList Icon support
- Test/Replace ObjectList Icon support (foot, epoch, etc)
- Browse as many pages as I could get to
- Remove sprite-icons and move remarkup to own sheet
- Review this diff in Differential

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: epriestley, Korvin, hach-que

Differential Revision: https://secure.phabricator.com/D9052
2014-05-12 10:08:32 -07:00

78 lines
1.4 KiB
CSS

/**
* @provides phui-pinboard-view-css
*/
.phui-pinboard-view {
padding: 8px 0 16px 16px;
overflow: hidden;
margin: 12px 0;
}
.device-phone .phui-pinboard-view {
padding: 0;
}
.phui-pinboard-item-view {
margin: 0 12px 16px 0;
background: #ffffff;
border-radius: 3px;
border: 1px solid {$lightblueborder};
border-bottom: 1px solid {$blueborder};
float: left;
width: 288px;
text-align: left;
}
.device-desktop .phui-pinboard-item-view:hover {
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.30);
}
/* 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: 4px 8px;
display: block;
font-weight: bold;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
border-bottom: 1px solid {$lightblueborder};
white-space: nowrap;
overflow: hidden;
}
.phui-pinboard-item-header a {
color: {$bluetext};
}
.phui-pinboard-item-image-link {
padding: 8px 4px;
display: block;
}
.phui-pinboard-item-content {
padding: 0 8px 4px;
overflow: hidden;
color: {$greytext};
font-size: 11px;
}
.phui-pinboard-item-count {
float: left;
margin-left: 8px;
}
.phui-pinboard-icons {
padding: 0 8px 8px 0;
color: {$darkbluetext};
border-bottom: 1px solid {$lightblueborder};
margin-bottom: 5px;
overflow: hidden;
}
.phui-pinboard-icon {
margin-right: 4px;
}