- Fix input text box width on NC>12

- Avoid CSS use !important
This commit is contained in:
Pellaeon Lin 2017-05-03 22:56:33 +08:00
parent 60d017abaf
commit 52ac51462a
3 changed files with 7 additions and 6 deletions

View File

@ -1,6 +1,6 @@
#email, #username, #password {
width: 223px !important;
padding-left: 36px !important;
#body-login #email, #body-login #username, #body-login #password {
width: 223px;
padding-left: 36px;
}
#email-icon, #username-icon, #password-icon {
position: absolute;
@ -10,9 +10,6 @@
filter: alpha(opacity=30);
opacity: .3;
}
#body-login input[type="email"] {
width: 249px;
}
#username-icon {
top: 17px;
}

View File

@ -1,5 +1,7 @@
<?php
\OCP\Util::addStyle('registration', 'style');
if ( \OCP\Util::getVersion()[0] >= 12 )
\OCP\Util::addStyle('core', 'guest');
?><form action="<?php print_unescaped(\OC::$server->getURLGenerator()->linkToRoute('registration.register.createAccount', array('token'=>$_['token']))) ?>" method="post">
<input type="hidden" name="requesttoken" value="<?php p($_['requesttoken']) ?>" />
<fieldset>

View File

@ -1,5 +1,7 @@
<?php
\OCP\Util::addStyle('registration', 'style');
if ( \OCP\Util::getVersion()[0] >= 12 )
\OCP\Util::addStyle('core', 'guest');
if ($_['entered']): ?>
<?php if (empty($_['errormsg'])): ?>
<ul class="success">