diff --git a/styles/main.css b/styles/main.css index c328a8e..cdb4228 100644 --- a/styles/main.css +++ b/styles/main.css @@ -34,4 +34,16 @@ h2 { h3 { font-size: 1.25rem; +} + +input:not(.search) { + @apply px-4 py-2 rounded-md w-full bg-[#1C1C21] border border-[#2E2E32] placeholder:text-[#8A8E90] text-white focus-visible:outline-none transition-colors duration-300 ease-out overflow-hidden; + + &[type="file"] { + @apply p-0 cursor-pointer; + + &::file-selector-button { + @apply px-2 py-2 mr-1 bg-[hsl(240,6%,18%)] text-white cursor-pointer; + } + } } \ No newline at end of file diff --git a/templates/views/admin/index.hbs b/templates/views/admin/index.hbs index d079269..46a09eb 100644 --- a/templates/views/admin/index.hbs +++ b/templates/views/admin/index.hbs @@ -1,180 +1,170 @@ -
- - - - - - - - Return to home - -
+
+
+ + + + + + + + Return to home + +
-
-
- {{#each Categories}} -
- {{this.Name}} -

{{this.Name}}

- -
-
- {{#each this.Links}} -
- {{this.Name}} -
-

{{this.Name}}

-

{{this.Description}}

-
-
+
+ {{#each this.Links}} +
+ {{this.Name}} +
+

{{this.Name}}

+

{{this.Description}}

+
+ +
+ {{/each}} +
+ + + +
+

Add a link

+
+
+
{{/each}} -
- +
+ -
-

Add a link

-
+

+ Add a new category +

- {{/each}} -
- - - -

- Add a new category -

-
-
-
- -