ar-poncho 2.0.255 → 2.0.256
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/css/poncho.css +149 -11
- package/dist/css/poncho.min.css +1 -1
- package/dist/js/poncho.js +1159 -954
- package/dist/js/poncho.min.js +1 -1
- package/package.json +1 -1
- package/test/utils.test.js +4 -0
package/dist/css/poncho.css
CHANGED
|
@@ -8933,14 +8933,24 @@ body .main-footer {
|
|
|
8933
8933
|
--slider-radius: 16px;
|
|
8934
8934
|
--slider-media-mobile-height: 45%;
|
|
8935
8935
|
--active-marker-color: 255, 206, 0;
|
|
8936
|
-
--active-marker-alpha: .5;
|
|
8937
|
-
background-color: var(--map-background);
|
|
8936
|
+
--active-marker-alpha: 0.5;
|
|
8937
|
+
--background-color: var(--map-background);
|
|
8938
|
+
--accesible-background: #37bbed;
|
|
8939
|
+
--accesible-background: #f2f2f2;
|
|
8938
8940
|
overflow: hidden;
|
|
8939
8941
|
position: relative;
|
|
8942
|
+
/**
|
|
8943
|
+
* Estilos para los markers basados en <div>
|
|
8944
|
+
*/
|
|
8945
|
+
/**
|
|
8946
|
+
* Define el estlo para el slider
|
|
8947
|
+
*/
|
|
8948
|
+
/* Tooltip Leaflet personalizado */
|
|
8940
8949
|
/* leaflet popup */
|
|
8941
8950
|
/* leaflet controls*/
|
|
8942
8951
|
}
|
|
8943
|
-
.poncho-map .title,
|
|
8952
|
+
.poncho-map .title,
|
|
8953
|
+
.poncho-map *.text-primary {
|
|
8944
8954
|
color: var(--primary, #0072bb) !important;
|
|
8945
8955
|
}
|
|
8946
8956
|
.poncho-map .btn-close {
|
|
@@ -8955,10 +8965,34 @@ body .main-footer {
|
|
|
8955
8965
|
.poncho-map .marker--active {
|
|
8956
8966
|
--color: 247, 149, 37;
|
|
8957
8967
|
position: relative;
|
|
8958
|
-
border-radius: 50%;
|
|
8959
8968
|
box-shadow: 0 0 20px rgba(var(--active-marker-color), 1);
|
|
8960
8969
|
background: radial-gradient(circle, rgba(var(--active-marker-color), var(--active-marker-alpha)) 10%, rgba(var(--active-marker-color), var(--active-marker-alpha)) 80%);
|
|
8961
8970
|
}
|
|
8971
|
+
.poncho-map__div-icon {
|
|
8972
|
+
background-color: transparent;
|
|
8973
|
+
height: 38px;
|
|
8974
|
+
width: 38px;
|
|
8975
|
+
position: relative;
|
|
8976
|
+
display: block;
|
|
8977
|
+
margin: auto;
|
|
8978
|
+
text-align: center;
|
|
8979
|
+
border-radius: 50%;
|
|
8980
|
+
}
|
|
8981
|
+
.poncho-map__div-icon > i {
|
|
8982
|
+
font-size: 1.7em;
|
|
8983
|
+
position: absolute;
|
|
8984
|
+
margin: auto;
|
|
8985
|
+
top: 50%;
|
|
8986
|
+
right: 50%;
|
|
8987
|
+
transform: translate(50%, -50%);
|
|
8988
|
+
opacity: 0.9;
|
|
8989
|
+
transition: 0.2s;
|
|
8990
|
+
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
|
|
8991
|
+
}
|
|
8992
|
+
.poncho-map__div-icon:hover > i {
|
|
8993
|
+
opacity: 1;
|
|
8994
|
+
transition: 0.2s;
|
|
8995
|
+
}
|
|
8962
8996
|
.poncho-map .slider {
|
|
8963
8997
|
z-index: 990;
|
|
8964
8998
|
position: absolute;
|
|
@@ -9007,6 +9041,70 @@ body .main-footer {
|
|
|
9007
9041
|
bottom: 0.25rem;
|
|
9008
9042
|
border-bottom-left-radius: 12px;
|
|
9009
9043
|
}
|
|
9044
|
+
.poncho-map path.marker--active {
|
|
9045
|
+
filter: drop-shadow(2px 2px 2px rgb(249, 168, 34));
|
|
9046
|
+
}
|
|
9047
|
+
.poncho-map *:focus {
|
|
9048
|
+
outline: 4px solid #37bbed !important;
|
|
9049
|
+
box-sizing: border-box;
|
|
9050
|
+
border-radius: 3px;
|
|
9051
|
+
box-shadow: 0 0 8px #37bbed !important;
|
|
9052
|
+
}
|
|
9053
|
+
.poncho-map .accesible-nav {
|
|
9054
|
+
outline: none;
|
|
9055
|
+
position: absolute;
|
|
9056
|
+
left: -999em;
|
|
9057
|
+
line-height: 1.5em;
|
|
9058
|
+
z-index: 2000;
|
|
9059
|
+
min-height: 2em;
|
|
9060
|
+
background: rgba(0, 0, 0, 0.75);
|
|
9061
|
+
padding: 6px;
|
|
9062
|
+
border-radius: 16px;
|
|
9063
|
+
box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.4);
|
|
9064
|
+
font-size: small;
|
|
9065
|
+
}
|
|
9066
|
+
.poncho-map .accesible-nav:focus {
|
|
9067
|
+
outline: 2px solid var(--accesible-background);
|
|
9068
|
+
}
|
|
9069
|
+
.poncho-map .accesible-nav.top:focus-within {
|
|
9070
|
+
top: 10px;
|
|
9071
|
+
left: 10px;
|
|
9072
|
+
}
|
|
9073
|
+
.poncho-map .accesible-nav.bottom:focus-within {
|
|
9074
|
+
bottom: 10px;
|
|
9075
|
+
left: 10px;
|
|
9076
|
+
}
|
|
9077
|
+
.poncho-map .accesible-nav .accesible-nav__icon {
|
|
9078
|
+
margin-left: 3px;
|
|
9079
|
+
font-size: 1.5em;
|
|
9080
|
+
opacity: 1;
|
|
9081
|
+
color: #37bbed !important;
|
|
9082
|
+
}
|
|
9083
|
+
.poncho-map .accesible-nav ul {
|
|
9084
|
+
font-size: 1rem;
|
|
9085
|
+
margin: 0;
|
|
9086
|
+
padding: 0;
|
|
9087
|
+
font-size: small;
|
|
9088
|
+
}
|
|
9089
|
+
.poncho-map .accesible-nav ul li {
|
|
9090
|
+
list-style: none;
|
|
9091
|
+
}
|
|
9092
|
+
.poncho-map .accesible-nav a {
|
|
9093
|
+
text-decoration: none;
|
|
9094
|
+
border-radius: 10px;
|
|
9095
|
+
list-style: none;
|
|
9096
|
+
color: white;
|
|
9097
|
+
margin: 0;
|
|
9098
|
+
min-height: 2em;
|
|
9099
|
+
padding: 5px 10px;
|
|
9100
|
+
display: block;
|
|
9101
|
+
}
|
|
9102
|
+
.poncho-map .accesible-nav a:focus {
|
|
9103
|
+
outline: 2px solid var(--accesible-background) !important;
|
|
9104
|
+
color: black;
|
|
9105
|
+
box-shadow: none !important;
|
|
9106
|
+
background: var(--accesible-background);
|
|
9107
|
+
}
|
|
9010
9108
|
.poncho-map .filter-container {
|
|
9011
9109
|
position: absolute;
|
|
9012
9110
|
top: 98px;
|
|
@@ -9084,25 +9182,65 @@ body .main-footer {
|
|
|
9084
9182
|
.poncho-map .filter-container .poncho-map-filters .form-check .form-check-label {
|
|
9085
9183
|
color: var(--color-base) !important;
|
|
9086
9184
|
}
|
|
9087
|
-
.poncho-map
|
|
9185
|
+
.poncho-map :root {
|
|
9186
|
+
--tooltip: #333;
|
|
9187
|
+
--tooltip-color: white;
|
|
9188
|
+
}
|
|
9189
|
+
.poncho-map .leaflet-tooltip-left:before {
|
|
9190
|
+
right: 0;
|
|
9191
|
+
margin-right: -12px;
|
|
9192
|
+
border-left-color: var(--tooltip, white);
|
|
9193
|
+
}
|
|
9194
|
+
.poncho-map .leaflet-tooltip-right:before {
|
|
9195
|
+
left: 0;
|
|
9196
|
+
margin-left: -12px;
|
|
9197
|
+
border-right-color: var(--tooltip, white);
|
|
9198
|
+
}
|
|
9199
|
+
.poncho-map .leaflet-tooltip-own {
|
|
9200
|
+
position: absolute;
|
|
9201
|
+
padding: 6px 10px;
|
|
9202
|
+
background-color: var(--tooltip, white);
|
|
9203
|
+
border: 0px solid #000;
|
|
9204
|
+
color: var(--tooltip-color, black);
|
|
9205
|
+
white-space: nowrap;
|
|
9206
|
+
-webkit-user-select: none;
|
|
9207
|
+
-moz-user-select: none;
|
|
9208
|
+
-ms-user-select: none;
|
|
9209
|
+
user-select: none;
|
|
9210
|
+
border-radius: 8px;
|
|
9211
|
+
pointer-events: none;
|
|
9212
|
+
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
|
|
9213
|
+
transition: opacity 0.2s;
|
|
9214
|
+
}
|
|
9215
|
+
.poncho-map .leaflet-popup p:first-child {
|
|
9216
|
+
margin-block-start: 0;
|
|
9217
|
+
margin-block-end: 1em;
|
|
9218
|
+
margin-inline-start: 0px;
|
|
9219
|
+
margin-inline-end: 0px;
|
|
9220
|
+
}
|
|
9221
|
+
.poncho-map .leaflet-popup .leaflet-popup-content-wrapper {
|
|
9088
9222
|
border-radius: 16px;
|
|
9089
9223
|
}
|
|
9090
|
-
.poncho-map .leaflet-popup-content-wrapper,
|
|
9091
|
-
.poncho-map .leaflet-popup-tip {
|
|
9224
|
+
.poncho-map .leaflet-popup .leaflet-popup-content-wrapper,
|
|
9225
|
+
.poncho-map .leaflet-popup .leaflet-popup-tip {
|
|
9092
9226
|
background: var(--slider-background);
|
|
9093
9227
|
color: var(--color-base);
|
|
9094
9228
|
}
|
|
9095
|
-
.poncho-map .leaflet-popup-content-wrapper .leaflet-popup-content,
|
|
9096
|
-
.poncho-map .leaflet-popup-tip .leaflet-popup-content {
|
|
9229
|
+
.poncho-map .leaflet-popup .leaflet-popup-content-wrapper .leaflet-popup-content,
|
|
9230
|
+
.poncho-map .leaflet-popup .leaflet-popup-tip .leaflet-popup-content {
|
|
9097
9231
|
width: calc(100% - 26px);
|
|
9098
9232
|
inline-size: min-content;
|
|
9099
9233
|
}
|
|
9100
|
-
.poncho-map .leaflet-popup-content-wrapper .leaflet-popup-content .info-container,
|
|
9101
|
-
.poncho-map .leaflet-popup-tip .leaflet-popup-content .info-container {
|
|
9234
|
+
.poncho-map .leaflet-popup .leaflet-popup-content-wrapper .leaflet-popup-content .info-container,
|
|
9235
|
+
.poncho-map .leaflet-popup .leaflet-popup-tip .leaflet-popup-content .info-container {
|
|
9102
9236
|
max-height: 800px;
|
|
9103
9237
|
overflow-y: auto;
|
|
9104
9238
|
width: 100%;
|
|
9105
9239
|
}
|
|
9240
|
+
.poncho-map .leaflet-marker-icon.leaflet-div-icon {
|
|
9241
|
+
background-color: transparent;
|
|
9242
|
+
border: none;
|
|
9243
|
+
}
|
|
9106
9244
|
.poncho-map .leaflet-control-zoom.leaflet-bar {
|
|
9107
9245
|
border-radius: 20px;
|
|
9108
9246
|
overflow: hidden;
|