From 8d5500cbf5263fb64c55575e706d00ff08f7770c Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Fri, 27 Dec 2024 20:00:25 +0100 Subject: [PATCH] fix: add styles for input elements with "reset" and "button" types --- css/main.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/css/main.css b/css/main.css index eea9c17..90f7a40 100644 --- a/css/main.css +++ b/css/main.css @@ -248,6 +248,8 @@ form.search-form input[name="q"] { } form.search-form input[type="submit"], +form.search-form input[type="reset"], +form.search-form input[type="button"], form.search-form button { -webkit-flex-shrink: 0; -ms-flex-negative: 0; @@ -314,6 +316,8 @@ input[type="radio"]+label { } input[type="submit"], +input[type="reset"], +input[type="button"], button, .btn { display: inline-block; @@ -333,6 +337,8 @@ button, } input[type="submit"]:hover, +input[type="reset"]:hover, +input[type="button"]:hover, button:hover, .btn:hover { background-color: #2cac5b; @@ -882,6 +888,8 @@ form.form .form-captcha-container div { header nav ul li a, header nav ul li form input[type="submit"], + header nav ul li form input[type="reset"], + header nav ul li form input[type="button"], header nav ul li form button { background-color: inherit; color: #f2f2f2; @@ -896,6 +904,8 @@ form.form .form-captcha-container div { header nav ul li a:hover, header nav ul li form input[type="submit"]:hover, + header nav ul li form input[type="reset"]:hover, + header nav ul li form input[type="button"]:hover, header nav ul li form button:hover { background-color: #292524; color: #f2f2f2; @@ -928,6 +938,8 @@ form.form .form-captcha-container div { } input[type="submit"], + input[type="reset"], + input[type="button"], button, .btn { background-color: #22c55e; @@ -935,6 +947,8 @@ form.form .form-captcha-container div { } input[type="submit"]:hover, + input[type="reset"]:hover, + input[type="button"]:hover, button:hover, .btn:hover { background-color: #21b356;