From fb361f206c7ba282004199feb49dd58eda0a1642 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Thu, 19 Feb 2015 14:43:33 -0800 Subject: [PATCH] Increase height of logo Summary: This increases the transparent space around the Phabricator logo. The logo itself is the same size. This allows for adding of other logos more easily without needing to alter the space provided. (Like Phacility) Test Plan: Reload page, screenshot logo, pull into Photoshop and verify spacing top and bottom. {F309985} Reviewers: btrahan, epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11828 --- resources/celerity/map.php | 14 +++++++------- resources/sprite/manifest/menu.json | 2 +- resources/sprite/menu_1x/logo.png | Bin 1308 -> 1337 bytes resources/sprite/menu_2x/logo.png | Bin 1627 -> 1699 bytes .../celerity/CeleritySpriteGenerator.php | 2 +- .../css/application/base/main-menu-view.css | 4 ++-- webroot/rsrc/css/sprite-menu.css | 4 ++-- webroot/rsrc/image/sprite-menu-X2.png | Bin 2299 -> 2322 bytes webroot/rsrc/image/sprite-menu.png | Bin 1319 -> 1326 bytes 9 files changed, 13 insertions(+), 13 deletions(-) diff --git a/resources/celerity/map.php b/resources/celerity/map.php index a4e9b8429e..84758d72d0 100644 --- a/resources/celerity/map.php +++ b/resources/celerity/map.php @@ -7,7 +7,7 @@ */ return array( 'names' => array( - 'core.pkg.css' => '375bfcd1', + 'core.pkg.css' => '64aeadfc', 'core.pkg.js' => '23d653bb', 'darkconsole.pkg.js' => '8ab24e01', 'differential.pkg.css' => '380f07e5', @@ -35,7 +35,7 @@ return array( 'rsrc/css/aphront/typeahead.css' => '0e403212', 'rsrc/css/application/almanac/almanac.css' => 'dbb9b3af', 'rsrc/css/application/auth/auth.css' => '1e655982', - 'rsrc/css/application/base/main-menu-view.css' => '7bb9c588', + 'rsrc/css/application/base/main-menu-view.css' => '83766540', 'rsrc/css/application/base/notification-menu.css' => '6aa0a74b', 'rsrc/css/application/base/phabricator-application-launch-view.css' => '16ca323f', 'rsrc/css/application/base/standard-page-view.css' => '60d0df9a', @@ -152,7 +152,7 @@ return array( 'rsrc/css/sprite-gradient.css' => '4bdb98a7', 'rsrc/css/sprite-login.css' => 'a355d921', 'rsrc/css/sprite-main-header.css' => '92720ee2', - 'rsrc/css/sprite-menu.css' => '5033f9a1', + 'rsrc/css/sprite-menu.css' => '9ef76324', 'rsrc/css/sprite-projects.css' => 'b0d9e24f', 'rsrc/css/sprite-tokens.css' => '1706b943', 'rsrc/externals/font/fontawesome/fontawesome-webfont.eot' => '5fb6fb0e', @@ -330,8 +330,8 @@ return array( 'rsrc/image/sprite-login-X2.png' => '5ae6de3a', 'rsrc/image/sprite-login.png' => '07f2c67c', 'rsrc/image/sprite-main-header.png' => '83521873', - 'rsrc/image/sprite-menu-X2.png' => '670cb5d7', - 'rsrc/image/sprite-menu.png' => '8c056996', + 'rsrc/image/sprite-menu-X2.png' => '1c90d7bc', + 'rsrc/image/sprite-menu.png' => '619781ee', 'rsrc/image/sprite-projects-X2.png' => '8c91c839', 'rsrc/image/sprite-projects.png' => 'ef9dc9b5', 'rsrc/image/sprite-tokens-X2.png' => 'b4776580', @@ -729,7 +729,7 @@ return array( 'phabricator-hovercard-view-css' => '893f4783', 'phabricator-keyboard-shortcut' => '1ae869f2', 'phabricator-keyboard-shortcut-manager' => 'c1700f6f', - 'phabricator-main-menu-view' => '7bb9c588', + 'phabricator-main-menu-view' => '83766540', 'phabricator-nav-view-css' => '7aeaf435', 'phabricator-notification' => '0c6946e7', 'phabricator-notification-css' => '9c279160', @@ -825,7 +825,7 @@ return array( 'sprite-gradient-css' => '4bdb98a7', 'sprite-login-css' => 'a355d921', 'sprite-main-header-css' => '92720ee2', - 'sprite-menu-css' => '5033f9a1', + 'sprite-menu-css' => '9ef76324', 'sprite-projects-css' => 'b0d9e24f', 'sprite-tokens-css' => '1706b943', 'syntax-highlighting-css' => '56c1ba38', diff --git a/resources/sprite/manifest/menu.json b/resources/sprite/manifest/menu.json index 9b88341b14..47febb6122 100644 --- a/resources/sprite/manifest/menu.json +++ b/resources/sprite/manifest/menu.json @@ -9,7 +9,7 @@ "logo": { "name": "logo", "rule": ".phabricator-main-menu-logo", - "hash": "68f6535593f36a2f4e055425ca4383fc" + "hash": "168faf0d69b31bd626fa7e1b7cad464b" } }, "scales": [ diff --git a/resources/sprite/menu_1x/logo.png b/resources/sprite/menu_1x/logo.png index 5f2d140a7881f35511631f8886248a26e7654abe..d00918a729df1a51471a69fb955dd28d32c86fe9 100644 GIT binary patch delta 570 zcmbQkwUcXtIF|+o8v_Fa787}lr}ktNon#gCaK9{ zOp23DnH|MvuQ6N&w12s$i(^Q|tvAu#xrY@*js#BbWtOO4F|p%|$j2YI7d-Q;QgRZ1 z_t5!6!4yAD)rKmI2Z9F}Bp6`$ieW;Gb7WH7A}Z1>)Re1skbT{S8n7uS;#Hh=`0Z{ zz`$G}e2;b4m+C(eMXij#7ptcxOlC{qZep}x&RY0oHA7YQeBWxLxBjc8OnEsf-wHPG zuH?9sl(q8j{vB@G(G%)^G`Bm4-%vj+d8W5m@$o)m^IsuLvLZge|L~td=8yqH10xLU fx7&*|vN7Cn)H8Zq_~;BUjWBq+`njxgN@xNA1RUpz delta 520 zcmdnVHHT}0IF}R$8v_G_hhpUXjf!6xCyOvEawt^f7Wn#Fc}_mcWIDNoDMjAU#KPIa z+{D1t#oW-)(AC7r$Eakt zaqCS~ckW>YfumuQdzmHbH9W*$iWL6gU9n4jZpQ`V_a7cw7uaYlWmzoimfLNXy3zNx z^alfXi(m8p?$7Ay+|hPPNYd`-ms%OG>t^NC-Co#~t`F*7v~i~TlU8M!+WSW=CO?(( z(mt*}e_#LOOQC{N3qOl2pMD~C;a>+auESG5{N{TrnRB(w^9t8fU%uMSO3&*VHueR- zMYb%k)oxvEQLUygrf4U(aPw}a4N*laJ`}hpo(l(xWiNGo_oe=e$c9}DQ^49z~(-}? zjVw*wOq3KVatnNYtvvIJOA_;vQ$1a5m4G68nVBh8P`yUD^iD2fN}C+Sq%`>#lhkA} zCdJ97%#QW#Z5qEB7?=e;T^vI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@(!<`=880NLD?!&<_ z!_Xk{`h%7{Go`jVtPqo6*o5r(2;n{Q$L8O^{oBMg^B}`cgMa!u-`XzB++x7W1oj@( zD<2d}I=7$Jnm5OuEm!^qLs~kUfrNss9k;#79gkPBA73As?DN{!AoQaFYm{2r+0XYc zzMk=w;kqwi^$3J6Wdl#co!?4v;W$M!^u(?cGlgxp0&I$ zeVdrXgZeu0_;|$(mXc$8T<4iQKe(~9`H@-ke%n*cTtUZ-qr008+k)jbv4X<>#8iJq aHU`c3J&Y diff --git a/src/applications/celerity/CeleritySpriteGenerator.php b/src/applications/celerity/CeleritySpriteGenerator.php index e75b21ae7f..a42fbfa4db 100644 --- a/src/applications/celerity/CeleritySpriteGenerator.php +++ b/src/applications/celerity/CeleritySpriteGenerator.php @@ -8,7 +8,7 @@ final class CeleritySpriteGenerator { $sources = array( 'logo' => array( 'x' => 96, - 'y' => 26, + 'y' => 40, 'css' => '.phabricator-main-menu-logo', ), 'eye' => array( diff --git a/webroot/rsrc/css/application/base/main-menu-view.css b/webroot/rsrc/css/application/base/main-menu-view.css index 4cc8e5e1e6..744feb22a4 100644 --- a/webroot/rsrc/css/application/base/main-menu-view.css +++ b/webroot/rsrc/css/application/base/main-menu-view.css @@ -50,9 +50,9 @@ .phabricator-main-menu-logo { position: absolute; width: 96px; - height: 26px; + height: 40px; left: 52px; - top: 9px; + top: 2px; } .phabricator-main-menu-eye { diff --git a/webroot/rsrc/css/sprite-menu.css b/webroot/rsrc/css/sprite-menu.css index c495c5a2e3..1957d632d9 100644 --- a/webroot/rsrc/css/sprite-menu.css +++ b/webroot/rsrc/css/sprite-menu.css @@ -13,7 +13,7 @@ only screen and (min-device-pixel-ratio: 1.5), only screen and (-webkit-min-device-pixel-ratio: 1.5) { .sprite-menu { background-image: url(/rsrc/image/sprite-menu-X2.png); - background-size: 97px 68px; + background-size: 97px 82px; } } @@ -23,5 +23,5 @@ only screen and (-webkit-min-device-pixel-ratio: 1.5) { } .phabricator-main-menu-eye { - background-position: 0px -27px; + background-position: 0px -41px; } diff --git a/webroot/rsrc/image/sprite-menu-X2.png b/webroot/rsrc/image/sprite-menu-X2.png index 346e66a18a3d50abe2eaf5970824125b516ac4f3..306d711d483a4f10503a358b6e10db179e7247ed 100644 GIT binary patch delta 1790 zcmV_6G;?>FDfCTf^i!W z8J&y^xZ#4L1VtpW34&~jwt$Em8k7MdLh}Ch`Oy0oTNJzTsq-m)y0(+9x^?STb&Dt{ zC@3f>C@3f>C@B2F(6BI(wHXl+0np5Z*&z*WC>x$HlnN=q%j9rEi(0FTgd3p}(q=j> ze;t-DlnN=q%LGV>Qmcm~6Cxp9u#yzgA^Ae7kP^I%UqYl>y<|Q_g64a~{(PZSgc7ts z36W|wNKMl;&6UwDp~022Avj+s6{Y0Nl+4$1Ob@%9&f0P6z zAvw$c-y~r>gD^^hlAt6g30vE!`o4r8->BMxgpj>KiLzbzeFRT7)>qBRE^6PyuK-*U z5xHu#`hkc!*L@qTe|M#?dIv03$EBbb;BPN`3t&-1=a0(AMjtIZhA(wShV zx!)Y3RZEtHa=nOj06g)fKM!y-o-jorz(Y9mDE}GYqS-bB-DXc(=^JeENRvK8`|@-E9FJ$Q96T*e0^AmnI)}HK6_M7!UL>ag?#5)2 z9s@3a!FGJ6#5EXRh#2n;^aMW47qLxk?}376TB_CE(&Hi`riZ$i5|O%1fSEc^88g7z zf!HJ*E&2Yzf4tG^QN5cNfzAG1)du_TVfmTO-&;!zRG$Cus5d>Txd^dI35eME5PZf-lB$xeUM^xzd+%us&Zs z7CZsC@8)I=xB9dhu9(w__wHoZ0A3|v@jU4pqs{g^e`OkmsJ<{hB5=a^aC|XOe!$lbD@wL8h7)n-fxc(DyId|b>+WI!D)D~YFL)C%X zBID(ZYak~e0AoY<=;qByHl5NNxluN@33dCl$Bf6PCY>MnO$bh|+Y3xPq}Nz80z9uh zT7tI@e@mpt_mZ|Kd*AM`-kK}j5pFGasKXXTpvCq(`N z{t-F)z>IU8FaoXvl0+Ob;_-{Ewt-F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