2013-04-15 04:32:26 +02:00
|
|
|
/**
|
|
|
|
* @provides phui-feed-story-css
|
|
|
|
*/
|
|
|
|
|
[Redesign] People, Profile, Feed UI
Summary: Ref T8099, Mostly a Feed cleanup, removing old CSS, relying on modern display objects, adds back the feed to profile (I miss it, but maybe you don't).
Test Plan: Visit Feed on Profiles, Projects, Feed, and Dashboards. Same UI Everywhere. TODO, "Public Feed".
Reviewers: btrahan, epriestley
Reviewed By: epriestley
Subscribers: Korvin, epriestley
Maniphest Tasks: T8099
Differential Revision: https://secure.phabricator.com/D13101
2015-06-01 20:28:01 +02:00
|
|
|
.phui-object-box .phui-box.phui-feed-story {
|
2015-06-01 00:08:36 +02:00
|
|
|
border-bottom: 1px solid {$thinblueborder};
|
|
|
|
}
|
|
|
|
|
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;
|
2015-05-28 20:47:06 +02:00
|
|
|
border: 1px solid rgba(55,55,55,.2);
|
|
|
|
border-radius: 3px;
|
2013-04-15 04:32:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.phui-feed-story-head {
|
2015-05-28 20:47:06 +02:00
|
|
|
padding: 12px 8px;
|
2014-12-30 11:48:53 +01:00
|
|
|
overflow: hidden;
|
|
|
|
color: {$greytext};
|
2015-05-28 20:47:06 +02:00
|
|
|
line-height: 16px;
|
2013-08-06 18:20:04 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.phui-feed-story-head .phui-link-person {
|
2014-12-30 11:48:53 +01:00
|
|
|
color: {$darkgreytext};
|
|
|
|
font-weight: bold;
|
2013-04-15 04:32:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.phui-feed-story-body {
|
2015-05-28 20:47:06 +02:00
|
|
|
margin: 4px 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;
|
2014-11-11 17:26:49 +01:00
|
|
|
}
|
|
|
|
|
2013-04-15 04:32:26 +02:00
|
|
|
.phui-feed-story-foot {
|
2015-05-28 20:47:06 +02:00
|
|
|
font-size: 12px;
|
|
|
|
padding: 8px 8px 12px 8px;
|
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
|
|
|
}
|
|
|
|
|
2014-11-11 17:26:49 +01:00
|
|
|
.phui-feed-story-foot .phui-icon-view {
|
2013-04-15 04:32:26 +02:00
|
|
|
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;
|
|
|
|
}
|