Make select elements consistent with forms

This commit is contained in:
discomrade 2021-11-05 11:51:39 -01:00
parent 667b271a27
commit 78d4fd6ee1
9 changed files with 11 additions and 8 deletions

View file

@ -61,7 +61,7 @@ form table tr th {
border: 1px solid #117743; border: 1px solid #117743;
} }
/* Input fields */ /* Input fields */
textarea, input:not([type="file"]):not([type="checkbox"]), [type="submit"] { textarea, input:not([type="file"]):not([type="checkbox"]), [type="submit"], select {
color: #ACACAC; color: #ACACAC;
background: #282A2E; background: #282A2E;
border: 1px double #07371F; border: 1px double #07371F;

View file

@ -61,7 +61,7 @@ form table tr th {
border: 1px solid #cd0000; border: 1px solid #cd0000;
} }
/* Input fields */ /* Input fields */
textarea, input:not([type="file"]):not([type="checkbox"]), [type="submit"] { textarea, input:not([type="file"]):not([type="checkbox"]), [type="submit"], select {
color: #ACACAC; color: #ACACAC;
background: #282A2E; background: #282A2E;
border: 1px double #07371F; border: 1px double #07371F;

View file

@ -95,7 +95,7 @@ form table tr th {
border: 1px solid #373b41; border: 1px solid #373b41;
} }
/* Input fields */ /* Input fields */
textarea, input:not([type="file"]):not([type="checkbox"]), [type="submit"] { textarea, input:not([type="file"]):not([type="checkbox"]), [type="submit"], select {
color: #ACACAC; color: #ACACAC;
background: #282A2E; background: #282A2E;
border: 1px double #1d1f21; border: 1px double #1d1f21;

View file

@ -60,7 +60,7 @@ form table tr th {
border: 1px solid #373b41; border: 1px solid #373b41;
} }
/* Input fields */ /* Input fields */
textarea, input:not([type="file"]):not([type="checkbox"]), [type="submit"] { textarea, input:not([type="file"]):not([type="checkbox"]), [type="submit"], select {
color: #ACACAC; color: #ACACAC;
background: #282A2E; background: #282A2E;
border: 1px double #1d1f21; border: 1px double #1d1f21;

View file

@ -18,7 +18,7 @@ a.post_no {
.boardlist { .boardlist {
color: #ccc; color: #ccc;
} }
div.post.reply, input, textarea { div.post.reply, input, textarea, select {
background: rgba(0, 0, 0, 0.1); background: rgba(0, 0, 0, 0.1);
border: 1px solid rgba(0, 0, 0, 0.2); border: 1px solid rgba(0, 0, 0, 0.2);
border-radius: 2px; border-radius: 2px;

View file

@ -7,7 +7,7 @@ html, body {
font-family: Tahoma, Verdana, Arial, sans-serif; font-family: Tahoma, Verdana, Arial, sans-serif;
font-size: 10pt; font-size: 10pt;
} }
input, textarea { input, textarea, select {
background-color: #E6CBC0; background-color: #E6CBC0;
border: 1px solid #CA927B; border: 1px solid #CA927B;
} }

View file

@ -115,7 +115,7 @@ form table tr th {
/* Input fields */ /* Input fields */
textarea, textarea,
input:not([type="file"]):not([type="checkbox"]), input:not([type="file"]):not([type="checkbox"]),
[type="submit"] { [type="submit"], select {
color: #4c4c4c; color: #4c4c4c;
background: #e9eced; background: #e9eced;
border: 1px double #cccccc; border: 1px double #cccccc;

View file

@ -48,7 +48,7 @@ input {
textarea { textarea {
background: #dedede url('img/testorange_textarea_bg.gif') repeat-x; background: #dedede url('img/testorange_textarea_bg.gif') repeat-x;
} }
input, textarea { input, textarea, select {
background: #200000; background: #200000;
color: #99938D; color: #99938D;
} }

View file

@ -30,6 +30,9 @@ form table tr th {
color: #800000; color: #800000;
border: 1px solid #800000; border: 1px solid #800000;
} }
[type="submit"] {
border: 1px solid #9A9A9A;
}
textarea:focus, input:not([type="file"]):not([type="checkbox"]):focus, [type="submit"]:hover { textarea:focus, input:not([type="file"]):not([type="checkbox"]):focus, [type="submit"]:hover {
border: 1px solid #EA8; border: 1px solid #EA8;
} }