From dbb09c75202f9d8a91e4babd599807462ecead9f Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Sun, 15 Jan 2023 17:56:52 +0100 Subject: feat: Show forms all the time, add some optional js --- src/wwwroot/index.html | 103 ++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 90 insertions(+), 13 deletions(-) (limited to 'src/wwwroot/index.html') diff --git a/src/wwwroot/index.html b/src/wwwroot/index.html index fa25951..da0da53 100644 --- a/src/wwwroot/index.html +++ b/src/wwwroot/index.html @@ -22,10 +22,64 @@ flex-wrap: wrap; } - #forms summary { + #forms .wrapper { width: 300px; cursor: pointer; } + + textarea { + overflow-y: hidden; + min-height: calc(1.5em + .75rem + 2px); + resize: vertical; + } + + .btn { + padding: 4px 12px; + min-width: 88px; + border: none; + font: inherit; + color: #373030; + border-radius: 4px; + outline: none; + text-decoration: none; + cursor: default; + font-weight: 400; + background: #fff; + box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.3), 0px 1px 1px rgba(0, 0, 0, 0.4); + } + + .btn:active { + background: linear-gradient(#4faefc, #006bff); + color: #fff; + position: relative; + } + + .btn.btn-blue { + color: #fff; + background: linear-gradient(#81c5fd, #3389ff); + } + + .btn.btn-blue:active { + background: linear-gradient(#4faefc, #006bff); + } + + .btn.btn-red { + color: #fff; + background: linear-gradient(#fd6c6f, #e70307); + } + + .btn.btn-red:active { + background: linear-gradient(#fc2125, #b50206); + } + + .btn.btn-green { + color: #fff; + background: linear-gradient(#89e36b, #44ae21); + } + + .btn.btn-green:active { + background: linear-gradient(#56d72b, #338319); + } Blobbin @@ -33,10 +87,11 @@

Blobbin

This is a web service you can upload files and texts to.

-
- Upload a file -
- +
+

Upload a file

+ + + name="autoDeleteAfter"> - + -
-
- Upload some text -
+ +
+

Upload some text

+ @@ -72,9 +127,31 @@ - + -
+
+ \ No newline at end of file -- cgit v1.3