mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-22 21:40:55 +01:00
6349741760
Summary: Cleans up Workboards to match the mocks. No new functionality, just more consistent colors/spacing/common components. Test Plan: Visit a few workboards, drag and drop items. Mobile, Tablet, Desktop {F1070733} Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D15115
207 lines
4.6 KiB
CSS
207 lines
4.6 KiB
CSS
/**
|
|
* @provides phui-workpanel-view-css
|
|
*/
|
|
|
|
.phui-workpanel-view .phui-header-shell {
|
|
padding: 8px;
|
|
width: 284px;
|
|
}
|
|
|
|
.phui-workpanel-view .phui-header-shell .phui-header-header {
|
|
font-size: {$biggerfontsize};
|
|
line-height: 18px;
|
|
color: {$darkbluetext};
|
|
}
|
|
|
|
.phui-workpanel-view .phui-header-shell .phui-header-subheader {
|
|
padding: 0 4px;
|
|
margin: 0;
|
|
display: inline-block;
|
|
color: {$lightgreytext};
|
|
}
|
|
|
|
.device-phone .phui-workboard-view {
|
|
width: auto;
|
|
}
|
|
|
|
.device .phui-workpanel-view .phui-header-shell {
|
|
width: auto;
|
|
}
|
|
|
|
.phui-workboard-view {
|
|
-webkit-touch-callout: none;
|
|
-webkit-user-select: none;
|
|
-khtml-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
.phui-workboard-view .phui-object-item {
|
|
background-color: #fff;
|
|
border-top-left-radius: 3px;
|
|
border-bottom-left-radius: 3px;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.phui-workboard-view .phui-object-item-frame {
|
|
border-top-right-radius: 3px;
|
|
border-bottom-right-radius: 3px;
|
|
}
|
|
|
|
.phui-workboard-view .phui-object-item .phui-object-item-objname {
|
|
-webkit-touch-callout: text;
|
|
-webkit-user-select: text;
|
|
-khtml-user-select: text;
|
|
-moz-user-select: text;
|
|
-ms-user-select: text;
|
|
user-select: text;
|
|
}
|
|
|
|
.phui-workboard-view .phui-object-item-link {
|
|
white-space: normal;
|
|
display: inline;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
.phui-workboard-view .phui-object-item-objname {
|
|
vertical-align: top;
|
|
}
|
|
|
|
.phui-workpanel-view .phui-workpanel-header-action {
|
|
float: right;
|
|
width: 24px;
|
|
border-left: 1px solid #b3b5b6;
|
|
}
|
|
|
|
.phui-workpanel-view .phui-workpanel-body {
|
|
padding: 8px 8px 4px 8px;
|
|
}
|
|
|
|
.phui-workpanel-view .phui-workpanel-footer-action a {
|
|
color: {$darkbluetext};
|
|
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: 14px;
|
|
width: 14px;
|
|
display: inline-block;
|
|
}
|
|
|
|
.phui-workpanel-view .phui-list-item-name {
|
|
padding-left: 5px;
|
|
display: inline-block;
|
|
}
|
|
|
|
.device-desktop .aphront-multi-column-fixed .phui-workpanel-view {
|
|
width: 300px;
|
|
}
|
|
|
|
.device-phone .aphront-multi-column-fixed .phui-workpanel-view,
|
|
.device-phone .phui-workpanel-view .phui-header-shell {
|
|
width: auto;
|
|
}
|
|
|
|
.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-panel-hidden {
|
|
opacity: 0.75;
|
|
}
|
|
|
|
.project-panel-empty .phui-object-item-list-view {
|
|
background: {$sh-indigobackground};
|
|
border-radius: 3px;
|
|
margin-bottom: 4px;
|
|
border: 1px dashed {$sh-indigoborder};
|
|
}
|
|
|
|
.project-panel-empty .phui-object-item-list-view .drag-ghost {
|
|
display: none;
|
|
}
|
|
|
|
.project-panel-empty .phui-object-item-list-view.drag-target-list {
|
|
background: rgba(255,255,255,.7);
|
|
}
|
|
|
|
.phui-workpanel-view.project-panel-over-limit .phui-header-header {
|
|
color: {$red};
|
|
}
|
|
|
|
.phui-workpanel-view.project-panel-over-limit .phui-header-shell {
|
|
border-color: {$red};
|
|
}
|
|
|
|
/* - Workpanel Cards -----------------------------------------------------------
|
|
|
|
Slight display changes for how cards work in tight spaces
|
|
|
|
*/
|
|
|
|
.phui-workpanel-view .phui-object-item-grippable .phui-object-item-frame {
|
|
padding-left: 0;
|
|
}
|
|
|
|
.phui-workpanel-view .phui-object-item-grip {
|
|
display: none;
|
|
}
|
|
|
|
.phui-workpanel-view .phui-object-item-attribute a {
|
|
color: {$bluetext};
|
|
}
|
|
|
|
|
|
/* - Draggable Colors --------------------------------------------------------*/
|
|
|
|
.phui-workboard-view .phui-object-item.drag-dragging {
|
|
box-shadow: {$dropshadow};
|
|
background-color: {$sh-greybackground};
|
|
}
|
|
|
|
.phui-workboard-view .drag-dragging.phui-object-item-bar-color-red {
|
|
background-color: {$sh-redbackground};
|
|
}
|
|
|
|
.phui-workboard-view .drag-dragging.phui-object-item-bar-color-orange {
|
|
background-color: {$sh-orangebackground};
|
|
}
|
|
|
|
.phui-workboard-view .drag-dragging.phui-object-item-bar-color-yellow {
|
|
background-color: {$sh-yellowbackground};
|
|
}
|
|
|
|
.phui-workboard-view .drag-dragging.phui-object-item-bar-color-green {
|
|
background-color: {$sh-greenbackground};
|
|
}
|
|
|
|
.phui-workboard-view .drag-dragging.phui-object-item-bar-color-blue {
|
|
background-color: {$sh-bluebackground};
|
|
}
|
|
|
|
.phui-workboard-view .drag-dragging.phui-object-item-bar-color-indigo {
|
|
background-color: {$sh-indigobackground};
|
|
}
|
|
|
|
.phui-workboard-view .drag-dragging.phui-object-item-bar-color-violet {
|
|
background-color: {$sh-violetbackground};
|
|
}
|
|
|
|
.phui-workboard-view .drag-dragging.phui-object-item-bar-color-pink {
|
|
background-color: {$sh-pinkbackground};
|
|
}
|
|
|
|
.phui-workboard-view .drag-dragging.phui-object-item-bar-color-sky {
|
|
background-color: {$sh-bluebackground};
|
|
}
|