Commit b2543686 authored by Tino Goratsch's avatar Tino Goratsch

extracted the colors of the rating stars in LESS variables

parent 7c696e88
...@@ -3,6 +3,9 @@ ...@@ -3,6 +3,9 @@
* See the LICENCE file at the top-level module directory for licencing details. * See the LICENCE file at the top-level module directory for licencing details.
*/ */
@rating-star-color-default: #777;
@rating-star-color-active: #e3cf7a;
.rating { .rating {
direction: rtl; direction: rtl;
display: inline-block; display: inline-block;
...@@ -33,7 +36,7 @@ ...@@ -33,7 +36,7 @@
.rating__star { .rating__star {
&::before { &::before {
content: "\e006"; content: "\e006";
color: #e3cf7a; color: @rating-star-color-active;
} }
} }
} }
...@@ -47,7 +50,7 @@ ...@@ -47,7 +50,7 @@
margin-bottom: 0; margin-bottom: 0;
&::before { &::before {
color: #777; color: @rating-star-color-default;
content: "\e007"; content: "\e007";
padding-right: 5px; padding-right: 5px;
} }
...@@ -60,7 +63,7 @@ ...@@ -60,7 +63,7 @@
&::before, &::before,
& ~ .rating__star::before { & ~ .rating__star::before {
color: #e3cf7a; color: @rating-star-color-active;
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment