No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_alert-dismissible.scss 790B

123456789101112131415161718192021222324252627282930313233343536373839
  1. //
  2. // Dismissible alert
  3. //
  4. .alert-dismissible {
  5. .close {
  6. top: 50%;
  7. right: $alert-padding-x;
  8. padding: 0;
  9. transform: translateY(-50%);
  10. color: rgba($white, .6);
  11. opacity: 1;
  12. &:hover,
  13. &:focus {
  14. color: rgba($white, .9);
  15. opacity: 1 !important;
  16. }
  17. @include media-breakpoint-down(xs) {
  18. top: 1rem;
  19. right: .5rem;
  20. }
  21. &>span:not(.sr-only) {
  22. font-size: 1.5rem;
  23. background-color: transparent;
  24. color: rgba($white, .6);
  25. }
  26. &:hover,
  27. &:focus {
  28. &>span:not(.sr-only) {
  29. background-color: transparent;
  30. color: rgba($white, .9);
  31. }
  32. }
  33. }
  34. }