Lungo.layout.list.styl 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. /**
  2. * Stylesheet
  3. *
  4. * @namespace Lungo.Layout
  5. * @class List
  6. *
  7. * @author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
  8. */
  9. @import "import/constants.styl"
  10. @import "import/vendor.styl"
  11. .list
  12. & li
  13. list-style-type: none
  14. padding: 10px
  15. position: relative
  16. &, & a, & small, & .right
  17. font-weight: 300
  18. &.arrow::after
  19. position: absolute
  20. right: 8px
  21. top: 40%
  22. width: 6px
  23. height: 6px
  24. content: ''
  25. border-right: 3px solid #D0D0D8
  26. border-top: 3px solid #D0D0D8
  27. transform( rotate(45deg) )
  28. & a
  29. display: block
  30. & > .icon, > img
  31. float: left
  32. width: 32px
  33. height: 32px
  34. margin-right: 8px
  35. font-size: 2.6em
  36. line-height: 1.0em
  37. text-align: center
  38. &.thumb
  39. & img, & .icon
  40. margin: -10px 10px -10px -10px
  41. height: 53px !important
  42. width:53px !important
  43. font-size: 3.6em
  44. &.anchor
  45. padding: 2px 10px
  46. & .icon.small
  47. margin-right: 2px
  48. & .tag
  49. display: none
  50. & strong
  51. position: relative
  52. font-size: FONT_SIZE_BIG
  53. font-weight: 400
  54. & small
  55. display: block
  56. overflow: hidden
  57. white-space: nowrap
  58. text-overflow: ellipsis
  59. & + .right
  60. margin-top: -12px
  61. & small, &.anchor, & .right
  62. font-size: FONT_SIZE_SMALL
  63. & .tag
  64. margin-top: 1px
  65. padding: 1px 3px 3px 3px
  66. & .loading .right
  67. font-size: 1.0em
  68. & .right .icon, & small .icon
  69. height: 13px !important
  70. width: 13px !important
  71. margin-right: 1px !important
  72. font-size: 1.2em !important
  73. line-height: 1.1em
  74. &.indented li
  75. margin-bottom: 10px