From 9c8451943bc0d6e58032cacd5cdd55f0c1cb787f Mon Sep 17 00:00:00 2001 From: Luzifr Date: Tue, 13 Sep 2011 14:18:42 +0200 Subject: [PATCH] Coding style & disabled buttons --- wcfsetup/install/files/acp/style/testing.css | 50 ++++++++++++-------- 1 file changed, 30 insertions(+), 20 deletions(-) diff --git a/wcfsetup/install/files/acp/style/testing.css b/wcfsetup/install/files/acp/style/testing.css index 4c4cc73dfb..ffa92c5e97 100644 --- a/wcfsetup/install/files/acp/style/testing.css +++ b/wcfsetup/install/files/acp/style/testing.css @@ -739,16 +739,16 @@ select { } input[type='text'], -input[type="search"], -input[type="email"], +input[type='search'], +input[type='email'], input[type='password'] { padding: 5px 3px; } /* inputs normal */ input[type='text'], -input[type="search"], -input[type="email"], +input[type='search'], +input[type='email'], input[type='password'], textarea { border-width: 1px; @@ -766,8 +766,8 @@ textarea { /* inputs hover */ input[type='text']:hover, -input[type="search"]:hover, -input[type="email"]:hover, +input[type='search']:hover, +input[type='email']:hover, input[type='password']:hover, textarea:hover { border: 1px solid #fa2; @@ -777,13 +777,13 @@ textarea:hover { /* inputs active */ input[type='text']:active, -input[type="search"]:active, -input[type="email"]:active, +input[type='search']:active, +input[type='email']:active, input[type='password']:active, textarea:active, input[type='text']:focus, -input[type="search"]:focus, -input[type="email"]:focus, +input[type='search']:focus, +input[type='email']:focus, input[type='password']:focus, textarea:focus { border: 1px solid #fa2; @@ -804,11 +804,11 @@ textarea:focus { } /* inputs read only */ -input[type='text'][readonly="readonly"], -input[type='search'][readonly="readonly"], -input[type='email'][readonly="readonly"], -input[type='password'][readonly="readonly"], -textarea[readonly="readonly"] { +input[type='text'][readonly='readonly'], +input[type='search'][readonly='readonly'], +input[type='email'][readonly='readonly'], +input[type='password'][readonly='readonly'], +textarea[readonly='readonly'] { border-style: dotted; border-color: rgba(0, 0, 0, .1); background-color: transparent; @@ -822,11 +822,11 @@ textarea[readonly="readonly"] { } /* inputs read only */ -input[type='text'][disabled="disabled"], -input[type='search'][disabled="disabled"], -input[type='email'][disabled="disabled"], -input[type='password'][disabled="disabled"], -textarea[disabled="disabled"] { +input[type='text'][disabled='disabled'], +input[type='search'][disabled='disabled'], +input[type='email'][disabled='disabled'], +input[type='password'][disabled='disabled'], +textarea[disabled='disabled'] { border-style: solid; border-color: rgba(0, 0, 0, .5); background-color: rgba(255, 255, 255, .5); @@ -1214,6 +1214,16 @@ input[type='submit']:active, animation-timing-function: ease-in-out; } +/* disabled buttons */ +input[disabled='disabled'], +.largeButtons ul li.disabled a { + color: #999; + cursor: default; + border-width: 1px; + border-style: solid; + border-color: #ccc #bbb #aaa; +} + /* ToDo: Images deprecated? */ .largeButtons ul li a img { margin: 0; -- 2.20.1