Lungo.widgets.less 1.0 KB

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