style: improve styling
This commit is contained in:
6 files changed
+12
-14
No files matched your search
@@ -14,7 +14,7 @@
|
||||
padding: 0.5em;
|
||||
background: rgb(0 0 0 / 0.4);
|
||||
backdrop-filter: blur(40px);
|
||||
box-shadow: 0 0 15px rgb(0 0 0 / 0.2);
|
||||
box-shadow: 0 0 25px rgb(0 0 0 / 0.45);
|
||||
}
|
||||
}
|
||||
&-avatar {
|
||||
@@ -63,6 +63,12 @@
|
||||
}
|
||||
|
||||
.library-drawer{
|
||||
width: 20em;
|
||||
margin: 1.4em;
|
||||
height: calc(100vh - 2.8em) !important;
|
||||
border-radius: 20px;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
.library-drawer-item{
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
|
||||
@@ -305,15 +305,7 @@ export const AppBar = () => {
|
||||
open={showDrawer}
|
||||
PaperProps={{
|
||||
className: "glass library-drawer",
|
||||
style: {
|
||||
width: "20em",
|
||||
margin: "1.4em",
|
||||
height: "calc(100vh - 2.8em)",
|
||||
borderRadius: "20px",
|
||||
overflowX: "hidden",
|
||||
overflowY: "auto",
|
||||
border: "1.2px solid rgb(255 255 255 / 0.2)",
|
||||
},
|
||||
elevation: 6,
|
||||
}}
|
||||
className="library-drawer"
|
||||
onClose={() => setShowDrawer(false)}
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
overflow: hidden;
|
||||
height: auto;
|
||||
z-index: 0;
|
||||
border: 1.2px solid rgb(255 255 255 / 0.05);
|
||||
|
||||
&.thumb{
|
||||
aspect-ratio: 1.777777;
|
||||
|
||||
@@ -360,7 +360,7 @@ const LibraryView = () => {
|
||||
|
||||
const scrollTrigger = useScrollTrigger({
|
||||
disableHysteresis: true,
|
||||
threshold: 0,
|
||||
threshold: 50,
|
||||
});
|
||||
|
||||
const [backdropItems, setBackdropItems] = useState([]);
|
||||
|
||||
@@ -70,11 +70,12 @@
|
||||
z-index: 1000;
|
||||
&.scrolling {
|
||||
background: rgb(0 0 0 / 0.4) !important;
|
||||
box-shadow: 0 0 25px rgb(0 0 0 / 0.45);
|
||||
top: 1em;
|
||||
}
|
||||
}
|
||||
&-options {
|
||||
padding: 0.5em 1.2em;
|
||||
padding: 0.5em 0.75em;
|
||||
gap: 0.5em;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
|
||||
@@ -292,6 +292,6 @@ h1 {
|
||||
}
|
||||
|
||||
.glass {
|
||||
background: rgb(0 0 0 / 0.1) !important;
|
||||
background: rgb(0 0 0 / 0.2) !important;
|
||||
backdrop-filter: blur(40px);
|
||||
}
|
||||
Reference in new issue
Block a user