// MAP .maputnik-map__container { display: flex; position: fixed !important; top: $toolbar-height + $toolbar-offset; right: 0; bottom: 0; height: calc(100% - #{$toolbar-height + $toolbar-offset}); width: calc( 100% - 200px /* layer list */ - 350px /* layer editor */ ); &--error { align-items: center; justify-content: center; } &__error-message { margin: 16px; text-align: center; } } .maputnik-map__map { width: 100%; height: 100%; } // DOC LABEL .maputnik-doc { &-target { cursor: help; } &-wrapper { display: inline-block; box-sizing: border-box; font-size: $font-size-6; line-height: 2; user-select: none; position: relative; vertical-align: top; } &-popup { display: none; color: $color-lowgray; background-color: $color-gray; padding: $margin-2; font-size: 10px; position: absolute; top: 20px; left: 0; width: 120px; z-index: 10; pointer-events: none; } } .maputnik-doc-target:hover .maputnik-doc-popup { display: block; text-align: left; } // BUTTON .maputnik-button { display: inline-block; cursor: pointer; background-color: $color-midgray; color: $color-lowgray; font-size: $font-size-6; padding: $margin-2; user-select: none; border-width: 0; border-radius: 2px; box-sizing: border-box; text-decoration: none; &:hover { background-color: lighten($color-midgray, 12); color: $color-white; } &:disabled { background-color: darken($color-midgray, 5); color: $color-midgray; cursor: not-allowed; } } .maputnik-big-button { margin-top: $margin-3; display: inline-block; padding: $margin-3; font-size: $font-size-5; } .maputnik-wide-button { padding: $margin-2 $margin-3; } .maputnik-green-button { background-color: $color-green; color: $color-black; } .maputnik-white-button { background-color: $color-white; color: $color-black; } .maputnik-icon-button { background-color: transparent; &:hover { background-color: transparent; label, svg { cursor: pointer; } svg { fill: $color-white; } } } // INPUT BLOCK .maputnik-input-block { margin: $margin-3; &-label { color: $color-lowgray; display: inline-block; user-select: none; width: 50%; vertical-align: top; } &-content { display: inline-block; width: 50%; } } .maputnik-action-block { .maputnik-input-block-label { display: inline-block; width: 35%; } .maputnik-input-block-action { vertical-align: top; display: inline-block; width: 15%; } .maputnik-input-block-action > div { text-align: right; } } // SPACE HELPER .maputnik-space { @include vendor-prefix(flex-grow, 1); } // MESSAGE PANEL .maputnik-message-panel { padding: $margin-2; &-error { color: $color-red; } } .maputnik-dialog { &__buttons { text-align: right; } } .map-state-menu { display: inline-block; &__menu { position: absolute; z-index: 999999; background: $color-black; display: flex; flex-direction: column; align-content: stretch; li { display: flex; flex-direction: column; button { width: 100%; text-align: left; } } } }