Lungo.widgets.button.less 884 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /**
  2. * Stylesheet
  3. *
  4. * @namespace LUNGO.Widgets
  5. * @class Button
  6. *
  7. * @author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
  8. */
  9. @import "mixins.less";
  10. a.button {
  11. display: inline-block;
  12. height: 30px;
  13. padding: 0 9px 0 8px;
  14. color: #fff !important;
  15. outline: none;
  16. background: #5a5a5a;
  17. .user-select(none);
  18. font-weight: bold;
  19. line-height: 32px;
  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. float: left;
  31. font-size: 1.5em;
  32. line-height: 32px;
  33. }
  34. &.big {
  35. position: relative;
  36. width: 100%;
  37. margin-bottom: 4px;
  38. padding: 6px 0;
  39. font-size: 16px;
  40. line-height: 32px;
  41. & .icon {
  42. display: inline-block;
  43. float: none;
  44. margin-right: 4px;
  45. line-height: 14px;
  46. }
  47. }
  48. }