export default ` .popup-box[data-plain-style] { z-index: 9; padding: 0 0 14px 0; cursor: arrow; transform: translate3d(-50%, -100%, 0); translate: transform ease 0; animation: fade-in-data-plain-style linear 0.12s; // pointer-events: auto !important; cursor: auto; // display:none, // background: #fff; border-radius: 10px; } .popup-box[data-plain-style] .popup-content { padding: 0.3rem 1rem; min-height: 2rem; min-width: 4rem; color: #222; background: #fff; } .cust { height: 200px; width: 250px; background: red } .popup-box[data-plain-style] .content-container { background: #fff; box-shadow: 0 3px 12px rgba(0,0,0,0.38); } .popup-box[data-plain-style] .popup-arrow{ position: absolute; left: 50%; bottom: 2px; height: 14px; width: 28px; overflow: hidden; transform: translate3d(-50%, 0, 0); } .popup-arrow{ position: absolute; left: 50%; bottom: 2px; height: 14px; width: 28px; overflow: hidden; transform: translate3d(-50%, 0, 0); } .popup-box[data-plain-style] .popup-close { position: absolute; display: block; right: 0; top: 0; height: 20px; width: 20px; border: none; color: #888; font-size: 20px; line-height: 14px; cursor: pointer; background: transparent; outline: none; z-index:9999 } .popup-box[data-plain-style] .popup-close:hover { color: #666; } .popup-box[data-plain-style] .popup-arrow::after { display: block; content: ''; position: absolute; top: -12px; left: 3px; background: #fff; height: 20px; width: 20px; border-radius: 2px; transform: rotate3d(0, 0, 1, 45deg); box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.34); } .popup-box[data-plain-style] .closebox { box-sizing: border-box; padding: 0 1rem; width: 100%; height: 20px; background:#fff } @keyframes fade-in-data-plain-style { 0% { opacity: 0; } 100% { opacity: 1; } } /** * BMAP */ /** * AMAP */ .amap-marker-label { border: none; background: transparent; } .buttonRight{ position: absolute; z-index: 999; } .leaflet-popup { position: absolute; text-align: center; transform: translate3d(-50%, -100%, 0); // translate: transform ease 0; // animation: fade-in-data-plain-style linear 0.12s; } .leaflet-popup-close-button { position: absolute; top: 0; right: 0; padding: 4px 4px 0 0; text-align: center; width: 18px; height: 14px; font: 16px/14px Tahoma, Verdana, sans-serif; color: #c3c3c3; text-decoration: none; font-weight: bold; background: transparent; } .leaflet-popup-content-wrapper { text-align: center; max-height: 200px; overflow-y: auto; background: white; box-shadow: 0 3px 14px rgba(0,0,0,0.4); padding: 1px; text-align: left; border-radius: 12px; } .leaflet-popup-content { margin: 13px 19px; line-height: 1.4; } .leaflet-popup-tip-container { margin: 0 auto; width: 40px; height: 20px; position: relative; overflow: hidden; } .leaflet-popup-tip { background: white; box-shadow: 0 3px 14px rgba(0,0,0,0.4); width: 17px; height: 17px; padding: 1px; margin: -10px auto 0; -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); -o-transform: rotate(45deg); transform: rotate(45deg); } `;