artpc

Bumping card

Feb 21st, 2021
288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. entity: binary_sensor.drzwi_lazienka_contact
  2. extra_styles: |
  3. @-webkit-keyframes swing
  4. {
  5. 15%
  6. {
  7. -webkit-transform: translateX(5px);
  8. transform: translateX(5px);
  9. }
  10. 30%
  11. {
  12. -webkit-transform: translateX(-5px);
  13. transform: translateX(-5px);
  14. }
  15. 50%
  16. {
  17. -webkit-transform: translateX(3px);
  18. transform: translateX(3px);
  19. }
  20. 65%
  21. {
  22. -webkit-transform: translateX(-3px);
  23. transform: translateX(-3px);
  24. }
  25. 80%
  26. {
  27. -webkit-transform: translateX(2px);
  28. transform: translateX(2px);
  29. }
  30. 100%
  31. {
  32. -webkit-transform: translateX(0);
  33. transform: translateX(0);
  34. }
  35. }
  36. icon: 'mdi:doorbell'
  37. name: Back
  38. state:
  39. - icon: 'mdi:door-closed'
  40. styles:
  41. card: null
  42. icon:
  43. - width: 45%
  44. - opacity: 0.5
  45. - padding-top: 10px
  46. name:
  47. - padding: 10px
  48. - font-size: 12px
  49. - text-overflow: unset
  50. - white-space: unset
  51. - word-break: break-word
  52. value: 'off'
  53. - color: white
  54. icon: 'mdi:door-open'
  55. operator: default
  56. styles:
  57. card:
  58. - animation: swing 1s ease infinite
  59. icon:
  60. - width: 45%
  61. - padding-top: 10px
  62. name:
  63. - padding: 10px
  64. - font-weight: bold
  65. - font-size: 12px
  66. - text-overflow: unset
  67. - white-space: unset
  68. - word-break: break-word
  69. type: 'custom:button-card'
  70.  
Advertisement
Add Comment
Please, Sign In to add comment