Remove section title highlight on sidenav click
This commit is contained in:
parent
a8a1b8fe06
commit
4a15b2633a
2 changed files with 0 additions and 16 deletions
|
@ -133,16 +133,6 @@
|
|||
pane.focus();
|
||||
}
|
||||
|
||||
_flashPane(id) {
|
||||
let paneSection = this.getPane(id)?.querySelector('collapsible-section');
|
||||
if (paneSection) {
|
||||
paneSection.classList.add('highlight');
|
||||
setTimeout(() => {
|
||||
paneSection.classList.remove('highlight');
|
||||
}, 1000);
|
||||
}
|
||||
}
|
||||
|
||||
_makeSpaceForPane(pane) {
|
||||
let oldMinScrollHeight = this._minScrollHeight;
|
||||
let newMinScrollHeight = this._getMinScrollHeightForPane(pane);
|
||||
|
@ -197,7 +187,6 @@
|
|||
switch (event.detail) {
|
||||
case 1:
|
||||
this.scrollToPane(pane, 'smooth');
|
||||
this._flashPane(pane);
|
||||
break;
|
||||
case 2:
|
||||
if (this.pinnedPane == pane || !pinnable) {
|
||||
|
|
|
@ -24,7 +24,6 @@ collapsible-section {
|
|||
gap: 4px;
|
||||
color: var(--fill-secondary);
|
||||
font-weight: 590;
|
||||
transition: color 0.2s ease-out;
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
|
@ -66,10 +65,6 @@ collapsible-section {
|
|||
}
|
||||
}
|
||||
|
||||
&.highlight > .head > .title {
|
||||
color: var(--fill-primary);
|
||||
}
|
||||
|
||||
&[open]:not([empty]) > .head {
|
||||
toolbarbutton.twisty .toolbarbutton-icon {
|
||||
transform: rotate(-180deg);
|
||||
|
|
Loading…
Reference in a new issue