Lungo.layout.list.styl 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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: 9px
  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: -9px 9px -9px -9px
  41. height: 48px !important
  42. width:48px !important
  43. font-size: 3.6em
  44. &.anchor
  45. padding: 2px 10px
  46. & .icon.small
  47. margin-right: 2px
  48. & .bubble
  49. display: none
  50. & strong
  51. position: relative
  52. font-weight: 400
  53. & small
  54. display: block
  55. overflow: hidden
  56. white-space: nowrap
  57. text-overflow: ellipsis
  58. & + .right
  59. margin-top: -12px
  60. & small, &.anchor, & .right
  61. font-size: 0.9em
  62. & .bubble
  63. padding-left: 4px
  64. padding-right: 4px
  65. & .loading .right
  66. font-size: 1.0em
  67. & .right .icon, & small .icon
  68. height: 13px !important
  69. width: 13px !important
  70. margin-right: 1px !important
  71. font-size: 1.2em !important
  72. line-height: 1.1em
  73. &.indented li
  74. margin-bottom: 10px