CanvasBlocker/options/options.css

189 lines
3.4 KiB
CSS

body.standalone {
padding: 0.5em;
}
header {
margin-bottom: 1em;
}
header .bookmarkNotice {
margin: 0.5em;
padding: 0.5em;
border: 1px dotted #880000;
color: #880000;
}
.settings {
width: 100%;
border-spacing: 0;
border-collapse: collapse;
}
.settings.displayDescriptions {
table-layout: fixed;
}
.settings * {
vertical-align: top;
}
.settings .hidden {
display: none;
}
.settings td, .settings th {
margin: 0;
padding: 0;
}
.settings .section h2 {
border: 1px #c1c1c1 solid;
border-radius: 0.5em ;
padding: 0.2em 0.5em;
margin: 0.7em 1px 0.2em;
}
.settings .settingRow .content {
display: block;
overflow: visible;
padding: 0.5em 0;
border-top: 1px solid #c1c1c1;
position: relative;
}
.settings .settingRow td:first-child .content, td.hideColumn label {
margin-left: 0.6em;
}
.settings .settingRow td:last-child .content {
margin-right: 0.6em;
}
.settings .section + .settingRow .content, .settings .settingRow.firstVisible .content {
border-top: 0 solid black;
}
.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;
white-space: pre-wrap;
}
.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;
}
.urlValues {
padding-right: 1em;
position: relative;
}
.urlValues.collapsed table {
display: none;
}
.urlValues.expanded table {
display: block;
margin: 0.5em auto;
}
.urlValues table caption {
text-align: center;
font-weight: bold;
white-space: nowrap;
}
.urlValues table td {
vertical-align: middle;
}
.urlValues table .reset, .urlValues table .add, .urlValues table .url {
cursor: pointer;
margin: 0 0.2em;
}
.urlValues table .url {
min-width: 4em;
}
.urlValues table .urlInput {
padding: 1px;
margin: -1px;
}
.urlValues .collapser {
position: absolute;
top: 0;
right: 0;
text-align: center;
width: 1em;
height: 1em;
cursor: pointer;
}
.urlValues.collapsed .collapser::after {
content: "\25B6";
}
.urlValues.expanded .collapser::after {
content: "\25BC";
}
.urlValues .notSpecifiedForUrl {
opacity: 0.5;
}
td.hideColumn {
width: 35px;
}
.content.hideContent {
position: relative;
}
.content .hide, .displayHidden {
opacity: 0;
position: absolute;
}
.content .hide ~ .display, .displayHidden ~ .display {
display: inline-block;
margin-right: 5px;
width: 30px;
height: 20px;
background-repeat: no-repeat;
background-position-y: 50%;
}
.content .hide ~ .display, .displayHidden ~ .display {
background-image: url(visible.svg);
}
.content .hide:checked ~ .display, .displayHidden:checked ~ .display {
background-image: url(notVisible.svg);
}