Lungo.widgets.button.less 960 B

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