]> git.proxmox.com Git - extjs.git/blame - extjs/modern/theme-base/sass/src/ProgressIndicator.scss
add extjs 6.0.1 sources
[extjs.git] / extjs / modern / theme-base / sass / src / ProgressIndicator.scss
CommitLineData
6527f429
DM
1.x-progressindicator {\r
2 width: 50%;\r
3 height: 1.3em;\r
4}\r
5\r
6.x-progressindicator .x-progressindicator-inner {\r
7 background: #222222;\r
8 padding: 10px;\r
9 height: 100%;\r
10 border-radius: 20px;\r
11 box-shadow: 0px 5px 17px rgba(40, 40, 40, 0.5);\r
12 box-sizing: content-box;\r
13 position: relative;\r
14}\r
15\r
16.x-progressindicator .x-progressindicator-text {\r
17 @include st-box;\r
18 @include st-box-align(center);\r
19 @include st-box-pack(center);\r
20 width: 100%;\r
21 height: 100%;\r
22 position: absolute;\r
23 top: 0px;\r
24 left: 0px;\r
25 color: white;\r
26 text-shadow: 1px 1px 2px black;\r
27}\r
28\r
29.x-progressindicator .x-progressindicator-bar {\r
30 height: 100%;\r
31 width: 0%;\r
32 border-radius: 10px;\r
33}\r
34\r
35.x-progressindicator:not(.x-item-hidden) .x-progressindicator-bar .x-progressindicator-bar-fill {\r
36 height: 100%;\r
37 width: 100%;\r
38 background-color: gray;\r
39 border-radius: 10px;\r
40\r
41 $animation-support: webkit, moz, o, ms, not khtml;\r
42 @include experimental('animation-name', progressIndicator, $animation-support);\r
43 @include experimental('animation-duration', 1s, $animation-support);\r
44 @include experimental('animation-timing-function', linear, $animation-support);\r
45 @include experimental('animation-iteration-count', infinite, $animation-support);\r
46\r
47 background-repeat: repeat-x;\r
48 background-size: 30px 30px;\r
49 @include background-image(linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent))\r
50}\r
51\r
52@-webkit-keyframes progressIndicator\r
53{\r
54 to {\r
55 background-position: 30px;\r
56 }\r
57}\r
58@-moz-keyframes progressIndicator\r
59{\r
60 to {\r
61 background-position: 30px;\r
62 }\r
63}\r
64@keyframes progressIndicator\r
65{\r
66 to {\r
67 background-position: 30px;\r
68 }\r
69}