switched from scale() to scale3d() to fix some rendering problems

This commit is contained in:
FezVrasta 2015-03-17 15:33:50 +01:00
parent b607634e60
commit 30b3837b2c
3 changed files with 5 additions and 5 deletions

View File

@ -37,7 +37,7 @@
z-index: 1; z-index: 1;
opacity: 0; opacity: 0;
margin: 0; margin: 0;
transform: scale(2.3); transform: scale3d(2.3, 2.3, 1);
} }
.check { .check {

View File

@ -89,7 +89,7 @@
display: inline-block; display: inline-block;
} }
.noUi-handle.noUi-active { .noUi-handle.noUi-active {
transform: scale(2.5); transform: scale3d(2.5, 2.5, 1);
} }
[disabled].noUi-slider{ [disabled].noUi-slider{
opacity: 0.5; opacity: 0.5;

View File

@ -24,7 +24,7 @@
width: 15px; width: 15px;
border-radius: 100%; border-radius: 100%;
background-color: @radio-default; background-color: @radio-default;
transform: scale(0); transform: scale3d(0, 0, 0);
} }
.check:after { .check:after {
display: block; display: block;
@ -39,7 +39,7 @@
z-index: 1; z-index: 1;
opacity: 0; opacity: 0;
margin: 0; margin: 0;
transform: scale(1.5); transform: scale3d(1.5, 1.5, 1);
} }
input[type=radio]:not(:checked) ~ .check:after { input[type=radio]:not(:checked) ~ .check:after {
animation: rippleOff 500ms; animation: rippleOff 500ms;
@ -64,7 +64,7 @@
overflow: hidden; overflow: hidden;
} }
input[type=radio]:checked ~ .check { input[type=radio]:checked ~ .check {
transform: scale(0.55); transform: scale3d(0.55, 0.55, 1);
} }
input[type=radio][disabled] ~ .circle { input[type=radio][disabled] ~ .circle {
border-color: @lightbg-text; border-color: @lightbg-text;