Newer
Older
XinYang_SanWei+RongYun / static / Cesium / Widgets / CesiumWidget / CesiumWidget.css
@Zhangqy Zhangqy on 20 Dec 2021 1 KB 111
.cesium-widget {
    position: relative;
}

.cesium-widget, .cesium-widget canvas {
    width: 100%;
    height: 100%;
    touch-action: none;
}

.cesium-widget-credits {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    color: #fff;
    font-size: 10px;
    text-shadow: 0px 0px 2px #000000;
    padding-right: 5px;
}

.cesium-widget-credits a,
.cesium-widget-credits a:visited {
    color: #fff;
}

.cesium-widget-errorPanel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
}

.cesium-widget-errorPanel:before {
    display: inline-block;
    vertical-align: middle;
    height: 100%;
    content: "";
}

.cesium-widget-errorPanel-content {
    width: 75%;
    display: inline-block;
    text-align: left;
    vertical-align: middle;
    border: 1px solid #526F82;
    border-radius: 7px;
    background-color: black;
    color: white;
    font-size: 10pt;
    padding: 1em;
}

.cesium-widget-errorPanel-header {
    font-size: 120%;
    color: #fe4;
}

.cesium-widget-errorPanel-scroll {
    overflow: auto;
    font-family: monospace;
    white-space: pre-wrap;
    padding: 0;
    margin: 10px 0;
}

.cesium-widget-errorPanel-buttonPanel {
    text-align: center;
}