diff --git a/src/sc5-styleguide/elements.sc5.scss b/src/sc5-styleguide/elements.sc5.scss index 2260d5a..55ff324 100644 --- a/src/sc5-styleguide/elements.sc5.scss +++ b/src/sc5-styleguide/elements.sc5.scss @@ -374,13 +374,13 @@ Styleguide 1.2.2.1 */ /* -Container stars spread +Container stars space The spacing between stars. -none - stars center im horizontal center. -.spread - stars take all available space to position. - +none - stars position at horizontal center. +.space-between - stars take all available space to position. Space is only between the stars. +.space-around - stars take all available space to position. Space is only around the stars. markup:
diff --git a/src/sc5-styleguide/modifiers.sc5.scss b/src/sc5-styleguide/modifiers.sc5.scss index 5049afe..101f86b 100644 --- a/src/sc5-styleguide/modifiers.sc5.scss +++ b/src/sc5-styleguide/modifiers.sc5.scss @@ -257,12 +257,13 @@ Styleguide 1.1.3 */ /* -Spread +Space -Different spread options +Different space options -default - No spread -.spread - Stars are spread to the entire container width +default - stars position at horizontal center. +.space-between - stars take all available space to position. Space is only between the stars. +.space-around - stars take all available space to position. Space is only around the stars. markup:
@@ -289,7 +290,7 @@ Overriding default colors of ratings to display the color independent of the rat default - No static color .color-default - Stars are always colored default .color-positive - Stars are always colored positive -.color-middle - Stars are always colored middle +.color-ok - Stars are always colored middle .color-negative - Stars are always colored negative markup: @@ -624,4 +625,31 @@ Styleguide 1.1.6
Styleguide 1.1.10 -*/ \ No newline at end of file +*/ + +/* +Label + +Label hidden or not + +default - stars position at horizontal center. +.label-hidden - stars take all available space to position. Space is only between the stars. +.label-visible - stars take all available space to position. Space is only around the stars. + +markup: +
+
3.5
+
+
+ + + + + + +
+
+
+ +Styleguide 1.1.11 +*/ diff --git a/src/scss/_variables.scss b/src/scss/_variables.scss index b2299f0..62a7158 100644 --- a/src/scss/_variables.scss +++ b/src/scss/_variables.scss @@ -15,7 +15,7 @@ $default-stars-label-margin: 5px; /*Colors*/ $color-negative-rating: #f03c56 !default; -$color-middle-rating: #ffc058 !default; +$color-ok-rating: #ffc058 !default; $color-positive-rating: #7ed321 !default; $color-default-rating: #999 !default;