Files
gemini-viewer-examples/public/demo/layerManager/layerManager.css
2023-02-07 19:09:26 +08:00

133 lines
2.4 KiB
CSS

input[type="checkbox"] {
cursor: pointer;
}
input[type="color"] {
width: 30px;
height: 16px;
border: 0;
padding: 0;
background-color: rgba(0, 0, 0, 0.0);
overflow: hidden;
}
/* ::-webkit-color-swatch-wrapper {
border: 1px solid #777;
} */
::-webkit-color-swatch {
position:relative;
margin-top: -5px;
width: 40px;
height: 16px;
}
.popup-container {
position: absolute;
top: 76px;
left: calc(5%);
width: 330px;
height: 600px;
max-height: 90%; /* fix the issue when canvas's height is less than 600px */
border-radius: 4px;
border: 1px solid rgba(0, 0, 0, 0.7);
background-color: rgba(255, 255, 255, 0.7);
color: black;
z-index: 1000;
overflow: hidden;
}
.popup-container:hover {
background-color: rgba(255, 255, 255, 1);
}
.popup-wrapper {
width: 100%;
height: calc(100% - 40px);
padding: 0;
margin: 0;
border-bottom: 1px solid #ccc;
overflow-y: scroll;
}
.popup-list-item {
display: flex;
/* justify-content: space-between; */
align-items: center;
padding: 6px;
border-bottom: 1px solid #ccc;
white-space: nowrap;
}
.popup-list-item:hover {
background-color: aliceblue;
}
.popup-layer-color {
display: inline-block;
margin-left: 5px;
width: 20px;
font-size: 12px;
}
.popup-layer-name {
display: inline-block;
margin-left: 10px;
padding: 1px 0;
width: 280px;
font-size: 12px;
text-overflow: ellipsis;
overflow: hidden;
}
.popup-color {
margin-left: 8px;
font-size: 12px;
border: 1px solid black;
width: 18px;
height: 16px;
min-width: 18px;
}
.popup-freeze {
margin-right: 5px;
color: #ccc;
font-size: 12px;
width: 50px;
}
.popup-hide {
visibility: hidden;
}
.popup-header {
display: flex;
/* justify-content: space-between; */
align-items: center;
width: 100%;
height: 40px;
border-bottom: 1px solid #ccc;
}
/* .popup-layer-name-title,
.popup-layer-color-title {
display: inline;
color: #ccc;
font-size: 12px;
}
.popup-layer-name-title {
margin-left: 40px;
}
.popup-layer-color-title {
margin-right: 75px;
} */
.popup-close {
position: absolute;
top: 10px;
right: 20px;
font-size: 16px;
cursor: pointer;
}
.popup-header {
display: flex;
align-items: center;
padding-left: 6px;
width: 100%;
height: 40px;
border-bottom: 1px solid #ccc;
background-color: #00000022;
}