mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
added dedicated style for colors-list for IE and FF + bug fixing on ProgressBarCOntroller for FF
This commit is contained in:
parent
00dd660571
commit
8989e984cb
|
@ -85,6 +85,19 @@
|
||||||
cursor : pointer;
|
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 {
|
.create-palette-color {
|
||||||
border:1px solid #2c2c2c;
|
border:1px solid #2c2c2c;
|
||||||
transition : border-color 0.2s;
|
transition : border-color 0.2s;
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
var width = this.progressBar.offsetWidth;
|
var width = this.progressBar.offsetWidth;
|
||||||
var progressWidth = width - ((progress * width) / 100);
|
var progressWidth = width - ((progress * width) / 100);
|
||||||
this.progressBar.style.backgroundPosition = (-progressWidth) + 'px 0';
|
this.progressBar.style.backgroundPosition = (-progressWidth) + 'px 0';
|
||||||
this.progressBarStatus.innerText = progress + '%';
|
this.progressBarStatus.innerHTML = progress + '%';
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user