Lungo.widgets.css 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. /**
  2. * Stylesheet
  3. *
  4. * @namespace Lungo
  5. * @class Widgets
  6. *
  7. * @author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
  8. */
  9. /* DIMENSIONS */
  10. /* COLORS */
  11. .scroll {
  12. overflow-x: hidden;
  13. overflow-y: scroll;
  14. -webkit-overflow-scrolling: touch;
  15. -webkit-box-flex: 1;
  16. }
  17. .scroll.horizontal {
  18. overflow-x: scroll;
  19. overflow-y: hidden;
  20. white-space: nowrap;
  21. /*
  22. & > * {
  23. min-width: 4096px;
  24. & > * { float: left; }
  25. }
  26. */
  27. }
  28. .scroll > * {
  29. -webkit-transform: translate3d(0, 0, 0);
  30. }
  31. :not(.icon).left {
  32. float: left;
  33. }
  34. :not(.icon).right {
  35. float: right;
  36. }
  37. .hidden {
  38. display: none;
  39. }
  40. .indented > * {
  41. margin: 10px;
  42. }
  43. .margined {
  44. margin: 3%;
  45. }
  46. .wrapper {
  47. padding: 8px 8px;
  48. }
  49. .icon.small {
  50. font-size: 1.3em;
  51. }
  52. .framed {
  53. border: 2px solid #fff;
  54. }
  55. .round {
  56. -webkit-border-radius: 4px;
  57. -moz-border-radius: 4px;
  58. border-radius: 4px;
  59. -webkit-background-clip: padding-box;
  60. -moz-background-clip: padding;
  61. background-clip: padding-box;
  62. }
  63. .bubble {
  64. display: inline-block;
  65. padding: 2px 3px;
  66. min-width: 12px;
  67. font-size: 0.75em;
  68. font-weight: bold;
  69. line-height: 13px;
  70. text-align: center;
  71. }