remove unneeded icons from input fields to not distract from submit button, fix #18940
This commit is contained in:
parent
f000edb636
commit
a05ea0fb1e
|
@ -18,7 +18,3 @@ input[type='submit'] {
|
||||||
fieldset > p {
|
fieldset > p {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
#password-icon {
|
|
||||||
top: 20px;
|
|
||||||
}
|
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
placeholder="<?php p($l->t('Password')); ?>" value=""
|
placeholder="<?php p($l->t('Password')); ?>" value=""
|
||||||
autocomplete="off" autocapitalize="off" autocorrect="off"
|
autocomplete="off" autocapitalize="off" autocorrect="off"
|
||||||
autofocus />
|
autofocus />
|
||||||
<img class="svg" id="password-icon" src="<?php print_unescaped(image_path('', 'actions/password.svg')); ?>" alt=""/>
|
|
||||||
<input type="submit" value=""
|
<input type="submit" value=""
|
||||||
class="svg icon-confirm input-button-inline" />
|
class="svg icon-confirm input-button-inline" />
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -585,30 +585,6 @@ input[type="submit"].enabled {
|
||||||
color: #ccc;
|
color: #ccc;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Icons for username and password fields to better recognize them */
|
|
||||||
#adminlogin,
|
|
||||||
#adminpass,
|
|
||||||
input[name='adminpass-clone'],
|
|
||||||
#user,
|
|
||||||
#password,
|
|
||||||
input[name='password-clone'] {
|
|
||||||
width: 223px !important;
|
|
||||||
padding-left: 36px !important;
|
|
||||||
}
|
|
||||||
#adminlogin+label+img,
|
|
||||||
#adminpass-icon,
|
|
||||||
#user+label+img,
|
|
||||||
#password-icon {
|
|
||||||
position: absolute;
|
|
||||||
left: 16px;
|
|
||||||
top: 22px;
|
|
||||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
|
|
||||||
opacity: .3;
|
|
||||||
}
|
|
||||||
#adminpass-icon, #password-icon {
|
|
||||||
top: 17px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* General new input field look */
|
/* General new input field look */
|
||||||
#body-login input[type="text"],
|
#body-login input[type="text"],
|
||||||
#body-login input[type="password"],
|
#body-login input[type="password"],
|
||||||
|
@ -1204,4 +1180,3 @@ fieldset.warning legend + p, fieldset.update legend + p {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
|
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,3 @@
|
||||||
.text-center {
|
.text-center {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
#password-icon {
|
|
||||||
top: 20px;
|
|
||||||
}
|
|
||||||
|
|
|
@ -31,7 +31,6 @@ script('core', 'lostpassword');
|
||||||
<p>
|
<p>
|
||||||
<label for="password" class="infield"><?php p($l->t('New password')); ?></label>
|
<label for="password" class="infield"><?php p($l->t('New password')); ?></label>
|
||||||
<input type="password" name="password" id="password" value="" placeholder="<?php p($l->t('New Password')); ?>" required />
|
<input type="password" name="password" id="password" value="" placeholder="<?php p($l->t('New Password')); ?>" required />
|
||||||
<img class="svg" id="password-icon" src="<?php print_unescaped(image_path('', 'actions/password.svg')); ?>" alt=""/>
|
|
||||||
</p>
|
</p>
|
||||||
<input type="submit" id="submit" value="<?php p($l->t('Reset password')); ?>" />
|
<input type="submit" id="submit" value="<?php p($l->t('Reset password')); ?>" />
|
||||||
<p class="text-center">
|
<p class="text-center">
|
||||||
|
|
|
@ -43,7 +43,6 @@ script('core', [
|
||||||
value="<?php p($_['adminlogin']); ?>"
|
value="<?php p($_['adminlogin']); ?>"
|
||||||
autocomplete="off" autocapitalize="off" autocorrect="off" autofocus required>
|
autocomplete="off" autocapitalize="off" autocorrect="off" autofocus required>
|
||||||
<label for="adminlogin" class="infield"><?php p($l->t( 'Username' )); ?></label>
|
<label for="adminlogin" class="infield"><?php p($l->t( 'Username' )); ?></label>
|
||||||
<img class="svg" src="<?php p(image_path('', 'actions/user.svg')); ?>" alt="">
|
|
||||||
</p>
|
</p>
|
||||||
<p class="groupbottom">
|
<p class="groupbottom">
|
||||||
<input type="password" name="adminpass" data-typetoggle="#show" id="adminpass"
|
<input type="password" name="adminpass" data-typetoggle="#show" id="adminpass"
|
||||||
|
@ -51,7 +50,6 @@ script('core', [
|
||||||
value="<?php p($_['adminpass']); ?>"
|
value="<?php p($_['adminpass']); ?>"
|
||||||
autocomplete="off" autocapitalize="off" autocorrect="off" required>
|
autocomplete="off" autocapitalize="off" autocorrect="off" required>
|
||||||
<label for="adminpass" class="infield"><?php p($l->t( 'Password' )); ?></label>
|
<label for="adminpass" class="infield"><?php p($l->t( 'Password' )); ?></label>
|
||||||
<img class="svg" id="adminpass-icon" src="<?php print_unescaped(image_path('', 'actions/password.svg')); ?>" alt="">
|
|
||||||
<input type="checkbox" id="show" name="show">
|
<input type="checkbox" id="show" name="show">
|
||||||
<label for="show" class="svg"></label>
|
<label for="show" class="svg"></label>
|
||||||
<div class="strengthify-wrapper"></div>
|
<div class="strengthify-wrapper"></div>
|
||||||
|
|
|
@ -45,7 +45,6 @@ script('core', [
|
||||||
<?php p($_['user_autofocus'] ? 'autofocus' : ''); ?>
|
<?php p($_['user_autofocus'] ? 'autofocus' : ''); ?>
|
||||||
autocomplete="on" autocapitalize="off" autocorrect="off" required>
|
autocomplete="on" autocapitalize="off" autocorrect="off" required>
|
||||||
<label for="user" class="infield"><?php p($l->t('Username')); ?></label>
|
<label for="user" class="infield"><?php p($l->t('Username')); ?></label>
|
||||||
<img class="svg" src="<?php print_unescaped(image_path('', 'actions/user.svg')); ?>" alt=""/>
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p class="groupbottom">
|
<p class="groupbottom">
|
||||||
|
@ -54,7 +53,6 @@ script('core', [
|
||||||
<?php p($_['user_autofocus'] ? '' : 'autofocus'); ?>
|
<?php p($_['user_autofocus'] ? '' : 'autofocus'); ?>
|
||||||
autocomplete="on" autocapitalize="off" autocorrect="off" required>
|
autocomplete="on" autocapitalize="off" autocorrect="off" required>
|
||||||
<label for="password" class="infield"><?php p($l->t('Password')); ?></label>
|
<label for="password" class="infield"><?php p($l->t('Password')); ?></label>
|
||||||
<img class="svg" id="password-icon" src="<?php print_unescaped(image_path('', 'actions/password.svg')); ?>" alt=""/>
|
|
||||||
<input type="submit" id="submit" class="login primary icon-confirm svg" title="<?php p($l->t('Log in')); ?>" value="" disabled="disabled"/>
|
<input type="submit" id="submit" class="login primary icon-confirm svg" title="<?php p($l->t('Log in')); ?>" value="" disabled="disabled"/>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue