From f3a8aa77b1c9a6918ec3630e990b6e3bf1bb7b67 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sat, 31 May 2025 22:56:55 +0400 Subject: feat: paste text --- public/static/style.css | 45 ++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 42 insertions(+), 3 deletions(-) (limited to 'public/static') diff --git a/public/static/style.css b/public/static/style.css index 78aa25c..15550e4 100644 --- a/public/static/style.css +++ b/public/static/style.css @@ -13,6 +13,21 @@ margin: 0; } +button.transparent { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + font: inherit; + color: inherit; + vertical-align: baseline; + background: none; +} + +button:hover { + cursor: pointer; +} + body { background: linear-gradient(0deg, var(--background-2), var(--background)); color: var(--foreground); @@ -66,21 +81,45 @@ button[type=submit]:hover { cursor: pointer; } +#form-text-upload>textarea { + resize: vertical; + height: 256px; +} + /** BOX */ .box { background: var(--box-content-background); border: 2px solid var(--box-border); } -.box:has(.content)>.tab { +.box>.tabs { + display: flex; + flex-direction: row; + align-items: center; + gap: 8px; +} + +.tabs>.tab {} + +.box:has(.tabs), +.box:has(.tab) { + background: none; + border: none; +} + +.box:has(.content)>.tab, +.tabs>.tab:not(.disabled) { background: var(--box-tab-background); - border-bottom: 2px solid var(--box-border); + border: 2px solid var(--box-border); + border-bottom: none; padding: 8px; font-weight: bold; } -.box:has(.tab)>.content { +.box:has(.tab)>.content, +.box:has(.tabs)>.content { background: var(--box-content-background); + border: 2px solid var(--box-border); padding: 8px; } -- cgit v1.2.3