From 4d9cad397e918d24a63cddb628c6820c1ec6c71a Mon Sep 17 00:00:00 2001 From: jlukic Date: Fri, 12 Sep 2014 12:41:35 -0400 Subject: [PATCH] Change default star rating to use unfilled stars instead of empty stars --- src/themes/packages/default/modules/rating.overrides | 10 +++++++--- src/themes/packages/default/modules/rating.variables | 6 +++--- 2 files changed, 10 insertions(+), 6 deletions(-) mode change 100644 => 100755 src/themes/packages/default/modules/rating.overrides mode change 100644 => 100755 src/themes/packages/default/modules/rating.variables diff --git a/src/themes/packages/default/modules/rating.overrides b/src/themes/packages/default/modules/rating.overrides old mode 100644 new mode 100755 index 5e8aff150..010dcc3bf --- a/src/themes/packages/default/modules/rating.overrides +++ b/src/themes/packages/default/modules/rating.overrides @@ -34,9 +34,9 @@ Star --------------------*/ -/* Empty Star */ +/* Unfilled Star */ .ui.star.rating .icon:before { - content: '\f006'; + content: '\f005'; } /* Active Star */ .ui.star.rating .active.icon:before { @@ -55,10 +55,14 @@ Heart --------------------*/ -/* Empty Heart */ +/* Empty Heart .ui.heart.rating .icon:before { content: '\f08a'; } +*/ +.ui.heart.rating .icon:before { + content: '\f004'; +} /* Active */ .ui.heart.rating .active.icon:before { content: '\f004'; diff --git a/src/themes/packages/default/modules/rating.variables b/src/themes/packages/default/modules/rating.variables old mode 100644 new mode 100755 index 753e44bc8..4fed87ef1 --- a/src/themes/packages/default/modules/rating.variables +++ b/src/themes/packages/default/modules/rating.variables @@ -18,7 +18,7 @@ /* Star */ @starIconHitbox: @iconHitbox; @starInactiveColor: @inactiveColor; -@starHoverColor: #FFB70A; +@starSelectedColor: #FFB70A; @starActiveColor: #FFE623; @starActiveShadow: 0px -1px 0px #CFA300, @@ -30,7 +30,7 @@ /* Heart */ @heartIconHitbox: 1.2em; @heartInactiveColor: @inactiveColor; -@heartHoverColor: #FF2733; +@heartSelectedColor: #FF2733; @heartActiveColor: #EF404A; @heartActiveShadow: 0px -1px 0px #EF404A, @@ -49,7 +49,7 @@ @activeColor: @darkTextColor; @interactiveIconOpacity: 0.5; -@interactiveHoveredIconOpacity: 1; +@interactiveSelectedIconOpacity: 1; /*------------------- Variations