mirror of
https://github.com/pterodactyl/documentation.git
synced 2025-12-13 04:09:26 -06:00
Fix up search box
This commit is contained in:
parent
d753e32d0c
commit
cd19c793ad
@ -28,12 +28,12 @@
|
|||||||
|
|
||||||
input {
|
input {
|
||||||
transition: all 200ms ease-in;
|
transition: all 200ms ease-in;
|
||||||
@apply .text-grey-lighter .w-1/2 .outline-none .px-4 .py-2 .rounded;
|
@apply .text-grey-lighter .w-2/3 .outline-none .px-4 .py-2 .rounded;
|
||||||
background: rgba(0, 0, 0, 0.2);
|
background: rgba(0, 0, 0, 0.2);
|
||||||
border: 1px solid rgba(0, 0, 0, 0.3);
|
border: 1px solid rgba(0, 0, 0, 0.3);
|
||||||
|
|
||||||
&:active, &:focus {
|
&:active, &:focus {
|
||||||
@apply .w-5/6;
|
@apply .w-full;
|
||||||
transition: all 200ms ease-in;
|
transition: all 200ms ease-in;
|
||||||
background: rgba(0, 0, 0, 0.3);
|
background: rgba(0, 0, 0, 0.3);
|
||||||
border: 1px solid rgba(0, 0, 0, 0.7)
|
border: 1px solid rgba(0, 0, 0, 0.7)
|
||||||
@ -41,7 +41,26 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.suggestions {
|
.suggestions {
|
||||||
@apply absolute;
|
@apply .bg-white .rounded .border .p-2 .text-left .w-full;
|
||||||
|
margin-top: -0.3rem;
|
||||||
|
list-style: none;
|
||||||
|
|
||||||
|
& > li > a {
|
||||||
|
@apply .p-2 .block;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
@apply .rounded .bg-grey-lighter .no-underline .text-blue-dark;
|
||||||
|
|
||||||
|
& > .header {
|
||||||
|
@apply .text-grey-dark;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
& > .header {
|
||||||
|
@apply .text-grey .font-normal .pl-1;
|
||||||
|
font-size: 0.9em;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user