michael@0: div.progress-element { michael@0: -moz-appearance: progressbar; michael@0: display: inline-block; michael@0: height: 1em; michael@0: width: 10em; michael@0: vertical-align: -0.2em; michael@0: michael@0: /* Default style in case of there is -moz-appearance: none; */ michael@0: border: 2px solid; michael@0: -moz-border-top-colors: ThreeDShadow #e6e6e6; michael@0: -moz-border-right-colors: ThreeDHighlight #e6e6e6; michael@0: -moz-border-bottom-colors: ThreeDHighlight #e6e6e6; michael@0: -moz-border-left-colors: ThreeDShadow #e6e6e6; michael@0: background-color: #e6e6e6; michael@0: } michael@0: michael@0: div.progress-element.vertical { michael@0: height: 10em; michael@0: width: 1em; michael@0: } michael@0: michael@0: div.progress-bar { michael@0: -moz-appearance: progresschunk; michael@0: height: 100%; michael@0: /* michael@0: * We can't apply the following style to the reference because it will have michael@0: * underisable effectes: michael@0: * width: 100%; michael@0: */ michael@0: michael@0: box-sizing: border-box; michael@0: michael@0: /* Default style in case of there is -moz-appearance: none; */ michael@0: background-color: #0064b4; michael@0: } michael@0: michael@0: progress, progress::-moz-progress-bar, div.progress-element, div.progress-bar { michael@0: -moz-appearance: none; michael@0: }