cyp/app/css/elements/search.less

24 lines
473 B
Text
Raw Normal View History

2020-03-17 05:57:13 +08:00
cyp-search {
form {
.item;
align-items: stretch;
2020-06-24 20:22:29 +08:00
button:first-of-type { // pseudo-class to override
2020-03-17 05:57:13 +08:00
margin-left: var(--icon-spacing);
}
}
&.pending form {
background-image: linear-gradient(var(--primary), var(--primary));
background-repeat: no-repeat;
background-size: 25% var(--border-width);
animation: bar ease-in-out 3s alternate infinite;
}
}
@keyframes bar {
0% { background-position: 0 100%; }
100% { background-position: 100% 100%; }
}