Path: blob/master/webroot/rsrc/css/phui/phui-form-view.css
12241 views
/**1* @provides phui-form-view-css2*/34.phui-form-view {5padding: 16px;6}78.device-phone .phui-object-box .phui-form-view {9padding: 0;10}1112.phui-form-view.phui-form-full-width {13padding: 0;14}1516.phui-form-view label.aphront-form-label {17width: 19%;18height: 28px;19line-height: 28px;20float: left;21text-align: right;22font-weight: bold;23font-size: {$normalfontsize};24color: {$bluetext};25-webkit-font-smoothing: antialiased;26}2728.device-phone .phui-form-view label.aphront-form-label,29.phui-form-full-width.phui-form-view label.aphront-form-label {30display: block;31float: none;32text-align: left;33width: 100%;34margin-bottom: 3px;35}3637.aphront-form-input {38margin-left: 20%;39margin-right: 20%;40width: 60%;41}4243.device-phone .aphront-form-input,44.device .aphront-form-input select,45.device .aphront-form-input pre,46.phui-form-full-width .aphront-form-input {47margin-left: 0%;48margin-right: 0%;49width: 100%;50}5152.aphront-form-input *::-webkit-input-placeholder {53color:{$greytext} !important;54}5556.aphront-form-input *::-moz-placeholder {57color:{$greytext} !important;58opacity: 1; /* Firefox nudges the opacity to 0.4 */59}6061.aphront-form-input *:-ms-input-placeholder {62color:{$greytext} !important;63}646566.aphront-form-error {67width: 18%;68float: right;69color: {$red};70font-weight: bold;71padding-top: 5px;72}7374.aphront-form-label .aphront-form-error {75display: none;76}7778.aphront-dialog-body .phui-form-view {79padding: 0;80}8182.device-phone .aphront-form-error,83.phui-form-full-width .aphront-form-error {84display: none;85}8687.device-phone .aphront-form-label .aphront-form-error,88.phui-form-full-width .aphront-form-label .aphront-form-error {89display: block;90float: right;91padding: 0;92width: auto;93}9495.device-phone .aphront-form-drag-and-drop-upload {96display: none;97}9899.aphront-form-required {100font-weight: normal;101color: {$lightgreytext};102font-size: {$smallestfontsize};103-webkit-font-smoothing: antialiased;104}105106.aphront-form-input input[type="text"],107.aphront-form-input input[type="password"] {108width: 100%;109}110111.aphront-form-cvc-input input {112width: 64px;113}114115.aphront-form-input textarea {116display: block;117width: 100%;118box-sizing: border-box;119height: 12em;120}121122.aphront-form-control {123padding: 4px;124}125126.device-phone .aphront-form-control {127padding: 4px 8px 8px;128}129130.phui-form-full-width .aphront-form-control {131padding: 4px 0;132}133134.aphront-form-control-submit button,135.aphront-form-control-submit a.button,136.aphront-form-control-submit input[type="submit"] {137float: right;138margin: 4px 0 0 8px;139}140141.aphront-form-control-textarea textarea.aphront-textarea-very-short {142height: 44px;143}144145.aphront-form-control-textarea textarea.aphront-textarea-very-tall {146height: 24em;147}148149.phui-form-view .aphront-form-caption {150font-size: {$smallerfontsize};151color: {$bluetext};152padding: 8px 0;153margin-right: 20%;154margin-left: 20%;155-webkit-font-smoothing: antialiased;156line-height: 16px;157}158159.device-phone .phui-form-view .aphront-form-caption,160.phui-form-full-width .phui-form-view .aphront-form-caption {161margin: 0;162}163164.aphront-form-instructions {165width: 60%;166margin-left: 20%;167padding: 12px 4px;168color: {$darkbluetext};169}170171.device .aphront-form-instructions,172.phui-form-full-width .aphront-form-instructions {173width: auto;174margin: 0;175padding: 12px 8px 8px;176}177178.aphront-form-important {179margin: .5em 0;180background: #ffffdd;181padding: .5em 1em;182}183.aphront-form-important code {184display: block;185padding: .25em;186margin: .5em 2em;187}188189.aphront-form-control-markup .aphront-form-input {190font-size: {$normalfontsize};191padding: 3px 0;192}193194.aphront-form-control-static .aphront-form-input {195line-height: 28px;196}197198.aphront-form-control-togglebuttons .aphront-form-input {199padding: 2px 0 0 0;200}201202table.aphront-form-control-radio-layout,203table.aphront-form-control-checkbox-layout {204margin-top: 4px !important;205font-size: {$normalfontsize};206}207208table.aphront-form-control-radio-layout th {209padding-left: 8px;210padding-bottom: 8px;211font-weight: bold;212color: {$darkgreytext};213}214215216table.aphront-form-control-checkbox-layout th {217padding-top: 2px;218padding-left: 8px;219padding-bottom: 4px;220color: {$darkgreytext};221}222223.aphront-form-control-radio-layout td input,224.aphront-form-control-checkbox-layout td input {225margin-top: 4px;226width: auto;227}228229.aphront-form-control-radio-layout label.disabled,230.aphront-form-control-checkbox-layout label.disabled {231color: {$greytext};232}233234.aphront-form-radio-caption {235margin-top: 4px;236font-size: {$smallerfontsize};237font-weight: normal;238color: {$bluetext};239}240241.aphront-form-control-image span {242margin: 0 4px 0 2px;243}244245.aphront-form-control-image .default-image {246display: inline;247width: 12px;248}249250.aphront-form-input hr {251border: none;252background: #bbbbbb;253height: 1px;254position: relative;255}256257.phui-form-inset {258margin: 12px 0;259padding: 8px;260background: #f7f9fd;261border: 1px solid {$lightblueborder};262border-radius: 3px;263}264265.phui-form-inset h1 {266color: {$bluetext};267padding-bottom: 8px;268margin-bottom: 8px;269font-size: {$biggerfontsize};270border-bottom: 1px solid {$thinblueborder};271}272273.aphront-form-drag-and-drop-file-list {274width: 400px;275}276277.drag-and-drop-instructions {278color: {$darkgreytext};279font-size: {$smallestfontsize};280padding: 6px 8px;281}282283.drag-and-drop-file-target {284border: 1px dashed #bfbfbf;285padding-top: 12px;286padding-bottom: 12px;287}288289body .phui-form-view .remarkup-assist-textarea.aphront-textarea-drag-and-drop {290background: {$sh-greenbackground};291border: 1px solid {$sh-greenborder};292}293294.aphront-form-crop .crop-box {295cursor: move;296overflow: hidden;297}298299.aphront-form-crop .crop-box .crop-image {300position: relative;301top: 0px;302left: 0px;303}304305.calendar-button {306display: inline;307padding: 8px 4px;308margin: 2px 8px 2px 2px;309position: relative;310}311312.aphront-form-date-container {313position: relative;314display: inline;315}316317.aphront-form-date-container select {318margin: 2px;319display: inline;320}321.aphront-form-date-container input.aphront-form-date-enabled-input {322width: auto;323display: inline;324margin-right: 8px;325font-size: 16px;326}327328.aphront-form-date-container .aphront-form-time-input-container,329.aphront-form-date-container .aphront-form-date-input-container {330position: relative;331display: inline-block;332width: 7em;333}334335.aphront-form-date-container input.aphront-form-time-input,336.aphront-form-date-container input.aphront-form-date-input {337width: 7em;338}339340.aphront-form-time-input-container div.jx-typeahead-results a.jx-result {341border: none;342}343344.phui-time-typeahead-value {345padding: 4px;346}347348.fancy-datepicker {349position: absolute;350width: 240px;351}352353.device .fancy-datepicker {354width: 100%;355}356357.fancy-datepicker-core {358width: 240px;359margin: 0 auto;360padding: 1px;361font-size: {$smallerfontsize};362text-align: center;363}364365.fancy-datepicker-core .month-table,366.fancy-datepicker-core .day-table {367margin: 0 auto;368border-collapse: separate;369border-spacing: 1px;370width: 100%;371}372373.fancy-datepicker-core .month-table {374margin-bottom: 6px;375font-size: {$normalfontsize};376background-color: {$hoverblue};377border-radius: 2px;378}379380.fancy-datepicker-core .month-table td.lrbutton {381width: 18%;382color: {$lightbluetext};383}384385.fancy-datepicker-core .month-table td {386padding: 4px;387font-weight: bold;388color: {$bluetext};389}390391.fancy-datepicker-core .month-table td.lrbutton:hover {392border-radius: 2px;393background: {$hoverselectedblue};394color: {$darkbluetext};395}396397.fancy-datepicker-core .day-table td {398overflow: hidden;399vertical-align: center;400text-align: center;401border: 1px solid {$thinblueborder};402padding: 4px 0;403}404405.fancy-datepicker .fancy-datepicker-core .day-table td.day:hover {406background-color: {$hoverblue};407border-color: {$lightblueborder};408}409410.fancy-datepicker-core .day-table td.day-placeholder {411border-color: transparent;412background: transparent;413}414415.fancy-datepicker-core .day-table td.weekend {416color: {$lightgreytext};417border-color: {$lightgreyborder};418background: {$lightgreybackground};419}420421.fancy-datepicker-core .day-table td.day-name {422background: transparent;423border: 1px transparent;424vertical-align: bottom;425color: {$lightgreytext};426}427428.fancy-datepicker-core .day-table td.today {429background: {$greybackground};430border-color: {$greyborder};431color: {$darkgreytext};432font-weight: bold;433}434435.fancy-datepicker-core .day-table td.datepicker-selected {436background: {$lightgreen};437border-color: {$green};438color: {$green};439}440441.fancy-datepicker-core td {442cursor: pointer;443}444445.fancy-datepicker-core td.novalue {446cursor: inherit;447}448449.picker-open .calendar-button .phui-icon-view {450color: {$sky};451}452453.fancy-datepicker-core {454background-color: white;455border: 1px solid {$lightgreyborder};456box-shadow: {$dropshadow};457border-radius: 3px;458}459460/* When the activation checkbox for the control is toggled off, visually461disable the individual controls. We don't actually use the "disabled" property462because we still want the values to submit. This is just a visual hint that463the controls won't be used. The controls themselves are still live, work464properly, and submit values. */465.datepicker-disabled select,466.datepicker-disabled .calendar-button,467.datepicker-disabled input[type="text"] {468opacity: 0.5;469}470471.aphront-form-date-container.no-time .aphront-form-time-input{472display: none;473}474475.login-to-comment {476margin: 12px;477}478479.phui-form-divider hr {480height: 1px;481border: 0;482background: {$thinblueborder};483width: 85%;484margin: 15px auto;485}486487.recaptcha_only_if_privacy {488display: none;489}490491.phabricator-standard-custom-field-header {492font-size: 16px;493color: {$bluetext};494border-bottom: 1px solid {$lightbluetext};495padding: 16px 0 4px;496margin-bottom: 4px;497}498499.device-desktop .text-with-submit-control-outer-bounds {500position: relative;501}502503.device-desktop .text-with-submit-control-text-bounds {504position: absolute;505left: 0;506right: 184px;507}508509.device-desktop .text-with-submit-control-submit-bounds {510text-align: right;511}512513.device-desktop .text-with-submit-control-submit {514width: 180px;515}516517.phui-form-iconset-table td {518vertical-align: middle;519padding: 4px 0;520}521522.phui-form-iconset-table .phui-form-iconset-button-cell {523padding: 4px 8px;524}525526.aphront-form-preview-hidden {527opacity: 0.5;528}529530.aphront-form-error .phui-icon-view {531float: right;532color: {$lightgreyborder};533font-size: 20px;534}535536.device-desktop .aphront-form-error .phui-icon-view:hover {537color: {$red};538}539540.phui-form-static-action {541height: 28px;542line-height: 28px;543color: {$bluetext};544}545546.phuix-form-checkbox-action {547padding: 4px;548color: {$bluetext};549}550551.phuix-form-checkbox-action input[type=checkbox] {552margin: 4px 0;553}554555.phuix-form-checkbox-label {556margin-left: 4px;557}558559.phui-form-timer-icon {560width: 28px;561height: 28px;562padding: 4px;563font-size: 18px;564background: {$greybackground};565border-radius: 4px;566text-align: center;567vertical-align: middle;568text-shadow: 1px 1px rgba(0, 0, 0, 0.05);569}570571.phui-form-timer-content {572padding: 4px 8px;573color: {$darkgreytext};574vertical-align: middle;575}576577.mfa-form-enroll-button {578text-align: center;579}580581.phui-form-timer-updated {582animation: phui-form-timer-fade-in 2s linear;583}584585586@keyframes phui-form-timer-fade-in {5870% {588background-color: {$lightyellow};589}590100% {591background-color: transparent;592}593}594595596