Lungo.widgets.button.less 1003 B

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