tmcgee/cmv-widgets

View on GitHub
widgets/FullScreen/css/FullScreen.css

Summary

Maintainability
Test Coverage
/*csslint important: false, box-model: false, order-alphabetical: false  */
div:-webkit-full-screen {
    top: 0 !important;
    left: 0 !important;
    height: 100% !important;
    width: 100% !important;
}
div:-moz-full-screen {
    top: 0 !important;
    left: 0 !important;
    height: 100% !important;
    width: 100% !important;
}
div:-o-full-screen {
    top: 0 !important;
    left: 0 !important;
    height: 100% !important;
    width: 100% !important;
}
div:full-screen {
    top: 0 !important;
    left: 0 !important;
    height: 100% !important;
    width: 100% !important;
}
div:-ms-fullscreen {
    top: 0 !important;
    left: 0 !important;
    height: 100% !important;
    width: 100% !important;
}
div:fullscreen {
    top: 0 !important;
    left: 0 !important;
    height: 100% !important;
    width: 100% !important;
}

/*
    Ensure that popup menus (like basemap widget)
    are above the full screen map and panes
*/
.cmv .dijitPopup {
    z-index: 2147483647 !important;
}

.cmvFullScreenWidget .FullScreenButton {
    height: 32px;
    width: 32px;
    overflow: hidden !important;
    border: 1px solid #999;
    font-size: 22px;
    color: #FFF;
    background-color: #666;
    background-color: rgba(102, 102, 102,0.80);
    -webkit-border-radius: 5px;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.cmvFullScreenWidget .FullScreenButton:hover {
    background-color: #333;
    background-color: rgba(102,102,102,0.90);
}

.cmvFullScreenWidget .FullScreenButton:active {
    background-color: #ccc;
    background-color: rgba(102,102,102,0.60);
}

.cmvFullScreenWidget .FullScreen {
    margin: 4px;
    transform: rotate(45deg);
}

.cmvFullScreenWidget .FullScreenRestore {
    transform: rotate(0deg);
}

.cmvFullScreenWidget .FullScreen:before {
    content: '\f0b2';
}

.cmvFullScreenWidget .FullScreenRestore:before {
    content: '\f066';
}