Lungo.layout.list.less 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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. line-height: 0.85em;
  38. }
  39. .list .icon {
  40. display: inline-block;
  41. }
  42. .list .tip {
  43. font-size: 0.85em;
  44. font-weight: bold;
  45. }
  46. .list .light {
  47. font-size: 0.9em;
  48. font-weight: normal;
  49. }
  50. .list .anchor {
  51. font-size: 0.75em;
  52. padding: 3px 6px !important;
  53. }
  54. .list .anchor .icon {
  55. width: 14px !important;
  56. height: 14px !important;
  57. margin-right: 4px !important;
  58. font-size: 1.3em !important;
  59. line-height: 16px !important;
  60. }
  61. .list .anchor .bubble { display: none; }
  62. /* @end */
  63. /* @group .search */
  64. .list .search input {
  65. width: 88%;
  66. }
  67. .list .search a {
  68. float: right;
  69. height: 30px;
  70. margin: 0px;
  71. padding: 0px;
  72. }
  73. .list .search a .icon {
  74. height: 12px;
  75. width: 30px;
  76. margin: 0px;
  77. font-size: 1.2em;
  78. font-weight: normal;
  79. }
  80. /* @end */
  81. /* @group .arrow */
  82. .list a.arrow:before {
  83. float: right;
  84. content: ">";
  85. position: relative;
  86. top: 6px;
  87. font-size: 16px;
  88. font-family: "Courier New", Courier, mono;
  89. font-weight: bold;
  90. }
  91. /* @end */
  92. /* @group .onright */
  93. .list .onright {
  94. font-size: 0.85em;
  95. }
  96. .list .onright .icon {
  97. font-size: 1.2em !important;
  98. height: 12px !important;
  99. width: 12px !important;
  100. margin: 0px;
  101. }
  102. /* @end */