Removed redundant CSS comments for better readability

This commit is contained in:
IM23a-spirgif
2025-05-19 22:31:42 +02:00
parent 2217cfbdb8
commit 76821f5d83
-6
View File
@@ -545,12 +545,10 @@ body.menu-open {
transition: border-color 0.2s ease; transition: border-color 0.2s ease;
} }
/* Multi-select box a bit taller */
#weapon-form form select[multiple] { #weapon-form form select[multiple] {
min-height: 120px; min-height: 120px;
} }
/* On focus, highlight */
#weapon-form form input:focus, #weapon-form form input:focus,
#weapon-form form select:focus { #weapon-form form select:focus {
outline: none; outline: none;
@@ -558,7 +556,6 @@ body.menu-open {
box-shadow: 0 0 4px rgba(139, 0, 0, 0.4); box-shadow: 0 0 4px rgba(139, 0, 0, 0.4);
} }
/* Buttons in the modal */
#weapon-form form button { #weapon-form form button {
padding: 10px 20px; padding: 10px 20px;
border: none; border: none;
@@ -568,7 +565,6 @@ body.menu-open {
margin-right: 8px; margin-right: 8px;
} }
/* Confirm (Create) */
#weapon-form form button[type="submit"] { #weapon-form form button[type="submit"] {
background-color: darkred; background-color: darkred;
color: #fff; color: #fff;
@@ -578,7 +574,6 @@ body.menu-open {
background-color: red; background-color: red;
} }
/* Cancel */
#weapon-form form button#weapon-cancel { #weapon-form form button#weapon-cancel {
background-color: #666; background-color: #666;
color: #fff; color: #fff;
@@ -588,7 +583,6 @@ body.menu-open {
background-color: #444; background-color: #444;
} }
/* The “Create New Weapon” opener button */
#weapon-create { #weapon-create {
margin: 0 0 20px; margin: 0 0 20px;
padding: 10px 16px; padding: 10px 16px;