styles/popup.css (160 lines of code) (raw):

.mapillary-popup { position: absolute; left: 0; top: 0; pointer-events: none; display: flex; } .mapillary-popup-content, .mapillary-popup-content-clean { position: relative; } .mapillary-popup-capture-pointer { pointer-events: auto; } .mapillary-popup-content { padding: 5px 10px; background: white; border: 1px solid black; border-radius: 2px; } .mapillary-popup-float-bottom, .mapillary-popup-float-bottom-left, .mapillary-popup-float-bottom-right { flex-direction: column; } .mapillary-popup-float-top, .mapillary-popup-float-top-left, .mapillary-popup-float-top-right { flex-direction: column-reverse; } .mapillary-popup-float-left { flex-direction: row-reverse; } .mapillary-popup-float-right { flex-direction: row; } .mapillary-popup-tip, .mapillary-popup-tip-inner { position: relative; z-index: 1; width: 0; height: 0; border: 7px solid transparent; } .mapillary-popup-float-top .mapillary-popup-tip { align-self: center; border-top-color:black; border-bottom: none; } .mapillary-popup-float-top .mapillary-popup-tip-inner { position: relative; top: -8px; left: -7px; border-top-color: white; border-bottom: none; } .mapillary-popup-float-top-right .mapillary-popup-tip { align-self: flex-start; border-top-color:black; border-bottom: none; border-left: none; } .mapillary-popup-float-top-right .mapillary-popup-tip-inner { position: relative; top: -9px; left: 1px; border-top-color: white; border-bottom: none; border-left: none; } .mapillary-popup-float-top-left .mapillary-popup-tip { align-self: flex-end; border-top-color:black; border-bottom: none; border-right: none; } .mapillary-popup-float-top-left .mapillary-popup-tip-inner { position: relative; top: -9px; left: -8px; border-top-color: white; border-bottom: none; border-right: none; } .mapillary-popup-float-bottom .mapillary-popup-tip { align-self: center; border-top: none; border-bottom-color: black; } .mapillary-popup-float-bottom .mapillary-popup-tip-inner { position: relative; bottom: -1px; left: -7px; border-top: none; border-bottom-color: white; } .mapillary-popup-float-bottom-right .mapillary-popup-tip { align-self: flex-start; border-bottom-color:black; border-top: none; border-left: none; } .mapillary-popup-float-bottom-right .mapillary-popup-tip-inner { position: relative; bottom: -2px; left: 1px; border-bottom-color: white; border-top: none; border-left: none; } .mapillary-popup-float-bottom-left .mapillary-popup-tip { align-self: flex-end; border-bottom-color:black; border-top: none; border-right: none; } .mapillary-popup-float-bottom-left .mapillary-popup-tip-inner { position: relative; bottom: -2px; left: -8px; border-bottom-color: white; border-top: none; border-right: none; } .mapillary-popup-float-left .mapillary-popup-tip { align-self: center; border-left-color: black; border-right: none; } .mapillary-popup-float-left .mapillary-popup-tip-inner { position: relative; top: -7px; left: -8px; border-left-color: white; border-right: none; } .mapillary-popup-float-right .mapillary-popup-tip { align-self: center; border-right-color: black; border-left: none; } .mapillary-popup-float-right .mapillary-popup-tip-inner { position: relative; top: -7px; left: 1px; border-right-color: white; border-left: none; } .mapillary-popup-float-top-left .mapillary-popup-content { border-bottom-right-radius: 0; } .mapillary-popup-float-top-right .mapillary-popup-content { border-bottom-left-radius: 0; } .mapillary-popup-float-bottom-left .mapillary-popup-content { border-top-right-radius: 0; } .mapillary-popup-float-bottom-right .mapillary-popup-content { border-top-left-radius: 0; }