Lungo.widgets.less 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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: scroll;
  13. // overflow-x: hidden;
  14. // overflow-y: scroll;
  15. overflow-y: scroll;
  16. -webkit-overflow-scrolling: touch;
  17. -webkit-box-flex: 1;
  18. &.horizontal {
  19. overflow-x: scroll;
  20. overflow-y: hidden !important;
  21. & > * {
  22. min-width: 4096px;
  23. & > * { float: left; }
  24. }
  25. }
  26. }
  27. .onleft { float: left; }
  28. .onright { float: right;}
  29. .hidden { display: none; }
  30. .indented > * { padding: 10px; }
  31. .wrapper {
  32. padding: 8px 8px;
  33. }
  34. .icon.small {
  35. font-size: 20px !important;
  36. height: 16px !important;
  37. width: 16px !important;
  38. line-height: 16px !important;
  39. }
  40. .framed { border: 2px solid #fff;}
  41. .round { .border-radius(4px); }
  42. .bubble {
  43. display: inline-block;
  44. padding: 2px 3px;
  45. min-width: 12px;
  46. font-size: 0.75em;
  47. font-weight: bold;
  48. line-height: 13px;
  49. }
  50. & strong {
  51. font-size: 1.15em;
  52. }
  53. & small {
  54. display: block;
  55. overflow: hidden;
  56. white-space: nowrap;
  57. text-overflow: ellipsis;
  58. font-size: 0.8em;
  59. }