Lungo.widgets.less 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. /**
  2. * Stylesheet
  3. *
  4. * @namespace LUNGO
  5. * @class Widgets
  6. *
  7. * @author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
  8. */
  9. @import "mixins.less";
  10. /* @group scroll */
  11. .scrollable {
  12. position: absolute;
  13. display: block;
  14. width: 100%;
  15. height: 100%;
  16. }
  17. .scroll {
  18. overflow: scroll;
  19. -webkit-overflow-scrolling: touch;
  20. }
  21. .scroll .vertical {
  22. }
  23. /* @end */
  24. /* @group .position */
  25. .onleft { float: left; }
  26. .onright { float: right;}
  27. .indented {
  28. width: auto;
  29. height: auto;
  30. padding: 10px 10px 0px;
  31. }
  32. .indented ul {
  33. margin-bottom: 10px;
  34. height: auto;
  35. width: inherit;
  36. }
  37. .rounded ul { .border-radius(4px); }
  38. .rounded li:first-child { .border-radius(4px 4px 0px 0px); }
  39. .rounded li:last-child { .border-radius(0px 0px 4px 4px); }
  40. .margin-top-4{ margin-top: 4px; }
  41. /* @end */
  42. /* @group .visibility */
  43. .hidden { display: none; }
  44. .semi-opacity{ opacity: 0.5; }
  45. /* @end */
  46. /* @group .sizing */
  47. .size32 {
  48. font-size: 32px;
  49. height: 32px;
  50. width: 32px;
  51. line-height: 32px;
  52. }
  53. .mini {
  54. font-size: 20px !important;
  55. height: 16px !important;
  56. width: 16px !important;
  57. line-height: 16px !important;
  58. }
  59. /* @end */
  60. .framed { border: 2px solid #fff;}
  61. .round { .border-radius(4px); }
  62. /* @end */
  63. .bubble {
  64. padding: 2px 4px 3px;
  65. .border-radius(2px);
  66. font-size: 0.8em;
  67. font-weight: bold;
  68. line-height: 1.0em;
  69. }