0
0
This commit is contained in:
syuilo 2020-03-25 22:57:13 +09:00
parent 8e9bd0bbd5
commit 3489e4af1e
3 changed files with 10 additions and 7 deletions

View File

@ -895,24 +895,25 @@ export default Vue.extend({
color: var(--navActive); color: var(--navActive);
} }
&:first-child { &:first-child, &:last-child {
position: sticky; position: sticky;
z-index: 1; z-index: 1;
top: 0;
padding-top: 8px; padding-top: 8px;
padding-bottom: 8px; padding-bottom: 8px;
background: var(--wboyroyc);
-webkit-backdrop-filter: blur(8px);
backdrop-filter: blur(8px);
}
&:first-child {
top: 0;
margin-bottom: 16px; margin-bottom: 16px;
background: var(--navBg);
border-bottom: solid 1px var(--divider); border-bottom: solid 1px var(--divider);
} }
&:last-child { &:last-child {
position: sticky;
bottom: 0; bottom: 0;
padding-top: 8px;
padding-bottom: 8px;
margin-top: 16px; margin-top: 16px;
background: var(--navBg);
border-top: solid 1px var(--divider); border-top: solid 1px var(--divider);
} }

View File

@ -65,5 +65,6 @@
aupeazdm: 'rgba(0, 0, 0, 0.3)', aupeazdm: 'rgba(0, 0, 0, 0.3)',
jvhmlskx: 'rgba(255, 255, 255, 0.1)', jvhmlskx: 'rgba(255, 255, 255, 0.1)',
yakfpmhl: 'rgba(255, 255, 255, 0.15)', yakfpmhl: 'rgba(255, 255, 255, 0.15)',
wboyroyc: ':alpha<0.5<@navBg',
}, },
} }

View File

@ -65,5 +65,6 @@
aupeazdm: 'rgba(0, 0, 0, 0.1)', aupeazdm: 'rgba(0, 0, 0, 0.1)',
jvhmlskx: 'rgba(0, 0, 0, 0.1)', jvhmlskx: 'rgba(0, 0, 0, 0.1)',
yakfpmhl: 'rgba(0, 0, 0, 0.15)', yakfpmhl: 'rgba(0, 0, 0, 0.15)',
wboyroyc: ':alpha<0.5<@navBg',
}, },
} }