Path: blob/master/webroot/rsrc/css/phui/object-item/phui-oi-list-view.css
12241 views
/**1* @provides phui-oi-list-view-css2*/34.phui-oi {5border-left-width: 0;6}78ul.phui-oi-list-view {9padding: 8px;10list-style: none;11}1213.device-desktop .phui-oi-list-view {14padding: 16px;15}1617.phui-oi-list-view + .phui-oi-list-view {18padding-top: 0;19}2021.phui-object-box .phui-oi-list-view .phui-oi {22margin: 0;23}2425.phui-oi-list-view .phui-info-view {26margin: 0;27}2829.phui-object-box .phui-oi-list-view .phui-info-view {30color: {$greytext};31border: none;32}3334.phui-oi {35border-style: solid;36border-color: {$lightgreyborder};37margin: 5px 0;38overflow: hidden;39background: {$page.content};40margin-bottom: 4px;41}4243.phui-oi .phui-icon-view {44display: inline-block;45}4647.phui-oi-frame {48border-color: {$lightblueborder};49border-width: 1px 1px 1px 0;50border-style: solid;51position: relative;52min-height: 33px;53overflow: hidden;54}5556.phui-oi-cover-image {57display: none;58}5960.phui-oi-no-bar .phui-oi-frame {61border-width: 1px;62}6364.device-desktop .phui-oi {65margin: 0 0 4px 0;66}6768.phui-object-box .phui-oi-list-view {69margin: 0;70}7172.phui-oi-status-icon {73font-weight: bold;74padding: 3px;75font-size: 16px;76}7778.phui-oi-list-view .phui-oi-col0 .phui-icon-view {79width: 17px;80text-align: center;81overflow: visible;82position: relative;83left: -1px;84}8586.phui-oi-name {87padding: 8px 8px 0;88white-space: nowrap;89word-wrap: break-word;90overflow: hidden;91text-overflow: ellipsis;92font-weight: bold;93-webkit-font-smoothing: antialiased;94}9596.device-phone .phui-oi-name {97overflow: normal;98white-space: normal;99font-weight: bold;100}101102.phui-oi-link {103display: inline;104}105106.phui-oi-objname {107color: {$blacktext};108cursor: text;109font-weight: bold;110}111112.phui-oi-content {113margin: 4px 8px 2px 0;114overflow: hidden;115}116117.phui-oi-grippable {118cursor: move;119}120121.device .phui-oi-grippable {122cursor: normal;123}124125.phui-oi-grip {126position: absolute;127top: 0;128bottom: 0;129left: 0;130width: 20px;131background: url('/rsrc/image/texture/grip.png') center center no-repeat;132}133134.phui-oi-ungrippable .phui-oi-grip {135opacity: 0.25;136}137138.device .phui-oi-grip {139display: none;140}141142.phui-oi-has-grip .phui-oi-frame {143padding-left: 16px;144}145146.device .phui-oi-grippable .phui-oi-frame {147padding-left: 0;148}149150.phui-oi-list-header {151padding: 0 0 8px 0;152color: {$darkgreytext};153}154155.phui-oi-table {156display: table;157table-layout: fixed;158width: 100%;159}160161.phui-oi-table-row {162display: table-row;163}164165.phui-oi-col0 {166width: 20px;167display: table-cell;168vertical-align: middle;169padding-left: 4px;170}171172.device-phone .phui-oi-col0 {173vertical-align: top;174padding-top: 8px;175}176177.phui-oi-col1 {178display: table-cell;179vertical-align: top;180}181182.phui-oi-col2 {183width: 160px;184display: table-cell;185vertical-align: top;186}187188.phui-oi-col2.phui-oi-side-column {189width: 200px;190}191192.device-phone .phui-oi-col1,193.device-phone .phui-oi-col2 {194display: block;195width: auto;196}197198/* - Item Actions --------------------------------------------------------------199200Action buttons, like "Edit" and "Delete".201202*/203204.phui-oi-actions {205position: absolute;206right: 4px;207top: 4px;208bottom: 4px;209vertical-align: middle;210text-align: right;211}212213.phui-oi-actions .phui-list-item-view {214float: right;215height: 100%;216width: 24px;217display: inline-block;218position: relative;219}220221.phui-oi-actions .phui-list-item-href {222display: inline-block;223position: relative;224width: 24px;225height: 100%;226}227228.device-desktop .phui-oi-actions .phui-list-item-href:hover {229background: {$hoverblue};230border-radius: 3px;231}232233.phui-oi-actions .phui-list-item-icon {234width: 14px;235height: 14px;236position: absolute;237display: block;238top: 50%;239margin-top: -7px;240left: 3px;241}242243.phui-oi-actions .phui-list-item-name {244display: none;245}246247.phui-oi-with-1-actions .phui-oi-content-box {248margin-right: 28px;249overflow: hidden;250}251252.phui-oi-with-2-actions .phui-oi-content-box {253margin-right: 54px;254overflow: hidden;255}256257.phui-oi-with-3-actions .phui-oi-content-box {258margin-right: 76px;259overflow: hidden;260}261262263/* - Object Box List -----------------------------------------------------------264265Tighter, stacking list when inside an Object Box266267*/268269.phui-object-box .phui-oi-list-view {270padding: 0;271border: none;272}273274.phui-object-box .phui-oi-frame {275border-right: none;276}277278.phui-object-box .phui-oi:last-child279.phui-oi-frame {280border-bottom: none;281}282283284/* - Subhead -------------------------------------------------------------------285286Descriptive Text or Links under the main header, before attributes.287288*/289290.phui-oi-subhead {291color: {$greytext};292padding: 0 8px 6px;293}294295.phui-oi-description {296display: none;297}298299.phui-oi-description.phui-oi-description-reveal {300display: block;301}302303.phui-oi-description-tag {304margin-left: 4px;305}306307.phui-oi-description-tag:hover .phui-tag-core {308cursor: pointer;309background: {$darkgreybackground};310}311312.phui-oi-description-tag .phui-tag-core {313border: none;314}315316.phui-oi-description-tag.phui-tag-view .phui-icon-view {317margin: 2px;318}319320321/* - Attribute List ------------------------------------------------------------322323Object attributes, commonly used to render created date, etc.324325*/326327.phui-oi-attributes {328padding: 0 8px 6px;329line-height: 18px;330min-height: 21px;331}332333.phui-oi-attribute {334display: inline-block;335color: {$greytext};336vertical-align: top;337margin-right: 4px;338}339340.phui-oi-attribute-spacer {341padding: 0 4px;342}343344345/* - Icons ---------------------------------------------------------------------346347Icons, which show object state. On mobile, they are rendered without labels348to save space.349350*/351352.phui-object-icon-pane {353margin: 8px 0 4px;354}355356.device-phone .phui-object-icon-pane {357margin: 0 0 4px;358}359360.phui-oi-icons {361padding: 0 4px 0 0;362}363364.device-phone .phui-oi-icons {365padding: 0 0 0 8px;366}367368ul.phui-oi-icons {369margin: 0;370}371372.phui-oi-icon {373vertical-align: middle;374font-size: {$smallerfontsize};375color: {$greytext};376text-align: right;377white-space: nowrap;378overflow: hidden;379min-height: 18px;380line-height: 18px;381}382383.device-phone .phui-oi-icon {384text-align: left;385font-size: 13px;386}387388/*389* Items with icon 'none' still have on mobile, thus creating a weird vertical390* margin for elements which follow391*/392.device-phone .phui-oi-icon .none {393display: none;394}395396.phui-oi-icon-image {397width: 14px;398height: 14px;399font-size: 13px;400margin-right: 4px;401}402403404/* - Disabled ------------------------------------------------------------------405406Disabled/inactive objects.407408*/409410411.phui-oi.phui-oi-disabled .phui-oi-link,412.phui-oi.phui-oi-disabled .phui-oi-link a {413color: {$lightgreytext};414}415416.phui-oi.phui-oi-disabled .phui-oi-frame {417border-color: #d7d7d7;418}419420.phui-oi.phui-oi-disabled .phui-oi-objname {421color: {$greytext};422text-decoration: line-through;423}424425.phui-oi.phui-oi-disabled .phui-oi-image {426opacity: .8;427-webkit-filter: grayscale(100%);428filter: grayscale(100%);429}430431.phui-oi.phui-oi-disabled .phui-oi-attribute,432.phui-oi.phui-oi-disabled .phui-oi-attribute > .phui-icon-view {433color: {$lightgreytext};434}435436437/* - Effects -------------------------------------------------------------------438439Effects like highlighted items.440441*/442443.phui-oi.phui-oi-highlighted {444background: {$sh-yellowbackground};445}446447ul.phui-oi-list-view .phui-oi-highlighted448.phui-oi-frame {449border-color: {$sh-yellowborder};450}451452.phui-oi-selected {453background: {$sh-bluebackground};454}455456ul.phui-oi-list-view .phui-oi-selected457.phui-oi-frame {458border-color: {$sh-blueborder};459}460461.phui-oi-forbidden {462background: {$sh-redbackground};463}464465466/* - Handle Icons --------------------------------------------------------------467468Shows owners, reviewers, etc., using profile picture icons.469470*/471472.phui-oi-handle-icons {473bottom: 0;474right: 4px;475position: absolute;476}477478.phui-oi-handle-icon {479width: 24px;480height: 24px;481display: inline-block;482background-size: 100%;483border-radius: 3px;484background-repeat: no-repeat;485}486487488/* - Bylines -------------------------------------------------------------------489490Shows owners, authors, reviewers, etc., in text.491492*/493494.phui-oi-bylines {495padding: 0 4px 0 8px;496margin: 4px 0 8px;497font-size: {$smallerfontsize};498color: {$greytext};499text-align: right;500}501502.phui-oi-byline {503white-space: nowrap;504text-overflow: ellipsis;505overflow: hidden;506}507508.device-phone .phui-oi-bylines {509float: none;510text-align: left;511padding: 0 8px;512font-size: {$normalfontsize};513}514515516/* - Draggable List ------------------------------------------------------------517518These classes are applied by and/or provided for use with JX.DraggableList.519520*/521522.drag-ghost {523position: relative;524background: {$sh-indigobackground};525border-radius: 3px;526margin-bottom: 4px;527border: 1px dashed {$sh-indigoborder};528}529530.drag-dragging {531opacity: 0.25;532}533534.drag-sending {535opacity: 0.5;536}537538.drag-clone,539.drag-frame {540/* This allows mousewheel events to pass through the clone and frame while541they are being dragged. Without this, the mousewheel does not work during542a drag operation. */543pointer-events: none;544}545546.drag-frame {547position: fixed;548overflow: hidden;549left: 0;550right: 0;551top: 0;552bottom: 0;553}554555.drag-clone {556position: absolute;557list-style: none;558}559560/* - Badges ---------------------------------------------------------------- */561562.phui-oi-col0.phui-oi-badge {563width: 28px;564}565566.phui-oi-col0.phui-oi-badge .phui-icon-view {567left: 0;568}569570/* - Countdowns ------------------------------------------------------------ */571572.phui-oi-col0.phui-oi-countdown {573width: 52px;574padding: 0;575}576577.phui-oi-countdown .phui-oi-countdown-number {578border-right: 1px solid {$thinblueborder};579text-align: center;580color: {$bluetext};581}582583584/* - Dashboards ------------------------------------------------------------ */585586.phui-object-box .phui-oi-list-view .phui-oi-frame {587border: none;588border-bottom: 1px solid {$thinblueborder};589}590591.drag-clone.phui-oi-standard .phui-oi-frame {592border: none;593opacity: 0.8;594background: {$sh-bluebackground};595}596597.phui-object-box .phui-oi-list-header {598font-size: {$normalfontsize};599color: {$darkbluetext};600border-top: 1px solid {$thinblueborder};601border-bottom: 1px solid {$thinblueborder};602padding: 8px 12px;603background-color: {$lightgreybackground};604}605606.phui-object-box .phui-header-shell + .phui-oi-list-view .phui-oi-list-header,607.phui-object-box .phui-object-box-hidden-content + .phui-oi-list-view608.phui-oi-list-header,609.phui-object-box .phui-object-box-hidden-content + .phui-oi-list-header {610border-top: none;611}612613.device-desktop .aphront-multi-column-fluid .aphront-multi-column-2-up614.aphront-multi-column-column-outer.third .phui-oi-col2 {615display: none;616}617618619/* - Launcher List ---------------------------------------------------------- */620621.phui-oi-image-icon {622background: none;623width: 40px;624height: 40px;625margin: 8px 6px;626position: absolute;627}628629.phui-oi-image-icon .phui-icon-view {630position: absolute;631width: 40px;632height: 40px;633font-size: 26px;634text-align: center;635line-height: 36px;636}637638.phui-oi-image {639width: 40px;640height: 40px;641border-radius: 3px;642background-size: 100%;643margin: 8px 6px;644position: absolute;645}646647.phui-oi-with-image-icon .phui-oi-frame,648.phui-oi-with-image .phui-oi-frame {649min-height: 52px;650}651652.phui-oi-with-image-icon .phui-oi-content-box,653.phui-oi-with-image .phui-oi-content-box {654margin-left: 46px;655}656657/* - Launcher Button -------------------------------------------------------- */658659.phui-oi-col2.phui-oi-side-column {660text-align: right;661vertical-align: middle;662padding-right: 4px;663}664665.device-phone .phui-oi-col2.phui-oi-side-column {666padding: 0 8px 8px;667text-align: left;668}669670.phui-oi-col0.phui-oi-checkbox {671width: 28px;672text-align: center;673}674675.phui-oi-selectable {676cursor: pointer;677user-select: none;678-webkit-user-select: none;679}680681/* When the list selection state can be toggled on the client (as in the bulk682editor), keep the border color consistent to make the interaction feel more683robust. */684ul.phui-oi-list-view .phui-oi-selectable685.phui-oi-frame {686border-color: {$blueborder};687}688689.differential-revision-size {690padding: 0 4px;691border-radius: 4px;692background: {$lightgreybackground};693cursor: pointer;694}695696.differential-revision-size .phui-icon-view {697margin: 0 1px 0 1px;698font-size: 7px;699position: relative;700top: -2px;701color: {$lightbluetext};702}703704.differential-revision-large {705background: {$sh-orangebackground};706}707708/* NOTE: These are intentionally using nonstandard colors, see T13127. */709710.differential-revision-large .phui-icon-view {711color: #e5ae7e;712}713714.differential-revision-small {715background: #f2f7ff;716}717718.differential-revision-small .phui-icon-view {719color: #6699ba;720}721722.phui-oi-tail {723text-align: center;724padding: 8px 0;725background: linear-gradient({$lightbluebackground}, #fff 66%, #fff);726}727728.phui-oi-menu {729background: {$lightbluebackground};730border-style: solid;731border-color: {$thinblueborder};732padding: 4px;733}734735.device-desktop .phui-oi-menu,736.device-tablet .phui-oi-menu {737width: 200px;738border-width: 0 0 0 1px;739}740741.device-phone .phui-oi-menu {742border-width: 1px 0 0;743}744745746