Path: blob/master/webroot/rsrc/css/phui/phui-property-list-view.css
12241 views
/**1* @provides phui-property-list-view-css2*/34.phui-property-list-view .keyboard-shortcuts-available {5float: right;6height: 16px;7margin: 12px 10px -28px 0px;8padding: 0px 20px 0px 0px;9vertical-align: middle;10color: {$greytext};11text-align: right;12font-size: {$smallestfontsize};13background:14url('/rsrc/image/icon/fatcow/key_question.png') right center no-repeat;15}1617.device .keyboard-shortcuts-available {18display: none;19}2021.phui-property-group-noninitial,22.phui-property-list-section-noninitial {23border-color: {$thinblueborder};24border-style: solid;25border-width: 1px 0 0;26}2728.device-desktop .phui-property-list-container {29padding: 12px 0 12px 0;30width: 100%;31}3233.device .phui-property-list-container {34padding: 12px 0 4px 0;35}3637.phui-property-list-key {38color: {$bluetext};39font-weight: bold;40overflow: hidden;41white-space: nowrap;42}4344.device-desktop .phui-property-list-key {45width: 12%;46margin-left: 1%;47text-align: right;48float: left;49clear: left;50margin-bottom: 4px;51}5253.device-desktop .phui-property-list-has-actions .phui-property-list-key {54width: 18%;55}5657.phui-property-list-properties-wrap.phui-property-list-stacked {58width: auto;59float: none;60}6162.device .phui-property-list-key,63div.phui-property-list-stacked .phui-property-list-properties64.phui-property-list-key {65padding-left: 4px;66text-align: left;67margin-left: 0;68width: auto;69float: none;70}7172.phui-property-list-value {73color: {$darkgreytext};74}7576.device-desktop .phui-property-list-value {77width: 84%;78margin-left: 1%;79float: left;80margin-bottom: 4px;81word-wrap: break-word;82}8384.device-desktop .phui-property-list-has-actions .phui-property-list-value {85width: 78%;86}8788.device .phui-property-list-value,89.phui-property-list-stacked .phui-property-list-properties90.phui-property-list-value {91padding: 0 8px;92margin-bottom: 8px;93width: auto;94word-break: break-word;95float: none;96}9798.phui-property-list-section-header {99color: {$bluetext};100padding: 16px 4px 0px;101text-transform: uppercase;102font-weight: 700;103border-color: {$thinblueborder};104border-style: solid;105border-width: 1px 0 0;106}107108.phui-property-list-container + .phui-property-list-text-content {109border-color: {$thinblueborder};110border-style: solid;111border-width: 1px 0 0;112}113114.phui-property-list-section-noninitial .phui-property-list-section-header {115border-top: none;116}117118.device .phui-property-list-section-header {119padding-left: 4px;120}121122.phui-property-list-section-header-icon .phui-icon-view {123display: inline-block;124margin: -2px 4px -2px 0;125}126127.phui-property-list-text-content {128padding: 16px 4px;129overflow: hidden;130}131132.phui-property-list-raw-content {133padding: 0px;134overflow: hidden;135}136137/* In the common case where we immediately follow a header, move back up 30px138so we snuggle next to the header. */139.device-desktop .phui-header-view140+ .phabricator-action-list-view {141margin-top: -30px;142}143144.device-desktop .phui-header-view145+ .phabricator-action-list-view146+ .phui-property-list-view {147margin-top: 0px;148}149150151/* When tags appear in property lists, give them a little more vertical152spacing. */153.phui-property-list-value .phui-tag-view {154margin: 2px 0;155white-space: pre-wrap;156}157158.phui-property-list-has-actions .phui-property-list-properties-wrap {159float: left;160width: 78%;161}162163.device .phui-property-list-properties-wrap {164width: auto;165border: none;166float: none;167overflow: auto;168}169170.phui-property-list-actions {171width: 20%;172float: right;173margin-right: 12px;174border-left: 1px solid {$thinblueborder};175}176177!print .phui-property-list-actions {178display: none;179}180181.device .phui-property-list-actions {182float: none;183width: auto;184margin: -12px 0 12px 0;185border: none;186}187188.phui-property-list-image-content img {189margin: 20px auto;190background: url('/rsrc/image/checker_light.png');191}192193.device-desktop .phui-property-list-image-content img:hover {194background: url('/rsrc/image/checker_dark.png');195}196197/* - Dashboards ------------------------------------------------------------ */198199.dashboard-panel .phui-property-list-section {200border-left: 1px solid {$lightblueborder};201border-right: 1px solid {$lightblueborder};202border-bottom: 1px solid {$blueborder};203}204205206.document-engine-image img {207margin: 20px auto;208background: url('/rsrc/image/checker_light.png');209max-width: 100%;210}211212.device-desktop .document-engine-image img:hover {213background: url('/rsrc/image/checker_dark.png');214}215216.document-engine-video video {217margin: 20px auto;218display: block;219max-width: 95%;220}221222.document-engine-audio audio {223display: block;224margin: 16px auto;225width: 50%;226min-width: 240px;227}228229.document-engine-message {230margin: 20px auto;231text-align: center;232color: {$greytext};233}234235.document-engine-error {236margin: 20px;237padding: 12px;238text-align: center;239color: {$redtext};240background: {$sh-redbackground};241}242243.document-engine-hexdump {244margin: 20px;245white-space: pre;246}247248.document-engine-remarkup {249margin: 20px;250}251252.document-engine-pdf {253margin: 20px;254text-align: center;255}256257.document-engine-pdf .phabricator-remarkup-embed-layout-link {258text-align: left;259}260261.document-engine-text .phabricator-source-code-container {262border: none;263}264265.document-engine-jupyter {266overflow: hidden;267margin: 20px;268}269270.document-engine-jupyter.document-engine-diff {271margin: 0;272}273274.document-engine-in-flight {275opacity: 0.25;276}277278.document-engine-loading {279margin: 20px;280text-align: center;281color: {$lightgreytext};282}283284.document-engine-loading .phui-icon-view {285display: block;286font-size: 48px;287color: {$lightgreyborder};288padding: 8px;289}290291.jupyter-cell-raw {292white-space: pre-wrap;293background: {$lightgreybackground};294color: {$greytext};295padding: 8px;296}297298.jupyter-cell-code {299white-space: pre-wrap;300word-break: break-word;301background: {$lightgreybackground};302border-radius: 2px;303border-color: {$lightgreyborder};304border-style: solid;305}306307.jupyter-cell-code-block {308padding: 8px;309border-width: 1px;310}311312.jupyter-cell-code-line {313padding: 2px 8px;314border-width: 0 1px;315}316317td.new .jupyter-cell-code-line {318background: rgba(255, 255, 255, 0.5);319border-color: {$new-bright};320}321322td.old .jupyter-cell-code-line {323background: rgba(255, 255, 255, 0.5);324border-color: {$old-bright};325}326327.jupyter-cell-code-head {328border-top-width: 1px;329margin-top: 4px;330padding-top: 8px;331}332333.jupyter-cell-code-last {334border-bottom-width: 1px;335margin-bottom: 4px;336padding-bottom: 8px;337}338339.jupyter-notebook > tbody > tr > td {340padding: 8px;341}342343.jupyter-notebook > tbody > tr > td.jupyter-cell-flush {344padding-top: 0;345padding-bottom: 0;346}347348.jupyter-notebook,349.jupyter-notebook > tbody > tr > td {350width: 100%;351}352353.jupyter-notebook > tbody > tr > td.jupyter-label {354white-space: nowrap;355text-align: right;356min-width: 56px;357font-weight: bold;358width: auto;359padding: 8px 8px 0;360}361362.jupyter-output {363margin: 4px 0;364padding: 8px;365white-space: pre-wrap;366line-break: anywhere;367}368369.jupyter-output-stderr {370background: {$sh-redbackground};371}372373.jupyter-output-html {374background: {$sh-indigobackground};375}376377.jupyter-cell-markdown {378white-space: pre-wrap;379}380381382