fix typo in less

This commit is contained in:
Manuel Raynaud
2013-09-13 18:20:43 +02:00
parent 7ef4987c07
commit acea47dcb9
2 changed files with 127 additions and 121 deletions

View File

@@ -47,7 +47,7 @@
} }
// Login // Login
/* var $form_login = $('#form-login'); var $form_login = $('#form-login');
if($form_login.size() > 0) { if($form_login.size() > 0) {
$form_login.on('change.account', ':radio', function(){ $form_login.on('change.account', ':radio', function(){
if($(this).val() === '0') if($(this).val() === '0')
@@ -55,7 +55,7 @@
else else
$('#password', $form_login).prop('disabled', false); // Enabled $('#password', $form_login).prop('disabled', false); // Enabled
}).find(':radio:checked').trigger('change.account'); }).find(':radio:checked').trigger('change.account');
}*/ }
// Forgot Password // Forgot Password
/* /*
@@ -96,9 +96,15 @@
// Product details Thumbnails // Product details Thumbnails
$('#product-gallery').each(function(){ $('#product-gallery').each(function(){
var $thumbnails = $('.thumbnail', this), var $item = $('.item', this),
$thumbnails = $('.thumbnail', this),
$image = $('.product-image > img', this); $image = $('.product-image > img', this);
// Show Carousel control if needed
if($item.size() > 1){
$('#product-thumbnails', this).carousel({interval: false}).find('.carousel-control').show();
}
$(this).on('click.thumbnails', '.thumbnail', function(){ $(this).on('click.thumbnails', '.thumbnail', function(){
if($(this).hasClass('active')) if($(this).hasClass('active'))
return false; return false;

View File

@@ -853,7 +853,7 @@ td.product,
> a, > a,
> span { > span {
.box-shadow(2px 1px 1px rgba(0, 0, 0, 0.1)); .transition(all 200ms ease-in-out); .box-shadow(2px 1px 1px rgba(0, 0, 0, 0.1)); .transition(all 200ms ease-in-out);
#gradient > .vertical(@start-color: lighten(@pagination-bg, 5%); @end-color: @pagination-bg ); #gradient > .vertical(@start-color: lighten(@pagination-bg, 5%)); @end-color: @pagination-bg );
color: @text-color; color: @text-color;
font-weight: bold; font-weight: bold;
&:hover, &:hover,