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

@@ -2,7 +2,7 @@
(function($) { (function($) {
/* ------------------------------------------------------------------ /* ------------------------------------------------------------------
onLoad Function -------------------------------------------------- */ onLoad Function -------------------------------------------------- */
$(document).ready(function(){ $(document).ready(function(){
@@ -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,10 +55,10 @@
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
/* /*
var $forgot_password = $('.forgot-password', $form_login); var $forgot_password = $('.forgot-password', $form_login);
if($forgot_password.size() > 0) { if($forgot_password.size() > 0) {
$forgot_password.popover({ $forgot_password.popover({
@@ -81,7 +81,7 @@
return false; return false;
}); });
} }
*/ */
//.Form Filters //.Form Filters
$('#form-filters').each(function(){ $('#form-filters').each(function(){
@@ -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;
@@ -122,7 +128,7 @@
// Styliser le message Confirm par Bootstrap sur un formulaire // Styliser le message Confirm par Bootstrap sur un formulaire
/* /*
$('body').on('click', '[data-confirm]', function(){ $('body').on('click', '[data-confirm]', function(){
var $this = $(this); var $this = $(this);
bootbox.confirm($(this).attr('data-confirm'), bootbox.confirm($(this).attr('data-confirm'),
@@ -144,7 +150,7 @@
return false; return false;
}); });
*/ */
}); });
})(jQuery); })(jQuery);

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,