]> git.proxmox.com Git - sencha-touch.git/blob - src/resources/themes/stylesheets/sencha-touch/default/src/_Toast.scss
import Sencha Touch 2.4.2 source
[sencha-touch.git] / src / resources / themes / stylesheets / sencha-touch / default / src / _Toast.scss
1 /**
2 * @class Ext.Toast
3 */
4
5 .x-toast {
6 margin: .5em;
7 border: .15em solid $base-color;
8
9 @include box-shadow(rgba(#000, .4) 0 .1em .5em);
10 @if $include-border-radius {
11 @include border-radius($panel-border-radius);
12 }
13
14 .x-toast-text {
15 padding: 6px 0;
16 line-height: 1.4em;
17 }
18 }
19
20
21 @mixin toast-ui($ui-label, $bg-color: $sheet-bg-color) {
22 .x-toast-#{$ui-label} {
23 .x-toast-text {
24 @include color-by-background($bg-color, 80%);
25 @include bevel-by-background($bg-color);
26 }
27 }
28 }
29
30 @include msgbox-ui('dark', $sheet-bg-color);