1 @mixin extjs-progress {
3 border-width: $progress-border-width;
5 @include border-radius($progress-border-radius);
9 height: $progress-height;
12 .#{$prefix}progress-bar {
13 height: $progress-height - ($progress-border-width * 2);
20 @include border-radius($progress-border-radius);
21 border-right: 1px solid;
22 border-top: 1px solid;
25 .#{$prefix}progress-text {
32 height: $progress-height - ($progress-border-width * 2);
34 font-weight: $progress-text-font-weight;
35 font-size: $progress-text-font-size;
37 text-align: $progress-text-text-align;
40 .#{$prefix}progress-text-back {
44 @if $include-ie or $compile-all {
45 .#{$prefix}strict .#{$prefix}progress {
46 height: $progress-height - ($progress-border-width * 2);
50 @include extjs-progress-ui(
53 $ui-background-color: $progress-background-color,
54 $ui-border-color: $progress-border-color,
56 $ui-bar-background-color: $progress-bar-background-color,
58 $ui-color-front: $progress-text-color-front,
59 $ui-color-back: $progress-text-color-back
64 * @mixin extjs-progress-ui
66 @mixin extjs-progress-ui(
71 $ui-border-color: null,
72 $ui-background-color: null,
74 $ui-bar-background-color: null,
75 $ui-bar-background-gradient: glossy,
77 $ui-color-front: null,
80 @if $ui-base-color != null {
81 @if $ui-border-color == null { $ui-border-color: $ui-base-color; }
82 @if $ui-bar-background-color == null { $ui-bar-background-color: $ui-base-color; }
83 @if $ui-color-front == null { $ui-color-front: lighten($ui-base-color, 60); }
84 @if $ui-color-back == null { $ui-color-back: darken($ui-base-color, 60); }
87 .#{$prefix}progress-#{$ui-label} {
88 @if $ui-border-color != null { border-color: $ui-border-color; }
90 .#{$prefix}progress-bar {
91 @if $ui-border-color != null { border-right-color: $ui-border-color; }
92 @if $ui-border-color != null { border-top-color: lighten($ui-border-color, 25); }
94 @if $ui-bar-background-color != null { @include background-gradient($ui-bar-background-color, $ui-bar-background-gradient); }
97 .#{$prefix}progress-text {
98 @if $ui-color-front != null { color: $ui-color-front; }
101 .#{$prefix}progress-text-back {
102 @if $ui-color-back != null { color: $ui-color-back; }
106 @if $ui-background-color != null {
107 @if not $supports-gradients or $compile-all {
109 .#{$prefix}progress-#{$ui-label} {
110 .#{$prefix}progress-bar {
111 background: repeat-x;
112 background-image: theme-background-image($theme-name, 'progress/progress-#{$ui-label}-bg.gif');