_mapael.scss 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. //
  2. // Plugins: jQuery Mapael
  3. //
  4. .mapael {
  5. .map {
  6. position: relative;
  7. }
  8. .mapTooltip {
  9. @include reset-text();
  10. @include border-radius($tooltip-border-radius);
  11. @include font-size($tooltip-font-size);
  12. background-color: $tooltip-bg;
  13. color: $tooltip-color;
  14. display: block;
  15. max-width: $tooltip-max-width;
  16. padding: $tooltip-padding-y $tooltip-padding-x;
  17. position: absolute;
  18. text-align: center;
  19. word-wrap: break-word;
  20. z-index: $zindex-tooltip;
  21. }
  22. .myLegend {
  23. background-color: $gray-100;
  24. border: 1px solid $gray-500;
  25. padding: 10px;
  26. width: 600px;
  27. }
  28. .zoomButton {
  29. background-color: $button-default-background-color;
  30. border: 1px solid $button-default-border-color;
  31. border-radius: $btn-border-radius;
  32. color: $button-default-color;
  33. cursor: pointer;
  34. font-weight: 700;
  35. height: 16px;
  36. left: 10px;
  37. line-height: 14px;
  38. padding-left: 1px;
  39. position: absolute;
  40. text-align: center;
  41. top: 0;
  42. user-select: none;
  43. width: 16px;
  44. &:hover,
  45. &:active,
  46. &.hover {
  47. background-color: darken($button-default-background-color, 5%);
  48. color: darken($button-default-color, 10%);
  49. }
  50. }
  51. .zoomReset {
  52. line-height: 12px;
  53. top: 10px;
  54. }
  55. .zoomIn {
  56. top: 30px;
  57. }
  58. .zoomOut {
  59. top: 50px;
  60. }
  61. }