Lungo.widgets.button.less 960 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. /**
  2. * Stylesheet
  3. *
  4. * @namespace LUNGO.Widgets
  5. * @class Button
  6. *
  7. * @author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
  8. */
  9. @import "constants.less";
  10. @import "mixins.less";
  11. a.button {
  12. display: inline-block;
  13. height: 30px;
  14. padding: 0 9px 0 8px;
  15. color: #fff !important;
  16. outline: none;
  17. background: #5a5a5a;
  18. .user-select(none);
  19. line-height: 31px;
  20. text-align: center;
  21. text-decoration: none;
  22. &:active, &.active {
  23. background: #4b4b4b;
  24. }
  25. &:disabled, &.disabled {
  26. background: rgba(255,255,255,0.2);
  27. color: #999 !important;
  28. }
  29. & .icon {
  30. position: relative;
  31. top: 3px;
  32. height: 16px;
  33. width: 16px;
  34. font-size: 22px;
  35. line-height: 17px;
  36. }
  37. & img {
  38. top: 0px !important;
  39. }
  40. &.big {
  41. width: 100%;
  42. height: 40px;
  43. padding: 0px;
  44. margin-bottom: 4px;
  45. font-size: 16px;
  46. line-height: 42px;
  47. & .icon {
  48. margin-right: 4px;
  49. font-size: 24px;
  50. height: 18px;
  51. width: 18px;
  52. }
  53. & img {
  54. /* TODO */
  55. }
  56. }
  57. }