Lungo.layout.list.less 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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. & a {
  14. display: block;
  15. }
  16. & li:not(.toolbar) {
  17. padding: 8px 6px 8px 8px;
  18. list-style-type: none;
  19. & .icon, & img {
  20. float: left;
  21. width: 32px;
  22. height: 32px;
  23. margin-right: 6px;
  24. font-size: 36px;
  25. font-weight: normal;
  26. }
  27. }
  28. & .icon, & img {
  29. display: inline-block;
  30. }
  31. & small {
  32. display: block;
  33. overflow: hidden;
  34. white-space: nowrap;
  35. text-overflow: ellipsis;
  36. font-size: 0.85em;
  37. }
  38. & li.anchor {
  39. font-size: 0.85em;
  40. padding: 4px 4px 3px;
  41. & .icon {
  42. width: 14px !important;
  43. height: 14px !important;
  44. margin-right: 2px !important;
  45. font-size: 1.6em !important;
  46. line-height: 14px !important;
  47. }
  48. & .bubble { display: none; }
  49. }
  50. & .tip {
  51. font-size: 0.85em;
  52. font-weight: bold;
  53. }
  54. & .search {
  55. & input { width: 88%; }
  56. & a {
  57. float: right;
  58. height: 30px;
  59. margin: 0px;
  60. padding: 0px;
  61. & icon {
  62. height: 12px;
  63. width: 30px;
  64. margin: 0px;
  65. font-size: 1.2em;
  66. font-weight: normal;
  67. }
  68. }
  69. }
  70. & .onright {
  71. font-size: 0.75em;
  72. line-height: 16px;
  73. }
  74. & .onright .icon, & small .icon {
  75. font-size: 1.4em !important;
  76. line-height: 16px;
  77. height: 14px !important;
  78. width: 14px !important;
  79. margin-right: 0px !important;
  80. }
  81. }