theme.layout.list.styl 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. .list
  11. section & li
  12. background: #fff
  13. &:not(.anchor)
  14. border-bottom: inset 1px LIST_border
  15. &.secondary
  16. box-shadow: inset 4px 0px 0px COLOR_secondary
  17. &.accept
  18. box-shadow: inset 4px 0px 0px COLOR_success
  19. &.cancel
  20. box-shadow: inset 4px 0px 0px COLOR_cancel
  21. &.arrow::after
  22. border-color: COLOR_secondary
  23. &, a
  24. color: LIST_color
  25. &.anchor
  26. background: DARK
  27. &.dark
  28. background: DARK_light
  29. &.selectable:active, &.theme, &.active
  30. background: THEME_light
  31. &.light
  32. background: LIST_border
  33. color: LIST_color_2nd
  34. &.dark, &.selectable:active, &.theme, &.anchor
  35. &, small, & .right:not(.tag), strong, .arrow::after
  36. color: #fff
  37. &.arrow::after
  38. border-color: #fff
  39. & small, & .right:not(.tag)
  40. color: LIST_color_2nd
  41. &:not(.indented) li
  42. &.dark, &.theme, &.light
  43. border-bottom-color: rgba(0,0,0,0.1)
  44. aside & li
  45. background: none
  46. &:not(:first-child)
  47. border-top: solid 1px DARK
  48. &:not(:last-child)
  49. border-bottom: solid 1px DARKEST
  50. &:active
  51. background: DARK_darkest
  52. &.active
  53. background: THEME
  54. &.active, &:active
  55. border-color: transparent
  56. & strong, & small, & .icon
  57. color: #fff
  58. & strong
  59. color: #999
  60. & small, .icon
  61. color: #666