From d45d685a4814dca773de093f7bb93595febd97f5 Mon Sep 17 00:00:00 2001 From: Luzifr Date: Mon, 12 Sep 2011 18:53:25 +0200 Subject: [PATCH] Installation correction, CSS-Update --- wcfsetup/install/files/acp/style/testing.css | 29 ++++++++++++++++++++ wcfsetup/setup/template/stepCreateUser.tpl | 10 +++---- 2 files changed, 34 insertions(+), 5 deletions(-) diff --git a/wcfsetup/install/files/acp/style/testing.css b/wcfsetup/install/files/acp/style/testing.css index c33caddce8..682ea9909b 100644 --- a/wcfsetup/install/files/acp/style/testing.css +++ b/wcfsetup/install/files/acp/style/testing.css @@ -805,6 +805,35 @@ textarea:focus { transition: all .2s linear; } +/* 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"] { + border-style: dotted; + border-color: rgba(0, 0, 0, .1); + background-color: transparent; + background-image: none; + + -webkit-box-shadow: none; + -moz-box-shadow: none; + -ms-box-shadow: none; + -o-box-shadow: none; + box-shadow: none; +} + +/* 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"] { + border-style: solid; + border-color: rgba(0, 0, 0, .5); + background-color: rgba(255, 255, 255, .5); +} + /* Widths */ textarea { diff --git a/wcfsetup/setup/template/stepCreateUser.tpl b/wcfsetup/setup/template/stepCreateUser.tpl index ae1412e9ea..6dee9173e5 100644 --- a/wcfsetup/setup/template/stepCreateUser.tpl +++ b/wcfsetup/setup/template/stepCreateUser.tpl @@ -16,7 +16,7 @@
- + {if $errorField == 'username'} {if $errorType == 'empty'}{lang}wcf.global.createUser.error.empty{/lang}{/if} @@ -29,7 +29,7 @@
- + {if $errorField == 'email'} {if $errorType == 'empty'}{lang}wcf.global.createUser.error.empty{/lang}{/if} @@ -42,7 +42,7 @@
- + {if $errorField == 'confirmEmail'} {if $errorType == 'notEqual'}{lang}wcf.global.createUser.error.confirmEmail.notEqual{/lang}{/if} @@ -54,7 +54,7 @@
- + {if $errorField == 'password'} {if $errorType == 'empty'}{lang}wcf.global.createUser.error.empty{/lang}{/if} @@ -66,7 +66,7 @@
- + {if $errorField == 'confirmPassword'} {if $errorType == 'notEqual'}{lang}wcf.global.createUser.error.confirmPassword.notEqual{/lang}{/if} -- 2.20.1