2013-04-05 16:40:27 +02:00
|
|
|
/**
|
2014-06-24 18:39:32 +02:00
|
|
|
* @provides phui-action-header-view-css
|
2013-04-05 16:40:27 +02:00
|
|
|
*/
|
|
|
|
|
2014-06-24 18:39:32 +02:00
|
|
|
.phui-action-header {
|
2013-04-05 16:40:27 +02:00
|
|
|
padding: 0 5px 0 8px;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2014-06-24 18:39:32 +02:00
|
|
|
.phui-action-header-title {
|
2013-09-07 18:13:55 +02:00
|
|
|
color: {$darkgreytext};
|
2013-04-05 16:40:27 +02:00
|
|
|
float: left;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: bold;
|
|
|
|
line-height: 15px;
|
|
|
|
padding: 8px 0;
|
|
|
|
white-space: nowrap;
|
2014-05-21 19:18:43 +02:00
|
|
|
-webkit-font-smoothing: antialiased;
|
2013-04-05 16:40:27 +02:00
|
|
|
}
|
|
|
|
|
2014-06-24 18:39:32 +02:00
|
|
|
.gradient-lightblue-header .phui-action-header-title {
|
2014-05-24 06:48:15 +02:00
|
|
|
color: {$darkbluetext};
|
2014-05-21 01:23:51 +02:00
|
|
|
}
|
|
|
|
|
2014-06-24 18:39:32 +02:00
|
|
|
.phui-action-header-icon-list {
|
2013-04-05 16:40:27 +02:00
|
|
|
float: right;
|
|
|
|
padding-top: 4px;
|
|
|
|
}
|
|
|
|
|
2014-06-24 18:39:32 +02:00
|
|
|
.phui-action-header-icon-item {
|
2013-04-05 16:40:27 +02:00
|
|
|
float: right;
|
2014-05-21 19:18:43 +02:00
|
|
|
padding-left: 4px;
|
2013-04-05 16:40:27 +02:00
|
|
|
}
|
|
|
|
|
2014-06-24 18:39:32 +02:00
|
|
|
.phui-action-header-icon-item .phui-icon-view {
|
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;
|
2014-05-21 19:18:43 +02:00
|
|
|
font-size: 18px;
|
|
|
|
margin: 4px 0;
|
|
|
|
height: 18px;
|
|
|
|
width: 18px;
|
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
|
|
|
}
|
|
|
|
|
2014-06-24 18:39:32 +02:00
|
|
|
.phui-action-header-icon-item .phui-tag-view {
|
2013-04-05 16:40:27 +02:00
|
|
|
margin: 4px 2px 0;
|
Remove nowrap from PHUITagCore
Summary: Removes the outer inline-block on PHUITags, it isn't needed and causes issues in some browsers, like Chrome Android. Tags also wrap again on long tags.
Test Plan:
tested hovercards, tags, people tags, maniphest, project tags, typeahead tags.
Chrome, IE 8-11, Safari for good measure.
{F164573}
Reviewers: epriestley
Reviewed By: epriestley
Subscribers: epriestley, Korvin
Differential Revision: https://secure.phabricator.com/D9439
2014-06-10 22:33:38 +02:00
|
|
|
display: inline-block;
|
2013-04-05 16:40:27 +02:00
|
|
|
}
|
|
|
|
|
2014-06-24 18:39:32 +02:00
|
|
|
.phui-action-header-link {
|
2013-09-07 18:13:55 +02:00
|
|
|
color: {$darkgreytext};
|
2013-04-05 16:40:27 +02:00
|
|
|
}
|
|
|
|
|
2014-06-24 18:39:32 +02:00
|
|
|
.phui-action-header.gradient-white-header {
|
2014-06-10 18:16:29 +02:00
|
|
|
background: #fff;
|
|
|
|
}
|
|
|
|
|
2014-06-24 18:39:32 +02:00
|
|
|
.phui-action-header.gradient-white-header .phui-action-header-title {
|
2014-06-10 18:16:29 +02:00
|
|
|
color: {$darkbluetext};
|
|
|
|
padding: 12px 0 12px 4px;
|
|
|
|
}
|
|
|
|
|
2014-06-24 18:39:32 +02:00
|
|
|
.phui-action-header.gradient-white-header
|
|
|
|
.phui-action-header-icon-list .phui-icon-view {
|
2014-06-11 19:39:38 +02:00
|
|
|
color: {$lightbluetext};
|
|
|
|
}
|
|
|
|
|
2014-06-24 18:39:32 +02:00
|
|
|
.phui-action-header.gradient-white-header
|
|
|
|
.phui-action-header-icon-list .phui-icon-view:hover {
|
2014-06-11 19:39:38 +02:00
|
|
|
color: {$darkbluetext};
|
|
|
|
}
|
2014-06-10 18:16:29 +02:00
|
|
|
|
2014-06-24 18:39:32 +02:00
|
|
|
.phui-action-header-icon-list .phui-tag-view {
|
2013-09-24 17:42:04 +02:00
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
2014-11-04 20:11:15 +01:00
|
|
|
.phui-action-header-title .phui-icon-view {
|
2013-04-05 16:40:27 +02:00
|
|
|
float: left;
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
2014-05-20 17:05:03 +02:00
|
|
|
|
2014-11-04 20:11:15 +01:00
|
|
|
.phui-action-header-title .phui-action-header-subtitle {
|
|
|
|
margin-left: 4px;
|
|
|
|
font-weight: normal;
|
|
|
|
color: {$lightgreytext};
|
|
|
|
}
|
|
|
|
|
2014-05-20 19:53:16 +02:00
|
|
|
/* - Dashboards ------------------------------------------------------------ */
|
2014-05-20 17:05:03 +02:00
|
|
|
|
2014-06-24 18:39:32 +02:00
|
|
|
.dashboard-panel .phui-action-header.gradient-grey-header,
|
|
|
|
.dashboard-panel .phui-action-header.gradient-lightblue-header {
|
2014-05-20 19:53:16 +02:00
|
|
|
border: 1px solid {$lightblueborder};
|
|
|
|
border-bottom: 1px solid {$thinblueborder};
|
2014-05-20 17:05:03 +02:00
|
|
|
}
|
2014-06-11 19:39:38 +02:00
|
|
|
|
2014-06-24 18:39:32 +02:00
|
|
|
.dashboard-panel .phui-action-header.gradient-white-header {
|
2014-06-11 19:39:38 +02:00
|
|
|
border: 1px solid {$lightblueborder};
|
|
|
|
border-bottom: 1px solid {$thinblueborder};
|
|
|
|
border-top-right-radius: 3px;
|
|
|
|
border-top-left-radius: 3px;
|
|
|
|
}
|
|
|
|
|
2014-06-24 18:39:32 +02:00
|
|
|
.dashboard-panel .phui-action-header.gradient-white-header
|
|
|
|
.phui-action-header-icon-list {
|
2014-06-11 19:39:38 +02:00
|
|
|
padding-top: 6px;
|
|
|
|
padding-right: 6px;
|
|
|
|
}
|