azure-maps-control 2.1.6 → 2.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/atlas.css CHANGED
@@ -987,6 +987,81 @@ a.azure-map-copyright[href]:hover {
987
987
  overflow: hidden;
988
988
  z-index: 100;
989
989
  }
990
+ .azure-maps-control-dropdown {
991
+ display: flex;
992
+ flex-direction: column;
993
+ border-radius: 4px;
994
+ box-shadow: 0 2px 4px 1px rgba(0, 0, 0, 0.14);
995
+ overflow: hidden;
996
+ padding-block: 8px;
997
+ background-color: white;
998
+ transform: scale(0.1, 0.1);
999
+ transition-timing-function: ease-out;
1000
+ transition-duration: 250ms;
1001
+ position: absolute;
1002
+ z-index: 1001;
1003
+ outline: 0;
1004
+ }
1005
+ .azure-maps-control-dropdown.top-left {
1006
+ transform-origin: top left;
1007
+ left: 0;
1008
+ }
1009
+ .azure-maps-control-dropdown.top-right {
1010
+ transform-origin: top right;
1011
+ right: 0;
1012
+ }
1013
+ .azure-maps-control-dropdown.bottom-left {
1014
+ transform-origin: bottom left;
1015
+ left: 0;
1016
+ bottom: 0;
1017
+ }
1018
+ .azure-maps-control-dropdown.bottom-right {
1019
+ transform-origin: bottom right;
1020
+ right: 0;
1021
+ bottom: 0;
1022
+ }
1023
+ .azure-maps-control-container.in-use .azure-maps-control-dropdown {
1024
+ transform: scale(1, 1);
1025
+ transition-timing-function: ease-out;
1026
+ transition-duration: 250ms;
1027
+ opacity: 1;
1028
+ visibility: visible;
1029
+ }
1030
+ .azure-maps-control-list-button {
1031
+ display: flex;
1032
+ align-items: center;
1033
+ background-color: white;
1034
+ box-shadow: 0 2px 4px 1px rgba(0, 0, 0, 0.14);
1035
+ border-radius: 0px;
1036
+ border: none;
1037
+ line-height: 32px;
1038
+ padding-inline-end: 16px;
1039
+ white-space: nowrap;
1040
+ }
1041
+ .azure-maps-control-list-button.curr-style {
1042
+ border-radius: 4px;
1043
+ }
1044
+ .azure-maps-control-list-button:hover,
1045
+ .azure-maps-control-list-button[aria-current="true"] {
1046
+ background-color: #f0f0f0;
1047
+ }
1048
+ .azure-maps-control-list-button:disabled {
1049
+ pointer-events: none;
1050
+ }
1051
+ .azure-maps-control-list-button img {
1052
+ margin: 8px;
1053
+ width: 16px;
1054
+ height: 16px;
1055
+ border: 1px solid lightgrey;
1056
+ border-radius: 2px;
1057
+ }
1058
+ .azure-maps-control-list-button.expanded {
1059
+ padding-inline-end: 64px;
1060
+ box-shadow: none;
1061
+ }
1062
+ .azure-maps-control-list-button.expanded img {
1063
+ margin-inline-end: 16px;
1064
+ }
990
1065
  .tooltiptext.dark {
991
1066
  background-color: #555;
992
1067
  color: #fff;
@@ -1408,14 +1483,65 @@ a.azure-map-copyright[href]:hover {
1408
1483
  color: #000;
1409
1484
  }
1410
1485
  .atlas-map.high-contrast-dark .azure-maps-control-container > .style-options.list button,
1486
+ .atlas-map.high-contrast-dark .azure-maps-control-container > .azure-maps-control-dropdown,
1411
1487
  .azure-maps-control-container.dark > .style-options.list button {
1412
1488
  background-color: #011C2C;
1413
1489
  color: #CCC;
1414
1490
  }
1415
1491
  .atlas-map.high-contrast-dark .azure-maps-control-container > .style-options.list button :disabled,
1492
+ .atlas-map.high-contrast-dark .azure-maps-control-container > .azure-maps-control-dropdown :disabled,
1416
1493
  .azure-maps-control-container.dark > .style-options.list button :disabled {
1417
1494
  color: rgba(255, 255, 255, 0.3);
1418
1495
  }
1496
+ .azure-maps-control-container.dark > .azure-maps-control-dropdown,
1497
+ .azure-maps-control-container.dark .azure-maps-control-list-button {
1498
+ background-color: #011c2c;
1499
+ }
1500
+ .atlas-map.high-contrast-dark .azure-maps-control-container > .azure-maps-control-dropdown {
1501
+ border-radius: 0;
1502
+ border: 3px solid #ffffff;
1503
+ }
1504
+ .atlas-map.high-contrast-light .azure-maps-control-container > .azure-maps-control-dropdown {
1505
+ border-radius: 0;
1506
+ border: 3px solid #000000;
1507
+ }
1508
+ .azure-maps-control-container.dark .azure-maps-control-list-button {
1509
+ box-shadow: rgba(0, 0, 0, 0.16) 0px 0px 4px;
1510
+ color: white;
1511
+ }
1512
+ .atlas-map.high-contrast-dark .azure-maps-control-container .azure-maps-control-list-button {
1513
+ background-color: #011C2C;
1514
+ color: #fff;
1515
+ }
1516
+ .atlas-map.high-contrast-dark .azure-maps-control-container .azure-maps-control-list-button :disabled {
1517
+ color: rgba(255, 255, 255, 0.3);
1518
+ }
1519
+ .atlas-map.high-contrast-light .azure-maps-control-container .azure-maps-control-list-button {
1520
+ background-color: #FFF;
1521
+ color: #000;
1522
+ }
1523
+ .atlas-map.high-contrast-dark .azure-maps-control-container .azure-maps-control-list-button.curr-style {
1524
+ border-radius: 0;
1525
+ border: 3px solid #ffffff;
1526
+ }
1527
+ .atlas-map.high-contrast-light .azure-maps-control-container .azure-maps-control-list-button.curr-style {
1528
+ border-radius: 0;
1529
+ border: 3px solid #000000;
1530
+ }
1531
+ .azure-maps-control-container.dark .azure-maps-control-list-button:hover,
1532
+ .azure-maps-control-container.dark .azure-maps-control-list-button[aria-current="true"] {
1533
+ background-color: #31acce;
1534
+ }
1535
+ .atlas-map.high-contrast-dark .azure-maps-control-container .azure-maps-control-list-button:hover,
1536
+ .atlas-map.high-contrast-dark .azure-maps-control-container .azure-maps-control-list-button[aria-current="true"] {
1537
+ background-color: #FFF;
1538
+ color: #000;
1539
+ }
1540
+ .atlas-map.high-contrast-light .azure-maps-control-container .azure-maps-control-list-button:hover,
1541
+ .atlas-map.high-contrast-light .azure-maps-control-container .azure-maps-control-list-button[aria-current="true"] {
1542
+ background-color: #011C2C;
1543
+ color: #fff;
1544
+ }
1419
1545
  .azure-maps-control-container > .style-options.list button:hover,
1420
1546
  .azure-maps-control-container > .style-options.list button:focus {
1421
1547
  color: #31ACCE;