Coding style & disabled buttons
authorLuzifr <szekely@woltlab.com>
Tue, 13 Sep 2011 12:18:42 +0000 (14:18 +0200)
committerLuzifr <szekely@woltlab.com>
Tue, 13 Sep 2011 12:18:42 +0000 (14:18 +0200)
wcfsetup/install/files/acp/style/testing.css

index 4c4cc73dfbf838e6744a0022c822c493cc6652f3..ffa92c5e97e6449a2ae16fee1c5a9bddf2fa1e8d 100644 (file)
@@ -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;