Fixed mayber #3
+12
-37
@@ -296,9 +296,7 @@ INTERACTIVE_CSS = '''
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
margin: 0 0.5rem;
|
margin: 0 0.5rem;
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
background: var(--color-result-border, rgba(0,0,0,0.15));
|
|
||||||
}
|
}
|
||||||
.sxng-input {
|
.sxng-input {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -343,44 +341,21 @@ INTERACTIVE_CSS = '''
|
|||||||
color: var(--color-result-link, #5e81ac);
|
color: var(--color-result-link, #5e81ac);
|
||||||
background: var(--color-base-background-hover, rgba(0,0,0,0.05)) !important;
|
background: var(--color-base-background-hover, rgba(0,0,0,0.05)) !important;
|
||||||
}
|
}
|
||||||
.sxng-input-wrapper::before {
|
@keyframes sxng-input-glow {
|
||||||
content: "";
|
0% {
|
||||||
display: block;
|
box-shadow: 0 0 0 0px var(--color-result-link, #4a9eff);
|
||||||
background: conic-gradient(
|
|
||||||
from 0deg,
|
|
||||||
transparent 0deg,
|
|
||||||
var(--color-result-link, #4a9eff) 60deg,
|
|
||||||
transparent 120deg
|
|
||||||
);
|
|
||||||
height: 300px;
|
|
||||||
width: 300px;
|
|
||||||
position: absolute;
|
|
||||||
animation: sxng-border-rotate 3s linear infinite;
|
|
||||||
z-index: 0;
|
|
||||||
opacity: 0;
|
|
||||||
transition: opacity 0.4s ease;
|
|
||||||
top: 50%;
|
|
||||||
left: 50%;
|
|
||||||
margin-top: -150px;
|
|
||||||
margin-left: -150px;
|
|
||||||
transform-origin: center center;
|
|
||||||
}
|
}
|
||||||
.sxng-input-wrapper:focus-within::before {
|
50% {
|
||||||
opacity: 1;
|
box-shadow: 0 0 6px 2px var(--color-result-link, #4a9eff);
|
||||||
}
|
}
|
||||||
@keyframes sxng-border-rotate {
|
100% {
|
||||||
from { transform: rotate(0deg); }
|
box-shadow: 0 0 0 0px var(--color-result-link, #4a9eff);
|
||||||
to { transform: rotate(360deg); }
|
|
||||||
}
|
}
|
||||||
.sxng-input {
|
}
|
||||||
position: relative;
|
.sxng-input:focus {
|
||||||
z-index: 1;
|
outline: none;
|
||||||
margin: 1px;
|
border-color: var(--color-result-link, #4a9eff);
|
||||||
width: calc(100% - 2px);
|
animation: sxng-input-glow 2s ease-in-out infinite;
|
||||||
height: calc(100% - 2px);
|
|
||||||
border-radius: 3px;
|
|
||||||
background: var(--color-base-background-hover, rgba(0,0,0,0.06));
|
|
||||||
border: none;
|
|
||||||
}
|
}
|
||||||
.sxng-model-select {
|
.sxng-model-select {
|
||||||
appearance: none;
|
appearance: none;
|
||||||
|
|||||||
Reference in New Issue
Block a user