From 7413c5ce30aa8e6c68f21453afeb83d46a9331f3 Mon Sep 17 00:00:00 2001 From: Mikaela Young Date: Fri, 17 Feb 2017 13:35:41 +1300 Subject: [PATCH] Make CMS website title a link to website in new tab --- admin/client/dist/styles/bundle.css | 10 +++++----- admin/client/src/styles/legacy/_menu.scss | 2 +- admin/client/src/styles/legacy/_retina.scss | 2 +- .../Admin/Includes/LeftAndMain_MenuLogo.ss | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/admin/client/dist/styles/bundle.css b/admin/client/dist/styles/bundle.css index d323dbf7e..3b984d4b6 100644 --- a/admin/client/dist/styles/bundle.css +++ b/admin/client/dist/styles/bundle.css @@ -828,9 +828,9 @@ body .ui-tooltip{ border-width:2px; } } * html .notice-wrap{ - position:absolute; + position:absolute; } - + .notice-item{ height:60px; background:#333; @@ -11960,7 +11960,7 @@ li.class-ErrorPage>a .jstree-pageicon{ display:none; } -.cms-logo a{ +.cms-logo .cms-logo__link{ position:absolute; top:8px; bottom:8px; @@ -13667,7 +13667,7 @@ li.class-ErrorPage>a .jstree-pageicon{ background-size:43px 43px; } - .cms-logo a{ + .cms-logo .cms-logo__link{ background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NTc3MiwgMjAxNC8wMS8xMy0xOTo0NDowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1z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@ -16382,4 +16382,4 @@ body,html{ .app{ height:100%; -} \ No newline at end of file +} diff --git a/admin/client/src/styles/legacy/_menu.scss b/admin/client/src/styles/legacy/_menu.scss index b8d2be99a..2f04a20b6 100644 --- a/admin/client/src/styles/legacy/_menu.scss +++ b/admin/client/src/styles/legacy/_menu.scss @@ -42,7 +42,7 @@ display: none; } - a { + .cms-logo__link { position: absolute; top: $grid-y; bottom: $grid-y; diff --git a/admin/client/src/styles/legacy/_retina.scss b/admin/client/src/styles/legacy/_retina.scss index d2ae6d4cc..1eda56a04 100644 --- a/admin/client/src/styles/legacy/_retina.scss +++ b/admin/client/src/styles/legacy/_retina.scss @@ -100,7 +100,7 @@ /* Default CMS logo */ .cms-logo { - a { + .cms-logo__link { background-image: $application-logo-small-2x; background-size: 22px 22px; } diff --git a/admin/templates/SilverStripe/Admin/Includes/LeftAndMain_MenuLogo.ss b/admin/templates/SilverStripe/Admin/Includes/LeftAndMain_MenuLogo.ss index 5f7d672cb..7b8f3133f 100644 --- a/admin/templates/SilverStripe/Admin/Includes/LeftAndMain_MenuLogo.ss +++ b/admin/templates/SilverStripe/Admin/Includes/LeftAndMain_MenuLogo.ss @@ -1,6 +1,6 @@