From 5e3b7314bdce32006653536e1ce8dbfa5b5ae288 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Thu, 19 Jan 2012 21:00:50 +0200 Subject: [PATCH] gitlab logo added to top panel --- app/assets/images/Arrow-Right-UI.PNG | Bin 0 -> 561 bytes app/assets/images/logo.png | Bin 0 -> 3001 bytes app/assets/stylesheets/style.scss | 10 ++++++++-- app/assets/stylesheets/top_panel.scss | 16 +++------------- app/views/layouts/_head_panel.html.haml | 4 +--- 5 files changed, 12 insertions(+), 18 deletions(-) create mode 100644 app/assets/images/Arrow-Right-UI.PNG create mode 100644 app/assets/images/logo.png diff --git a/app/assets/images/Arrow-Right-UI.PNG b/app/assets/images/Arrow-Right-UI.PNG new file mode 100644 index 0000000000000000000000000000000000000000..3a38daa0cdad7911f21e15d6627b3150ab035830 GIT binary patch literal 561 zcmV-10?z%3P)Px#24YJ`L;(K){{a7>y{D4^000SaNLh0L01FcU01FcV0GgZ_00007bV*G`2iyS@ z5*0MxN5YB#00FT{L_t(Y$JLgxY8OEe#(#4ONI(mVba@I}3qcTOnqZd@(^-g(R#tff zL9jHbZPF+TI#Z>w$_wNH%nMi;CBbAY+>MvNXS_TA2fDD_avb~P`@WsIh5uog8D=&e zKvl1p*_{gOGn$dCtH3KWyXo$|V52}HQem&n?1sDZCw0wVy0{GNtLiO)%hWZhItFlD zo(U|9$U8H;e;G_lxGN%Z8~8RLqwNaIOc9YUz?Qo|@3gyky9&I?%+moGE%1|6-vK;u z_Z?LwB7Vt8$_5L4W*gE1XPMh(_N07Aji#Anc}evVcnUl-v!#f@%;pLz;-uR77}!zO zYwkXG(7Cb#+Z2(Ps=Cxn)TMGJyGayf%fc6#xfT&$n<*e=y#+jqh+|b{ao&(0hmLh% zHzKI@R27|-@J{+n;N$`!lgt$0vxrzk?AFs)i&o5x+IOUX266zbRY+H(KF?^Vs#eW>$jo~Yaj2?@NatRoPF=|a;4QEk5r<~>TgU}P1N+Qb zX6^wS?tawAk+F(CiO5}dKbrIw)VdA*dw0O^lRDm{oT8Y*00000NkvXXu0mjfr^xkM literal 0 HcmV?d00001 diff --git a/app/assets/images/logo.png b/app/assets/images/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..2d08c9f682593351b754d46466117222b64ff260 GIT binary patch literal 3001 zcmV;q3r6&bP)Px#24YJ`L;(K){{a7>y{D4^000SaNLh0L01FZT01FZU(%pXi00007bV*G`2iyS@ z5i>gZXVUNh01G)uL_t(&-tC)dkQLPx$A9O(HyZ;pE{K2-1r#L?4sV`H5=%n4K-5@j zaE(i1MN?WPnwYo+%Z!wzn5bA;kd#}BL=#1fmW3M8ge4$K<_!abs2ELDTuK7M2qVM1 zKKan6;o9_D2J}`cDOxMOrgxnRC6fb)nCG91 z$2BR!!RTImOrbgc^orsJ90#$t_Nvq;u ziAX=7Swv1ET(?zKw^hI^!&>?LaUyRB+zIRp91_6es`_Lh0AiZd3XBohH-Hl+H7)_=&(`U?p%R&}ioHp%gqj1p3+7e!$tl9YD4JJ{2lc z<4C2x>)^LFa468ArOK6Q*g1s65t1_N)3!o!$jc6z~l;W zeFQEB-Zd#WuNDph8YR?{DeN?zaX=EmO9Ii3MnXY2mvs88z#xGqfI$iGQlT<6PJqLK zS-=o8ZC4~{LQ$~F0C6~wtAg>s{VDiff$@FGN2}~e+Zq70w6p+l zA?hu{{}hk|I)IUcrhNnOB%oyq)ns5O@G&sgdw-wyGt0KsX92JUc%LvBTpt0L_Ny5F zVhWE&pvA|;K}%wKd`v>({*s8?8-$E2yK2(X(h`025x_OZ`2L<`svVnwtAI|sz87#2 zP*3P*Hv;DXnb^F%X|8(De9(Y947dXL7x0vgEhSvTfa`7DZs6s%wzhW?rVIftH6coQ zYv+M&z`K@mEz0F`pRJr2Q|p1R12bdb^aIXI!Nxqi0CYu|CRIkf^L1bA9iKaNUj zsyaO-(jhf9O{&^i47`XDxm*t5Xy7*{&3VH2dEBIPBygrpdpAM)#be4GV40_Jr$m5b>WNj*xVO^0kLuC1JmQawus_20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(}ipcQ-Uj{BLSJMo%sPwfQ zxEz>nYi8{bGlhZqifsvIGT5CwE@mpLy&7i(p0h;z9Q%8@S*s*kWqxcV;r0z5xLOm) zcroF9;3i;QCX?B(Y08OvQN+3r2}59@#z(V*8+Q|LTMT3jcar;)xquN!*+m?3Z=Z(!L`7>?A#RmMWjbnyS?#wRaI$d*q5%Z!^{V*1J2Vh)!3!ETA?pa z<6owoM2AWOX+w*F07 .account-links{display: block;} -header .account-links{background: white; display: none; border-radius: 5px; width: 100px; margin-top: 0; float: right; box-shadow: 0 1px 1px rgba(0,0,0,.2); position:relative;} +header .account-links{ + background: #79C3E0; display: none; border-radius: 5px; width: 100px; margin-top: 0; float: right; box-shadow: 0 1px 1px rgba(0,0,0,.2); position:relative;} header .account-links:before { content: "."; width:0; diff --git a/app/assets/stylesheets/top_panel.scss b/app/assets/stylesheets/top_panel.scss index 2490aa92..d4b695d8 100644 --- a/app/assets/stylesheets/top_panel.scss +++ b/app/assets/stylesheets/top_panel.scss @@ -1,19 +1,9 @@ .main_links { - width:90px; - margin-right:40px; + width:130px; float:left; - background:#ddd; - @include round-borders-all(8px); - border-color:#ccc; - a { - position: relative; + a { float:left; - padding: 3px 10px; - - img { - width: 22px; - } } } @@ -88,7 +78,7 @@ body header { margin-right:30px; font-size:16px; font-weight:bold; - padding:5px 7px; + padding:8px; color:#333; } diff --git a/app/views/layouts/_head_panel.html.haml b/app/views/layouts/_head_panel.html.haml index f65f20ea..eb8e8ef4 100644 --- a/app/views/layouts/_head_panel.html.haml +++ b/app/views/layouts/_head_panel.html.haml @@ -4,9 +4,7 @@ .top_panel_content %div.main_links = link_to root_path, :class => "home", :title => "Home" do - = image_tag "Home-UI.PNG" - = link_to projects_path, :title => "Projects" do - = image_tag "Storage-UI.PNG" + = image_tag "logo.png", :width => 100 - if project_layout .project_name