Lungo.widgets.less 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /**
  2. * Stylesheet
  3. *
  4. * @namespace Lungo
  5. * @class Widgets
  6. *
  7. * @author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
  8. */
  9. @import "constants.less";
  10. .scroll {
  11. overflow-x: hidden;
  12. overflow-y: scroll;
  13. -webkit-overflow-scrolling: touch;
  14. -webkit-box-flex: 1;
  15. &.horizontal {
  16. overflow-x: scroll;
  17. overflow-y: hidden;
  18. white-space: nowrap;
  19. /*
  20. & > * {
  21. min-width: 4096px;
  22. & > * { float: left; }
  23. }
  24. */
  25. }
  26. // BUG (iOS) POSITION: relative childrens
  27. & > * { -webkit-transform: translate3d(0, 0, 0); }
  28. }
  29. :not(.icon) {
  30. &.left { float: left; }
  31. &.right { float: right;}
  32. }
  33. .hidden { display: none; }
  34. .indented > * { margin: 10px; }
  35. .margined { margin: 3%; }
  36. .wrapper { padding: 8px 8px; }
  37. .icon.small { font-size: 1.3em; }
  38. .framed { border: 2px solid #fff;}
  39. .round { .border-radius(4px); }
  40. .bubble {
  41. display: inline-block;
  42. padding: 2px 3px;
  43. min-width: 12px;
  44. font-size: 0.75em;
  45. font-weight: bold;
  46. line-height: 13px;
  47. text-align: center; }