1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-26 23:40:57 +01:00
phorge-phorge/webroot/rsrc/css/phui/phui-feed-story.css
epriestley df8c3c4fa5 Give application actors in feed reasonable icons
Summary:
Ref T8952. Currently, when an application (most commonly Herald, but sometimes Drydock, Diffusion, etc) publishes a feed story, we get an empty grey box for it in feed.

Instead, give the story a little application icon kind of "profile picture"-like thing.

Test Plan:
Here's how it looks:

{F1239003}

Feel free to tweak/counter-diff.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T8952

Differential Revision: https://secure.phabricator.com/D15773
2016-04-20 14:38:55 -07:00

109 lines
1.9 KiB
CSS

/**
* @provides phui-feed-story-css
*/
.phui-object-box .phui-box.phui-feed-story {
border-bottom: 1px solid {$thinblueborder};
}
.phui-object-box .phui-box.phui-feed-story:last-child {
border: none;
}
.phui-feed-story-head .phui-feed-story-actor {
width: 35px;
height: 35px;
float: left;
margin-right: 8px;
border-radius: 3px;
box-shadow: {$borderinset};
}
.phui-feed-story-head .phui-feed-story-actor-image {
background-size: 35px;
}
.phui-feed-story-head .phui-feed-story-actor-icon {
text-align: center;
vertical-align: middle;
font-size: 24px;
line-height: 35px;
color: {$lightgreytext};
background: {$greybackground};
}
.phui-feed-story-head {
padding: 12px 4px;
overflow: hidden;
color: {$greytext};
word-break: break-word;
}
.phui-feed-story-head .phui-link-person {
color: {$darkgreytext};
font-weight: bold;
}
.phui-feed-story-body {
margin: 4px 4px 8px;
padding-bottom: 8px;
color: {$darkgreytext};
word-break: break-word;
max-height: 300px;
overflow: hidden;
}
.phui-feed-story-foot {
font-size: {$smallerfontsize};
padding: 0 4px 12px;
}
.phui-feed-story-foot,
.phui-feed-story-foot a {
color: {$greytext};
}
.phui-feed-story-foot .phui-icon-view {
margin-right: 5px;
}
.phui-feed-story-bigtext-post {
line-height: 18px;
color: {$darkgreytext};
}
.phui-feed-story-bigtext-post h3 {
font-size: {$biggestfontsize};
line-height: 18px;
color: {$darkgreytext};
margin: 0 0 5px 0;
}
.phui-feed-token-bar {
margin-top: 8px;
border-top: 1px solid #e7e7e7;
padding-top: 8px;
}
.phui-feed-token-bar .phui-icon-view {
margin-right: 2px;
display: inline-block;
}
.phui-feed-story-action-list {
float: right;
padding-top: 4px;
}
.phui-feed-story-action-item {
float: right;
padding-left: 2px;
height: 18px;
width: 18px;
font-size: 18px;
}
.phui-feed-story-action-list .phui-icon-view {
display: block;
}