_fixed-plugin.scss 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. .fixed-plugin{
  2. .fixed-plugin-button{
  3. background: $white;
  4. border-radius: $fixed-plugin-radius;
  5. bottom: $fixed-plugin-bottom;
  6. right: $fixed-plugin-right;
  7. font-size: $font-size-xl;
  8. z-index: $fixed-plugin-button-z-index;
  9. box-shadow: $fixed-plugin-box-shadow;
  10. cursor: pointer;
  11. i{
  12. pointer-events: none;
  13. }
  14. }
  15. .card{
  16. position: fixed !important;
  17. right: -$fixed-plugin-card-width;
  18. top: 0;
  19. height: 100%;
  20. left: auto!important;
  21. transform: unset !important;
  22. width: $fixed-plugin-card-width;
  23. border-radius: 0;
  24. padding: 0 10px;
  25. transition: .2s ease;
  26. z-index: $fixed-plugin-card-z-index;
  27. }
  28. .badge{
  29. border: 1px solid $white;
  30. border-radius: 50%;
  31. cursor: pointer;
  32. display: inline-block;
  33. height: 23px;
  34. margin-right: 5px;
  35. position: relative;
  36. width: 23px;
  37. transition: $transition-base;
  38. &:hover,
  39. &.active{
  40. border-color: $dark;
  41. }
  42. }
  43. .btn.bg-gradient-primary:not(:disabled):not(.disabled){
  44. border: 1px solid transparent;
  45. &:not(.active){
  46. background-color: transparent;
  47. background-image: none;
  48. border: 1px solid $primary;
  49. color: $primary;
  50. }
  51. }
  52. &.show{
  53. .card{
  54. right: 0;
  55. }
  56. }
  57. }