mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2024-12-22 12:50:36 +01:00
Options page fine tuning
This commit is contained in:
parent
5513bcbb61
commit
70b8d50c56
@ -140,6 +140,11 @@
|
||||
"description": ""
|
||||
},
|
||||
|
||||
"hideSetting": {
|
||||
"message": "Hier klicken, um diese Einstellung zu verbergen.",
|
||||
"description": ""
|
||||
},
|
||||
|
||||
"displayHiddenSettings_title": {
|
||||
"message": "Versteckte Einstellungen anzeigen",
|
||||
"description": ""
|
||||
|
@ -140,6 +140,11 @@
|
||||
"description": ""
|
||||
},
|
||||
|
||||
"hideSetting": {
|
||||
"message": "Click here to hide this setting.",
|
||||
"description": ""
|
||||
},
|
||||
|
||||
"displayHiddenSettings_title": {
|
||||
"message": "Display hidden settings",
|
||||
"description": ""
|
||||
|
@ -177,12 +177,17 @@ td.hideColumn {
|
||||
width: 45px;
|
||||
}
|
||||
|
||||
.hideContent {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.content.hideContent {
|
||||
position: relative;
|
||||
}
|
||||
.content .hide, .displayHidden {
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
cursor: pointer;
|
||||
}
|
||||
.content .hide ~ .display, .displayHidden ~ .display {
|
||||
display: inline-block;
|
||||
@ -218,9 +223,7 @@ td.hideColumn {
|
||||
|
||||
#search {
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
width: calc(100% - 10px);
|
||||
}
|
||||
.searching .settingRow {
|
||||
display: none;
|
||||
|
@ -335,6 +335,7 @@
|
||||
function createHide(setting){
|
||||
var label = document.createElement("label");
|
||||
label.className = "content hideContent";
|
||||
label.title = browser.i18n.getMessage("hideSetting");
|
||||
var input = document.createElement("input");
|
||||
input.type = "checkbox";
|
||||
input.className = "hide";
|
||||
@ -382,6 +383,7 @@
|
||||
hideHeadCell.className = "hideColumn";
|
||||
hideHeadCell.title = browser.i18n.getMessage(displayHidden.name + "_description");
|
||||
const label = document.createElement("label");
|
||||
label.className = "hideContent";
|
||||
const input = createInput(displayHidden);
|
||||
input.className = "displayHidden";
|
||||
label.appendChild(input);
|
||||
|
Loading…
x
Reference in New Issue
Block a user