Lungo.layout.list.less 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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. @import "mixins.less";
  11. .list {
  12. & li {
  13. list-style-type: none;
  14. &.padding {
  15. padding: 8px;
  16. }
  17. & a {
  18. display: block;
  19. padding: 8px;
  20. }
  21. &.arrow > a::after{
  22. content: '';
  23. display: block;
  24. width: 6px;
  25. height: 6px;
  26. border-right: 3px solid #D0D0D8;
  27. border-top: 3px solid #D0D0D8;
  28. position: absolute;
  29. right: 12px;
  30. top: 43%;
  31. -webkit-transform: rotate(45deg);
  32. -moz-transform: rotate(45deg);
  33. -o-transform: rotate(45deg);
  34. transform: rotate(45deg);
  35. }
  36. & .icon:not(.small), & img {
  37. float: left;
  38. width: 32px;
  39. height: 32px;
  40. margin-right: 8px;
  41. font-size: 2.6em;
  42. line-height: 1.0em;
  43. text-align: center;
  44. }
  45. &.thumb img {
  46. margin: -8px 8px -8px -8px;
  47. height: 46px !important;
  48. width:46px !important;
  49. }
  50. }
  51. & .bubble {
  52. padding-left: 5px;
  53. padding-right: 5px;
  54. }
  55. & .onright {
  56. font-size: 0.75em;
  57. font-weight: bold;
  58. }
  59. & .onright .icon, & small .icon {
  60. height: 13px !important;
  61. width: 13px !important;
  62. margin-right: 1px !important;
  63. font-size: 1.2em !important;
  64. line-height: 0.8em;
  65. }
  66. //@todo: Refactor li.anchor stylesheet;
  67. & li.anchor {
  68. font-size: 0.85em;
  69. font-weight: bold;
  70. padding: 0px 4px;
  71. line-height: 1.5em;
  72. & .icon.small {
  73. margin-right: 2px;
  74. }
  75. & .bubble { display: none; }
  76. }
  77. }