Lungo.layout.list.less 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. /**
  2. * Stylesheet
  3. *
  4. * @namespace LUNGO.Layout
  5. * @class List
  6. *
  7. * @author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
  8. */
  9. @import "mixins.less";
  10. .list {
  11. font-size: 1.2em;
  12. font-weight: bold;
  13. width: inherit;
  14. }
  15. .list li:not(.toolbar) {
  16. padding: 8px 6px;
  17. list-style-type: none;
  18. }
  19. .list a {
  20. display: block;
  21. }
  22. .list li:not(.toolbar) img, .list li:not(.toolbar) .icon {
  23. float: left;
  24. width: 32px;
  25. height: 32px;
  26. margin-right: 6px;
  27. font-size: 36px;
  28. font-weight: normal;
  29. }
  30. .list small {
  31. display: block;
  32. overflow: hidden;
  33. white-space: nowrap;
  34. text-overflow: ellipsis;
  35. font-size: 0.85em;
  36. font-weight: normal;
  37. }
  38. .list .icon {
  39. display: inline-block;
  40. }
  41. .list .tip {
  42. font-size: 0.85em;
  43. font-weight: bold;
  44. }
  45. .list .light {
  46. font-size: 0.9em;
  47. font-weight: normal;
  48. }
  49. .list .anchor {
  50. font-size: 0.75em;
  51. padding: 3px 6px !important;
  52. }
  53. .list .anchor .icon {
  54. width: 14px !important;
  55. height: 14px !important;
  56. margin-right: 4px !important;
  57. font-size: 1.3em !important;
  58. line-height: 16px !important;
  59. }
  60. .list .anchor .bubble { display: none; }
  61. /* @end */
  62. /* @group .search */
  63. .list .search input {
  64. width: 88%;
  65. }
  66. .list .search a {
  67. float: right;
  68. height: 30px;
  69. margin: 0px;
  70. padding: 0px;
  71. }
  72. .list .search a .icon {
  73. height: 12px;
  74. width: 30px;
  75. margin: 0px;
  76. font-size: 1.2em;
  77. font-weight: normal;
  78. }
  79. /* @end */
  80. /* @group .arrow */
  81. .list a.arrow:before {
  82. float: right;
  83. content: ">";
  84. position: relative;
  85. top: 6px;
  86. font-size: 16px;
  87. font-family: "Courier New", Courier, mono;
  88. font-weight: bold;
  89. }
  90. /* @end */
  91. /* @group .onright */
  92. .list .onright {
  93. font-size: 0.85em;
  94. }
  95. .list .onright .icon {
  96. font-size: 1.2em !important;
  97. height: 12px !important;
  98. width: 12px !important;
  99. margin: 0px;
  100. }
  101. /* @end */
  102. /* @group .indented */
  103. .indented ul {
  104. margin-bottom: 10px;
  105. }
  106. .indented.rounded ul { .border-radius(4px); }
  107. .indented.rounded li:first-child { .border-radius(4px 4px 0px 0px); }
  108. .indented.rounded li:last-child { .border-radius(0px 0px 4px 4px); }
  109. /* @end */