Lungo.layout.list.less 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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. width: inherit;
  12. font-size: 1.15em;
  13. //line-height: 1.15em;
  14. }
  15. .list li:not(.toolbar) {
  16. padding: 8px 6px 8px 8px;
  17. list-style-type: none;
  18. }
  19. .list a {
  20. display: block;
  21. }
  22. .list li:not(.toolbar) .icon, .list li:not(.toolbar) img {
  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. }
  37. .list .icon {
  38. display: inline-block;
  39. }
  40. .list .tip {
  41. font-size: 0.85em;
  42. font-weight: bold;
  43. }
  44. .list li.anchor {
  45. font-size: 0.8em;
  46. padding: 4px 4px 3px;
  47. }
  48. .list .anchor .icon {
  49. width: 14px !important;
  50. height: 14px !important;
  51. margin-right: 2px !important;
  52. font-size: 1.6em !important;
  53. line-height: 14px !important;
  54. }
  55. .list .anchor .bubble { display: none; }
  56. /* @end */
  57. /* @group .search */
  58. .list .search input {
  59. width: 88%;
  60. }
  61. .list .search a {
  62. float: right;
  63. height: 30px;
  64. margin: 0px;
  65. padding: 0px;
  66. }
  67. .list .search a .icon {
  68. height: 12px;
  69. width: 30px;
  70. margin: 0px;
  71. font-size: 1.2em;
  72. font-weight: normal;
  73. }
  74. /* @end */
  75. /* @group .onright */
  76. .list .onright {
  77. font-size: 0.75em;
  78. line-height: 16px;
  79. }
  80. .list .onright .icon, .list small .icon {
  81. font-size: 1.4em !important;
  82. line-height: 16px;
  83. height: 14px !important;
  84. width: 14px !important;
  85. margin-right: 0px !important;
  86. }
  87. /* @end */