Remove section title highlight on sidenav click

This commit is contained in:
Abe Jellinek 2023-12-01 10:22:31 -05:00 committed by Dan Stillman
parent a8a1b8fe06
commit 4a15b2633a
2 changed files with 0 additions and 16 deletions

View file

@ -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) {

View file

@ -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);