From e826108b6c68a0993cde670124f70b84b24db61a Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Tue, 29 Sep 2015 16:57:14 +0200 Subject: Fix IE8 login logo Added 175px logo to make it have the same size. It's only used for IE8. --- core/css/header.css | 4 ++++ core/img/logo-icon-175px.png | Bin 0 -> 3821 bytes 2 files changed, 4 insertions(+) create mode 100644 core/img/logo-icon-175px.png diff --git a/core/css/header.css b/core/css/header.css index 369750251c4..b25823411f0 100644 --- a/core/css/header.css +++ b/core/css/header.css @@ -69,6 +69,10 @@ opacity: 1; } +.ie8 #header .logo { + background-image: url(../img/logo-icon-175px.png); +} + #header .logo { background-image: url(../img/logo-icon.svg); background-repeat: no-repeat; diff --git a/core/img/logo-icon-175px.png b/core/img/logo-icon-175px.png new file mode 100644 index 00000000000..dca833b7026 Binary files /dev/null and b/core/img/logo-icon-175px.png differ -- cgit v1.2.3 From bf2a8760940c5aa5d24bfd2b0d73540b7b2c0a77 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Tue, 29 Sep 2015 17:13:10 +0200 Subject: Fix login arrow in login page --- core/css/styles.css | 9 +++++++++ core/templates/login.php | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/core/css/styles.css b/core/css/styles.css index d952a33c24a..2dda994ec24 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -602,6 +602,11 @@ input[name='password-clone'] { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"; opacity: .3; } +/* for whatever unexplained reason */ +.ie8 #password { + width: 271px !important; + min-width: auto !important; +} #adminpass-icon, #password-icon { top: 17px; } @@ -849,6 +854,10 @@ label.infield { #body-login input[type="submit"] { padding: 10px 20px; /* larger log in and installation buttons */ } +.ie8 #body-login input[type="submit"] { + padding: 10px 5px; + margin-top: 3px; +} #remember_login { margin: 18px 5px 0 16px !important; vertical-align: text-bottom; diff --git a/core/templates/login.php b/core/templates/login.php index db77f63bbd0..6751d92f656 100644 --- a/core/templates/login.php +++ b/core/templates/login.php @@ -55,7 +55,7 @@ script('core', [ autocomplete="on" autocapitalize="off" autocorrect="off" required> - +

-- cgit v1.2.3 From 1ec2499a0a7d8c7d2248743db9611c3bdde9f4b7 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Wed, 30 Sep 2015 09:59:23 +0200 Subject: move IE8 fixes to fixes.css --- core/css/fixes.css | 13 +++++++++++++ core/css/header.css | 4 ---- core/css/styles.css | 9 --------- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/core/css/fixes.css b/core/css/fixes.css index 7ef44ba6909..54852eb9beb 100644 --- a/core/css/fixes.css +++ b/core/css/fixes.css @@ -38,6 +38,10 @@ select { background-image: url('../img/actions/settings.png'); } +/* IE8 needs PNG image for header logo */ +.ie8 #header .logo { + background-image: url(../img/logo-icon-175px.png); +} /* IE8 needs background to be set to same color to make transparency look good. */ .lte9 #body-login form input[type="text"] { @@ -51,6 +55,15 @@ select { border-bottom: 1px solid lightgrey; background-color: white; /* don't change background on hover */ } +.ie8 #body-login input[type="submit"] { + padding: 10px 5px; + margin-top: 3px; +} +/* for whatever unexplained reason */ +.ie8 #password { + width: 271px !important; + min-width: auto !important; +} /* disable opacity of info text on gradient since we cannot set a good backround color to use the filter&background hack as with the input labels */ diff --git a/core/css/header.css b/core/css/header.css index b25823411f0..369750251c4 100644 --- a/core/css/header.css +++ b/core/css/header.css @@ -69,10 +69,6 @@ opacity: 1; } -.ie8 #header .logo { - background-image: url(../img/logo-icon-175px.png); -} - #header .logo { background-image: url(../img/logo-icon.svg); background-repeat: no-repeat; diff --git a/core/css/styles.css b/core/css/styles.css index 2dda994ec24..d952a33c24a 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -602,11 +602,6 @@ input[name='password-clone'] { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"; opacity: .3; } -/* for whatever unexplained reason */ -.ie8 #password { - width: 271px !important; - min-width: auto !important; -} #adminpass-icon, #password-icon { top: 17px; } @@ -854,10 +849,6 @@ label.infield { #body-login input[type="submit"] { padding: 10px 20px; /* larger log in and installation buttons */ } -.ie8 #body-login input[type="submit"] { - padding: 10px 5px; - margin-top: 3px; -} #remember_login { margin: 18px 5px 0 16px !important; vertical-align: text-bottom; -- cgit v1.2.3 From 42eb2149ad94a0a937e3a2ee09ce44be443c30f6 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Wed, 30 Sep 2015 14:51:29 +0200 Subject: Optipng IE8 logo --- core/img/logo-icon-175px.png | Bin 3821 -> 2946 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/core/img/logo-icon-175px.png b/core/img/logo-icon-175px.png index dca833b7026..67e76498670 100644 Binary files a/core/img/logo-icon-175px.png and b/core/img/logo-icon-175px.png differ -- cgit v1.2.3