mirror of
https://github.com/NovaOSS/LingoSynth.git
synced 2024-11-29 11:23:58 +01:00
118 lines
2.2 KiB
CSS
118 lines
2.2 KiB
CSS
@keyframes rotate-gradient {
|
|
from {
|
|
transform: rotate(0deg) scale(2);
|
|
}
|
|
to {
|
|
transform: rotate(360deg) scale(2);
|
|
}
|
|
}
|
|
@keyframes pulsing {
|
|
0% {
|
|
background: #54867e;
|
|
}
|
|
100% {
|
|
background: #268678;
|
|
}
|
|
}
|
|
@keyframes rotate {
|
|
0% {
|
|
transform: rotate(0deg);
|
|
}
|
|
100% {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
div.input-wrapper {
|
|
position: relative;
|
|
overflow: hidden;
|
|
background: #363a4f;
|
|
padding: 2px 3px;
|
|
border-radius: 0.5rem;
|
|
}
|
|
div.input-wrapper * {
|
|
border-color: #363a4f !important;
|
|
}
|
|
div.input-wrapper .CodeMirror {
|
|
background: #494d64;
|
|
}
|
|
div.input-wrapper .CodeMirror-wrap:first-child {
|
|
background: green !important;
|
|
}
|
|
div.input-wrapper *::selection {
|
|
background: #268678;
|
|
color: #eaedf7;
|
|
}
|
|
div.input-wrapper .CodeMirror-cursors {
|
|
filter: invert(1);
|
|
}
|
|
div.input-wrapper.loading {
|
|
cursor: wait !important;
|
|
position: relative;
|
|
animation: pulsing 1s ease-in-out infinite alternate;
|
|
}
|
|
div.input-wrapper.loading * {
|
|
pointer-events: none;
|
|
}
|
|
div.input-wrapper.loading::before {
|
|
content: "";
|
|
display: block;
|
|
z-index: -1;
|
|
position: absolute;
|
|
top: 1rem;
|
|
left: 1rem;
|
|
right: 1rem;
|
|
bottom: 1rem;
|
|
background-image: conic-gradient(from 0deg, #2bafb9, #eed49f, #f5a97f);
|
|
animation: rotate-gradient 1s linear infinite;
|
|
}
|
|
|
|
textarea {
|
|
width: 100%;
|
|
height: 400px;
|
|
font-size: 16px;
|
|
line-height: 1.5;
|
|
padding: 1rem;
|
|
border-radius: 0.5rem;
|
|
background: #363a4f;
|
|
color: #eaedf7;
|
|
resize: none;
|
|
outline: none;
|
|
transition: border 0.1s ease-in-out;
|
|
min-height: 300px;
|
|
box-shadow: 0 0 40px 0 #181926;
|
|
}
|
|
|
|
button {
|
|
margin-top: 1rem;
|
|
padding: 0.8rem 1.5rem;
|
|
border-radius: 0.5rem;
|
|
background: #1c6e63;
|
|
font-size: 18px;
|
|
cursor: pointer;
|
|
transition: background 0.1s ease-in-out;
|
|
color: #eaedf7;
|
|
}
|
|
button:hover {
|
|
background: #268678;
|
|
}
|
|
button.loading {
|
|
cursor: progress;
|
|
animation: pulsing 1s ease-in-out infinite alternate;
|
|
}
|
|
button.secondary {
|
|
background: #5b6078;
|
|
}
|
|
button.secondary:hover {
|
|
background: #6e738d;
|
|
}
|
|
button.done {
|
|
background: #2c589f;
|
|
}
|
|
button.done:hover {
|
|
background: #3866b0;
|
|
}
|
|
|
|
i.ti.ti-loader-2 {
|
|
display: inline-block;
|
|
animation: rotate 1s linear infinite;
|
|
}/*# sourceMappingURL=input.css.map */ |