style: optimize scale style
This commit is contained in:
parent
c5fef13e3c
commit
ea35e3ea57
|
@ -43,12 +43,10 @@ keep-container(scaleX, scaleY, padding, marginBottomValue) {
|
||||||
+keep-tablet() {
|
+keep-tablet() {
|
||||||
padding: padding * 0.8;
|
padding: padding * 0.8;
|
||||||
border-radius: $keep-container-border-radius * 0.8;
|
border-radius: $keep-container-border-radius * 0.8;
|
||||||
hover-style(scaleX * 0.8, scaleY * 0.8);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
+keep-mobile() {
|
+keep-mobile() {
|
||||||
padding: padding * 0.6;
|
padding: padding * 0.6;
|
||||||
border-radius: $keep-container-border-radius * 0.6;
|
border-radius: $keep-container-border-radius * 0.6;
|
||||||
hover-style(scaleX * 0.6, scaleY * 0.6);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue