From 90e8e949097699f520a13fa1aafc44d9ccd5a02e Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Tue, 11 Dec 2012 18:54:43 +0100 Subject: [PATCH] =?utf8?q?icons=20for=20username=20and=20password=20field,?= =?utf8?q?=20not=20sure=20if=20it=E2=80=99s=20good?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- core/css/styles.css | 13 +- core/img/actions/password.png | Bin 0 -> 197 bytes core/img/actions/password.svg | 2174 +++++++++++++++++++++++++++++++ core/img/actions/user.png | Bin 0 -> 374 bytes core/img/actions/user.svg | 1698 ++++++++++++++++++++++++ core/templates/installation.php | 4 +- core/templates/login.php | 4 +- 7 files changed, 3886 insertions(+), 7 deletions(-) create mode 100644 core/img/actions/password.png create mode 100644 core/img/actions/password.svg create mode 100644 core/img/actions/user.png create mode 100644 core/img/actions/user.svg diff --git a/core/css/styles.css b/core/css/styles.css index d5b0a348ee1..01ae5f1f066 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -119,6 +119,13 @@ input[type="submit"].enabled { background:#66f866; border:1px solid #5e5; -moz-b #login #datadirContent label { display:block; margin:0; color:#999; } #login form #datadirField legend { margin-bottom:15px; } + +/* Icons for username and password fields to better recognize them */ +#adminlogin, #adminpass, #user, #password { padding-left:1.6em; background-repeat:no-repeat; background-position:.4em .75em; } +#adminlogin+label, #adminpass+label, #user+label, #password+label { left:2em; } +#adminlogin, #user { background-image:url('../img/actions/user.svg'); } +#adminpass, #password { background-image:url('../img/actions/password.svg'); } + /* Nicely grouping input field sets */ .grouptop input { margin-bottom:0; @@ -135,11 +142,11 @@ input[type="submit"].enabled { background:#66f866; border:1px solid #5e5; -moz-b box-shadow:0 1px 1px #fff,0 1px 0 #ddd inset; } -#login form label { margin:.95em 0 0 .85em; color:#666; } -#login .groupmiddle label, #login .groupbottom label { margin-top:13px; } +#login form label { color:#666; } +#login .groupmiddle label, #login .groupbottom label { top:.65em; } /* NEEDED FOR INFIELD LABELS */ p.infield { position:relative; } -label.infield { cursor:text !important; } +label.infield { cursor:text !important; top:1.05em; left:.85em; } #login form label.infield { position:absolute; font-size:19px; color:#aaa; white-space:nowrap; } #login form input[type="checkbox"]+label { position:relative; margin:0; font-size:1em; text-shadow:#fff 0 1px 0; } #login form .errors { background:#fed7d7; border:1px solid #f00; list-style-indent:inside; margin:0 0 2em; padding:1em; } diff --git a/core/img/actions/password.png b/core/img/actions/password.png new file mode 100644 index 0000000000000000000000000000000000000000..5167161dfa9906bb6e822dd849bc94328800feee GIT binary patch literal 197 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`EX7WqAsj$Z!;#Vf2?p zUk71ECym(^Ktah8*NBqf{Irtt#G+J&^73-M%)IR4 + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/core/img/actions/user.png b/core/img/actions/user.png new file mode 100644 index 0000000000000000000000000000000000000000..2221ac679d1c2c4d94df18ed7e4aef73cffe276a GIT binary patch literal 374 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`EX7WqAsj$Z!;#Vf2?p zUk71ECym(^Ktah8*NBqf{Irtt#G+J&^73-M%)IR4y)~0TzkVUVH=ivj8(LUt+un5dtb{8-=rJi29h=j7t;*00(hDn zuRP%T9{22&C_fL+|DVrh7pFb@VsyDaXF8+gh{(yx{;!~P&EOaZH|u+GncsTPMN^i|JjwC?#~Xup8|Tg3Ds+tN z{T(6g&CJ0$XvGni1?DlK8CEGuN;Bi OXYh3Ob6Mw<&;$Vf`ICJB literal 0 HcmV?d00001 diff --git a/core/img/actions/user.svg b/core/img/actions/user.svg new file mode 100644 index 00000000000..f5ac9088c67 --- /dev/null +++ b/core/img/actions/user.svg @@ -0,0 +1,1698 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/core/templates/installation.php b/core/templates/installation.php index f7a8a028c4f..6e36cd3dc26 100644 --- a/core/templates/installation.php +++ b/core/templates/installation.php @@ -35,12 +35,12 @@
t( 'Create an admin account' ); ?>

- +

- +

diff --git a/core/templates/login.php b/core/templates/login.php index 5e4e2eb07e6..53e2e9da2ca 100644 --- a/core/templates/login.php +++ b/core/templates/login.php @@ -17,12 +17,12 @@

- autocomplete="on" required /> +

- /> +

-- 2.39.5