2013-04-15 04:32:26 +02:00
|
|
|
/**
|
|
|
|
* @provides phui-feed-story-css
|
|
|
|
*/
|
|
|
|
|
|
|
|
.phui-feed-story {
|
|
|
|
background: 5px 2px no-repeat;
|
2013-08-02 00:23:07 +02:00
|
|
|
min-height: 44px;
|
2013-04-15 04:32:26 +02:00
|
|
|
background-color: #fff;
|
|
|
|
}
|
|
|
|
|
2013-04-25 00:18:58 +02:00
|
|
|
.phui-feed-story-head .phui-feed-story-actor-image {
|
2013-04-15 04:32:26 +02:00
|
|
|
width: 35px;
|
|
|
|
height: 35px;
|
|
|
|
background-size: 35px;
|
|
|
|
float: left;
|
2013-08-02 00:23:07 +02:00
|
|
|
margin-right: 8px;
|
2013-04-15 04:32:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.phui-feed-story-head {
|
2013-08-02 00:23:07 +02:00
|
|
|
padding: 8px;
|
2013-04-15 04:32:26 +02:00
|
|
|
overflow: hidden;
|
2013-09-02 22:57:48 +02:00
|
|
|
color: {$greytext};
|
2013-08-06 18:20:04 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.phui-feed-story-head .phui-link-person {
|
2013-09-02 22:57:48 +02:00
|
|
|
color: {$darkgreytext};
|
2013-08-06 18:20:04 +02:00
|
|
|
font-weight: bold;
|
2013-04-15 04:32:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.phui-feed-story-body {
|
2014-08-26 23:36:35 +02:00
|
|
|
margin: 0 8px 8px;
|
2013-09-02 22:57:48 +02:00
|
|
|
color: {$darkgreytext};
|
2013-05-24 19:45:33 +02:00
|
|
|
word-break: break-word;
|
2014-08-26 23:36:35 +02:00
|
|
|
max-height: 300px;
|
|
|
|
overflow: hidden;
|
2013-04-15 04:32:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.phui-feed-story-foot {
|
|
|
|
font-size: 11px;
|
2013-09-02 22:57:48 +02:00
|
|
|
background: {$lightgreybackground};
|
2013-08-02 00:23:07 +02:00
|
|
|
padding: 8px;
|
2013-05-22 00:32:17 +02:00
|
|
|
line-height: 14px;
|
2013-04-15 04:32:26 +02:00
|
|
|
}
|
|
|
|
|
2013-07-13 02:04:02 +02:00
|
|
|
.phui-feed-story-foot,
|
|
|
|
.phui-feed-story-foot a {
|
2013-09-02 17:10:47 +02:00
|
|
|
color: {$greytext};
|
2013-07-13 02:04:02 +02:00
|
|
|
}
|
|
|
|
|
2013-08-02 00:23:07 +02:00
|
|
|
.phui-feed-story-foot .phui-icon-view,
|
|
|
|
.phui-feed-story-oneline-foot .phui-icon-view {
|
2013-04-15 04:32:26 +02:00
|
|
|
float: left;
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
2013-04-25 00:18:58 +02:00
|
|
|
|
|
|
|
.phui-feed-story-bigtext-post {
|
|
|
|
line-height: 18px;
|
2013-09-02 22:57:48 +02:00
|
|
|
color: {$darkgreytext};
|
2013-04-25 00:18:58 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.phui-feed-story-bigtext-post h3 {
|
2013-05-22 00:32:17 +02:00
|
|
|
font-size: 18px;
|
|
|
|
font-weight: 200;
|
2013-04-25 00:18:58 +02:00
|
|
|
line-height: 18px;
|
2013-09-07 18:13:55 +02:00
|
|
|
color: {$darkgreytext};
|
2013-05-22 00:32:17 +02:00
|
|
|
margin: 0 0 5px 0;
|
2013-04-25 00:18:58 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.phui-feed-token-bar {
|
2013-08-02 00:23:07 +02:00
|
|
|
margin-top: 8px;
|
2013-04-25 00:18:58 +02:00
|
|
|
border-top: 1px solid #e7e7e7;
|
2013-08-02 00:23:07 +02:00
|
|
|
padding-top: 8px;
|
2013-04-25 00:18:58 +02:00
|
|
|
}
|
|
|
|
|
Add action icons to object list views
Summary:
We have a few interfaces where add "Edit", "Delete" or some other action to a list. Currently, this happens via icons, but these are cumbersome and weird, are inconsistent, can't be workflow'd, are hard to hit on desktops and virtually impossible to hit on mobile, and generally just feel iffy to me. Prominent examples are Projects and Flags. I'd like to try adding an "edit" action to Maniphest (to provide quick edit from list views, basically). It looks like some of Releeph would benefit here, as well.
Instead, provide first-class actions:
{F42978}
They produce targets which my meaty ham-fists can plausibly hit on mobile, too:
{F42979}
(We could do some kind of swipe-to-expose thing eventually, but I think putting them by default is OK?)
Test Plan: Added UIExamples. Checked desktop/mobile.
Reviewers: chad, btrahan, edward
Reviewed By: btrahan
CC: aran
Differential Revision: https://secure.phabricator.com/D5890
2013-05-10 21:57:01 +02:00
|
|
|
.phui-feed-token-bar .phui-icon-view {
|
2013-04-25 00:18:58 +02:00
|
|
|
margin-right: 2px;
|
Add action icons to object list views
Summary:
We have a few interfaces where add "Edit", "Delete" or some other action to a list. Currently, this happens via icons, but these are cumbersome and weird, are inconsistent, can't be workflow'd, are hard to hit on desktops and virtually impossible to hit on mobile, and generally just feel iffy to me. Prominent examples are Projects and Flags. I'd like to try adding an "edit" action to Maniphest (to provide quick edit from list views, basically). It looks like some of Releeph would benefit here, as well.
Instead, provide first-class actions:
{F42978}
They produce targets which my meaty ham-fists can plausibly hit on mobile, too:
{F42979}
(We could do some kind of swipe-to-expose thing eventually, but I think putting them by default is OK?)
Test Plan: Added UIExamples. Checked desktop/mobile.
Reviewers: chad, btrahan, edward
Reviewed By: btrahan
CC: aran
Differential Revision: https://secure.phabricator.com/D5890
2013-05-10 21:57:01 +02:00
|
|
|
display: inline-block;
|
2013-04-25 00:18:58 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.phui-feed-story-action-list {
|
|
|
|
float: right;
|
|
|
|
padding-top: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-feed-story-action-item {
|
|
|
|
float: right;
|
|
|
|
padding-left: 2px;
|
2014-05-21 19:18:43 +02:00
|
|
|
height: 18px;
|
|
|
|
width: 18px;
|
|
|
|
font-size: 18px;
|
2013-04-25 00:18:58 +02:00
|
|
|
}
|
2013-07-29 21:12:14 +02:00
|
|
|
|
|
|
|
.phui-feed-story-action-list .phui-icon-view {
|
|
|
|
display: block;
|
|
|
|
}
|
2013-08-02 00:23:07 +02:00
|
|
|
|
|
|
|
.phui-feed-story-oneline .phui-feed-story-head {
|
2013-08-05 19:10:33 +02:00
|
|
|
padding: 8px;
|
2013-08-02 00:23:07 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.phui-feed-story-oneline .phui-feed-story-body {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-feed-story-oneline-foot,
|
|
|
|
.phui-feed-story-oneline-foot a {
|
|
|
|
font-size: 11px;
|
2014-05-21 20:37:36 +02:00
|
|
|
color: {$lightgreytext};
|
2013-08-02 00:23:07 +02:00
|
|
|
margin-top: 2px;
|
|
|
|
line-height: 14px;
|
2013-08-06 18:20:04 +02:00
|
|
|
font-weight: normal;
|
2013-08-02 00:23:07 +02:00
|
|
|
}
|