UNPKG

@igo2/core

Version:
800 lines (671 loc) 17.6 kB
/* based on angular-toastr css https://github.com/Foxandxss/angular-toastr/blob/cb508fe6801d6b288d3afc525bb40fee1b101650/dist/angular-toastr.css */ /* position */ .toast-center-center { top: 50%; left: 50%; transform: translate(-50%, -50%); } .toast-top-center { top: 0; right: 0; width: 100%; } .toast-bottom-center { bottom: 0; right: 0; width: 100%; } .toast-top-full-width { top: 0; right: 0; width: 100%; } .toast-bottom-full-width { bottom: 0; right: 0; width: 100%; } .toast-top-left { top: 12px; left: 12px; } .toast-top-right { top: 12px; right: 12px; } .toast-bottom-right { right: 12px; bottom: 12px; } .toast-bottom-left { bottom: 12px; left: 12px; } /* toast styles */ .toast-title { font-weight: bold; } .toast-message { word-wrap: break-word; } .toast-message a, .toast-message label { color: #FFFFFF; } .toast-message a:hover { color: #CCCCCC; text-decoration: none; } .toast-close-button { position: relative; right: -0.3em; top: -0.3em; float: right; font-size: 20px; font-weight: bold; color: #FFFFFF; text-shadow: 0 1px 0 #ffffff; /* opacity: 0.8; */ } .toast-close-button:hover, .toast-close-button:focus { color: #000000; text-decoration: none; cursor: pointer; opacity: 0.4; } /*Additional properties for button version iOS requires the button element instead of an anchor tag. If you want the anchor version, it requires `href="#"`.*/ button.toast-close-button { padding: 0; cursor: pointer; background: transparent; border: 0; } .toast-container { pointer-events: none; position: fixed; z-index: 999999; } .toast-container * { box-sizing: border-box; } .toast-container .ngx-toastr { position: relative; overflow: hidden; margin: 0 0 6px; padding: 15px 15px 15px 50px; width: 300px; border-radius: 3px 3px 3px 3px; background-position: 15px center; background-repeat: no-repeat; background-size: 24px; box-shadow: 0 0 12px #999999; color: #FFFFFF; } .toast-container .ngx-toastr:hover { box-shadow: 0 0 12px #000000; opacity: 1; cursor: pointer; } /* https://github.com/FortAwesome/Font-Awesome-Pro/blob/master/advanced-options/raw-svg/regular/info-circle.svg */ .toast-info { background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTI1NiA4QzExOS4wNDMgOCA4IDExOS4wODMgOCAyNTZjMCAxMzYuOTk3IDExMS4wNDMgMjQ4IDI0OCAyNDhzMjQ4LTExMS4wMDMgMjQ4LTI0OEM1MDQgMTE5LjA4MyAzOTIuOTU3IDggMjU2IDh6bTAgMTEwYzIzLjE5NiAwIDQyIDE4LjgwNCA0MiA0MnMtMTguODA0IDQyLTQyIDQyLTQyLTE4LjgwNC00Mi00MiAxOC44MDQtNDIgNDItNDJ6bTU2IDI1NGMwIDYuNjI3LTUuMzczIDEyLTEyIDEyaC04OGMtNi42MjcgMC0xMi01LjM3My0xMi0xMnYtMjRjMC02LjYyNyA1LjM3My0xMiAxMi0xMmgxMnYtNjRoLTEyYy02LjYyNyAwLTEyLTUuMzczLTEyLTEydi0yNGMwLTYuNjI3IDUuMzczLTEyIDEyLTEyaDY0YzYuNjI3IDAgMTIgNS4zNzMgMTIgMTJ2MTAwaDEyYzYuNjI3IDAgMTIgNS4zNzMgMTIgMTJ2MjR6Jy8+PC9zdmc+"); } /* https://github.com/FortAwesome/Font-Awesome-Pro/blob/master/advanced-options/raw-svg/regular/times-circle.svg */ .toast-error { background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTI1NiA4QzExOSA4IDggMTE5IDggMjU2czExMSAyNDggMjQ4IDI0OCAyNDgtMTExIDI0OC0yNDhTMzkzIDggMjU2IDh6bTEyMS42IDMxMy4xYzQuNyA0LjcgNC43IDEyLjMgMCAxN0wzMzggMzc3LjZjLTQuNyA0LjctMTIuMyA0LjctMTcgMEwyNTYgMzEybC02NS4xIDY1LjZjLTQuNyA0LjctMTIuMyA0LjctMTcgMEwxMzQuNCAzMzhjLTQuNy00LjctNC43LTEyLjMgMC0xN2w2NS42LTY1LTY1LjYtNjUuMWMtNC43LTQuNy00LjctMTIuMyAwLTE3bDM5LjYtMzkuNmM0LjctNC43IDEyLjMtNC43IDE3IDBsNjUgNjUuNyA2NS4xLTY1LjZjNC43LTQuNyAxMi4zLTQuNyAxNyAwbDM5LjYgMzkuNmM0LjcgNC43IDQuNyAxMi4zIDAgMTdMMzEyIDI1Nmw2NS42IDY1LjF6Jy8+PC9zdmc+"); } /* https://github.com/FortAwesome/Font-Awesome-Pro/blob/master/advanced-options/raw-svg/regular/check.svg */ .toast-success { background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTE3My44OTggNDM5LjQwNGwtMTY2LjQtMTY2LjRjLTkuOTk3LTkuOTk3LTkuOTk3LTI2LjIwNiAwLTM2LjIwNGwzNi4yMDMtMzYuMjA0YzkuOTk3LTkuOTk4IDI2LjIwNy05Ljk5OCAzNi4yMDQgMEwxOTIgMzEyLjY5IDQzMi4wOTUgNzIuNTk2YzkuOTk3LTkuOTk3IDI2LjIwNy05Ljk5NyAzNi4yMDQgMGwzNi4yMDMgMzYuMjA0YzkuOTk3IDkuOTk3IDkuOTk3IDI2LjIwNiAwIDM2LjIwNGwtMjk0LjQgMjk0LjQwMWMtOS45OTggOS45OTctMjYuMjA3IDkuOTk3LTM2LjIwNC0uMDAxeicvPjwvc3ZnPg=="); } /* https://github.com/FortAwesome/Font-Awesome-Pro/blob/master/advanced-options/raw-svg/regular/exclamation-triangle.svg */ .toast-warning { background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1NzYgNTEyJyB3aWR0aD0nNTc2JyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTU2OS41MTcgNDQwLjAxM0M1ODcuOTc1IDQ3Mi4wMDcgNTY0LjgwNiA1MTIgNTI3Ljk0IDUxMkg0OC4wNTRjLTM2LjkzNyAwLTU5Ljk5OS00MC4wNTUtNDEuNTc3LTcxLjk4N0wyNDYuNDIzIDIzLjk4NWMxOC40NjctMzIuMDA5IDY0LjcyLTMxLjk1MSA4My4xNTQgMGwyMzkuOTQgNDE2LjAyOHpNMjg4IDM1NGMtMjUuNDA1IDAtNDYgMjAuNTk1LTQ2IDQ2czIwLjU5NSA0NiA0NiA0NiA0Ni0yMC41OTUgNDYtNDYtMjAuNTk1LTQ2LTQ2LTQ2em0tNDMuNjczLTE2NS4zNDZsNy40MTggMTM2Yy4zNDcgNi4zNjQgNS42MDkgMTEuMzQ2IDExLjk4MiAxMS4zNDZoNDguNTQ2YzYuMzczIDAgMTEuNjM1LTQuOTgyIDExLjk4Mi0xMS4zNDZsNy40MTgtMTM2Yy4zNzUtNi44NzQtNS4wOTgtMTIuNjU0LTExLjk4Mi0xMi42NTRoLTYzLjM4M2MtNi44ODQgMC0xMi4zNTYgNS43OC0xMS45ODEgMTIuNjU0eicvPjwvc3ZnPg=="); } .toast-container.toast-top-center .ngx-toastr, .toast-container.toast-bottom-center .ngx-toastr { width: 300px; margin-left: auto; margin-right: auto; } .toast-container.toast-top-full-width .ngx-toastr, .toast-container.toast-bottom-full-width .ngx-toastr { width: 96%; margin-left: auto; margin-right: auto; } .ngx-toastr { background-color: #030303; pointer-events: auto; } .toast-success { background-color: #51A351; } .toast-error { background-color: #BD362F; } .toast-info { background-color: #2F96B4; } .toast-warning { background-color: #F89406; } .toast-progress { position: absolute; left: 0; bottom: 0; height: 4px; background-color: #000000; opacity: 0.4; } /* Responsive Design */ @media all and (max-width: 240px) { .toast-container .ngx-toastr.div { padding: 8px 8px 8px 50px; width: 11em; } .toast-container .toast-close-button { right: -0.2em; top: -0.2em; } } @media all and (min-width: 241px) and (max-width: 480px) { .toast-container .ngx-toastr.div { padding: 8px 8px 8px 50px; width: 18em; } .toast-container .toast-close-button { right: -0.2em; top: -0.2em; } } @media all and (min-width: 481px) and (max-width: 768px) { .toast-container .ngx-toastr.div { padding: 15px 15px 15px 50px; width: 25em; } } button.mat-mdc-menu-item { line-height: 24px !important; } a.mat-mdc-menu-item > mat-icon { margin-bottom: 14px; } button.mat-mdc-icon-button.mat-mdc-button-base[disabled=true] { color: rgba(0, 0, 0, 0.26); } .mat-mdc-menu-content mat-list { padding: 0; } .shepherd-button { background: #3288e6; border: 0; border-radius: 3px; color: hsla(0, 0%, 100%, 0.75); cursor: pointer; margin-right: 0.5rem; padding: 0.5rem 1.5rem; transition: all 0.5s ease; } .shepherd-button:not(:disabled):hover { background: #196fcc; color: hsla(0, 0%, 100%, 0.75); } .shepherd-button.shepherd-button-secondary { background: #f1f2f3; color: rgba(0, 0, 0, 0.75); } .shepherd-button.shepherd-button-secondary:not(:disabled):hover { background: #d6d9db; color: rgba(0, 0, 0, 0.75); } .shepherd-button:disabled { cursor: not-allowed; } .shepherd-footer { border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; display: flex; justify-content: flex-end; padding: 0 0.75rem 0.75rem; } .shepherd-footer .shepherd-button:last-child { margin-right: 0; } .shepherd-cancel-icon { background: transparent; border: none; color: hsla(0, 0%, 50%, 0.75); cursor: pointer; font-size: 2em; font-weight: 400; margin: 0; padding: 0; transition: color 0.5s ease; } .shepherd-cancel-icon:hover { color: rgba(0, 0, 0, 0.75); } .shepherd-has-title .shepherd-content .shepherd-cancel-icon { color: hsla(0, 0%, 50%, 0.75); } .shepherd-has-title .shepherd-content .shepherd-cancel-icon:hover { color: rgba(0, 0, 0, 0.75); } .shepherd-title { color: rgba(0, 0, 0, 0.75); display: flex; flex: 1 0 auto; font-size: 1rem; font-weight: 400; margin: 0; padding: 0; } .shepherd-header { align-items: center; border-top-left-radius: 5px; border-top-right-radius: 5px; display: flex; justify-content: flex-end; line-height: 2em; padding: 0.75rem 0.75rem 0; } .shepherd-has-title .shepherd-content .shepherd-header { background: #e6e6e6; padding: 1em; } .shepherd-text { color: rgba(0, 0, 0, 0.75); font-size: 1rem; line-height: 1.3em; padding: 0.75em; } .shepherd-text p { margin-top: 0; } .shepherd-text p:last-child { margin-bottom: 0; } .shepherd-content { border-radius: 5px; outline: none; padding: 0; } .shepherd-element { background: #fff; border: none; border-radius: 5px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); margin: 0; max-width: 400px; opacity: 0; outline: none; padding: 0; transition: opacity 0.3s, visibility 0.3s; visibility: hidden; width: 100%; z-index: 9999; } .shepherd-enabled.shepherd-element { opacity: 1; visibility: visible; } .shepherd-element[data-popper-reference-hidden]:not(.shepherd-centered) { opacity: 0; pointer-events: none; visibility: hidden; } .shepherd-element, .shepherd-element *, .shepherd-element :after, .shepherd-element :before { box-sizing: border-box; } .shepherd-arrow, .shepherd-arrow:before { height: 16px; position: absolute; width: 16px; z-index: -1; } .shepherd-arrow:before { background: #fff; content: ""; transform: rotate(45deg); } .shepherd-element[data-popper-placement^=top] > .shepherd-arrow { bottom: -8px; } .shepherd-element[data-popper-placement^=bottom] > .shepherd-arrow { top: -8px; } .shepherd-element[data-popper-placement^=left] > .shepherd-arrow { right: -8px; } .shepherd-element[data-popper-placement^=right] > .shepherd-arrow { left: -8px; } .shepherd-element.shepherd-centered > .shepherd-arrow { opacity: 0; } .shepherd-element.shepherd-has-title[data-popper-placement^=bottom] > .shepherd-arrow:before { background-color: #e6e6e6; } .shepherd-target-click-disabled.shepherd-enabled.shepherd-target, .shepherd-target-click-disabled.shepherd-enabled.shepherd-target * { pointer-events: none; } .shepherd-modal-overlay-container { height: 0; left: 0; opacity: 0; overflow: hidden; pointer-events: none; position: fixed; top: 0; transition: all 0.3s ease-out, height 0s 0.3s, opacity 0.3s 0s; width: 100vw; z-index: 9997; } .shepherd-modal-overlay-container.shepherd-modal-is-visible { height: 100vh; opacity: 0.5; transform: translateZ(0); transition: all 0.3s ease-out, height 0s 0s, opacity 0.3s 0s; } .shepherd-modal-overlay-container.shepherd-modal-is-visible path { pointer-events: all; } :root, :host { --ol-background-color: white; --ol-accent-background-color: #F5F5F5; --ol-subtle-background-color: rgba(128, 128, 128, 0.25); --ol-partial-background-color: rgba(255, 255, 255, 0.75); --ol-foreground-color: #333333; --ol-subtle-foreground-color: #666666; --ol-brand-color: #00AAFF; } .ol-box { box-sizing: border-box; border-radius: 2px; border: 1.5px solid var(--ol-background-color); background-color: var(--ol-partial-background-color); } .ol-mouse-position { top: 8px; right: 8px; position: absolute; } .ol-scale-line { background: var(--ol-partial-background-color); border-radius: 4px; bottom: 8px; left: 8px; padding: 2px; position: absolute; } .ol-scale-line-inner { border: 1px solid var(--ol-subtle-foreground-color); border-top: none; color: var(--ol-foreground-color); font-size: 10px; text-align: center; margin: 1px; will-change: contents, width; transition: all 0.25s; } .ol-scale-bar { position: absolute; bottom: 8px; left: 8px; } .ol-scale-bar-inner { display: flex; } .ol-scale-step-marker { width: 1px; height: 15px; background-color: var(--ol-foreground-color); float: right; z-index: 10; } .ol-scale-step-text { position: absolute; bottom: -5px; font-size: 10px; z-index: 11; color: var(--ol-foreground-color); text-shadow: -1.5px 0 var(--ol-partial-background-color), 0 1.5px var(--ol-partial-background-color), 1.5px 0 var(--ol-partial-background-color), 0 -1.5px var(--ol-partial-background-color); } .ol-scale-text { position: absolute; font-size: 12px; text-align: center; bottom: 25px; color: var(--ol-foreground-color); text-shadow: -1.5px 0 var(--ol-partial-background-color), 0 1.5px var(--ol-partial-background-color), 1.5px 0 var(--ol-partial-background-color), 0 -1.5px var(--ol-partial-background-color); } .ol-scale-singlebar { position: relative; height: 10px; z-index: 9; box-sizing: border-box; border: 1px solid var(--ol-foreground-color); } .ol-scale-singlebar-even { background-color: var(--ol-subtle-foreground-color); } .ol-scale-singlebar-odd { background-color: var(--ol-background-color); } .ol-unsupported { display: none; } .ol-viewport, .ol-unselectable { -webkit-touch-callout: none; -webkit-user-select: none; -moz-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; } .ol-viewport canvas { all: unset; overflow: hidden; } .ol-viewport { touch-action: pan-x pan-y; } .ol-selectable { -webkit-touch-callout: default; -webkit-user-select: text; -moz-user-select: text; user-select: text; } .ol-grabbing { cursor: -webkit-grabbing; cursor: -moz-grabbing; cursor: grabbing; } .ol-grab { cursor: move; cursor: -webkit-grab; cursor: -moz-grab; cursor: grab; } .ol-control { position: absolute; background-color: var(--ol-subtle-background-color); border-radius: 4px; } .ol-zoom { top: 0.5em; left: 0.5em; } .ol-rotate { top: 0.5em; right: 0.5em; transition: opacity 0.25s linear, visibility 0s linear; } .ol-rotate.ol-hidden { opacity: 0; visibility: hidden; transition: opacity 0.25s linear, visibility 0s linear 0.25s; } .ol-zoom-extent { top: 4.643em; left: 0.5em; } .ol-full-screen { right: 0.5em; top: 0.5em; } .ol-control button { display: block; margin: 1px; padding: 0; color: var(--ol-subtle-foreground-color); font-weight: bold; text-decoration: none; font-size: inherit; text-align: center; height: 1.375em; width: 1.375em; line-height: 0.4em; background-color: var(--ol-background-color); border: none; border-radius: 2px; } .ol-control button::-moz-focus-inner { border: none; padding: 0; } .ol-zoom-extent button { line-height: 1.4em; } .ol-compass { display: block; font-weight: normal; will-change: transform; } .ol-touch .ol-control button { font-size: 1.5em; } .ol-touch .ol-zoom-extent { top: 5.5em; } .ol-control button:hover, .ol-control button:focus { text-decoration: none; outline: 1px solid var(--ol-subtle-foreground-color); color: var(--ol-foreground-color); } .ol-zoom .ol-zoom-in { border-radius: 2px 2px 0 0; } .ol-zoom .ol-zoom-out { border-radius: 0 0 2px 2px; } .ol-attribution { text-align: right; bottom: 0.5em; right: 0.5em; max-width: calc(100% - 1.3em); display: flex; flex-flow: row-reverse; align-items: center; } .ol-attribution a { color: var(--ol-subtle-foreground-color); text-decoration: none; } .ol-attribution ul { margin: 0; padding: 1px 0.5em; color: var(--ol-foreground-color); text-shadow: 0 0 2px var(--ol-background-color); font-size: 12px; } .ol-attribution li { display: inline; list-style: none; } .ol-attribution li:not(:last-child):after { content: " "; } .ol-attribution img { max-height: 2em; max-width: inherit; vertical-align: middle; } .ol-attribution button { flex-shrink: 0; } .ol-attribution.ol-collapsed ul { display: none; } .ol-attribution:not(.ol-collapsed) { background: var(--ol-partial-background-color); } .ol-attribution.ol-uncollapsible { bottom: 0; right: 0; border-radius: 4px 0 0; } .ol-attribution.ol-uncollapsible img { margin-top: -0.2em; max-height: 1.6em; } .ol-attribution.ol-uncollapsible button { display: none; } .ol-zoomslider { top: 4.5em; left: 0.5em; height: 200px; } .ol-zoomslider button { position: relative; height: 10px; } .ol-touch .ol-zoomslider { top: 5.5em; } .ol-overviewmap { left: 0.5em; bottom: 0.5em; } .ol-overviewmap.ol-uncollapsible { bottom: 0; left: 0; border-radius: 0 4px 0 0; } .ol-overviewmap .ol-overviewmap-map, .ol-overviewmap button { display: block; } .ol-overviewmap .ol-overviewmap-map { border: 1px solid var(--ol-subtle-foreground-color); height: 150px; width: 150px; } .ol-overviewmap:not(.ol-collapsed) button { bottom: 0; left: 0; position: absolute; } .ol-overviewmap.ol-collapsed .ol-overviewmap-map, .ol-overviewmap.ol-uncollapsible button { display: none; } .ol-overviewmap:not(.ol-collapsed) { background: var(--ol-subtle-background-color); } .ol-overviewmap-box { border: 1.5px dotted var(--ol-subtle-foreground-color); } .ol-overviewmap .ol-overviewmap-box:hover { cursor: move; } .ol-overviewmap .ol-viewport:hover { cursor: pointer; }