UX: Only hide section header icons when sidebar is pinned on Desktop (#17604)
This commit is contained in:
parent
99073338de
commit
cf5e59928e
|
@ -49,9 +49,6 @@
|
||||||
background: none;
|
background: none;
|
||||||
border: none;
|
border: none;
|
||||||
padding: 0.25em 0.5em;
|
padding: 0.25em 0.5em;
|
||||||
opacity: 0;
|
|
||||||
transition: opacity 0.25s;
|
|
||||||
transition-delay: 0.5s;
|
|
||||||
|
|
||||||
.d-icon {
|
.d-icon {
|
||||||
font-size: var(--font-down-1);
|
font-size: var(--font-down-1);
|
||||||
|
@ -92,12 +89,11 @@
|
||||||
border: none;
|
border: none;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
opacity: 0;
|
|
||||||
transition: opacity 0.25s;
|
|
||||||
transition-delay: 0.5s;
|
|
||||||
.d-icon {
|
.d-icon {
|
||||||
top: -0.1em; // visual alignment
|
top: -0.1em; // visual alignment
|
||||||
}
|
}
|
||||||
|
|
||||||
.discourse-no-touch & {
|
.discourse-no-touch & {
|
||||||
&:hover {
|
&:hover {
|
||||||
svg {
|
svg {
|
||||||
|
|
|
@ -13,13 +13,6 @@
|
||||||
align-self: start;
|
align-self: start;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
background-color: var(--primary-very-low);
|
background-color: var(--primary-very-low);
|
||||||
&:hover {
|
|
||||||
.sidebar-section-header-button,
|
|
||||||
.sidebar-section-header-caret {
|
|
||||||
opacity: 1;
|
|
||||||
transition-delay: 0s;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-container {
|
.sidebar-container {
|
||||||
|
|
|
@ -0,0 +1,20 @@
|
||||||
|
#main-outlet-wrapper {
|
||||||
|
.sidebar-wrapper {
|
||||||
|
.sidebar-section-header-button,
|
||||||
|
.sidebar-section-header-caret,
|
||||||
|
.sidebar-section-header-dropdown {
|
||||||
|
opacity: 0;
|
||||||
|
transition: opacity 0.25s;
|
||||||
|
transition-delay: 0.5s;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
.sidebar-section-header-button,
|
||||||
|
.sidebar-section-header-caret,
|
||||||
|
.sidebar-section-header-dropdown {
|
||||||
|
opacity: 1;
|
||||||
|
transition-delay: 0s;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue