From f867ac5bfef7be92cdb213b68dbb1c27677cc578 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Thu, 22 Oct 2015 14:56:36 -0400 Subject: [PATCH] Change to new logo --- static/css/quay.css | 5 + static/directives/header-bar.html | 3 +- static/img/QuayByCoreOS_horizontal_color.svg | 111 +++++++++++++++++++ static/js/directives/ui/header-bar.js | 3 +- 4 files changed, 120 insertions(+), 2 deletions(-) create mode 100644 static/img/QuayByCoreOS_horizontal_color.svg diff --git a/static/css/quay.css b/static/css/quay.css index bd8e3873a..bdf16f7f3 100644 --- a/static/css/quay.css +++ b/static/css/quay.css @@ -83,6 +83,7 @@ } #quay-logo { + margin-left: 10px; height: 36px; width: 100px; background-repeat: no-repeat; @@ -91,6 +92,10 @@ display: inline-block; } +#quay-logo.hosted-logo { + width: 150px; +} + #padding-container { padding: 20px; padding-top: 20px; diff --git a/static/directives/header-bar.html b/static/directives/header-bar.html index b3b2111ea..ddab29e3f 100644 --- a/static/directives/header-bar.html +++ b/static/directives/header-bar.html @@ -7,7 +7,8 @@ ≡ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/static/js/directives/ui/header-bar.js b/static/js/directives/ui/header-bar.js index 243055df9..8088cb84f 100644 --- a/static/js/directives/ui/header-bar.js +++ b/static/js/directives/ui/header-bar.js @@ -51,6 +51,7 @@ angular.module('quay').directive('headerBar', function () { } }; + $scope.Config = Config; $scope.notificationService = NotificationService; $scope.searchingAllowed = false; $scope.searchVisible = false; @@ -159,7 +160,7 @@ angular.module('quay').directive('headerBar', function () { $scope.getEnterpriseLogo = function() { if (!Config.ENTERPRISE_LOGO_URL) { - return '/static/img/quay-logo.png'; + return '/static/img/QuayByCoreOS_horizontal_color.svg'; } return Config.ENTERPRISE_LOGO_URL;