mirror of
https://github.com/CoreyGinnivan/system-uicons.git
synced 2024-05-04 06:33:10 +02:00
Made header sticky
This commit is contained in:
parent
9ce75f728f
commit
f5383e47e2
125
src/index.html
125
src/index.html
|
@ -37,73 +37,68 @@
|
|||
spellcheck="false"
|
||||
class="flex flex-1 w-full py-4 focus:outline-none placeholder-gray-400 appearance-none text-black focus:text-black tracking-tighter text-xl lg:text-3xl xl:text-5xl"
|
||||
/>
|
||||
<div
|
||||
class="flex flex-col space-y-4 md:space-y-0 md:flex-row border-t border-gray-300 bg-white pt-4"
|
||||
</div>
|
||||
<div
|
||||
class="flex flex-col space-y-4 md:space-y-0 md:flex-row border-t border-gray-300 bg-white pt-4 px-8 sticky top-0"
|
||||
>
|
||||
<label
|
||||
class="inline-flex items-center cursor-pointer rounded px-2 hover:bg-gray-900 hover:text-white"
|
||||
>
|
||||
<label
|
||||
class="inline-flex items-center cursor-pointer rounded px-2 hover:bg-gray-900 hover:text-white"
|
||||
>
|
||||
<input
|
||||
type="radio"
|
||||
class="form-radio"
|
||||
name="clickType"
|
||||
value="copy"
|
||||
checked
|
||||
/>
|
||||
<span class="ml-2">Copy SVG Code</span>
|
||||
</label>
|
||||
<label
|
||||
class="inline-flex items-center md:ml-6 cursor-pointer rounded px-2 hover:bg-gray-900 hover:text-white"
|
||||
>
|
||||
<input
|
||||
type="radio"
|
||||
class="form-radio"
|
||||
name="clickType"
|
||||
value="link"
|
||||
/>
|
||||
<span class="ml-2"><img/> Link</span>
|
||||
</label>
|
||||
<label
|
||||
class="inline-flex items-center md:ml-6 cursor-pointer rounded px-2 hover:bg-gray-900 hover:text-white"
|
||||
>
|
||||
<input
|
||||
type="radio"
|
||||
class="form-radio"
|
||||
name="clickType"
|
||||
value="download"
|
||||
/>
|
||||
<span class="ml-2">Download SVGs</span>
|
||||
</label>
|
||||
<button
|
||||
class="flex flex-row items-center ml-auto p-3 rounded bg-black text-white hover:bg-gray-900 w-full md:w-auto"
|
||||
>
|
||||
<span class="mr-4">
|
||||
<svg
|
||||
height="21"
|
||||
viewBox="0 0 21 21"
|
||||
width="21"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
<input
|
||||
type="radio"
|
||||
class="form-radio"
|
||||
name="clickType"
|
||||
value="copy"
|
||||
checked
|
||||
/>
|
||||
<span class="ml-2">Copy SVG Code</span>
|
||||
</label>
|
||||
<label
|
||||
class="inline-flex items-center md:ml-6 cursor-pointer rounded px-2 hover:bg-gray-900 hover:text-white"
|
||||
>
|
||||
<input type="radio" class="form-radio" name="clickType" value="link" />
|
||||
<span class="ml-2"><img/> Link</span>
|
||||
</label>
|
||||
<label
|
||||
class="inline-flex items-center md:ml-6 cursor-pointer rounded px-2 hover:bg-gray-900 hover:text-white"
|
||||
>
|
||||
<input
|
||||
type="radio"
|
||||
class="form-radio"
|
||||
name="clickType"
|
||||
value="download"
|
||||
/>
|
||||
<span class="ml-2">Download SVGs</span>
|
||||
</label>
|
||||
<button
|
||||
class="flex flex-row items-center ml-auto p-3 rounded bg-black text-white hover:bg-gray-900 w-full md:w-auto"
|
||||
>
|
||||
<span class="mr-4">
|
||||
<svg
|
||||
height="21"
|
||||
viewBox="0 0 21 21"
|
||||
width="21"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<g
|
||||
fill="none"
|
||||
fill-rule="evenodd"
|
||||
stroke="currentcolor"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
transform="translate(4 3)"
|
||||
>
|
||||
<g
|
||||
fill="none"
|
||||
fill-rule="evenodd"
|
||||
stroke="currentcolor"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
transform="translate(4 3)"
|
||||
>
|
||||
<path
|
||||
d="m9.221 4.716.165 5.821-5.792-.135"
|
||||
transform="matrix(-.70710678 .70710678 .70710678 .70710678 5.685139 -2.354861)"
|
||||
/>
|
||||
<path d="m6.5.5v11" />
|
||||
<path d="m.5 14.5h12" />
|
||||
</g>
|
||||
</svg>
|
||||
</span>
|
||||
Download All SVGs
|
||||
</button>
|
||||
</div>
|
||||
<path
|
||||
d="m9.221 4.716.165 5.821-5.792-.135"
|
||||
transform="matrix(-.70710678 .70710678 .70710678 .70710678 5.685139 -2.354861)"
|
||||
/>
|
||||
<path d="m6.5.5v11" />
|
||||
<path d="m.5 14.5h12" />
|
||||
</g>
|
||||
</svg>
|
||||
</span>
|
||||
Download All SVGs
|
||||
</button>
|
||||
</div>
|
||||
<div
|
||||
class="p-8 grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 xl:grid-cols-7 gap-4"
|
||||
|
|
Loading…
Reference in a new issue