1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-06-01 10:58:05 +02:00
CanvasBlocker/options/options.css

146 lines
2.6 KiB
CSS
Raw Normal View History

2017-06-25 22:11:28 +02:00
.settings {
width: 100%;
border-spacing: 0;
border-collapse: collapse;
2017-06-25 22:11:28 +02:00
}
2017-11-11 23:34:59 +01:00
.settings.displayDescriptions {
table-layout: fixed;
}
2017-06-25 22:11:28 +02:00
.settings * {
vertical-align: top;
}
2017-12-24 21:52:44 +01:00
.settings .hidden {
display: none;
}
2017-12-24 21:52:44 +01:00
.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 {
2017-11-11 23:34:59 +01:00
overflow: visible;
2017-06-25 22:11:28 +02:00
padding: 0.5em 0;
border-top: 1px solid #c1c1c1;
2017-11-11 23:34:59 +01:00
position: relative;
2017-06-25 22:11:28 +02:00
}
2017-12-24 21:52:44 +01:00
.settings .settingRow td:first-child .content {
margin-left: 0.6em;
}
.settings .settingRow td:last-child .content {
margin-right: 0.6em;
}
.settings .section + .settingRow .content {
border-top: 0 solid black;
}
2017-11-11 23:34:59 +01:00
.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 {
2017-06-25 22:11:28 +02:00
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;
2017-12-08 20:20:42 +01:00
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;
2017-06-25 22:11:28 +02:00
}