Line | |
---|
1 | /**
|
---|
2 | * @class Ext.LoadMask
|
---|
3 | * Component used to mask a component
|
---|
4 | */
|
---|
5 | .#{$prefix}mask {
|
---|
6 | z-index: 100;
|
---|
7 |
|
---|
8 | position: absolute;
|
---|
9 | top: 0;
|
---|
10 | left: 0;
|
---|
11 |
|
---|
12 | @include opacity($mask-opacity);
|
---|
13 |
|
---|
14 | width: 100%;
|
---|
15 | height: 100%;
|
---|
16 | // @tag iezoomhack
|
---|
17 |
|
---|
18 | background: $mask-background;
|
---|
19 |
|
---|
20 | // @tag frameme
|
---|
21 | }
|
---|
22 |
|
---|
23 | .#{$prefix}mask-msg {
|
---|
24 | z-index: 20001;
|
---|
25 |
|
---|
26 | position: absolute;
|
---|
27 | top: 0;
|
---|
28 | left: 0;
|
---|
29 |
|
---|
30 | @include box-shadow(rgba(#000, .2) 0 1px 2px);
|
---|
31 | padding: $loadmask-msg-padding;
|
---|
32 | // border: 1px solid;
|
---|
33 | // border-color: $loadmask-msg-border-color;
|
---|
34 |
|
---|
35 | @include border-radius(6px);
|
---|
36 |
|
---|
37 | @if $loadmask-msg-background-gradient {
|
---|
38 | @if $supports-gradients or $compile-all {
|
---|
39 | @include background-gradient($loadmask-base-color, $loadmask-msg-background-gradient);
|
---|
40 | }
|
---|
41 | } @else {
|
---|
42 | background: $loadmask-base-color;
|
---|
43 | }
|
---|
44 |
|
---|
45 | div {
|
---|
46 | padding: $loadmask-msg-inner-padding;
|
---|
47 |
|
---|
48 | // if an icon is defined show it
|
---|
49 | @if $loadmask-msg-inner-icon != null {
|
---|
50 | background-image: theme-background-image($theme-name, $loadmask-msg-inner-icon);
|
---|
51 | background-repeat: no-repeat;
|
---|
52 | background-position: 5px center;
|
---|
53 | }
|
---|
54 |
|
---|
55 | // @tag question Not a great effect...
|
---|
56 | // cursor: wait;
|
---|
57 | cursor: default;
|
---|
58 | font-size: $loadmask-font-size;
|
---|
59 | font-weight: bold;
|
---|
60 | @include color-by-background($loadmask-base-color, $default-color: $base-color, $contrast: 30);
|
---|
61 | }
|
---|
62 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.