From f6009776edb4fdbb5c0c8e0213bcbde64764f3cf Mon Sep 17 00:00:00 2001 From: jlukic Date: Fri, 12 Sep 2014 15:30:52 -0400 Subject: [PATCH] Increase contrast on rating icons, hitbox on heart, remove console log --- src/definitions/modules/rating.js | 3 --- .../packages/default/collections/grid.variables | 6 +++--- src/themes/packages/default/modules/rating.variables | 12 ++++++------ 3 files changed, 9 insertions(+), 12 deletions(-) diff --git a/src/definitions/modules/rating.js b/src/definitions/modules/rating.js index 9eb92d3d7..af6d1c097 100755 --- a/src/definitions/modules/rating.js +++ b/src/definitions/modules/rating.js @@ -56,7 +56,6 @@ $.fn.rating = function(parameters) { initialize: function() { module.verbose('Initializing rating module', settings); - console.log($module); if($icon.size() === 0) { module.setup.layout(); } @@ -196,7 +195,6 @@ $.fn.rating = function(parameters) { : 0, $activeIcon = $icon.eq(ratingIndex) ; - console.log(rating, ratingIndex, $icon); $module .removeClass(className.selected) ; @@ -206,7 +204,6 @@ $.fn.rating = function(parameters) { ; if(rating > 0) { module.verbose('Setting current rating to', rating); - console.log($activeIcon.prevAll().andSelf()); $activeIcon .prevAll() .andSelf() diff --git a/src/themes/packages/default/collections/grid.variables b/src/themes/packages/default/collections/grid.variables index 93bb07090..61b160761 100755 --- a/src/themes/packages/default/collections/grid.variables +++ b/src/themes/packages/default/collections/grid.variables @@ -15,7 +15,7 @@ *******************************/ @minWidth: 320px; -@gutterWidth: 1.5%; +@gutterWidth: 0.75rem; @rowSpacing: 1.5rem; @firstRowSpacing: 0rem; @@ -51,8 +51,8 @@ Relaxed ---------------*/ -@relaxedGutterWidth: 2.5%; -@veryRelaxedGutterWidth: 4%; +@relaxedGutterWidth: 1rem; +@veryRelaxedGutterWidth: 2rem; /*-------------- Divided diff --git a/src/themes/packages/default/modules/rating.variables b/src/themes/packages/default/modules/rating.variables index 4fed87ef1..68741e252 100755 --- a/src/themes/packages/default/modules/rating.variables +++ b/src/themes/packages/default/modules/rating.variables @@ -28,15 +28,15 @@ ; /* Heart */ -@heartIconHitbox: 1.2em; +@heartIconHitbox: 1.25em; @heartInactiveColor: @inactiveColor; @heartSelectedColor: #FF2733; -@heartActiveColor: #EF404A; +@heartActiveColor: #FF2733; @heartActiveShadow: - 0px -1px 0px #EF404A, - -1px 0px 0px #EF404A, - 0px 1px 0px #EF404A, - 1px 0px 0px #EF404A + 0px -1px 0px #9E0000, + -1px 0px 0px #9E0000, + 0px 1px 0px #9E0000, + 1px 0px 0px #9E0000 ;