lungo.widgets.pull.styl 775 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /**
  2. * Stylesheet
  3. *
  4. * @namespace Lungo.Widgets
  5. * @class Pull
  6. *
  7. * @author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
  8. */
  9. @import "constants.styl"
  10. section.show > [data-control="pull"]
  11. position: absolute
  12. z-index: -1
  13. top: HEADER_HEIGHT
  14. width: 100%
  15. height: 80px
  16. padding: 10px 0
  17. text-align: center
  18. & > .icon
  19. display: inline-block
  20. width: 48px
  21. height: 48px
  22. font-size: 44px
  23. line-height: 48px
  24. transition( all 300ms @defaultTrasition )
  25. & > .loading
  26. display: none
  27. left: 0%
  28. & > strong
  29. position: relative
  30. top: -16px
  31. margin-left: 4px
  32. font-size: 1.1em
  33. &.rotate
  34. & > .icon
  35. transform( rotate(180deg) )
  36. &.refresh
  37. & > .icon
  38. display: none
  39. & > .loading
  40. display: inline-block