audioplayer glass effect
This commit is contained in:
parent
77d1672efb
commit
4db1b8d927
@ -1,14 +1,22 @@
|
|||||||
.audio-player-container {
|
.audio-player-container {
|
||||||
background: linear-gradient(135deg, #f9fbff, #eef4ff);
|
background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
|
||||||
|
backdrop-filter: blur(10px) saturate(135%);
|
||||||
|
-webkit-backdrop-filter: blur(10px) saturate(135%);
|
||||||
border-radius: 14px;
|
border-radius: 14px;
|
||||||
box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
|
box-shadow:
|
||||||
border: 8px solid #0b1220;
|
0 12px 30px rgba(15, 23, 42, 0.22),
|
||||||
|
inset 0 1px 0 rgba(255, 255, 255, 0.24);
|
||||||
|
border: 2px solid rgba(255, 255, 255, 0.55);
|
||||||
|
outline: 1px solid rgba(12, 18, 32, 0.18); /* slightly stronger edge so front/back separate */
|
||||||
|
outline-offset: -1px;
|
||||||
|
background-clip: padding-box; /* keep border separate from glass */
|
||||||
padding: 12px 12px;
|
padding: 12px 12px;
|
||||||
width: min(600px, 100%);
|
width: min(600px, 100%);
|
||||||
display: none;
|
display: none;
|
||||||
color: #1f2937;
|
color: #1f2937;
|
||||||
margin-left: 8px;
|
margin-left: 8px;
|
||||||
margin-right: 8px;
|
margin-right: 8px;
|
||||||
|
overflow: hidden; /* keep the glass blur clean at the edges */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Now Playing Info */
|
/* Now Playing Info */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user