Files
gemini-viewer-examples/public/demo/settings/SettingsPanel.css
2022-11-04 12:48:33 +08:00

61 lines
1009 B
CSS

input[type="checkbox"] {
cursor: pointer;
}
table {
width: 100%;
}
.panel-container {
position: absolute;
top: calc(20%);
left: calc(50% - 165px);
width: 330px;
height: auto;
border-radius: 4px;
border: 1px solid rgba(0, 0, 0, 0.7);
background-color: rgba(255, 255, 255, 0.7);
z-index: 1000;
overflow: hidden;
}
.panel-container:hover {
background-color: rgba(255, 255, 255, 1);
}
.panel-hide {
visibility: hidden;
}
.panel-close-btn {
position: absolute;
top: 10px;
right: 20px;
font-size: 16px;
cursor: pointer;
}
.panel-header {
display: flex;
align-items: center;
padding-left: 6px;
width: 100%;
height: 40px;
border-bottom: 1px solid #ccc;
background-color: #00000022;
}
.panel-body {
width: 100%;
margin: 3px;
}
.color-input {
width: 24px;
height: 16px;
border: 1px solid gray;
margin: 2px;
cursor: pointer;
font-size: 0px; /* do not see the text at all */
}