1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-04 20:52:43 +01:00
phorge-phorge/webroot/rsrc/css/phui/phui-segment-bar-view.css
epriestley ad01e26af7 Redesign Home/Profile/Projects side navigation
Summary: Ref T11957. Needs some more polish, but I think everything here is square.

Test Plan: Add personal/global items to home, test mobile. Test workboards / colors.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: 20after4, rfreebern, Korvin

Maniphest Tasks: T11957

Differential Revision: https://secure.phabricator.com/D17259
2017-01-31 08:59:01 -08:00

76 lines
1.3 KiB
CSS

/**
* @provides phui-segment-bar-view-css
*/
.phui-segment-bar-label {
font-size: {$smallerfontsize};
margin-bottom: 4px;
}
.phui-basic-nav .phui-segment-bar-label {
width: 180px;
overflow: hidden;
text-overflow: ellipsis;
}
.phui-segment-bar-segments {
background: rgba({$alphablue}, .1);
border-radius: 4px;
position: relative;
overflow: hidden;
height: 8px;
}
.phui-segment-bar-segment-view {
position: absolute;
top: 0;
bottom: 0;
margin-left: -5px;
border-right: 5px solid;
border-radius: 0 4px 4px 0;
}
.phui-segment-bar-segment-view.red {
background: {$red};
border-color: {$red};
}
.phui-segment-bar-segment-view.orange {
background: {$orange};
border-color: {$orange};
}
.phui-segment-bar-segment-view.yellow {
background: {$yellow};
border-color: {$yellow}
}
.phui-segment-bar-segment-view.green {
background: {$green};
border-color: {$green};
}
.phui-segment-bar-segment-view.blue {
background: {$blue};
border-color: {$blue};
}
.phui-segment-bar-segment-view.indigo {
background: {$indigo};
border-color: {$indigo};
}
.phui-segment-bar-segment-view.violet {
background: {$violet};
border-color: {$violet};
}
.phui-segment-bar-segment-view.pink {
background: {$pink};
border-color: {$pink};
}
.phui-segment-bar-segment-view.sky {
background: {$sky};
border-color: {$sky};
}