Lungo.layout.list.less 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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. list-style-type: none;
  14. padding: 8px;
  15. position: relative;
  16. /*
  17. position: relative;
  18. */
  19. &.arrow::after{
  20. position: absolute;
  21. right: 8px;
  22. top: 40%;
  23. width: 6px;
  24. height: 6px;
  25. content: '';
  26. border-right: 3px solid #D0D0D8;
  27. border-top: 3px solid #D0D0D8;
  28. .transform(rotate(45deg));
  29. }
  30. & a { display: block; }
  31. & .icon, & img {
  32. float: left;
  33. width: 32px;
  34. height: 32px;
  35. margin-right: 8px;
  36. font-size: 2.6em;
  37. line-height: 1.0em;
  38. text-align: center;
  39. }
  40. &.thumb img, &.thumb .icon {
  41. margin: -8px 8px -8px -8px;
  42. height: 46px !important;
  43. width:46px !important;
  44. font-size: 3.6em;
  45. }
  46. &.anchor {
  47. font-size: 0.85em;
  48. font-weight: bold;
  49. padding: 2px 10px;
  50. & .icon.small {
  51. margin-right: 2px;
  52. }
  53. & .bubble { display: none; }
  54. }
  55. & strong {
  56. font-size: 1.15em; }
  57. & small {
  58. display: block;
  59. overflow: hidden;
  60. white-space: nowrap;
  61. text-overflow: ellipsis;
  62. font-size: 0.8em;
  63. }
  64. }
  65. & .bubble {
  66. padding-left: 4px;
  67. padding-right: 4px;
  68. }
  69. & .right {
  70. font-size: 0.75em;
  71. font-weight: bold; }
  72. & .loading .right { font-size: 1.0em; }
  73. & .right .icon, & small .icon {
  74. height: 13px !important;
  75. width: 13px !important;
  76. margin-right: 1px !important;
  77. font-size: 1.2em !important;
  78. line-height: 0.8em;
  79. }
  80. }