From 64585404e6b489ff2e098774b4c235ed82dded3b Mon Sep 17 00:00:00 2001 From: Marcin Kulik Date: Wed, 23 Oct 2013 22:10:15 +0200 Subject: [PATCH] Make logo an actual image --- app/assets/images/logo-bar.png | Bin 0 -> 1340 bytes app/assets/stylesheets/base.css.sass | 7 +++++++ app/views/layouts/application.html.slim | 10 ++++++---- 3 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 app/assets/images/logo-bar.png diff --git a/app/assets/images/logo-bar.png b/app/assets/images/logo-bar.png new file mode 100644 index 0000000000000000000000000000000000000000..a90c3414d9c7481927967ab9ef4a4327bde03c58 GIT binary patch literal 1340 zcmV-C1;hG@P)GuB00009a7bBm000XU z000XU0RWnu7ytkO2XskIMF-sq7Zd~^7eNt=000ErNkl-MPL)&TTwOU8R+Ur5HLJ?1vMQ`9tD35$DpZB25Cy1rf}|yX z+HTUcd!Ns}uM5nF%x`Aiym_AoKp+qZ1OkCTAiOyR5`ve5F@7e>g-7H36A9msg(QF^ zfF$4Xzs|%ma9*<7vPiJN;3{NUl-r)MMyegr7F~Jy*&T7kz)UXhjlL@Z829I)d@=#?B9p7b@(1I#)_a;@t)&zji z)fJvD6bh`+um%9Eq9JjkvJ!L)Jy(dKC9^;0dH4R~ZMtB>w{(fgYbZB#X$$RdRR8sh z7~{Bm)b8h(^Zo1nF2)#N?H3>PFihU2xPKXAjEAQS4WwA9RhZ3M&?v?j$K7V>$rUhK z{GZjHg)zqQW!~TF>1g(RX$3r^{Y_Q?BO`@|#J6nA>H+YL)?(2nJ*Ni%l4;*J^>jMT zRU9KWWEx;#ncwntIKKIMGu@~XLRYs#pk>p{1#b(IAOu>`8}p5TQS=4}Q4npc{Vg`( zqJm@^63=wUw~oEWi}coNASVP)G29>;U7epatHqoF#fbt95c+=bQcn~A7^*jW1;B%mlGnTE)ffS$v#^x8zarV|0* z(q#sya!Z$K=vnq)8||;1fUE{)J^2%Nt6Hp z%dtE0cKiuxUIIL_^eX+xCM?l~8Sg)>?Q)4{+5xbtu9QR#36OZEJxI3I{)!1GDM$tY zR<`_pzu)ioy<-6YIJNbd7t@W1&$9pktcvDi997yoJiWL$spdLDI0&Mw z_fP;Z^*cQP5Hww8@{?cvV82${MoW5Ywu}LQsI`QxRo`|DF9D$;vk=&(H{C}2YbT(j zA_*XJ6t<9qZ}|YMa_$+r+EyvJIYw3h@RF`Jb`2*20O*-kFWpZ2>ry_v#u!h|mj{mQ&^Wo6KVN^! zjjxV!LvyiyHe9tCo!5&SoC6jId}i+~8{VHi3CEM`*#N)z9je+M;<($)d?+@rAI<^a ztNj(v0aRH^1HG`?c?c|MP_mMNw&*?%+c& yxsV|@Vm~+mj?NyHe0000cy3+* literal 0 HcmV?d00001 diff --git a/app/assets/stylesheets/base.css.sass b/app/assets/stylesheets/base.css.sass index 258c0e3..6db1302 100644 --- a/app/assets/stylesheets/base.css.sass +++ b/app/assets/stylesheets/base.css.sass @@ -136,6 +136,13 @@ div.wrapper &::after content: 't' +.logo + float: left + margin-left: -7px + + img + height: 34px + .feature border-top: 1px solid #2D2D2D diff --git a/app/views/layouts/application.html.slim b/app/views/layouts/application.html.slim index abc3505..2984e95 100644 --- a/app/views/layouts/application.html.slim +++ b/app/views/layouts/application.html.slim @@ -19,18 +19,20 @@ html[lang="en"] body header .wrapper - h1 - a href="/" - ' asciinema - span.cursor-block + a.logo href="/" + img src=image_path('logo-bar.png') + .navigation = render :partial => 'layouts/navigation' .divider-vertical = render :partial => 'layouts/session_info' + - flash.each do |type, message| p[class=type] = message + #content = content_for?(:content) ? yield(:content) : yield + footer .wrapper p.links