From 3d1a4c7426f26b562c47178bcc3b48e599af2ca4 Mon Sep 17 00:00:00 2001 From: Daniel Camargo Date: Mon, 24 Jun 2013 16:40:52 -0300 Subject: [PATCH] partial #1461 --- .../default/cockpit/giftcards/print.phtml | 15 ++- www/assets/css/giftcard.css | 9 +- www/assets/images/giftcard_print.svg | 92 +++++++++++++------ 3 files changed, 79 insertions(+), 37 deletions(-) diff --git a/include/views/default/cockpit/giftcards/print.phtml b/include/views/default/cockpit/giftcards/print.phtml index e8aafd184..86def0d20 100644 --- a/include/views/default/cockpit/giftcards/print.phtml +++ b/include/views/default/cockpit/giftcards/print.phtml @@ -1,5 +1,12 @@ - - + + + + + Gift card + + + + 0 ) { } else { echo 'Oops, is seems you are trying to print a gift card that was already redemmed!'; } -?> \ No newline at end of file +?> + + \ No newline at end of file diff --git a/www/assets/css/giftcard.css b/www/assets/css/giftcard.css index 02897f5df..ff81fa021 100644 --- a/www/assets/css/giftcard.css +++ b/www/assets/css/giftcard.css @@ -1,10 +1,12 @@ +/* Eric Meyer's Reset CSS v2.0 - http://cssreset.com */ +html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0} .giftcard{ font-family: 'Atomic Age', cursive; text-align: center; - width: 770px; + width: 816px; background: #d02632; margin: 0 auto; - } + } .giftcard.negativemargin{ border-top: 1px solid #d02632; margin-top: -2px; @@ -32,7 +34,7 @@ width: 220px; } .info{ - margin-left: 315px; + margin-left: 325px; margin-top: 115px; color:#d50000; font-family: 'InconsolataMedium', 'Courier New', Courier, monospace; @@ -79,5 +81,4 @@ url('/assets/fonts/Armata-Regular-webfont.svg#ArmataRegular') format('svg'); font-weight: normal; font-style: normal; - } \ No newline at end of file diff --git a/www/assets/images/giftcard_print.svg b/www/assets/images/giftcard_print.svg index 6e14fb437..5fecd79df 100755 --- a/www/assets/images/giftcard_print.svg +++ b/www/assets/images/giftcard_print.svg @@ -9,7 +9,7 @@ xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - width="770" + width="816" height="340" id="svg2" version="1.1" @@ -1057,9 +1057,9 @@ borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" - inkscape:zoom="5.1438849" - inkscape:cx="216.5" - inkscape:cy="228.5" + inkscape:zoom="1.4742268" + inkscape:cx="808" + inkscape:cy="163.66397" inkscape:document-units="px" inkscape:current-layer="g3015" showgrid="false" @@ -1097,6 +1097,14 @@ transform="matrix(1.5976526,0,0,-1.6006972,28.634317,758.62416)" inkscape:label="giftcard" id="g3015"> + + transform="matrix(0.57719412,0,0,0.57719412,-103.81324,307.07544)"> @@ -2432,7 +2440,7 @@ + id="path5823" + inkscape:connector-curvature="0" /> + id="path5825" + inkscape:connector-curvature="0" /> + id="path5827" + inkscape:connector-curvature="0" /> + id="path5829" + inkscape:connector-curvature="0" /> + id="path5831" + inkscape:connector-curvature="0" /> + id="path5833" + inkscape:connector-curvature="0" /> + id="path5835" + inkscape:connector-curvature="0" /> + id="path5837" + inkscape:connector-curvature="0" /> + id="path5839" + inkscape:connector-curvature="0" /> + id="path5841" + inkscape:connector-curvature="0" /> + id="path5843" + inkscape:connector-curvature="0" /> + id="path5845" + inkscape:connector-curvature="0" /> + id="path5847" + inkscape:connector-curvature="0" /> + id="path5849" + inkscape:connector-curvature="0" /> + id="path5851" + inkscape:connector-curvature="0" /> + id="path5853" + inkscape:connector-curvature="0" /> + id="path5856" + inkscape:connector-curvature="0" /> + id="path5858" + inkscape:connector-curvature="0" /> + id="path5860" + inkscape:connector-curvature="0" /> + id="path5862" + inkscape:connector-curvature="0" /> + id="path5864" + inkscape:connector-curvature="0" /> + id="path5866" + inkscape:connector-curvature="0" /> + id="path5868" + inkscape:connector-curvature="0" /> + id="path5870" + inkscape:connector-curvature="0" />