mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-20 15:56:51 +00:00
Finetune animation for integrations (#33578)
This commit is contained in:
parent
f0c0828cac
commit
5e8dd82c38
@ -61,7 +61,6 @@
|
|||||||
align-content: center;
|
align-content: center;
|
||||||
transition: box-shadow .33s;
|
transition: box-shadow .33s;
|
||||||
|
|
||||||
|
|
||||||
.img-container {
|
.img-container {
|
||||||
height: 64px;
|
height: 64px;
|
||||||
margin: 12px 16px;
|
margin: 12px 16px;
|
||||||
@ -128,11 +127,13 @@ a.option-card:hover {
|
|||||||
|
|
||||||
@for $i from 1 through 40 {
|
@for $i from 1 through 40 {
|
||||||
.option-card:nth-child(#{$i}) {
|
.option-card:nth-child(#{$i}) {
|
||||||
animation-delay: #{$i * 0.04}s !important;
|
animation-delay: #{$i * 0.025}s !important;
|
||||||
|
@media only screen and (max-width: $palm-end) {
|
||||||
|
animation-delay: #{$i * 0.05}s !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@media only screen and (max-width: $palm-end) {
|
@media only screen and (max-width: $palm-end) {
|
||||||
.hass-option-cards {
|
.hass-option-cards {
|
||||||
.option-card {
|
.option-card {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user