1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 15:22:41 +01:00
phorge-phorge/webroot/rsrc/css/phui/phui-workboard-view.css
Chad Little 38739755c6 Make workboards truly 'fixed' in display
Summary:
**WIP**

This sets a shadow fixed to the full screen of the browser for which panels to live in. I have some minor things to fix, but play with it.

Specifically I haven't been able to dig up when stuff that overflowwed, doesn't always render even after scroll.

Test Plan: Test on a board with many tasks, many panels, small screens. Test on mobile too!

Reviewers: epriestley, btrahan

Reviewed By: btrahan

Subscribers: qgil, epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9005
2014-05-08 14:21:32 -07:00

79 lines
1.4 KiB
CSS

/**
* @provides phui-workboard-view-css
*/
.phui-workboard-view {
width: 100%;
}
.device-desktop .phui-workboard-view-shadow {
overflow-x: auto;
position: absolute;
top: 120px;
bottom: 0;
left: 0;
right: 0;
}
.phui-workboard-view-shadow::-webkit-scrollbar {
height: 12px;
width: 12px;
background: rgba(200,200,200,.6);
}
.phui-workboard-view-shadow::-webkit-scrollbar-thumb {
background: {$lightbluetext};
}
.phui-workboard-action-list {
width: 60px;
float: left;
min-height: 60px;
border-radius: 5px;
margin-right: 8px;
background: {$lightbluebackground};
border: 1px solid {$lightblueborder};
border-bottom: 1px solid {$blueborder};
}
.device-phone .phui-workboard-action-list {
width: 100%;
float: none;
display: block;
overflow: hidden;
border: none;
background: none;
border-radius: none;
min-height: 0;
}
.phui-workboard-action-list li:first-child {
padding-top: 5px;
}
.device-phone .phui-workboard-action-list li {
display: inline;
float: left;
margin: 0;
padding: 0 0 8px 0;
}
.phui-workboard-action-list .phui-icon-view {
display: inline-block;
vertical-align: top;
width: 50px;
height: 50px;
margin: 0 4px 5px 5px;
}
.device-phone .phui-workboard-action-list .phui-icon-view {
background-size: 35px;
height: 35px;
width: 35px;
margin: 0 3px;
}
.device-tablet .project-board-wrapper {
margin-left: 8px;
margin-right: 8px;
}