Index: branches/1.0.x/img/validate/con-success-arrow-bottom.png =================================================================== diff -u -N Binary files differ Index: branches/1.0.x/inc/styles.css =================================================================== diff -u -N -r15015 -r15043 --- branches/1.0.x/inc/styles.css (.../styles.css) (revision 15015) +++ branches/1.0.x/inc/styles.css (.../styles.css) (revision 15043) @@ -21,6 +21,9 @@ .clear { clear: both !important; } .fix { border: 1px solid #f00; } +.left { float:left } +.right { float: right } + /* Header *******************************************************************************/ #header { @@ -1333,8 +1336,23 @@ font-weight: bold; padding-bottom: 5px; } -.items .item .descr .optional { padding: 5px 0; } -.items .item .descr .optional .stars { padding: 0 20px 0 0; } + +.items .item .descr .optional { + padding: 15px 0 5px 0; +} + +.items .item .descr .optional .stars { + padding: 0 20px 0 0; + display: block; + float: left +} + +.items .item .descr .optional .reviews { + width: auto; + padding-top: 0px; + padding-right: 20px; + border: 0px; +} .items .item .descr .optional .comp label em { font-style: normal; text-decoration: underline; @@ -2334,6 +2352,28 @@ .formStatus.formError .formContent { background: #990000 url(@templates_base@/img/validate/con-error.png) repeat-x 0 0; } .formStatus.formError .formArrow { background: url(@templates_base@/img/validate/con-error-arrow.png) no-repeat 0 0; } +.compare-bubble { + position: relative; +} + +.compare-bubble .formStatus { + top: -25px; + left: -94px; +} + +.compare-bubble .formStatus .formContent { width: auto } + +.compare-bubble .formStatus .formArrow { + margin: 0px 0 0 20px; + position: relative; +} + +.compare-bubble .formStatus.formSuccess .formArrow { background: url(@templates_base@/img/validate/con-success-arrow-bottom.png) no-repeat 0 0; } +.compare-bubble .formStatus.formError .formArrow { background: url(@templates_base@/img/validate/con-error-arrow-bottom.png) no-repeat 0 0; } + +.compare-bubble .formStatus.formNeutral .formContent { background: #990000 url(@templates_base@/img/validate/con-neutral.png) repeat-x 0 0; } +.compare-bubble .formStatus.formNeutral .formArrow { background: url(@templates_base@/img/validate/con-neutral-arrow-bottom.png) no-repeat 0 0; } + .cart-detail.receipt .items .item-quantity .formStatus { left: 0; } .cart-detail.receipt dl.total { float: right; padding-right: 30px; } Index: branches/1.0.x/inc/js/jquery.scripts.js =================================================================== diff -u -N -r15019 -r15043 --- branches/1.0.x/inc/js/jquery.scripts.js (.../jquery.scripts.js) (revision 15019) +++ branches/1.0.x/inc/js/jquery.scripts.js (.../jquery.scripts.js) (revision 15043) @@ -147,6 +147,42 @@ ); } +function create_tooltip($input, $text, $css_class, $remove_function) { + var $tooltip = $input.next('.formStatus'), + $timer = $input.data('timer'); + + clearTimeout($timer); + + if ( $tooltip.length == 1 ) { + $tooltip.hide().remove(); + } + + var $tooltip = $('
'); + + $input.after($tooltip); + + if ($remove_function === undefined) { + $remove_function = remove_tooltip; + } + + $tooltip.fadeIn( + 'slow', + function () { + $timer = setTimeout( function() { $remove_function($input); }, 2000); + $input.data('timer', $timer); + } + ); +} + +function remove_tooltip ($input) { + var $tooltip = $input.next('.formStatus'); + + $tooltip.fadeOut('slow', function() { $tooltip.remove(); }); +} + /* === DBlocks class === */ function DBlocks() { var $me = this; Index: branches/1.0.x/img/validate/con-neutral.png =================================================================== diff -u -N Binary files differ Index: branches/1.0.x/products/compare.tpl =================================================================== diff -u -N -r15019 -r15043 --- branches/1.0.x/products/compare.tpl (.../compare.tpl) (revision 15019) +++ branches/1.0.x/products/compare.tpl (.../compare.tpl) (revision 15043) @@ -7,7 +7,7 @@