_buttons.less 560 B

12345678910111213141516171819202122232425262728293031
  1. // /**
  2. // * Copyright © Magento, Inc. All rights reserved.
  3. // * See COPYING.txt for license details.
  4. // */
  5. //
  6. // Common
  7. // _____________________________________________
  8. & when (@media-common = true) {
  9. // Using buttons mixins
  10. button,
  11. a.action.primary {
  12. .lib-css(border-radius, @button__border-radius);
  13. }
  14. button {
  15. &:active {
  16. .lib-css(box-shadow, @button__shadow);
  17. }
  18. }
  19. a.action.primary {
  20. .lib-link-as-button();
  21. }
  22. .action.primary {
  23. .lib-button-primary();
  24. }
  25. }