label { display: block; position: relative; margin-bottom: 2px; text-transform: uppercase; color: #444; font-size: 11px; font-weight: bold; } /** Make sure the label is on top when an inline help text is displayed */ label:hover span.name { z-index: 4; position: relative; } select, textarea, input { font-family: Helvetica, "Sans-Serif"; display: block; width: 100%; border: solid 1px #888; line-height: 20px; padding: 2px; } textarea, input { padding: 2px; margin: 0 -2px; } .invalid input { border: solid 1px red; } textarea { width: 100%; height: 300px; } textarea.short { height: 100px; } .radio_input, .check_box_input { margin: 5px 0; position: relative; input { display: inline; width: auto; vertical-align: middle; margin-left: 5px; } /** Make sure the input is on top when an inline help text is displayed */ &:hover input { z-index: 4; position: relative; } label { position: static; display: inline; padding-left: 5px; } .inline_help { right: -5px; top: 0; } } .radio_input { padding-top: 10px; } .file_input { position: relative; white-space: nowrap; height: 80px; .file_thumbnail { width: 60px; height: 60px; vertical-align: bottom; margin-right: 5px; border: solid 1px #888; } div.file_thumbnail { float: left; } div.file_name { position: absolute; top: 20px; left: 70px; right: 20px; overflow: hidden; } a.choose { @include icon-only-button; @include pencil-icon; position: absolute; top: 53px; right: 0; } a.unset { @include icon-only-button($base-color: #d00); @include cancel-circled-icon; position: absolute; top: 53px; right: 35px; } a.edit_positioning { @include icon-only-button(); @include doc-landscape-icon; position: absolute; top: 53px; left: 70px; } .inline_help { white-space: normal; } } .page_reference_input { p { margin: 10px 0; color: #444; } ul.chapters { margin-top: 10px; > li { margin: 0; padding: 0; > a:first-child { cursor: default; margin: 0; padding: 0; background-color: #fff; .pictogram { display: none; } } } } ul.pages { margin: 5px 0 10px 0; .pictogram { opacity: 0.5; } .used .pictogram { opacity: 0.2; } } .add_page { display: none; } } .configuration_editor { margin: 10px 0; padding-bottom: 20px; > div { padding: 5px 0; } } .chapter_title, .page_type { margin-top: 10px; } .form_fields > div { margin-top: 10px; } .slider_input { .slider { margin: 10px 10px 0 40px; } .value { font-size: 11px; margin: 7px 0; float: left; } } .validation { margin: 5px -4px 0 -2px; padding: 5px; border: solid 1px #aaa; position: relative; &.pending { background-color: #fffdeb; } &.failed { background-color: #ffdddd; } li { margin: 5px; } } .inline_help { @include background-icon-right($color: #a0c4e0, $font-size: 16px); @include help-circled-icon; &:before { top: 3px; right: 3px; width: 20px; height: 17px; text-align: center; } position: absolute; top: -7px; right: -6px; width: 30px; height: 0; overflow: hidden; padding-top: 23px; margin: 1px; &:hover { padding-left: 5px; padding-right: 5px; padding-bottom: 5px; margin: 0; background-color: #e4eef6; border: solid 1px #aaa; width: 100%; height: auto; z-index: 3; } font-weight: normal; text-transform: none; font-size: 13px; }