up
This commit is contained in:
98
public/Cesium/Widgets/InfoBox/InfoBox.css
Normal file
98
public/Cesium/Widgets/InfoBox/InfoBox.css
Normal file
@ -0,0 +1,98 @@
|
||||
.cesium-infoBox {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 50px;
|
||||
right: 0;
|
||||
width: 40%;
|
||||
max-width: 480px;
|
||||
background: rgba(38, 38, 38, 0.95);
|
||||
color: #edffff;
|
||||
border: 1px solid #444;
|
||||
border-right: none;
|
||||
border-top-left-radius: 7px;
|
||||
border-bottom-left-radius: 7px;
|
||||
box-shadow: 0 0 10px 1px #000;
|
||||
transform: translate(100%, 0);
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
transition: visibility 0s 0.2s, opacity 0.2s ease-in, transform 0.2s ease-in;
|
||||
}
|
||||
|
||||
.cesium-infoBox-visible {
|
||||
transform: translate(0, 0);
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
transition: opacity 0.2s ease-out, transform 0.2s ease-out;
|
||||
}
|
||||
|
||||
.cesium-infoBox-title {
|
||||
display: block;
|
||||
height: 20px;
|
||||
padding: 5px 30px 5px 25px;
|
||||
background: rgba(84, 84, 84, 1.0);
|
||||
border-top-left-radius: 7px;
|
||||
text-align: center;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
.cesium-infoBox-bodyless .cesium-infoBox-title {
|
||||
border-bottom-left-radius: 7px;
|
||||
}
|
||||
|
||||
button.cesium-infoBox-camera {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
left: 4px;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
background: transparent;
|
||||
border-color: transparent;
|
||||
border-radius: 3px;
|
||||
padding: 0 5px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
button.cesium-infoBox-close {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
right: 5px;
|
||||
height: 20px;
|
||||
background: transparent;
|
||||
border: none;
|
||||
border-radius: 2px;
|
||||
font-weight: bold;
|
||||
font-size: 16px;
|
||||
padding: 0 5px;
|
||||
margin: 0;
|
||||
color: #edffff;
|
||||
}
|
||||
|
||||
button.cesium-infoBox-close:focus {
|
||||
background: rgba(238, 136, 0, 0.44);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
button.cesium-infoBox-close:hover {
|
||||
background: #888;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
button.cesium-infoBox-close:active {
|
||||
background: #a00;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.cesium-infoBox-bodyless .cesium-infoBox-iframe {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.cesium-infoBox-iframe {
|
||||
border: none;
|
||||
width: 100%; /* Fallback */
|
||||
width: calc(100% - 2px);
|
||||
}
|
90
public/Cesium/Widgets/InfoBox/InfoBoxDescription.css
Normal file
90
public/Cesium/Widgets/InfoBox/InfoBoxDescription.css
Normal file
@ -0,0 +1,90 @@
|
||||
@import url(../shared.css);
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.cesium-infoBox-description {
|
||||
font-family: sans-serif;
|
||||
font-size: 13px;
|
||||
padding: 4px 10px;
|
||||
margin-right: 4px;
|
||||
color: #edffff;
|
||||
}
|
||||
|
||||
.cesium-infoBox-description a:link,
|
||||
.cesium-infoBox-description a:visited,
|
||||
.cesium-infoBox-description a:hover,
|
||||
.cesium-infoBox-description a:active {
|
||||
color: #edffff;
|
||||
}
|
||||
|
||||
.cesium-infoBox-description table {
|
||||
color: #edffff;
|
||||
}
|
||||
|
||||
.cesium-infoBox-defaultTable {
|
||||
width: 100%;
|
||||
color: #edffff;
|
||||
}
|
||||
|
||||
.cesium-infoBox-defaultTable tr:nth-child(odd) {
|
||||
background-color: rgba(84, 84, 84, 0.8);
|
||||
}
|
||||
|
||||
.cesium-infoBox-defaultTable tr:nth-child(even) {
|
||||
background-color: rgba(84, 84, 84, 0.25);
|
||||
}
|
||||
|
||||
.cesium-infoBox-defaultTable th {
|
||||
font-weight: normal;
|
||||
padding: 3px;
|
||||
vertical-align: middle;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.cesium-infoBox-defaultTable td {
|
||||
padding: 3px;
|
||||
vertical-align: middle;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.cesium-infoBox-description-lighter {
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.cesium-infoBox-description-lighter a:link,
|
||||
.cesium-infoBox-description-lighter a:visited,
|
||||
.cesium-infoBox-description-lighter a:hover,
|
||||
.cesium-infoBox-description-lighter a:active {
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.cesium-infoBox-description-lighter table {
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.cesium-infoBox-defaultTable-lighter {
|
||||
width: 100%;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.cesium-infoBox-defaultTable-lighter tr:nth-child(odd) {
|
||||
background-color: rgba(179, 179, 179, 0.8);
|
||||
}
|
||||
|
||||
.cesium-infoBox-defaultTable-lighter tr:nth-child(even) {
|
||||
background-color: rgba(179, 179, 179, 0.25);
|
||||
}
|
||||
|
||||
.cesium-infoBox-loadingContainer {
|
||||
margin: 5px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.cesium-infoBox-loading {
|
||||
display: inline-block;
|
||||
background-image: url(../Images/info-loading.gif);
|
||||
width: 16px;
|
||||
height: 11px;
|
||||
}
|
Reference in New Issue
Block a user