Ticket #20579: 20579.5.twentytwelve.diff
File 20579.5.twentytwelve.diff, 2.2 KB (added by , 12 years ago) |
---|
-
wp-content/themes/twentytwelve/style.css
202 202 line-height: 2.181818182; 203 203 } 204 204 205 /* Form fields, general styles first */ 206 button, 207 input, 208 textarea { 209 border: 1px solid #ccc; 210 border-radius: 3px; 211 font-family: inherit; 212 padding: 6px; 213 padding: 0.428571429rem; 214 } 215 button, 216 input { 217 line-height: normal; 218 } 219 textarea { 220 font-size: 100%; 221 overflow: auto; 222 vertical-align: top; 223 } 224 225 /* Reset non-text input types */ 226 input[type="checkbox"], 227 input[type="radio"], 228 input[type="file"], 229 input[type="hidden"], 230 input[type="image"], 231 input[type="color"] { 232 border: 0; 233 border-radius: 0; 234 padding: 0; 235 } 236 205 237 /* Buttons */ 206 238 .menu-toggle, 207 239 input[type="submit"], 240 input[type="button"], 241 input[type="reset"], 208 242 article.post-password-required input[type=submit], 209 243 li.bypostauthor cite span { 210 244 padding: 6px 10px; … … 226 260 box-shadow: 0 1px 2px rgba(64, 64, 64, 0.1); 227 261 } 228 262 .menu-toggle, 263 button, 229 264 input[type="submit"], 230 article.post-password-required input[type=submit] { 265 input[type="button"], 266 input[type="reset"] { 231 267 cursor: pointer; 232 268 } 269 button[disabled], 270 input[disabled] { 271 cursor: default; 272 } 233 273 .menu-toggle:hover, 274 button:hover, 234 275 input[type="submit"]:hover, 276 input[type="button"]:hover, 277 input[type="reset"]:hover, 235 278 article.post-password-required input[type=submit]:hover { 236 279 color: #5e5e5e; 237 280 background-color: #ebebeb; … … 244 287 } 245 288 .menu-toggle:active, 246 289 .menu-toggle.toggled-on, 290 button:active, 247 291 input[type="submit"]:active, 248 article.post-password-required input[type=submit]:active,249 input[type=" submit"].toggled-on{292 input[type="button"]:active, 293 input[type="reset"]:active { 250 294 color: #757575; 251 295 background-color: #e1e1e1; 252 296 background-repeat: repeat-x; … … 268 312 padding: 0; 269 313 } 270 314 271 /* Form fields */272 input[type="text"],273 input[type="password"],274 input[type="email"],275 input[type="url"],276 textarea {277 padding: 6px;278 padding: 0.428571429rem;279 font-family: inherit;280 border: 1px solid #ccc;281 border-radius: 3px;282 }283 284 315 /* Responsive images */ 285 316 .entry-content img, 286 317 .comment-content img,