// styles that apply to the reply pane that slides up to compose replies // hack, this needs to be done cleaner .private-message input.span8 { width: 47%; } .composer-popup-container { display: none; } .composer-popup { display: none; } #reply-control { .composer-bottom-right { position: absolute; bottom: -37px; right: 5px; margin-top: 0; } .toggle-preview { display:none; } .mobile-file-upload { text-decoration: underline; } #draft-status, #file-uploading, .mobile-file-upload { float: right; margin-right: 8px; } .mobile-file-upload { text-decoration: underline; } #file-uploading { left: 51%; font-size: 12px; color: scale-color($secondary, $lightness: 50%); } #draft-status { color: scale-color($primary, $lightness: 75%); &.flash { color: $danger; } } @include transition(height 0.4s ease); width: 100%; z-index: 1039; height: 0; background-color: scale-color-diff(); bottom: 0; font-size: 14px; position: fixed; .toggler { display: block; width: 13px; height: 13px; right: 13px; position: absolute; font-size: 15px; color: scale-color($primary, $lightness: 50%); text-decoration: none; &:before { font-family: "FontAwesome"; content: "\f078"; } } a.cancel { text-decoration: underline; padding-left: 7px; float: left; margin-top: 6px; } .control-row { margin: 0 0 0 5px; } .saving-text { display: none; } .draft-text { display: none; } .grippie { display: none; } // The various states &.open { height: 300px; } &.closed { height: 0 !important; } &.draft { height: 60px !important; cursor: pointer; border-top: 1px solid scale-color-diff(); .draft-text { display: block; position: absolute; margin-right: 40px; } .toggler { &:before { font-family: "FontAwesome"; content: "\f077"; } } } &.saving { height: 40px !important; border-top: 1px solid scale-color-diff(); .saving-text { display: block; } .toggler { &:before { font-family: "FontAwesome"; content: "\f00d"; } } } .spinner { position: absolute; @include fades-in(0.25s); @include border-radius-all(10px); left: 250px; top: 95px; height: 100px; width: 70px; height: 70px; text-indent: -9999em; background: { color: #000; image: image-url("spinner_96_w.gif"); repeat: no-repeat; size: 35px; position: 17px 17px; }; } &.loading { .spinner { z-index: 1000; @include visible; } } .reply-area { max-width: 1500px; margin-left: auto; margin-right: auto; float: none; } // if this is a new topic, make room for the category field in the editor on // a small screen mobile device &.edit-title { &.open { height: 280px; } .contents { input#reply-title { padding: 7px 10px; margin: 6px 10px 0 0; } .wmd-controls { @include transition(top 0.3s ease); top: 120px; } } } .contents { padding: 10px 10px 0 10px; min-width: 1280px; .form-element { .select2-container { width: 400px; margin-top: 6px; a { padding-top: 4px; height: 28px; } b { margin-top: 4px; } } .category-combobox { width: 430px; @include medium-width { width: 285px; } @include small-width { width: 220px; } .select2-drop { left: -9000px; width: 428px; @include medium-width { width: 283px; } @include small-width { width: 218px; } } .select2-search input { width: 378px; @include medium-width { width: 233px; } @include small-width { width: 168px; } } } } .edit-reason-input, .display-edit-reason { display: none; } .edit-reason-input { display: inline-block; margin-left: 2px; #edit-reason { margin: 0; padding: 2px; } } #reply-title { margin-right: 10px; &:disabled { background-color: scale-color($primary, $lightness: 75%); } } #wmd-input:disabled { background-color: scale-color($primary, $lightness: 75%); } #wmd-input, #wmd-preview { color: darken($primary, 40%); video { max-width: 100%; height: auto; } audio { max-width: 100%; } } #wmd-preview { border: 1px dashed scale-color-diff(); overflow: auto; visibility: visible; p { margin-top: 0; } &.hidden { width: 0; visibility: hidden; } } #wmd-input { bottom: 35px; } .submit-panel { position: absolute; display: block; bottom: 2px; } } .category-input { display: inline; } .title-input .popup-tip { width: 240px; right: 5px; } .category-input .popup-tip { width: 240px; right: 5px; } .textarea-wrapper .popup-tip { top: 28px; } button.btn.no-text { margin: 7px 0 0 5px; position: absolute; } } #reply-control.edit-title.private-message { .wmd-controls { @include transition(top 0.3s ease); top: 120px; } } #reply-control { &.hide-preview { .wmd-controls { #wmd-input { width: 100%; } .preview-wrapper { display: none; } .textarea-wrapper { width: 100%; } } } .wmd-controls { left: 10px; right: 10px; position: absolute; top: 40px; bottom: 54px; display: block; // this removes the topmost margin; // if we don't have this, all posts would have extra space at the top #wmd-preview > *:first-child { margin-top: 0 !important; } #wmd-input, #wmd-preview-scroller, #wmd-preview { @include box-sizing(border-box); width: 100%; height: 100%; min-height: 100%; padding: 7px; margin: 0; background-color: $secondary; word-wrap: break-word; // set up proper header margins in post preview h1, h2, h3, h4, h5, h6 { margin: 30px 0 10px; } p { margin-top: 19px; } } #wmd-input, #wmd-preview-scroller { position: absolute; left: 0; top: 0; height: 100%; min-height: 100%; @include box-sizing(border-box); border: 0; @include border-radius-all(0); transition: none; font-size: 16px; } #wmd-preview-scroller { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: normal; overflow: scroll; visibility: hidden; .marker, .caret { display: inline-block; vertical-align: top; } } .textarea-wrapper, .preview-wrapper { position: relative; @include box-sizing(border-box); height: 100%; min-height: 100%; margin: 0; padding: 0; width: 50%; } .textarea-wrapper { padding-right: 5px; float: left; .popup-tip { margin-top: 3px; right: 4px; } } .preview-wrapper { padding-left: 5px; float: right; } } #wmd-button-bar { display: none; } }