2013-04-05 16:40:27 +02:00
|
|
|
/**
|
|
|
|
* @provides phabricator-action-header-view-css
|
|
|
|
*/
|
|
|
|
|
|
|
|
.phabricator-action-header {
|
|
|
|
padding: 0 5px 0 8px;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phabricator-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-05-21 01:23:51 +02:00
|
|
|
.gradient-lightblue-header .phabricator-action-header-title {
|
2014-05-24 06:48:15 +02:00
|
|
|
color: {$darkbluetext};
|
2014-05-21 01:23:51 +02:00
|
|
|
}
|
|
|
|
|
2013-04-05 16:40:27 +02:00
|
|
|
.phabricator-action-header-icon-list {
|
|
|
|
float: right;
|
|
|
|
padding-top: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phabricator-action-header-icon-item {
|
|
|
|
float: right;
|
2014-05-21 19:18:43 +02:00
|
|
|
padding-left: 4px;
|
2013-04-05 16:40:27 +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
|
|
|
.phabricator-action-header-icon-item .phui-icon-view {
|
|
|
|
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-01-14 23:09:52 +01:00
|
|
|
.phabricator-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
|
|
|
}
|
|
|
|
|
|
|
|
.phabricator-action-header-link {
|
2013-09-07 18:13:55 +02:00
|
|
|
color: {$darkgreytext};
|
2013-04-05 16:40:27 +02:00
|
|
|
}
|
|
|
|
|
2014-06-02 20:45:30 +02:00
|
|
|
.phabricator-action-header.gradient-green-header {
|
|
|
|
background: {$green};
|
|
|
|
}
|
|
|
|
|
|
|
|
.phabricator-action-header.gradient-blue-header {
|
|
|
|
background: {$blue};
|
|
|
|
}
|
|
|
|
|
|
|
|
.phabricator-action-header.gradient-yellow-header {
|
|
|
|
background: {$yellow};
|
|
|
|
}
|
|
|
|
|
|
|
|
.phabricator-action-header.gradient-red-header {
|
|
|
|
background: {$red};
|
|
|
|
}
|
|
|
|
|
2014-06-10 18:16:29 +02:00
|
|
|
.phabricator-action-header.gradient-white-header {
|
|
|
|
background: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dashboard-panel .phabricator-action-header.gradient-white-header {
|
|
|
|
border: 1px solid {$lightblueborder};
|
|
|
|
border-bottom: 1px solid {$thinblueborder};
|
|
|
|
border-top-right-radius: 3px;
|
|
|
|
border-top-left-radius: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phabricator-action-header.gradient-white-header .phabricator-action-header-title {
|
|
|
|
color: {$darkbluetext};
|
|
|
|
padding: 12px 0 12px 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2013-04-05 16:40:27 +02:00
|
|
|
.gradient-green-header .phabricator-action-header-title,
|
|
|
|
.gradient-red-header .phabricator-action-header-title,
|
|
|
|
.gradient-blue-header .phabricator-action-header-title,
|
|
|
|
.gradient-yellow-header .phabricator-action-header-title,
|
|
|
|
.gradient-green-header .phabricator-action-header-link,
|
|
|
|
.gradient-red-header .phabricator-action-header-link,
|
|
|
|
.gradient-blue-header .phabricator-action-header-link,
|
|
|
|
.gradient-yellow-header .phabricator-action-header-link {
|
|
|
|
color: #fff;
|
2014-06-02 20:45:30 +02:00
|
|
|
-webkit-font-smoothing: antialiased;
|
2013-04-05 16:40:27 +02:00
|
|
|
}
|
|
|
|
|
2014-01-14 23:09:52 +01:00
|
|
|
.phabricator-action-header-icon-list .phui-tag-view {
|
2013-09-24 17:42:04 +02:00
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
2013-04-05 16:40:27 +02:00
|
|
|
.phabricator-action-header-title span {
|
|
|
|
float: left;
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
2014-05-20 17:05:03 +02:00
|
|
|
|
2014-05-20 19:53:16 +02:00
|
|
|
/* - Dashboards ------------------------------------------------------------ */
|
2014-05-20 17:05:03 +02:00
|
|
|
|
2014-05-21 01:23:51 +02:00
|
|
|
.dashboard-panel .phabricator-action-header.gradient-grey-header,
|
|
|
|
.dashboard-panel .phabricator-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
|
|
|
}
|