Lungo.widgets.less 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. .left { float: left; }
  30. .right { float: right;}
  31. .hidden { display: none; }
  32. .indented > * { margin: 10px; }
  33. .wrapper { padding: 8px 8px; }
  34. .icon.small { font-size: 1.3em; }
  35. .framed { border: 2px solid #fff;}
  36. .round { .border-radius(4px); }
  37. .bubble {
  38. display: inline-block;
  39. padding: 2px 3px;
  40. min-width: 12px;
  41. font-size: 0.75em;
  42. font-weight: bold;
  43. line-height: 13px;
  44. text-align: center; }