Mobile sidebar cosmetics
parent
317cce45e0
commit
b0d15c732c
|
@ -29,10 +29,6 @@
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#docsearch {
|
|
||||||
margin-right: .5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.DocSearch-Button {
|
.DocSearch-Button {
|
||||||
width: 2rem;
|
width: 2rem;
|
||||||
height: 2rem;
|
height: 2rem;
|
||||||
|
@ -76,9 +72,11 @@
|
||||||
z-index: 1102;
|
z-index: 1102;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
transform: translateX(-100%);
|
transform: translateX(-100%);
|
||||||
background-color: var(--surface-overlay);
|
background-color: var(--mobile-menu-bg);
|
||||||
|
backdrop-filter: blur(20px);
|
||||||
width: 300px;
|
width: 300px;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
box-shadow: 0px 0px 50px 5px rgba(16, 185, 129, .2);
|
||||||
|
|
||||||
nav {
|
nav {
|
||||||
padding: 1rem 1rem;
|
padding: 1rem 1rem;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
.layout-dark {
|
.layout-dark {
|
||||||
--glow-image: url(https://www.primefaces.org/cdn/primevue/images/layout/top-pattern-light.png);
|
--glow-image: url(https://www.primefaces.org/cdn/primevue/images/layout/top-pattern-light.png);
|
||||||
--topbar-border: var(--surface-border);
|
--topbar-border: var(--surface-border);
|
||||||
|
--mobile-menu-bg: rgba(0,0,0,.3);
|
||||||
--home-highlight-color:#10b981;
|
--home-highlight-color:#10b981;
|
||||||
--home-highlight-darker-color:#059669;
|
--home-highlight-darker-color:#059669;
|
||||||
--home-highlight-fore-color:#ffffff;
|
--home-highlight-fore-color:#ffffff;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
.layout-light {
|
.layout-light {
|
||||||
--glow-image: url(https://www.primefaces.org/cdn/primevue/images/layout/top-pattern-light.png);
|
--glow-image: url(https://www.primefaces.org/cdn/primevue/images/layout/top-pattern-light.png);
|
||||||
--topbar-border: rgba(0,0,0,.05);
|
--topbar-border: rgba(0,0,0,.05);
|
||||||
|
--mobile-menu-bg: var(--surface-overlay);
|
||||||
--home-highlight-color:#10b981;
|
--home-highlight-color:#10b981;
|
||||||
--home-highlight-darker-color:#059669;
|
--home-highlight-darker-color:#059669;
|
||||||
--home-highlight-fore-color:#ffffff;
|
--home-highlight-fore-color:#ffffff;
|
||||||
|
|
Loading…
Reference in New Issue