_jsvectormap.scss 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. @import "jsvectormap/dist/css/jsvectormap";
  2. .jvm-tooltip {
  3. background: $dark;
  4. font-family: inherit;
  5. font-size: $h5-font-size;
  6. box-shadow: $card-box-shadow;
  7. }
  8. .jvm-series-container .jvm-legend .jvm-legend-title {
  9. border-bottom: 0;
  10. font-weight: var(--#{$prefix}font-weight-medium);
  11. }
  12. .jvm-series-container .jvm-legend {
  13. background-color: var(--#{$prefix}card-bg, var(--#{$prefix}bg-surface));
  14. border: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color);
  15. min-width: 8rem;
  16. .jvm-legend-inner .jvm-legend-tick {
  17. display: flex;
  18. align-items: center;
  19. .jvm-legend-tick-sample {
  20. width: .75rem;
  21. height: .75rem;
  22. }
  23. }
  24. }
  25. .jvm-zoom-btn {
  26. border: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color);
  27. background: var(--#{$prefix}card-bg, var(--#{$prefix}bg-surface));
  28. color: var(--#{$prefix}body-color);
  29. padding: 0;
  30. display: flex;
  31. align-items: center;
  32. justify-content: center;
  33. line-height: 1;
  34. width: 1.5rem;
  35. height: 1.5rem;
  36. font-size: 1rem;
  37. box-shadow: $card-box-shadow;
  38. &.jvm-zoomout {
  39. top: 2.5rem;
  40. }
  41. }