From d2cb70e8725371a72c0f9db36ad734041f4fb977 Mon Sep 17 00:00:00 2001 From: KushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com> Date: Wed, 18 Aug 2021 13:25:28 -0300 Subject: themeable popup --- static/css/themes/default.css | 14 +++++++++++++- static/css/themes/gruvbox.css | 20 ++++++++++++++++---- 2 files changed, 29 insertions(+), 5 deletions(-) (limited to 'static/css/themes') diff --git a/static/css/themes/default.css b/static/css/themes/default.css index 2df2921..07e960e 100644 --- a/static/css/themes/default.css +++ b/static/css/themes/default.css @@ -101,13 +101,25 @@ a.reply { } #postForm input[type="text"], -#postForm textarea { +#postForm textarea, +#reply-name, #reply-options, #reply-comment { box-sizing: border-box; -webkit-box-sizing:border-box; -moz-box-sizing: border-box; } +#reply-name, #reply-options, #reply-comment { + width: 100%; +} + #postForm #captcha { display: block; width: 100%; } + +.popup-box { + position: absolute; + width: min-content; + z-index: 9; + display: block; +} diff --git a/static/css/themes/gruvbox.css b/static/css/themes/gruvbox.css index a23d7f4..ff9c596 100644 --- a/static/css/themes/gruvbox.css +++ b/static/css/themes/gruvbox.css @@ -70,29 +70,41 @@ h1,h2,h3,h4,h5,h6 { input[type="text"] { -webkit-appearance: none; -webkit-border-radius: 0; - } #postForm { border: 4px solid #928374; background-color: #3c3836; - margin: auto; + margin: auto; + } #postForm tr > td:first-child { - background-color: #504945; + background-color: #504945; padding-left: 0.5em; padding-right: 0.5em; } #postForm input[type="text"], -#postForm textarea { +#postForm textarea, +#reply-name, #reply-options, #reply-comment { box-sizing: border-box; -webkit-box-sizing:border-box; -moz-box-sizing: border-box; } +#reply-name, #reply-options, #reply-comment { + width: 100%; +} + #postForm #captcha { display: block; width: 100%; } + +.popup-box { + position: absolute; + width: min-content; + z-index: 9; + display: block; +} -- cgit v1.2.3