123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- //
- // Posting
- // --------------------------------------------------
- // Affix and style placeholder
- #posting-placeholder {
- background-color: @gray-lighter;
- padding: @line-height-computed 0px;
- position: fixed;
- bottom: -100%;
- width: 100%;
- transition: bottom 300ms, box-shadow 300ms;
- &.slide-in {
- .box-shadow(0px 0px 8px @gray-light);
- bottom: 0px;
- }
- }
- // First row
- #posting-placeholder .first-row {
- margin-bottom: @line-height-computed;
- .form-control {
- border: 1px solid darken(@gray-lighter, 15%);
- }
- }
- // Posting overlay used for messages and stuff
- .posting-overlay {
- position: absolute;
- width: 100%;
- height: 100%;
- min-height: 100%;
- top: 0px;
- left: 0px;
- right: 0px;
- bottom: 0px;
- }
- .posting-cover {
- display: table;
- width: 100%;
- height: 100%;
- min-height: 100%;
- }
- .posting-inner {
- display: table-cell;
- vertical-align: middle;
- overflow: auto;
- }
- // Hide filler behind overlay, so it keeps editor height constant
- // between states, but its hidden from user
- .posting-height-filler {
- visibility: hidden;
- }
- // Relatively position message and loader containers for overlay to work
- .posting-message, .posting-loader {
- position: relative;
- }
- // Posting ui preview
- .posting-ui-preview {
- padding: @line-height-computed 0px;
- position: relative;
- .form-control {
- box-shadow: none;
- resize: none;
- }
- }
- // Posting Loader
- .posting-loader {
- text-align: center;
- }
- .posting-loader .loader {
- height: 100px;
- .loader-spinning-wheel {
- width: 100px;
- height: 100px;
- }
- }
- // Posting message
- @posting-icon-width: 28px;
- .posting-message {
- text-align: center;
- .material-icon {
- margin-right: @line-height-computed / 3;
- position: relative;
- top: -1px;
- width: @posting-icon-width;
- height: @posting-icon-width;
- font-size: @posting-icon-width;
- line-height: @posting-icon-width;
- }
- .message-body {
- p {
- font-size: @font-size-large;
- }
- }
- }
|