Lungo.widgets.button.less 913 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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: 40px;
  14. padding: 0 8px;
  15. color: #fff !important;
  16. background: #5a5a5a;
  17. font-size: 16px;
  18. text-align: center;
  19. text-decoration: none;
  20. line-height: 42px;
  21. outline: none;
  22. .user-select(none);
  23. &:active, &.active {
  24. background: #4b4b4b;
  25. }
  26. &:disabled, &.disabled {
  27. background: rgba(255,255,255,0.2);
  28. color: #999 !important;
  29. }
  30. & .icon {
  31. position: relative;
  32. top: 3px;
  33. height: 16px;
  34. width: 16px;
  35. font-size: 22px;
  36. line-height: 17px;
  37. }
  38. & img {
  39. top: 0px !important;
  40. }
  41. &.big {
  42. width: 100%;
  43. padding: 0px;
  44. margin-bottom: 4px;
  45. & .icon {
  46. margin: 8px -18px 0 12px;
  47. float: left;
  48. font-size: 24px;
  49. height: 18px;
  50. width: 18px;
  51. }
  52. }
  53. }