From 494fc9d7d1f08e05e1ee196bd0746900343b51dd Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Mon, 16 Jan 2023 00:13:54 +0100 Subject: feat: Fully implemented text/file api, almost finished autodelete service --- src/wwwroot/index.css | 80 +++++++++++++++++++++++++++++++++++++++++++++ src/wwwroot/index.html | 88 +++----------------------------------------------- 2 files changed, 85 insertions(+), 83 deletions(-) create mode 100644 src/wwwroot/index.css (limited to 'src/wwwroot') diff --git a/src/wwwroot/index.css b/src/wwwroot/index.css new file mode 100644 index 0000000..83d19bb --- /dev/null +++ b/src/wwwroot/index.css @@ -0,0 +1,80 @@ +body { + font-family: sans-serif; + background: white; + color: #333; +} + +form { + width: 100%; + max-width: 300px; + display: flex; + flex-direction: column; + gap: 5px; +} + +#forms { + display: flex; + flex-direction: row; + gap: 15px; + flex-wrap: wrap; +} + +#forms .wrapper { + width: 300px; +} + +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); +} + +.text-input {} \ No newline at end of file diff --git a/src/wwwroot/index.html b/src/wwwroot/index.html index da0da53..390ef4c 100644 --- a/src/wwwroot/index.html +++ b/src/wwwroot/index.html @@ -2,85 +2,7 @@ - + Blobbin @@ -89,7 +11,7 @@

Upload a file

-
@@ -97,7 +19,7 @@

Upload some text

- + @@ -119,7 +41,7 @@