summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2015-10-30 11:11:37 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2015-10-30 16:43:47 +0100
commitaf7616743ee4a6de17518fa57b9c76fa66fad038 (patch)
tree3f6bf595ec4eb2bc7ae8afce8dd634a58945ee98 /core
parent0cd61b01fdf26f04d16a25351ba8f59b97b28072 (diff)
downloadnextcloud-server-af7616743ee4a6de17518fa57b9c76fa66fad038.tar.gz
nextcloud-server-af7616743ee4a6de17518fa57b9c76fa66fad038.zip
remove unneeded icons from input fields to not distract from submit button, fix #18940
Diffstat (limited to 'core')
-rw-r--r--core/css/styles.css25
-rw-r--r--core/lostpassword/css/resetpassword.css4
-rw-r--r--core/lostpassword/templates/resetpassword.php1
-rw-r--r--core/templates/installation.php2
-rw-r--r--core/templates/login.php2
5 files changed, 0 insertions, 34 deletions
diff --git a/core/css/styles.css b/core/css/styles.css
index 3d68a591522..41325e7a136 100644
--- a/core/css/styles.css
+++ b/core/css/styles.css
@@ -585,30 +585,6 @@ input[type="submit"].enabled {
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 */
#body-login input[type="text"],
#body-login input[type="password"],
@@ -1204,4 +1180,3 @@ fieldset.warning legend + p, fieldset.update legend + p {
opacity: 0;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
}
-
diff --git a/core/lostpassword/css/resetpassword.css b/core/lostpassword/css/resetpassword.css
index 29a7e875537..0b3c251e8d7 100644
--- a/core/lostpassword/css/resetpassword.css
+++ b/core/lostpassword/css/resetpassword.css
@@ -5,7 +5,3 @@
.text-center {
text-align: center;
}
-
-#password-icon {
- top: 20px;
-}
diff --git a/core/lostpassword/templates/resetpassword.php b/core/lostpassword/templates/resetpassword.php
index 9152ae3d75f..c17ec652473 100644
--- a/core/lostpassword/templates/resetpassword.php
+++ b/core/lostpassword/templates/resetpassword.php
@@ -31,7 +31,6 @@ script('core', 'lostpassword');
<p>
<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 />
- <img class="svg" id="password-icon" src="<?php print_unescaped(image_path('', 'actions/password.svg')); ?>" alt=""/>
</p>
<input type="submit" id="submit" value="<?php p($l->t('Reset password')); ?>" />
<p class="text-center">
diff --git a/core/templates/installation.php b/core/templates/installation.php
index 716cb1af6af..191acf0b85d 100644
--- a/core/templates/installation.php
+++ b/core/templates/installation.php
@@ -43,7 +43,6 @@ script('core', [
value="<?php p($_['adminlogin']); ?>"
autocomplete="off" autocapitalize="off" autocorrect="off" autofocus required>
<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 class="groupbottom">
<input type="password" name="adminpass" data-typetoggle="#show" id="adminpass"
@@ -51,7 +50,6 @@ script('core', [
value="<?php p($_['adminpass']); ?>"
autocomplete="off" autocapitalize="off" autocorrect="off" required>
<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">
<label for="show" class="svg"></label>
<div class="strengthify-wrapper"></div>
diff --git a/core/templates/login.php b/core/templates/login.php
index 6751d92f656..f9a62bdecac 100644
--- a/core/templates/login.php
+++ b/core/templates/login.php
@@ -45,7 +45,6 @@ script('core', [
<?php p($_['user_autofocus'] ? 'autofocus' : ''); ?>
autocomplete="on" autocapitalize="off" autocorrect="off" required>
<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 class="groupbottom">
@@ -54,7 +53,6 @@ script('core', [
<?php p($_['user_autofocus'] ? '' : 'autofocus'); ?>
autocomplete="on" autocapitalize="off" autocorrect="off" required>
<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"/>
</p>