mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-12 08:36:13 +01:00
cbd3c0b7ac
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
62 lines
1.1 KiB
CSS
62 lines
1.1 KiB
CSS
/**
|
|
* @provides phabricator-workboard-view-css
|
|
*/
|
|
|
|
.phabricator-workboard-view {
|
|
width: 100%;
|
|
}
|
|
|
|
.phabricator-workboard-view-shadow {
|
|
padding: 8px;
|
|
min-height: 120px;
|
|
overflow-x: scroll;
|
|
border-radius: 5px;
|
|
background: rgba(150,150,150,.1);
|
|
box-shadow: inset 0 0 5px rgba(0,0,0,.5);
|
|
}
|
|
|
|
.phabricator-workboard-action-list {
|
|
width: 60px;
|
|
float: left;
|
|
min-height: 60px;
|
|
border-top-left-radius: 5px;
|
|
border-bottom-left-radius: 5px;
|
|
margin-top: 40px;
|
|
background: rgba(150,150,150,.2);
|
|
}
|
|
|
|
.device-phone .phabricator-workboard-view-shadow {
|
|
background: none;
|
|
box-shadow: none;
|
|
padding: 0;
|
|
margin: 0 auto;
|
|
width: 100%;
|
|
}
|
|
|
|
.device-phone .phabricator-workboard-action-list {
|
|
width: 100%;
|
|
float: none;
|
|
display: block;
|
|
border-radius: 3px;
|
|
margin: 0 0 5px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.device-phone .phabricator-workboard-action-list li {
|
|
display: inline;
|
|
float: left;
|
|
margin: 0px;
|
|
}
|
|
|
|
.phabricator-workboard-action-list .phui-icon-view {
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
width: 50px;
|
|
height: 50px;
|
|
margin: 5px 4px 5px 5px;
|
|
}
|
|
|
|
.device-phone .phabricator-workboard-action-list .phui-icon-view {
|
|
margin-right: 0;
|
|
}
|
|
|