remove other Toollist items, only List and Explain

also reduce opacity loss for closed Toollist
This commit is contained in:
AntonObersteiner 2024-06-03 13:25:51 +02:00
parent 63bf71c3e8
commit 8e439a446b
2 changed files with 6 additions and 2 deletions

View file

@ -888,7 +888,7 @@ flex:0 2.5rem
cursor:pointer
}
.doc>section.closed>header>:not(h1) {
opacity:.4
opacity:.8
}
.doc>section.closed>header>.max {
transform:rotate(45deg)
@ -906,6 +906,10 @@ background:rgba(240,241,242,.2)
#tooltip-signin ul.list .doc li,.container .header ul.file .doc li,.doc #tooltip-signin ul.list li,.doc .button,.doc .buttonbar>*,.doc .container .header ul.file li,.doc .segcontrol>* {
background:rgba(240,241,242,.35)
}
.doc .segcontrol>* {
color:#000;
font-weight:bold
}
#tooltip-signin ul.list .doc li.selected,#tooltip-signin ul.list .doc li:hover,.container .header ul.file .doc li.selected,.container .header ul.file .doc li:hover,.doc #tooltip-signin ul.list li.selected,.doc #tooltip-signin ul.list li:hover,.doc .button.selected,.doc .button:hover,.doc .buttonbar>.selected,.doc .buttonbar>:hover,.doc .container .header ul.file li.selected,.doc .container .header ul.file li:hover,.doc .segcontrol>.selected,.doc .segcontrol>:hover {
background:rgba(240,241,242,.75)
}

View file

@ -17939,7 +17939,7 @@ var regexr = (function () {
this.contentEl = DOMUtils.query("> article > .content", el);
this.resultEl = DOMUtils.query("> article > .inputtool > .result", el);
this.toolListEl = DOMUtils.query(".toollist", this.headerEl);
let data = ["Replace", "List", "Details", "Explain"].map(val => ({
let data = ["List", "Explain"].map(val => ({
label: val,
id: val.toLowerCase()
}));