index.styl 734 B

123456789101112131415161718192021222324252627282930313233
  1. // vue/app/shared/FormValidator/index.styl
  2. // Стили исключительно для валидатора форм
  3. .form-validator
  4. .form-group
  5. transition: all 0.3s ease
  6. .validation-message
  7. transition: all 0.3s ease
  8. .submit-btn
  9. transition: all 0.3s ease
  10. position: relative
  11. overflow: hidden
  12. &:disabled
  13. cursor: not-allowed
  14. &::before
  15. content: ''
  16. position: absolute
  17. top: 50%
  18. left: 50%
  19. width: 0
  20. height: 0
  21. background: rgba(255, 255, 255, 0.2)
  22. border-radius: 50%
  23. transform: translate(-50%, -50%)
  24. transition: width 0.6s, height 0.6s
  25. &:hover:not(:disabled)::before
  26. width: 300px
  27. height: 300px