From a2b13719154ad34e0273707efe148ba75140b7c1 Mon Sep 17 00:00:00 2001 From: Jared Hancock <jared@osticket.com> Date: Mon, 10 Aug 2015 22:03:01 -0500 Subject: [PATCH] login: Fix rendering in Safari --- include/staff/login.tpl.php | 1 + scp/css/login.css | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/include/staff/login.tpl.php b/include/staff/login.tpl.php index fdf4c7afb..76a7cec17 100644 --- a/include/staff/login.tpl.php +++ b/include/staff/login.tpl.php @@ -2,6 +2,7 @@ include_once(INCLUDE_DIR.'staff/login.header.php'); $info = ($_POST && $errors)?Format::htmlchars($_POST):array(); ?> +<div id="brickwall"></div> <div id="background-compat"></div> <div id="loginBox"> <div class="tape"></div> diff --git a/scp/css/login.css b/scp/css/login.css index d989b232f..02044d9f7 100644 --- a/scp/css/login.css +++ b/scp/css/login.css @@ -30,6 +30,9 @@ body { line-height: 1.5em; margin: 0; text-align: center; +} + +#brickwall { background-image: url(../images/oscar-wall.jpg); background-color:orange; background-blend-mode: multiply; @@ -37,6 +40,11 @@ body { -moz-background-size: cover; -o-background-size: cover; background-size: cover; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; } #background-compat { -- GitLab