lungo.layout.aside.styl 856 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /**
  2. * Stylesheet
  3. *
  4. * @namespace Lungo.Layout
  5. * @class Aside
  6. *
  7. * @author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
  8. */
  9. @import "constants.styl"
  10. aside
  11. width: ASIDE_WIDTH
  12. display: none
  13. z-index: -1
  14. &.active
  15. display-box()
  16. &.show
  17. z-index: 0
  18. &.right
  19. right: 0px
  20. &.small
  21. width: ASIDE_WIDTH_SMALL
  22. & nav
  23. width: ASIDE_WIDTH_SMALL
  24. text-align: center
  25. & a
  26. display: block
  27. padding: 0px
  28. width: ASIDE_WIDTH_SMALL
  29. height: ASIDE_WIDTH_SMALL
  30. & .icon
  31. position: absolute
  32. width: inherit
  33. font-size: ASIDE_SMALL_ICON
  34. line-height: (ASIDE_WIDTH_SMALL - 8)
  35. & .tag
  36. position: relative
  37. top: -(ASIDE_WIDTH_SMALL)
  38. right: -(ASIDE_WIDTH_SMALL / 3.4)
  39. &:first-child
  40. margin-top: 8px