SlackNotification.module.scss 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. .grw-slack-switch :global {
  2. .form-check-input {
  3. cursor: pointer;
  4. background-repeat: no-repeat;
  5. background-attachment:scroll;
  6. background-clip: border-box;
  7. background-origin: padding-box;
  8. background-size: 30%, 45%;
  9. box-shadow: none;
  10. transition: all 0.4s ease-out;
  11. }
  12. .form-check-input:not(:checked):not(:focus) {
  13. background-color: #E4E7EA;
  14. background-image:
  15. url('/images/icons/slack/slack-logo-off.svg'),
  16. url('/images/icons/slack/slack-logo-background.svg');
  17. background-position: 15%, 5%, 50%, 50%;
  18. }
  19. .form-check-input:not(:checked) {
  20. background-color: #E4E7EA;
  21. background-image:
  22. url('/images/icons/slack/slack-logo-off.svg'),
  23. url('/images/icons/slack/slack-logo-background.svg');
  24. background-position: 15%, 5%, 50%, 50%;
  25. }
  26. .form-check-input:checked {
  27. background-color: #E7A9E8;
  28. background-image:
  29. url('/images/icons/slack/slack-logo-on.svg'),
  30. url('/images/icons/slack/slack-logo-background.svg');
  31. background-position: 85%, 95%, 50%, 50%;
  32. }
  33. }