/** * Roundcube webmail styles for the Elastic skin * * Copyright (c) 2017, The Roundcube Dev Team * * The contents are subject to the Creative Commons Attribution-ShareAlike * License. It is allowed to copy, distribute, transmit and to adapt the work * by keeping credits to the original authors in the README.md file. * See http://creativecommons.org/licenses/by-sa/3.0/ for details. */ /*** UI Messages ***/ #messagestack { position: absolute; bottom: .5em; right: .7em; z-index: 102; /* needs to be above .ui-widget-overlay */ width: 320px; height: auto; max-height: 85%; @media screen and (max-width: @screen-width-xs) { left: 0; right: 0; bottom: 0; width: auto; } div { &.voice { position: absolute; top: -1000px; } i.icon { font-size: 1.5em !important; } a:hover { text-decoration: underline; cursor: pointer; } } } /* .boxwarning/.boxerror/.boxinformation classes are supported by conversion to .ui.alert in bootstrap_init() */ .ui.alert { margin: 0; margin-bottom: .2em; opacity: .95; float: left; width: 100%; padding: .75em; color: @color-message; border: 1px solid @color-message-border; /* box-shadow: 1px 1px 2px @color-message-shadow; */ background-color: @color-message-background; display: flex; align-items: center; @media screen and (max-width: @screen-width-xs) { margin-bottom: 0; box-shadow: none; border: 0; border-top: 2px solid #fff; border-radius: 0; min-height: 4.2rem; } span { margin: auto 0; } &.loading { color: @color-message-loading; } & > i.icon { line-height: 1; color: @color-message-information; margin: auto 0; } & > i.icon:before { &:extend(.font-icon-class); content: @fa-var-info-circle; margin-right: .6rem; width: 1em; } &.loading > i.icon:before { content: @fa-var-circle-o-notch; .animated-icon-class; color: @color-message-loading; } &.alert-success > i.icon:before { content: @fa-var-check-circle; color: @color-message-success; } &.alert-warning > i.icon:before { content: @fa-var-warning; color: @color-message-warning; } &.alert-danger > i.icon:before { content: @fa-var-exclamation-circle; color: @color-message-error; } &.vcardattachment > i.icon:before { content: @fa-var-vcard; /* vcard_attachments plugin */ } /* This works with following structure: [button]. here is a one-line text, and button can be anything but . */ &.aligned-buttons { display: flex; span { .overflow-ellipsis; flex: 1; white-space: nowrap; line-height: 2.6; } } a:not(.btn) { color: @color-message-link; font-weight: normal; } h3 { font-weight: bold; font-size: 1.2rem; } p { margin: 1rem 0; } &.boxerror, &.boxinformation, &.boxwarning { float: none; border-radius: 0; box-shadow: none; border: none; padding: .5em; i.icon { font-size: 1.5em !important; } & + :not(.boxwarning) { margin-top: 1rem; } } }