From d9b15fc17d6d7feb0119fb8c900a0ee4e6f09a3a Mon Sep 17 00:00:00 2001 From: Riyad Preukschas Date: Wed, 21 Nov 2012 23:18:12 +0100 Subject: [PATCH] Crop and rename the add diff note image --- app/assets/images/comment_add.png | Bin 781 -> 0 bytes app/assets/images/diff_note_add.png | Bin 0 -> 691 bytes app/assets/stylesheets/sections/notes.scss | 15 ++++++++------- 3 files changed, 8 insertions(+), 7 deletions(-) delete mode 100644 app/assets/images/comment_add.png create mode 100644 app/assets/images/diff_note_add.png diff --git a/app/assets/images/comment_add.png b/app/assets/images/comment_add.png deleted file mode 100644 index 836557ac8462dac7811ac8cdbde9d5531b8cd553..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 781 zcmV+o1M>WdP)Px#24YJ`L;(K){{a7>y{D4^000SaNLh0L01FcU01FcV0GgZ_00007bV*G`2iyf3 z6$TIwY?uZB00NCkL_t(o!|j(nXca*a$AAA2VjwB}DAYoTt%VU0QWzv6qE;yc3%!kn z7C}WsP}Cw|A(3D}L{LElnZv@$Soj4(v=U60U}Ym1Au4JDipG$!xd-=_OWwUi6fpy@ z*xlKg-~M-YZyzk#|8AOZFoe(mv;w|}_%mkqt!{u2LMPAzYy@T(2+#n02JV~LwbB4d zl5|KK0#+|ZUiT{D&ZcR4u_izWLBLgaKO$8Pd*<)%J^_qLdJ0Se?Z6ITt-H5K@?8AN zyie}FAx+bXe9*=M@K#_`!D=LF3K*1h+03R2;CD;90Bm-5GLQTxGdJlAGD15W*ASt)w*t3j2JCsvL9jEBoDvlZOxnk|Y@nA++TnW`VXSxhS#H zd5g)+4iyX?kaQGS6)7*M? zMOY3XPM$%HMm__P|LF|;I8Xujn)RtJ1qv?w{Nx3?29xsUmk@=I$?&BN0|$YV1qmy2MuBZ+_NC@2kaPp+0=CZqyajkLhk8{Db9VvXC7p_gozqIxWZ&;>jOnldHcnA!TekKsbi%!YxT zz{g05KLe0KJO}o=`*hiN32ob_k(;=}*U!{S)>J-0}p8p!)(}00000 LNkvXXu0mjf=&DTQ diff --git a/app/assets/images/diff_note_add.png b/app/assets/images/diff_note_add.png new file mode 100644 index 0000000000000000000000000000000000000000..8ec15b701fc0e806e45dbc10cda9ce068f606a0f GIT binary patch literal 691 zcmV;k0!;mhP)LmAz{gK@f+Z-^)uBW8p^; zErj?Fs7N3w6e1#Ol|m5Fn^@^$x(4iy2#N$He3Q)Vbwu;^EvLi3h_BVr;+G+Y@2Tr8S( z4k*Dt3g7&a)G6MUBpQ-59TAr#tp)B$`U1SIgtaHzbtxF=t4{JfzXD)p1Hi_JxRdAk zc#^y?1utn{0XbXa{sc@ZCA4fPb;!(K13i`OA!!!qa`(x)#1#Q;z{7|*Tsa`~ivKLi zBq<`+M8umc%l0e>j)*5U&;V#g#4|~Isce;^+I7GyGaCo4(%Jz5YyeII7pkDjSinS6 z(rus@*p~<@6?6fQ>jWopM1+7}lFpa+@p@W!@$n>(YOjiU6FAMn@duaz?gH?h1MCQ$$Y002ovPDHLkV1nI0AZY*q literal 0 HcmV?d00001 diff --git a/app/assets/stylesheets/sections/notes.scss b/app/assets/stylesheets/sections/notes.scss index a32ecf0c..2535d9f4 100644 --- a/app/assets/stylesheets/sections/notes.scss +++ b/app/assets/stylesheets/sections/notes.scss @@ -191,14 +191,14 @@ p.notify_controls span{ */ .diff_file tr.line_holder { .add-diff-note { - position:absolute; - margin-left:-70px; - margin-top:-10px; - z-index:10; - background: url("comment_add.png") no-repeat left 0; - width:32px; - height:32px; + background: url("diff_note_add.png") no-repeat left 0; + height: 22px; + margin-left: -65px; + position: absolute; + width: 22px; + z-index: 10; + // "hide" it by default opacity: 0.0; filter: alpha(opacity=0); @@ -208,6 +208,7 @@ p.notify_controls span{ } } + // "show" the icon also if we just hover somwhere over the line &:hover > td { background: $hover !important;