Lungo.layout.list.less 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. /**
  2. * Stylesheet
  3. *
  4. * @namespace Lungo.Layout
  5. * @class List
  6. *
  7. * @author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
  8. */
  9. @import "constants.less";
  10. @import "mixins.less";
  11. .list {
  12. & li {
  13. position: relative;
  14. list-style-type: none;
  15. padding: 8px;
  16. &.arrow::after{
  17. position: absolute;
  18. right: 8px;
  19. top: 40%;
  20. width: 6px;
  21. height: 6px;
  22. content: '';
  23. border-right: 3px solid #D0D0D8;
  24. border-top: 3px solid #D0D0D8;
  25. .transform(rotate(45deg));
  26. }
  27. & a { display: block; }
  28. & .icon:not(.small), & img {
  29. float: left;
  30. width: 32px;
  31. height: 32px;
  32. margin-right: 8px;
  33. font-size: 2.6em;
  34. line-height: 1.0em;
  35. text-align: center;
  36. }
  37. &.thumb img {
  38. margin: -8px 8px -8px -8px;
  39. height: 46px !important;
  40. width:46px !important;
  41. }
  42. &.anchor {
  43. font-size: 0.85em;
  44. font-weight: bold;
  45. padding: 2px 10px;
  46. & .icon.small {
  47. margin-right: 2px;
  48. }
  49. & .bubble { display: none; }
  50. }
  51. }
  52. & .bubble {
  53. padding-left: 5px;
  54. padding-right: 5px;
  55. }
  56. & .right {
  57. font-size: 0.75em;
  58. font-weight: bold;
  59. }
  60. & .right .icon, & small .icon {
  61. height: 13px !important;
  62. width: 13px !important;
  63. margin-right: 1px !important;
  64. font-size: 1.2em !important;
  65. line-height: 0.8em;
  66. }
  67. }