1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-11-10 15:18:52 +01:00
CanvasBlocker/options/options.css

243 lines
4.2 KiB
CSS
Raw Normal View History

body.standalone {
padding: 0.5em;
}
header {
margin-bottom: 1em;
}
header .bookmarkNotice {
margin: 0.5em;
padding: 0.5em;
border: 1px dotted #880000;
color: #880000;
}
header .bookmarkNotice .dontShowOptionsOnUpdate {
display: block;
margin-top: 0.5em;
font-size: 0.8em;
}
header .bookmarkNotice .dontShowOptionsOnUpdate input {
vertical-align: sub;
}
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
}
.settings {
2017-11-11 23:34:59 +01:00
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 {
2018-07-02 00:29:41 +02:00
display: block;
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
}
2018-07-02 00:29:41 +02:00
.settings .settingRow td:first-child .content, td.hideColumn label {
2018-09-12 18:10:31 +02:00
margin-left: 10px;
2017-12-24 21:52:44 +01:00
}
.settings .settingRow td:last-child .content {
2018-09-12 18:10:31 +02:00
margin-right: 10px;
2017-12-24 21:52:44 +01:00
}
2018-01-08 17:08:36 +01:00
.settings .section + .settingRow .content, .settings .settingRow.firstVisible .content {
2017-12-24 21:52:44 +01:00
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;
white-space: pre-wrap;
2017-11-11 23:34:59 +01:00
}
.settings.displayDescriptions .settingRow .description {
2017-06-25 22:11:28 +02:00
color: graytext;
margin-inline-start: 2em;
white-space: pre-wrap;
2018-09-12 18:10:31 +02:00
padding-right: 5px;
2017-06-25 22:11:28 +02:00
}
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: 1.15em;
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;
padding: 0;
border: none;
background-color: transparent;
2017-12-08 20:20:42 +01:00
}
.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: 2em;
cursor: pointer;
padding: 0;
border: none;
background-color: transparent;
}
.urlValues.collapsed .collapser::after {
content: "\25B6";
}
.urlValues.expanded .collapser::after {
content: "\25BC";
}
.urlValues .notSpecifiedForUrl {
opacity: 0.5;
2018-07-02 00:29:41 +02:00
}
td.hideColumn {
2018-09-12 18:10:31 +02:00
width: 45px;
2018-07-02 00:29:41 +02:00
}
2018-09-19 23:56:34 +02:00
.hideContent {
cursor: pointer;
}
2018-07-02 00:29:41 +02:00
.content.hideContent {
position: relative;
}
.content .hide, .displayHidden {
opacity: 0;
position: absolute;
2018-09-19 23:56:34 +02:00
cursor: pointer;
2018-07-02 00:29:41 +02:00
}
.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);
}
.content .hide:focus ~ .display, .displayHidden:focus ~ .display {
outline: 1px dotted black;
}
.optionsLink {
text-align: right;
font-size: 0.8em;
}
.optionsLink a {
text-decoration: none;
}
.optionsLink a:hover {
text-decoration: underline;
}
.version {
text-align: right;
color: gray;
font-size: 0.8em;
}
#search {
box-sizing: border-box;
2018-09-19 23:56:34 +02:00
width: calc(100% - 10px);
}
.searching .settingRow {
display: none;
}
.searching .settingRow.found {
display: table-row;
2017-06-25 22:11:28 +02:00
}