Lungo.layout.list.less 1.9 KB

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