Path: blob/master/webroot/rsrc/css/phui/phui-list.css
12242 views
/**1* @provides phui-list-view-css2*/34.phui-list-item-view {5position: relative;6}78.phui-list-item-header,9.phui-list-item-header a {10color: {$bluetext};11font-weight: bold;12-webkit-font-smoothing: antialiased;13}1415/* - Sidenav and Actions -------------------------------------------------------1617Sidebar and Action Menus1819*/2021.phui-list-sidenav {22padding: 4px 0;23}2425.phui-list-sidenav .phui-list-item-type-label .phui-list-item-name {26font-weight: bold;27color: {$bluetext};28padding: 4px 8px 6px 8px;29display: block;30-webkit-font-smoothing: antialiased;31}3233.phui-list-sidenav .phui-list-item-type-divider {34margin: 8px 8px 12px 8px;35border-bottom: 1px solid {$thinblueborder};36}3738.phui-list-sidenav .phui-list-item-icon {39height: 14px;40width: 14px;41display: inline-block;42position: absolute;43top: 6px;44text-align: center;45}4647.phui-list-sidenav .phui-list-item-icon + .phui-list-item-name {48padding-left: 20px;49}5051.phui-list-sidenav .phui-list-item-has-icon {52margin: 0;53position: relative;54}5556.phui-list-sidenav .phui-list-item-view {57overflow: hidden;58}5960.phui-list-sidenav .phui-list-item-href {61display: block;62padding: 4px 16px;63clear: both;64color: {$darkgreytext};65line-height: 18px;66}6768.phabricator-side-menu .phui-list-item-disabled .phui-list-item-href,69.phui-list-sidenav .phui-list-item-disabled .phui-list-item-href {70color: {$lightgreytext};71}7273.phui-list-sidenav .phui-list-item-has-icon .phui-list-item-href {74padding: 4px 10px;75}7677.phabricator-side-menu .phui-list-item-has-icon .phui-list-item-indented {78padding-left: 24px;79}8081.device-desktop .phui-list-sidenav .phui-list-item-href:hover {82background: {$sky};83color: white;84cursor: pointer;85text-decoration: none;86}8788.device-desktop .phui-list-sidenav .phui-list-item-href:hover .phui-icon-view {89color: {$page.content};90}9192/* - Top, Full Width Navigations -----------------------------------------------9394Sets a page or box with a top navbar9596*/9798.phui-list-view.phui-list-navbar {99list-style: none;100overflow: hidden;101}102103.phui-list-view.phui-list-navbar-horizontal {104border-bottom: 1px solid {$thinblueborder};105}106107.phui-list-view.phui-list-navbar > li {108list-style: none;109display: block;110}111112.phui-list-view.phui-list-navbar-horizontal > li {113float: left;114border-right: 1px solid {$thinblueborder};115}116117.phui-list-navbar .phui-list-item-href {118color: {$bluetext};119line-height: 16px;120}121122.phui-list-navbar-horizontal .phui-list-item-href {123padding: 8px 16px;124}125126.phui-list-navbar-vertical .phui-list-item-href {127padding: 8px 12px;128}129130.phui-list-navbar-vertical {131box-shadow: 0 1px 0 rgba({$alphablue}, 0.05);132}133134.phui-list-navbar-vertical .phui-list-item-href {135display: block;136background: #ffffff;137}138139.phui-list-navbar .phui-list-item-selected .phui-list-item-href {140background: {$lightbluebackground};141color: {$darkbluetext};142font-weight: bold;143}144145.phui-tab-group-view-tab-column {146width: 220px;147border-right: 1px solid {$thinblueborder};148background: {$lightgreybackground};149}150151.phui-list-navbar .phui-list-item-href:hover {152background: rgba(100,100,100,.1);153color: {$darkgreytext};154text-decoration: none;155}156157.phui-list-navbar .phui-list-item-icon {158height: 14px;159width: 14px;160font-size: 14px;161text-align: center;162}163164.phui-list-navbar-vertical .phui-list-item-icon {165margin-right: 8px;166}167168.phui-list-navbar-horizontal .phui-list-item-icon {169display: block;170}171172.device-phone .phui-list-view.phui-list-navbar-horizontal > li {173float: none;174border: none;175}176177/* - Two Column View, Responsive Navigations -----------------------------------178179Sets a two column page with a responsive, top navbar180181*/182183.phui-list-view.phui-list-tabbar {184list-style: none;185overflow: hidden;186}187188.phui-list-view.phui-list-tabbar > li {189list-style: none;190float: left;191display: block;192}193194.phui-list-view.phui-list-tabbar > li > * {195display: block;196}197198.phui-list-tabbar .phui-list-item-href {199color: {$bluetext};200padding: 8px 24px;201line-height: 24px;202font-weight: bold;203font-size: {$biggerfontsize};204border-top: 4px solid transparent;205}206207.phui-list-tabbar .phui-list-item-selected .phui-list-item-href {208color: {$sky};209border-bottom: 4px solid {$sky};210}211212.phui-list-tabbar .phui-list-item-selected .phui-list-item-href213.phui-icon-view {214color: {$sky};215}216217.device-desktop .phui-list-tabbar .phui-list-item-href:hover {218color: {$sky};219text-decoration: none;220}221222.phui-list-tabbar .phui-list-item-icon {223height: 20px;224width: 20px;225display: none;226font-size: 20px;227text-align: center;228}229230.device-phone .phui-list-tabbar .phui-list-item-icon {231display: inline-block;232}233234.device-phone .phui-list-tabbar .phui-list-item-name {235display: none;236}237238.device-phone .phui-list-tabbar .phui-list-item-href {239padding: 8px 16px;240}241242.device-phone .phui-list-view.phui-list-navbar > li {243float: none;244border: none;245}246247/* - Status Colors -------------------------------------------------------------248249Colors for navbars250251*/252253.phui-list-item-warn .phui-list-item-href {254color: #bc7837;255}256257.phui-list-item-fail .phui-list-item-href {258color: {$red};259}260261.phui-list-item-warn.phui-list-item-selected .phui-list-item-href,262.phui-list-item-warn .phui-list-item-href:hover {263background: {$lightyellow};264color: #bc7837;265}266267.phui-list-item-fail.phui-list-item-selected .phui-list-item-href,268.phui-list-item-fail .phui-list-item-href:hover {269background: {$lightred};270color: {$red};271}272273.phui-list-item-warn.phui-list-item-selected .phui-list-item-href:hover {274background: #fcf0bd;275}276277.phui-list-item-fail.phui-list-item-selected .phui-list-item-href:hover {278background: #f5d3d0;279}280281/* - Dashboards ------------------------------------------------------------ */282283.dashboard-panel .phui-list-view.phui-list-navbar {284border-left: 1px solid {$lightblueborder};285border-right: 1px solid {$lightblueborder};286border-bottom: 1px solid {$thinblueborder};287}288289/* - Info Stack ------------------------------------------------------------ */290291.phui-info-view + .phui-list-view {292margin-top: 16px;293border-top: 1px solid {$thinblueborder};294}295296/* - Action Icon ----------------------------------------------------------- */297298.phabricator-nav-local .phui-list-item-has-action-icon299.phui-list-item-action-href {300position: absolute;301width: 28px;302top: 0;303right: 0;304bottom: 0;305text-align: center;306line-height: 28px;307background-color: transparent;308display: none;309}310311.phabricator-nav-local .phui-list-item-has-action-icon.phui-list-item-selected312.phui-list-item-href {313padding-right: 32px;314}315316.phabricator-nav-local .phui-list-item-has-action-icon.phui-list-item-selected317.phui-list-item-action-href {318display: block;319}320321.phabricator-nav-local .phui-list-item-has-action-icon322.phui-list-item-action-href:hover {323background-color: rgba({$alphablack},.05);324}325326.phabricator-nav-local .phui-list-item-has-action-icon327.phui-list-item-action-icon {328opacity: 0.5;329}330331.phabricator-nav-local .phui-list-item-has-action-icon332.phui-list-item-action-href:hover333.phui-list-item-action-icon {334opacity: 1;335}336337/* - Item Counts ----------------------------------------------------------- */338339.phui-list-item-count {340position: absolute;341right: 7px;342top: 7px;343background: {$blue};344border-radius: 2px;345color: #fff;346font-weight: bold;347padding: 0 5px 1px;348font-size: {$smallestfontsize};349}350351352