_button.scss 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. .button {
  2. border: none;
  3. outline: none;
  4. padding: 0.75rem;
  5. border-radius: 0.25rem;
  6. text-decoration: none;
  7. cursor: pointer;
  8. @include transition(all, 0.15s, ease-in);
  9. &[data-color="default"] {
  10. @include themify($themes) {
  11. color: themed('body-background-color');
  12. border: 1px solid darken(themed('landing-button-default'), 15%);
  13. background-color: themed('landing-button-default');
  14. @include on-event {
  15. color: themed('body-background-color');
  16. border: 1px solid darken(themed('landing-button-default'), 15%);
  17. background-color: lighten(themed('landing-button-default'), 8%);
  18. }
  19. }
  20. }
  21. &[data-color="primary"] {
  22. @include themify($themes) {
  23. color: themed('body-background-color');
  24. border: 1px solid darken(themed('landing-button-primary'), 15%);
  25. background-color: themed('landing-button-primary');
  26. @include on-event {
  27. color: themed('body-background-color');
  28. border: 1px solid darken(themed('landing-button-primary'), 15%);
  29. background-color: lighten(themed('landing-button-primary'), 8%);
  30. }
  31. }
  32. }
  33. }
  34. .editBtn {
  35. border: none;
  36. outline: none;
  37. padding: 0.75rem;
  38. margin: 0 0.5rem;
  39. text-decoration: none;
  40. cursor: pointer;
  41. font-family: $title-font;
  42. background-color: transparent;
  43. @include themify($themes) {
  44. color: themed('landing-button-default');
  45. @include on-event {
  46. color: themed('body-color');
  47. background-color: themed('dropdown-hover-background-color');
  48. }
  49. }
  50. @media only screen and (max-width: 600px) {
  51. display: none;
  52. }
  53. }