012b4fe5 by Jeremy Groot

login page updates

1 parent 1bd26cfd
......@@ -60,12 +60,15 @@ body.login {
}
#backtoblog:before {
content: '';
font-family: 'FontAwesome';
content: '';
width: 18px;
height: 18px;
background-image: url(../images/Icon_Arrow_2_WHITE.svg);
background-repeat: no-repeat;
font-size: 20px;
position: absolute;
left: 20px;
top: -1px;
left: 0px;
top: 4px;
}
@media(max-width:600px) {
......
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 23.0.4, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 31 27" style="enable-background:new 0 0 31 27;" xml:space="preserve">
<style type="text/css">
.st0{fill:#FFFFFF;}
</style>
<g>
<g>
<line class="st0" x1="31" y1="13.5" x2="2.8" y2="13.5"/>
<rect x="2.8" y="11.5" class="st0" width="28.2" height="4"/>
</g>
<g>
<polygon class="st0" points="13.5,0 16.3,2.8 5.7,13.5 16.3,24.1 13.5,27 0,13.5 "/>
</g>
</g>
</svg>
......@@ -15,6 +15,19 @@ use Tz\WordPress\Tools\ShortCodes;
spl_autoload_register(__NAMESPACE__.'\autoloader');
add_action( 'login_headertext', function($title) {
return "LOG IN:";
} );
add_filter( 'gettext_with_context', function($translated) {
// Use the text string exactly as it is in the translation file
if ( $translated == "&larr; Back to %s" ) {
$translated = "Back to %s";
}
return $translated;
} );
// Code to prevent PHP from parsing Symlinks
if (defined(__NAMESPACE__.'\DIR')) {
define(__NAMESPACE__.'\OVERRIDE', 1);
......