gbif / hp-beaty-biodiversity-museum

This repository is for the GBIF Hosted Portal for the Beaty Biodiversity Museum
https://collections.beatymuseum.ubc.ca
Apache License 2.0
1 stars 3 forks source link

Put z-index to 100 for nav menu to go over everything #54

Closed mpitblado closed 10 months ago

mpitblado commented 10 months ago

Based on https://github.com/gbif/portal16/blob/master/app/views/components/map/mapWidget/mapWidget.styl, I think the highest z-index for the map components is 70, so 100 should go over it just fine.

.mapWidget__controlsArea {
    z-index 70
    border-top 1px solid rgba(0, 0, 0, 0.2)
    background white
    height 40px
    &__toggleArea {
        float right
        margin 0 10px
        height 40px
        >a {
            font-size 18px
            line-height 40px
            width 30px
            text-align center
            display inline-block
            &.is-active {
                color $navBar_background_color
            }
        }
        >span {
            top -3px
            position relative
            left -5px
        }
    }