mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-01-05 19:35:29 +01:00
73 lines
1.3 KiB
CSS
73 lines
1.3 KiB
CSS
.settings {
|
|
width: 100%;
|
|
border-spacing: 0;
|
|
}
|
|
.settings.displayDescriptions {
|
|
table-layout: fixed;
|
|
}
|
|
.settings * {
|
|
vertical-align: top;
|
|
}
|
|
|
|
.settings .settingRow.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.settings .settingRow .content {
|
|
overflow: visible;
|
|
padding: 0.5em 0;
|
|
border-top: 1px solid #c1c1c1;
|
|
position: relative;
|
|
}
|
|
|
|
.settings.hideDescriptions .settingRow .info {
|
|
margin: 0 0.5em;
|
|
border-radius: 100%;
|
|
background-color: gray;
|
|
width: 1em;
|
|
height: 1em;
|
|
display: inline-block;
|
|
text-align: center;
|
|
line-height: 1em;
|
|
font-weight: bold;
|
|
color: white;
|
|
}
|
|
.settings.hideDescriptions .settingRow .info::after {
|
|
content: "i";
|
|
}
|
|
.settings.hideDescriptions .settingRow .info .description {
|
|
display: none;
|
|
}
|
|
.settings.hideDescriptions .settingRow .info:hover .description {
|
|
display: block;
|
|
position: absolute;
|
|
box-sizing: border-box;
|
|
top: 90%;
|
|
left: 5%;
|
|
max-width: 90%;
|
|
z-index: 10;
|
|
border: 1px solid black;
|
|
color: black;
|
|
background-color: lightgrey;
|
|
padding: 0.5em;
|
|
text-align: left;
|
|
font-weight: normal;
|
|
}
|
|
.settings.displayDescriptions .settingRow .description {
|
|
color: graytext;
|
|
margin-inline-start: 2em;
|
|
white-space: pre-wrap;
|
|
}
|
|
input[type=""], input[type="text"], input[type="number"], select {
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
*.multiple2 {
|
|
width: 50% !important;
|
|
}
|
|
*.multiple3 {
|
|
width: 33% !important;
|
|
}
|
|
*.multiple4 {
|
|
width: 25% !important;
|
|
} |