Control.MiniMap.css 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. .leaflet-control-minimap {
  2. border:solid #0035a8 2px;
  3. box-shadow: 0 1px 5px rgba(0,0,0,0.65);
  4. border-radius: 0px;
  5. background: #f8f8f9;
  6. -o-transition:all .6s;
  7. transition: all .6s;
  8. }
  9. .leaflet-control-minimap a {
  10. background-color: #0fc8f3;
  11. background-repeat: no-repeat;
  12. z-index: 8888;
  13. -o-transition:all .6s;
  14. transition: all .6s;
  15. }
  16. .leaflet-control-minimap a.minimized-bottomright {
  17. -webkit-transform: rotate(180deg);
  18. -o-transform: rotate(180deg);
  19. transform: rotate(180deg);
  20. border-radius: 0px;
  21. }
  22. .leaflet-control-minimap a.minimized-topleft {
  23. -webkit-transform: rotate(0deg);
  24. -o-transform: rotate(0deg);
  25. transform: rotate(0deg);
  26. border-radius: 0px;
  27. }
  28. .leaflet-control-minimap a.minimized-bottomleft {
  29. -webkit-transform: rotate(270deg) !important;
  30. -o-transform: rotate(270deg) !important;
  31. transform: rotate(270deg) !important;
  32. border-radius: 0px;
  33. }
  34. .leaflet-control-minimap a.minimized-topright {
  35. -webkit-transform: rotate(90deg);
  36. -o-transform: rotate(90deg);
  37. transform: rotate(90deg);
  38. border-radius: 0px;
  39. }
  40. .leaflet-control-minimap-toggle-display{
  41. background-image: url("images/toggle.svg");
  42. background-size: cover;
  43. position: absolute;
  44. border-radius: 3px 0px 0px 0px;
  45. }
  46. .leaflet-oldie .leaflet-control-minimap-toggle-display{
  47. background-image: url("images/toggle.png");
  48. }
  49. .leaflet-control-minimap-toggle-display-bottomright {
  50. bottom: 0;
  51. right: 0;
  52. }
  53. .leaflet-control-minimap-toggle-display-topleft{
  54. top: 0;
  55. left: 0;
  56. -webkit-transform: rotate(180deg);
  57. -o-transform: rotate(180deg);
  58. transform: rotate(180deg);
  59. }
  60. .leaflet-control-minimap-toggle-display-bottomleft{
  61. bottom: 0;
  62. left: 0;
  63. -webkit-transform: rotate(90deg);
  64. -o-transform: rotate(90deg);
  65. transform: rotate(90deg);
  66. }
  67. .leaflet-control-minimap-toggle-display-topright{
  68. top: 0;
  69. right: 0;
  70. -webkit-transform: rotate(270deg);
  71. -o-transform: rotate(270deg);
  72. transform: rotate(270deg);
  73. }
  74. /* Old IE */
  75. .leaflet-oldie .leaflet-control-minimap {
  76. border: 1px solid #999;
  77. }
  78. .leaflet-oldie .leaflet-control-minimap a {
  79. background-color: #fff;
  80. }
  81. .leaflet-oldie .leaflet-control-minimap a.minimized {
  82. filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
  83. }