init project
This commit is contained in:
95
src/index.css
Normal file
95
src/index.css
Normal file
@@ -0,0 +1,95 @@
|
||||
@import "tailwindcss";
|
||||
|
||||
|
||||
.button-play {
|
||||
align-items: center;
|
||||
appearance: none;
|
||||
background-image: radial-gradient(100% 100% at 100% 0, #ffbe5c 0, #fe9c00 45%, #fa6d02 100%);
|
||||
border: 0;
|
||||
border-radius: 6px;
|
||||
box-shadow:
|
||||
rgba(254, 156, 0, .45) 0 0 18px,
|
||||
rgba(123, 54, 16, .35) 0 2px 4px,
|
||||
rgba(123, 54, 16, .28) 0 7px 13px -3px,
|
||||
#c2460e 0 -3px 0 inset;
|
||||
box-sizing: border-box;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
display: inline-flex;
|
||||
font-family: "JetBrains Mono",monospace;
|
||||
justify-content: center;
|
||||
line-height: 1;
|
||||
list-style: none;
|
||||
overflow: hidden;
|
||||
padding-left: 16px;
|
||||
padding-right: 16px;
|
||||
position: relative;
|
||||
text-align: left;
|
||||
text-decoration: none;
|
||||
transition: box-shadow .15s,transform .15s;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
touch-action: manipulation;
|
||||
white-space: nowrap;
|
||||
will-change: box-shadow,transform;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.button-play:focus {
|
||||
box-shadow:
|
||||
#c2460e 0 0 0 1.5px inset,
|
||||
rgba(254, 156, 0, .55) 0 0 22px,
|
||||
rgba(123, 54, 16, .35) 0 2px 4px,
|
||||
rgba(123, 54, 16, .28) 0 7px 13px -3px,
|
||||
#c2460e 0 -3px 0 inset;
|
||||
}
|
||||
|
||||
.button-play:hover {
|
||||
box-shadow:
|
||||
rgba(254, 156, 0, .6) 0 0 24px,
|
||||
rgba(123, 54, 16, .35) 0 4px 8px,
|
||||
rgba(123, 54, 16, .28) 0 7px 13px -3px,
|
||||
#c2460e 0 -3px 0 inset;
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.button-play:active {
|
||||
box-shadow: #c2460e 0 3px 7px inset, rgba(254, 156, 0, .28) 0 0 12px;
|
||||
transform: translateY(2px);
|
||||
}
|
||||
|
||||
.liquid-glass-bg {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
background: rgba(255, 255, 255, 0.25);
|
||||
backdrop-filter: blur(2px) saturate(180%) contrast(100%) brightness(100%);
|
||||
-webkit-backdrop-filter: blur(2px) saturate(180%) contrast(100%) brightness(100%);
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
|
||||
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
box-sizing: border-box;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
width: 100%;
|
||||
height: 10px;
|
||||
margin: 10px 0 8px;
|
||||
overflow: hidden;
|
||||
border-radius: 999px;
|
||||
background: linear-gradient(180deg, rgba(18, 14, 10, 0.92) 0%, rgba(34, 22, 14, 0.96) 100%);
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.45);
|
||||
}
|
||||
|
||||
.progress-bar__fill {
|
||||
height: 100%;
|
||||
border-radius: inherit;
|
||||
background: linear-gradient(90deg, #fe9c00 0%, #fa6d02 100%);
|
||||
box-shadow:
|
||||
inset 0 0 0 1px rgba(255, 220, 160, 0.35),
|
||||
0 0 8px rgba(254, 156, 0, 0.55),
|
||||
0 0 16px rgba(250, 109, 2, 0.4),
|
||||
0 0 24px rgba(250, 109, 2, 0.22);
|
||||
}
|
||||
Reference in New Issue
Block a user