Lungo.layout.list.less 1.9 KB

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