1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 09:18:48 +02:00
phorge-phorge/webroot/rsrc/css/phui/phui-workpanel-view.css
epriestley a101b4ba2e Make the rest of the board drag-and-drop UI mostly work
Summary:
Ref T1344. Makes the UI/UX a little nicer; still no actual backend stuff. This changes:

  - When you drop an item onto a different column, the item actually moves.
  - Empty columns render with a special CSS class now, but no nodes in the list. This cleans up some JS jankiness. I made the "empty" columns have a light blue background for now. We could put some sort of subtle background image in them instead, or some kind of call to action if it's not redundant with other UI.

Test Plan: {F101208}

Reviewers: chad, btrahan

Reviewed By: chad

CC: chad, aran

Maniphest Tasks: T1344

Differential Revision: https://secure.phabricator.com/D7942
2014-01-13 12:24:13 -08:00

71 lines
1.5 KiB
CSS

/**
* @provides phui-workpanel-view-css
*/
.phui-workpanel-view .phabricator-action-header {
border: 1px solid #b3b5b6;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}
.device-phone .phui-workboard-view {
width: auto;
margin: 0 8px;
}
.phui-workpanel-view .phui-object-item-objname {
display: none;
}
.phui-workpanel-view .phui-workpanel-header-action {
float: right;
width: 24px;
border-left: 1px solid #b3b5b6;
}
.phui-workpanel-view .phui-workpanel-body {
background: {$backdrop};
padding: 5px 5px 1px 5px;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
box-shadow: inset 0 0px 5px rgba(0,0,0,.4);
}
.phui-workpanel-view .phui-workpanel-footer-action a {
color: #333;
font-weight: bold;
}
.device-desktop .phui-workpanel-view .phui-workpanel-footer-action:hover {
background-color: rgba(100,100,100,.1);
border-radius: 3px;
}
.phui-workpanel-view .phui-list-item-icon {
height: 12px;
width: 12px;
display: inline-block;
}
.phui-workpanel-view .phui-list-item-name {
padding-left: 5px;
display: inline-block;
}
.aphront-multi-column-fixed .phui-workpanel-body {
width: 300px;
}
.phui-workpanel-body .phui-object-item-list-view {
min-height: 54px;
}
.device .aphront-multi-column-outer
div.aphront-multi-column-column-outer .phui-workpanel-body {
width: auto;
}
.project-column-empty {
/* TODO: Use this to put some kind of reasonable null state in the columns? */
background: {$red};
}