before ai

This commit is contained in:
LionTion committed 2026-09-10 14:23:49 +02:00
1 parent 85d0d0be57
commit be50463157
11 files changed
+205 -76

No files matched your search

+50
View File
@@ -0,0 +1,50 @@
.charged-button {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.5rem 1.25rem;
min-width: 8rem;
height: 2.75rem;
border: 2px solid white;
border-radius: 0.625rem;
overflow: hidden;
outline: none;
isolation: isolate;
cursor: pointer;
background: #000;
color: #FFF;
box-shadow: 0 0 0 1px hsl(0 0% 0% / 0.15);
transition: box-shadow 120ms ease, transform 120ms ease;
-webkit-tap-highlight-color: transparent;
user-select: none;
-webkit-user-select: none;
&.button-disabled {
color: lightslategray;
border-color: lightslategray;
}
}
.charged-button:hover {
box-shadow: 0 0 0 1px hsl(0 0% 0% / 0.45);
}
.charged-button:active {
transform: scale(0.97);
}
.charged-button-label {
position: relative;
z-index: 1;
pointer-events: none;
}
.charged-button-fill {
pointer-events: none;
position: absolute;
inset: 0;
border-radius: inherit;
opacity: 0.7;
background: linear-gradient(120deg, #1ea, #2af, #e1f);
transition: opacity 120ms ease;
}