theme.layout.nav.styl 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. /**
  2. * Stylesheet
  3. *
  4. * @namespace Lungo.Theme
  5. * @class Layout
  6. *
  7. * @author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
  8. */
  9. @import "__init.styl"
  10. nav
  11. section > header > &
  12. & a:not(.button)
  13. color: darken(THEME, 35%)
  14. text-shadow 0 1px 0 lighten(THEME, 25%)
  15. &:active
  16. color: darken(THEME, 50%)
  17. section > &[data-control=groupbar] > a.active
  18. box-shadow inset 0 -3px 0 THEME
  19. section > footer > & > a, &[data-control=groupbar] > a
  20. color: NAV_LINK
  21. &.active
  22. color: NAV_LINK_ACTIVE
  23. section > footer > & > a
  24. box-shadow 1px 0 0 DARK_dark
  25. &.active
  26. color: NAV_LINK_ACTIVE
  27. background-color: DARK_dark
  28. box-shadow inset 0 3px 0 THEME
  29. aside & a
  30. color: lighten(DARK, 20%)
  31. &:active
  32. color: lighten(DARK, 50%)
  33. &[data-control=menu]
  34. COLOR = DARK
  35. background: COLOR
  36. box-shadow 0 2px 0 rgba(0,0,0,0.15)
  37. &.icons
  38. background: rgba(0,0,0,0.8)
  39. & > a
  40. color: lighten(COLOR, 35%)
  41. &:active > .icon
  42. text-shadow: 0 0 32px #fff
  43. & > .icon
  44. color: #fff
  45. &:not(.icons)
  46. & > a
  47. color: #fff
  48. text-shadow 0 1px 0 #111
  49. border-bottom: 1px solid darken(COLOR, 40%)
  50. border-top: 1px solid lighten(COLOR, 5%)
  51. &:active
  52. background: #111
  53. border-color: transparent
  54. & > .icon
  55. color: lighten(COLOR, 25%)
  56. & > a
  57. font-weight: 700