added dedicated style for colors-list for IE and FF + bug fixing on ProgressBarCOntroller for FF

This commit is contained in:
jdescottes 2014-09-23 08:00:46 +02:00
parent 00dd660571
commit 8989e984cb
2 changed files with 14 additions and 1 deletions

View File

@ -85,6 +85,19 @@
cursor : pointer;
}
@-moz-document url-prefix() {
.create-palette-color, .create-palette-new-color, .colors-list-drop-proxy{
margin : 7px 0 0 7px;
}
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
.create-palette-color, .create-palette-new-color, .colors-list-drop-proxy{
margin : 7px 0 0 7px;
}
}
.create-palette-color {
border:1px solid #2c2c2c;
transition : border-color 0.2s;

View File

@ -39,7 +39,7 @@
var width = this.progressBar.offsetWidth;
var progressWidth = width - ((progress * width) / 100);
this.progressBar.style.backgroundPosition = (-progressWidth) + 'px 0';
this.progressBarStatus.innerText = progress + '%';
this.progressBarStatus.innerHTML = progress + '%';
}
};