diff --git a/dist/LICENSE b/dist/LICENSE deleted file mode 100644 index 043c4b9..0000000 --- a/dist/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2016 Michael Hladky - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/dist/README.md b/dist/README.md deleted file mode 100644 index 8a852cb..0000000 --- a/dist/README.md +++ /dev/null @@ -1,330 +0,0 @@ -# Css Star Rating ⭐⭐⭐⭐⭐ -#### ⭐ Css Star Rating is a pure css star rating plugin based on best practice UX/UI methods. ⭐ - -![License](https://img.shields.io/npm/l/css-star-rating.svg) -![Bower Version](https://img.shields.io/bower/v/css-star-rating.svg) -[![NPM Version](https://img.shields.io/npm/v/css-star-rating.svg)](https://www.npmjs.com/package/css-star-rating) -[![Standard Version](https://img.shields.io/badge/release-standard%20version-brightgreen.svg)](https://github.com/BioPhoton/css-star-rating) - -[![Build Status](https://travis-ci.org/BioPhoton/css-star-rating.svg?branch=dev)](https://travis-ci.org/BioPhoton/css-star-rating) -[![npm](https://img.shields.io/npm/dt/css-star-rating.svg)](https://www.npmjs.com/package/css-star-rating) - -[![Package Quality](http://npm.packagequality.com/badge/css-star-rating.png)](http://packagequality.com/#?package=css-star-rating) - -Css Star Rating is written in scss and fully customizable over variables. -Easily compose your own rating component over a rich set of css modifiers for any kind of UI state. -## Demo - -Demos in the **[KSS style guide](https://biophoton.github.io/css-star-rating/)** - -## Features - -- [x] **Written in scss** -- [x] **Customizable over variables** -- [x] **Flexbox layout** -- [x] **SVG icons** -- [x] **Icon fonts like fontawesome, ionicon...** -- [x] **Display rating over css class** -- [x] **Different Numbers of stars** -- [x] **Color of stars depend on rating** -- [x] **Half stars** -- [x] **Sizes** -- [x] **Star alignments** -- [x] **Static colors** -- [x] **Disabled mode** -- [x] **Star types** -- [x] **Label** -- [x] **Label positions** -- [x] **Animations** -- [x] **Directions** -- [x] **Themes** - -## Browser support - - -| IE | Firefox | Chrome | Safari | Opera | -|--- |--- |--- |--- |---| -| 11 | 50 | 55 | 10 | 41 | -| | | | | | - -## Related Projects - -| Css | Angular1 (>=1.5)| Angular (>=2) | -|--- |--- |--- | -| | | | -| [Css Star Rating](https://github.com/BioPhoton/css-star-rating) | [Angular1 Star Rating](https://github.com/BioPhoton/angular1-star-rating) | [Angular Star Rating](https://github.com/BioPhoton/angular-star-rating) | - -## Demo - -- [x] [KSS documentation](https://biophoton.github.io/css-star-rating/) - -## Install - -**Get Css Star Rating:** - - clone & build this repository - - [download as .zip](https://github.com/BioPhoton/css-star-rating/releases) - - via **[npm](https://www.npmjs.org/)**: by running `$ npm install css-star-rating` from your console - - via **[bower](https://bower.io/)**: by running `$ bower install css-star-rating` from your console - -**Load library** -```html - -``` - -**Copy asstes (optional)** -If you want to use svg as icon type copy the -```star-rating.icons.svg``` image form ```bower_components/css-star-rating/dist/images/star-rating.css``` to your roots assets folder. - -**Use it** -```html -
-``` - - - -## Css Modifiers - -**.value-[N]**: -The actual star rating value. The color of the stars depends on the rating number -- .value-0 -- .value-1 -- .value-2 -- .value-3 -- .value-4 -- .value-5 -```html - -``` - - -**.half**: -If set, every rating value will have a half star at the end. -- .half - -```html - -``` - - - -**text**: -The text next to the stars. -- (Just additional HTML) - -```html - -``` - - -**.label-[VISIBILITY]**: -The position of the label. -- .label-visible -- .label-hidden - -```html - -``` - - - -**.label-[POSITION]**: -The position of the label. -- .label-top -- .label-right -- .label-bottom -- .label-left - -```html - -``` - - - - - -**.space**: -If the start use the whole space or not. - -```html - -``` - - - - -**.[SIZE]**: -The height and width of the stars. -- .small -- .medium -- .large -```html - -``` - - - - -**color-[COLOR_NAME]**: -Static color of stars. -- .color-default -- .color-negative -- .color-ok -- .color-positive - -```html - -``` - - - - - -**.disabled**: -The click callback is disabled, colors are transparent - -```html - -``` - - - -**.direction-[DIRECTION]**: -The direction of the stars and label. -- .direction-rtl -- .direction-ltr - -```html - -``` - - - -**.[ANIMATION_SPEED]**: -The duration of the animation in ms. -- .immediately -- .noticeable -- .slow - -```html - -``` - - - - -**starType**: -The type of start resource to use. -- .star-svg -- .star-icon (star character) -- .custom-icon (i.e. font-awesome) - -```html - -``` - - - - - -## Themes -As a bonus there are some themes as classes. -**theme-[NAME]**: -The type of start resource to use. -- .theme-google-places -- .theme-kununu - -```html - -``` - diff --git a/dist/css/star-rating.css b/dist/css/star-rating.css deleted file mode 100644 index e42addf..0000000 --- a/dist/css/star-rating.css +++ /dev/null @@ -1,1065 +0,0 @@ -@charset "UTF-8"; -/*VARIABLES -====================================================*/ -/*Range*/ -/*Spacing*/ -/*Colors*/ -/*Sizes*/ -/*Animation*/ -/*Icons*/ -/*Disabled*/ -/*CSS Star Rating Elements -=================================================================*/ -/*HELPER*/ -.center-all { - display: -webkit-box; - display: -webkit-flex; - display: -moz-box; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -moz-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -webkit-justify-content: center; - -moz-box-pack: center; - -ms-flex-pack: center; - justify-content: center; -} - -/* -Star element -==================================================================*/ -.star { - position: relative; - width: 20px; - height: 20px; - display: -webkit-box; - display: -webkit-flex; - display: -moz-box; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -moz-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -webkit-justify-content: center; - -moz-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - /* - Fill states - ==================================================================*/ - /* - Colors - ==================================================================*/ - /* - Icon Types - ==================================================================*/ - /* - Star Size - ===================================================================*/ - /* -Disabled -=================================================*/ - /* - Direction - =================================================*/ -} - -.star svg, .star i { - display: -webkit-box; - display: -webkit-flex; - display: -moz-box; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -moz-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -webkit-justify-content: center; - -moz-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - font-style: normal; -} - -.star svg.star-half, .star svg.star-filled, .star i.star-half, .star i.star-filled { - opacity: 0; -} - -.star i { - top: 1px; - display: none; -} - -.star.icon i, .star.rating.star-icon i { - font-size: 25px; - line-height: 25px; -} - -.star.icon i.star-empty:before, .star.rating.star-icon i.star-empty:before { - content: "☆"; -} - -.star.icon i.star-half:before, .star.rating.star-icon i.star-half:before { - content: "★"; -} - -.star.icon i.star-filled:before, .star.rating.star-icon i.star-filled:before { - content: "★"; -} - -.star.custom-icon i, .star.rating.star-custom-icon i, .rating.theme-kununu .star-container .star i { - font-size: 18px; - line-height: 18px; -} - -.star.empty svg.star-half, .star.empty svg.star-filled, .star.empty i.star-half, .star.empty i.star-filled { - opacity: 0; -} - -.star.empty svg.star-empty, .star.empty i.star-empty { - opacity: 1; -} - -.star.half svg.star-filled, .rating.value-0.half .star:nth-child(1) svg.star-filled, .rating.value-1.half .star-container .star:nth-child(2) svg.star-filled, .rating.value-2.half .star-container .star:nth-child(3) svg.star-filled, .rating.value-3.half .star-container .star:nth-child(4) svg.star-filled, .rating.value-4.half .star-container .star:nth-child(5) svg.star-filled, .rating.value-5.half .star-container .star:nth-child(6) svg.star-filled, .star.half svg.star-empty, .rating.value-0.half .star:nth-child(1) svg.star-empty, .rating.value-1.half .star-container .star:nth-child(2) svg.star-empty, .rating.value-2.half .star-container .star:nth-child(3) svg.star-empty, .rating.value-3.half .star-container .star:nth-child(4) svg.star-empty, .rating.value-4.half .star-container .star:nth-child(5) svg.star-empty, .rating.value-5.half .star-container .star:nth-child(6) svg.star-empty, .star.half i.star-filled, .rating.value-0.half .star:nth-child(1) i.star-filled, .rating.value-1.half .star-container .star:nth-child(2) i.star-filled, .rating.value-2.half .star-container .star:nth-child(3) i.star-filled, .rating.value-3.half .star-container .star:nth-child(4) i.star-filled, .rating.value-4.half .star-container .star:nth-child(5) i.star-filled, .rating.value-5.half .star-container .star:nth-child(6) i.star-filled, .star.half i.star-empty, .rating.value-0.half .star:nth-child(1) i.star-empty, .rating.value-1.half .star-container .star:nth-child(2) i.star-empty, .rating.value-2.half .star-container .star:nth-child(3) i.star-empty, .rating.value-3.half .star-container .star:nth-child(4) i.star-empty, .rating.value-4.half .star-container .star:nth-child(5) i.star-empty, .rating.value-5.half .star-container .star:nth-child(6) i.star-empty { - opacity: 0; -} - -.star.half svg.star-half, .rating.value-0.half .star:nth-child(1) svg.star-half, .rating.value-1.half .star-container .star:nth-child(2) svg.star-half, .rating.value-2.half .star-container .star:nth-child(3) svg.star-half, .rating.value-3.half .star-container .star:nth-child(4) svg.star-half, .rating.value-4.half .star-container .star:nth-child(5) svg.star-half, .rating.value-5.half .star-container .star:nth-child(6) svg.star-half, .star.half i.star-half, .rating.value-0.half .star:nth-child(1) i.star-half, .rating.value-1.half .star-container .star:nth-child(2) i.star-half, .rating.value-2.half .star-container .star:nth-child(3) i.star-half, .rating.value-3.half .star-container .star:nth-child(4) i.star-half, .rating.value-4.half .star-container .star:nth-child(5) i.star-half, .rating.value-5.half .star-container .star:nth-child(6) i.star-half { - opacity: 1; -} - -.star.filled svg.star-empty, .rating.value-1 .star-container .star:nth-child(-n+1) svg.star-empty, .rating.value-2 .star-container .star:nth-child(-n+2) svg.star-empty, .rating.value-3 .star-container .star:nth-child(-n+3) svg.star-empty, .rating.value-4 .star-container .star:nth-child(-n+4) svg.star-empty, .rating.value-5 .star-container .star:nth-child(-n+5) svg.star-empty, .rating.value-6 .star-container .star:nth-child(-n+6) svg.star-empty, .rating.value-7 .star-container .star:nth-child(-n+7) svg.star-empty, .rating.value-8 .star-container .star:nth-child(-n+8) svg.star-empty, .rating.value-9 .star-container .star:nth-child(-n+9) svg.star-empty, .rating.value-10 .star-container .star:nth-child(-n+10) svg.star-empty, .rating.value-11 .star-container .star:nth-child(-n+11) svg.star-empty, .rating.value-12 .star-container .star:nth-child(-n+12) svg.star-empty, .star.filled svg.star-filled, .rating.value-1 .star-container .star:nth-child(-n+1) svg.star-filled, .rating.value-2 .star-container .star:nth-child(-n+2) svg.star-filled, .rating.value-3 .star-container .star:nth-child(-n+3) svg.star-filled, .rating.value-4 .star-container .star:nth-child(-n+4) svg.star-filled, .rating.value-5 .star-container .star:nth-child(-n+5) svg.star-filled, .rating.value-6 .star-container .star:nth-child(-n+6) svg.star-filled, .rating.value-7 .star-container .star:nth-child(-n+7) svg.star-filled, .rating.value-8 .star-container .star:nth-child(-n+8) svg.star-filled, .rating.value-9 .star-container .star:nth-child(-n+9) svg.star-filled, .rating.value-10 .star-container .star:nth-child(-n+10) svg.star-filled, .rating.value-11 .star-container .star:nth-child(-n+11) svg.star-filled, .rating.value-12 .star-container .star:nth-child(-n+12) svg.star-filled, .star.filled i.star-empty, .rating.value-1 .star-container .star:nth-child(-n+1) i.star-empty, .rating.value-2 .star-container .star:nth-child(-n+2) i.star-empty, .rating.value-3 .star-container .star:nth-child(-n+3) i.star-empty, .rating.value-4 .star-container .star:nth-child(-n+4) i.star-empty, .rating.value-5 .star-container .star:nth-child(-n+5) i.star-empty, .rating.value-6 .star-container .star:nth-child(-n+6) i.star-empty, .rating.value-7 .star-container .star:nth-child(-n+7) i.star-empty, .rating.value-8 .star-container .star:nth-child(-n+8) i.star-empty, .rating.value-9 .star-container .star:nth-child(-n+9) i.star-empty, .rating.value-10 .star-container .star:nth-child(-n+10) i.star-empty, .rating.value-11 .star-container .star:nth-child(-n+11) i.star-empty, .rating.value-12 .star-container .star:nth-child(-n+12) i.star-empty, .star.filled i.star-filled, .rating.value-1 .star-container .star:nth-child(-n+1) i.star-filled, .rating.value-2 .star-container .star:nth-child(-n+2) i.star-filled, .rating.value-3 .star-container .star:nth-child(-n+3) i.star-filled, .rating.value-4 .star-container .star:nth-child(-n+4) i.star-filled, .rating.value-5 .star-container .star:nth-child(-n+5) i.star-filled, .rating.value-6 .star-container .star:nth-child(-n+6) i.star-filled, .rating.value-7 .star-container .star:nth-child(-n+7) i.star-filled, .rating.value-8 .star-container .star:nth-child(-n+8) i.star-filled, .rating.value-9 .star-container .star:nth-child(-n+9) i.star-filled, .rating.value-10 .star-container .star:nth-child(-n+10) i.star-filled, .rating.value-11 .star-container .star:nth-child(-n+11) i.star-filled, .rating.value-12 .star-container .star:nth-child(-n+12) i.star-filled { - opacity: 0; -} - -.star.filled svg.star-filled, .rating.value-1 .star-container .star:nth-child(-n+1) svg.star-filled, .rating.value-2 .star-container .star:nth-child(-n+2) svg.star-filled, .rating.value-3 .star-container .star:nth-child(-n+3) svg.star-filled, .rating.value-4 .star-container .star:nth-child(-n+4) svg.star-filled, .rating.value-5 .star-container .star:nth-child(-n+5) svg.star-filled, .rating.value-6 .star-container .star:nth-child(-n+6) svg.star-filled, .rating.value-7 .star-container .star:nth-child(-n+7) svg.star-filled, .rating.value-8 .star-container .star:nth-child(-n+8) svg.star-filled, .rating.value-9 .star-container .star:nth-child(-n+9) svg.star-filled, .rating.value-10 .star-container .star:nth-child(-n+10) svg.star-filled, .rating.value-11 .star-container .star:nth-child(-n+11) svg.star-filled, .rating.value-12 .star-container .star:nth-child(-n+12) svg.star-filled, .star.filled i.star-filled, .rating.value-1 .star-container .star:nth-child(-n+1) i.star-filled, .rating.value-2 .star-container .star:nth-child(-n+2) i.star-filled, .rating.value-3 .star-container .star:nth-child(-n+3) i.star-filled, .rating.value-4 .star-container .star:nth-child(-n+4) i.star-filled, .rating.value-5 .star-container .star:nth-child(-n+5) i.star-filled, .rating.value-6 .star-container .star:nth-child(-n+6) i.star-filled, .rating.value-7 .star-container .star:nth-child(-n+7) i.star-filled, .rating.value-8 .star-container .star:nth-child(-n+8) i.star-filled, .rating.value-9 .star-container .star:nth-child(-n+9) i.star-filled, .rating.value-10 .star-container .star:nth-child(-n+10) i.star-filled, .rating.value-11 .star-container .star:nth-child(-n+11) i.star-filled, .rating.value-12 .star-container .star:nth-child(-n+12) i.star-filled { - opacity: 1; -} - -.star.default svg, .star-container .star svg { - fill: #999; -} - -.star.default i, .star-container .star i { - color: #999; -} - -.star.negative svg, .rating.value-0.half .star svg, .rating.value-1.half .star-container .rating.value-0.star:nth-child(2) .star svg, .rating.value-2.half .star-container .rating.value-0.star:nth-child(3) .star svg, .rating.value-3.half .star-container .rating.value-0.star:nth-child(4) .star svg, .rating.value-4.half .star-container .rating.value-0.star:nth-child(5) .star svg, .rating.value-5.half .star-container .rating.value-0.star:nth-child(6) .star svg { - fill: #f03c56; -} - -.star.negative i, .rating.value-0.half .star i, .rating.value-1.half .star-container .rating.value-0.star:nth-child(2) .star i, .rating.value-2.half .star-container .rating.value-0.star:nth-child(3) .star i, .rating.value-3.half .star-container .rating.value-0.star:nth-child(4) .star i, .rating.value-4.half .star-container .rating.value-0.star:nth-child(5) .star i, .rating.value-5.half .star-container .rating.value-0.star:nth-child(6) .star i { - color: #f03c56; -} - -.star.ok svg { - fill: #ffc058; -} - -.star.ok i { - color: #ffc058; -} - -.star.positive svg, .rating.value-6 .star-container .star svg, .rating.value-7 .star-container .star svg, .rating.value-8 .star-container .star svg, .rating.value-9 .star-container .star svg, .rating.value-10 .star-container .star svg, .rating.value-11 .star-container .star svg, .rating.value-12 .star-container .star svg { - fill: #7ed321; -} - -.star.positive i, .rating.value-6 .star-container .star i, .rating.value-7 .star-container .star i, .rating.value-8 .star-container .star i, .rating.value-9 .star-container .star i, .rating.value-10 .star-container .star i, .rating.value-11 .star-container .star i, .rating.value-12 .star-container .star i { - color: #7ed321; -} - -.star.svg i, .star.rating.star-svg i { - display: none; -} - -.star.svg svg, .star.rating.star-svg svg { - display: -webkit-box; - display: -webkit-flex; - display: -moz-box; - display: -ms-flexbox; - display: flex; -} - -.star.custom-icon svg, .star.rating.star-custom-icon svg, .rating.theme-kununu .star-container .star svg, .star.icon svg, .star.rating.star-icon svg { - display: none; -} - -.star.custom-icon i, .star.rating.star-custom-icon i, .rating.theme-kununu .star-container .star i, .star.icon i, .star.rating.star-icon i { - display: -webkit-box; - display: -webkit-flex; - display: -moz-box; - display: -ms-flexbox; - display: flex; -} - -.star.small, .rating.small .star { - width: 10px; - height: 9, 5px; -} - -.star.small i, .rating.small .star i { - font-size: 11px; - line-height: 10px; -} - -.star.medium, .rating.medium .star { - width: 20px; - height: 20px; -} - -.star.medium i, .rating.medium .star i { - font-size: 25px; - line-height: 25px; -} - -.star.large, .rating.large .star { - width: 35px; - height: 33.3px; -} - -.star.large i, .rating.large .star i { - font-size: 36px; - line-height: 35px; -} - -.star.disabled, .rating.disabled .star.label-value, .rating.disabled .star-container .star { - opacity: 0.5; -} - -.star.direction-rtl svg.star-half, .star-container.direction-rtl .star svg.star-half, .rating.direction-rtl .star-container .star svg.star-half, .star.direction-rtl i.star-half, .star-container.direction-rtl .star i.star-half, .rating.direction-rtl .star-container .star i.star-half { - -webkit-transform: scale(-1, 1); - -moz-transform: scale(-1, 1); - -ms-transform: scale(-1, 1); - transform: scale(-1, 1); -} - -.star.direction-ltr svg.star-half, .star-container.direction-ltr .star svg.star-half, .star.direction-ltr i.star-half, .star-container.direction-ltr .star i.star-half { - -webkit-transform: scale(1, 1); - -moz-transform: scale(1, 1); - -ms-transform: scale(1, 1); - transform: scale(1, 1); -} - -/* -Label Element -===================================================================*/ -.label-value { - font-size: 18px; - line-height: 18px; - /* - Sizes - =================================================================*/ - /* - Disabled - =================================================*/ -} - -.label-value.small, .rating.small .label-value { - font-size: 9.5px; - line-height: 9.5px; -} - -.label-value.medium, .rating.medium .label-value { - font-size: 18px; - line-height: 25px; -} - -.label-value.large, .rating.large .label-value { - font-size: 28px; - line-height: 35px; -} - -.label-value.disabled, .rating.disabled .label-value { - opacity: 0.5; -} - -/* -Star Container -==================================================================*/ -.star-container { - display: -webkit-box; - display: -webkit-flex; - display: -moz-box; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -moz-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-flex: 0; - -webkit-flex: 0 0 auto; - -moz-box-flex: 0; - -ms-flex: 0 0 auto; - flex: 0 0 auto; - -webkit-box-pack: center; - -webkit-justify-content: center; - -moz-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - margin-left: 5px; - margin-right: 5px; - -webkit-transition: all 0.3s ease; - -moz-transition: all 0.3s ease; - transition: all 0.3s ease; - /* - Direction - ===================================================*/ - /* - Space - ======================================================*/ -} - -.star-container + .star { - margin-left: 5px; -} - -.star-container .star { - -webkit-transition: all 0.3s ease; - -moz-transition: all 0.3s ease; - transition: all 0.3s ease; -} - -.star-container .star svg, .star-container .star i { - -webkit-transition: all 0.3s ease; - -moz-transition: all 0.3s ease; - transition: all 0.3s ease; -} - -.star-container svg { - z-index: 2; -} - -.star-container i { - z-index: 1; -} - -.star-container.direction-rtl, .star-container.direction-rtl .star-container.star, .rating.direction-rtl .star-container { - direction: rtl; -} - -.star-container.direction-ltr, .star-container.direction-ltr .star-container.star { - direction: ltr; -} - -.star-container.space-no, .rating.space-no .star-container { - -webkit-box-flex: 1; - -webkit-flex: 1 1 auto; - -moz-box-flex: 1; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - -webkit-box-pack: center; - -webkit-justify-content: center; - -moz-box-pack: center; - -ms-flex-pack: center; - justify-content: center; -} - -.star-container.space-between, .rating.space-between .star-container { - -webkit-box-flex: 1; - -webkit-flex: 1 1 auto; - -moz-box-flex: 1; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -moz-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; -} - -.star-container.space-around, .rating.space-around .star-container { - -webkit-box-flex: 1; - -webkit-flex: 1 1 auto; - -moz-box-flex: 1; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - -webkit-justify-content: space-around; - -ms-flex-pack: distribute; - justify-content: space-around; -} - -/* -Rating Component -========================================================================= */ -.rating { - display: -webkit-box; - display: -webkit-flex; - display: -moz-box; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -moz-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -webkit-justify-content: center; - -moz-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - margin-bottom: 5px; - /*Rating Value - ====================================================*/ - /*Hover states - ====================================================*/ - /*Half stars - ====================================================*/ - /*Label Visible - ====================================================*/ - /*Label Position - ====================================================*/ - /* - Direction - ===================================================*/ - /* Star Type - ====================================================*/ - /* Sizes - ==========================================================*/ - /* Space - ====================================================*/ - /* Static Color - ====================================================*/ - /*Disabled - ====================================================*/ - /*AnimationSpeed - ====================================================*/ -} - -.rating.value-1 .star-container .star svg { - fill: #f03c56; -} - -.rating.value-1 .star-container .star i { - color: #f03c56; -} - -.rating.value-2 .star-container .star svg { - fill: #f03c56; -} - -.rating.value-2 .star-container .star i { - color: #f03c56; -} - -.rating.value-3 .star-container .star svg { - fill: #ffc058; -} - -.rating.value-3 .star-container .star i { - color: #ffc058; -} - -.rating.value-4 .star-container .star svg { - fill: #7ed321; -} - -.rating.value-4 .star-container .star i { - color: #7ed321; -} - -.rating.value-5 .star-container .star svg { - fill: #7ed321; -} - -.rating.value-5 .star-container .star i { - color: #7ed321; -} - -.rating.value-6 .star-container .star svg { - fill: #7ed321; -} - -.rating.value-6 .star-container .star i { - color: #7ed321; -} - -.rating.hover:hover.value-1.half .star-container .star.star-half, .rating.value-0.half .rating.hover.star:hover.value-1:nth-child(1) .star-container .star.star-half, .rating.value-1.half .star-container .rating.hover.star:hover.value-1:nth-child(2) .star-container .star.star-half, .rating.value-2.half .star-container .rating.hover.star:hover.value-1:nth-child(3) .star-container .star.star-half, .rating.value-3.half .star-container .rating.hover.star:hover.value-1:nth-child(4) .star-container .star.star-half, .rating.value-4.half .star-container .rating.hover.star:hover.value-1:nth-child(5) .star-container .star.star-half, .rating.value-5.half .star-container .rating.hover.star:hover.value-1:nth-child(6) .star-container .star.star-half, .rating.hover:hover.value-1.half .star-container .star.star-filled, .rating.value-0.half .rating.hover.star:hover.value-1:nth-child(1) .star-container .star.star-filled, .rating.value-1.half .star-container .rating.hover.star:hover.value-1:nth-child(2) .star-container .star.star-filled, .rating.value-2.half .star-container .rating.hover.star:hover.value-1:nth-child(3) .star-container .star.star-filled, .rating.value-3.half .star-container .rating.hover.star:hover.value-1:nth-child(4) .star-container .star.star-filled, .rating.value-4.half .star-container .rating.hover.star:hover.value-1:nth-child(5) .star-container .star.star-filled, .rating.value-5.half .star-container .rating.hover.star:hover.value-1:nth-child(6) .star-container .star.star-filled, .rating.hover:hover.hover-1 .star-container .star.star-half, .rating.hover:hover.hover-1 .star-container .star.star-filled { - opacity: 0; -} - -.rating.hover:hover.value-1.half .star-container .star.star-empty, .rating.value-0.half .rating.hover.star:hover.value-1:nth-child(1) .star-container .star.star-empty, .rating.value-1.half .star-container .rating.hover.star:hover.value-1:nth-child(2) .star-container .star.star-empty, .rating.value-2.half .star-container .rating.hover.star:hover.value-1:nth-child(3) .star-container .star.star-empty, .rating.value-3.half .star-container .rating.hover.star:hover.value-1:nth-child(4) .star-container .star.star-empty, .rating.value-4.half .star-container .rating.hover.star:hover.value-1:nth-child(5) .star-container .star.star-empty, .rating.value-5.half .star-container .rating.hover.star:hover.value-1:nth-child(6) .star-container .star.star-empty, .rating.hover:hover.hover-1 .star-container .star.star-empty { - opacity: 1; -} - -.rating.hover:hover.hover-1 .star-container .star:nth-child(-n+1) svg.star-empty, .rating.hover:hover.hover-1 .star-container .star:nth-child(-n+1) svg.star-filled, .rating.hover:hover.hover-1 .star-container .star:nth-child(-n+1) i.star-empty, .rating.hover:hover.hover-1 .star-container .star:nth-child(-n+1) i.star-filled { - opacity: 0; -} - -.rating.hover:hover.hover-1 .star-container .star:nth-child(-n+1) svg.star-filled, .rating.hover:hover.hover-1 .star-container .star:nth-child(-n+1) i.star-filled { - opacity: 1; -} - -.rating.hover:hover.hover-1 .star-container .star svg { - fill: #f03c56; -} - -.rating.hover:hover.hover-1 .star-container .star i { - color: #f03c56; -} - -.rating.hover:hover.value-2.half .star-container .star.star-half, .rating.value-0.half .rating.hover.star:hover.value-2:nth-child(1) .star-container .star.star-half, .rating.value-1.half .star-container .rating.hover.star:hover.value-2:nth-child(2) .star-container .star.star-half, .rating.value-2.half .star-container .rating.hover.star:hover.value-2:nth-child(3) .star-container .star.star-half, .rating.value-3.half .star-container .rating.hover.star:hover.value-2:nth-child(4) .star-container .star.star-half, .rating.value-4.half .star-container .rating.hover.star:hover.value-2:nth-child(5) .star-container .star.star-half, .rating.value-5.half .star-container .rating.hover.star:hover.value-2:nth-child(6) .star-container .star.star-half, .rating.hover:hover.value-2.half .star-container .star.star-filled, .rating.value-0.half .rating.hover.star:hover.value-2:nth-child(1) .star-container .star.star-filled, .rating.value-1.half .star-container .rating.hover.star:hover.value-2:nth-child(2) .star-container .star.star-filled, .rating.value-2.half .star-container .rating.hover.star:hover.value-2:nth-child(3) .star-container .star.star-filled, .rating.value-3.half .star-container .rating.hover.star:hover.value-2:nth-child(4) .star-container .star.star-filled, .rating.value-4.half .star-container .rating.hover.star:hover.value-2:nth-child(5) .star-container .star.star-filled, .rating.value-5.half .star-container .rating.hover.star:hover.value-2:nth-child(6) .star-container .star.star-filled, .rating.hover:hover.hover-2 .star-container .star.star-half, .rating.hover:hover.hover-2 .star-container .star.star-filled { - opacity: 0; -} - -.rating.hover:hover.value-2.half .star-container .star.star-empty, .rating.value-0.half .rating.hover.star:hover.value-2:nth-child(1) .star-container .star.star-empty, .rating.value-1.half .star-container .rating.hover.star:hover.value-2:nth-child(2) .star-container .star.star-empty, .rating.value-2.half .star-container .rating.hover.star:hover.value-2:nth-child(3) .star-container .star.star-empty, .rating.value-3.half .star-container .rating.hover.star:hover.value-2:nth-child(4) .star-container .star.star-empty, .rating.value-4.half .star-container .rating.hover.star:hover.value-2:nth-child(5) .star-container .star.star-empty, .rating.value-5.half .star-container .rating.hover.star:hover.value-2:nth-child(6) .star-container .star.star-empty, .rating.hover:hover.hover-2 .star-container .star.star-empty { - opacity: 1; -} - -.rating.hover:hover.hover-2 .star-container .star:nth-child(-n+2) svg.star-empty, .rating.hover:hover.hover-2 .star-container .star:nth-child(-n+2) svg.star-filled, .rating.hover:hover.hover-2 .star-container .star:nth-child(-n+2) i.star-empty, .rating.hover:hover.hover-2 .star-container .star:nth-child(-n+2) i.star-filled { - opacity: 0; -} - -.rating.hover:hover.hover-2 .star-container .star:nth-child(-n+2) svg.star-filled, .rating.hover:hover.hover-2 .star-container .star:nth-child(-n+2) i.star-filled { - opacity: 1; -} - -.rating.hover:hover.hover-2 .star-container .star svg { - fill: #f03c56; -} - -.rating.hover:hover.hover-2 .star-container .star i { - color: #f03c56; -} - -.rating.hover:hover.value-3.half .star-container .star.star-half, .rating.value-0.half .rating.hover.star:hover.value-3:nth-child(1) .star-container .star.star-half, .rating.value-1.half .star-container .rating.hover.star:hover.value-3:nth-child(2) .star-container .star.star-half, .rating.value-2.half .star-container .rating.hover.star:hover.value-3:nth-child(3) .star-container .star.star-half, .rating.value-3.half .star-container .rating.hover.star:hover.value-3:nth-child(4) .star-container .star.star-half, .rating.value-4.half .star-container .rating.hover.star:hover.value-3:nth-child(5) .star-container .star.star-half, .rating.value-5.half .star-container .rating.hover.star:hover.value-3:nth-child(6) .star-container .star.star-half, .rating.hover:hover.value-3.half .star-container .star.star-filled, .rating.value-0.half .rating.hover.star:hover.value-3:nth-child(1) .star-container .star.star-filled, .rating.value-1.half .star-container .rating.hover.star:hover.value-3:nth-child(2) .star-container .star.star-filled, .rating.value-2.half .star-container .rating.hover.star:hover.value-3:nth-child(3) .star-container .star.star-filled, .rating.value-3.half .star-container .rating.hover.star:hover.value-3:nth-child(4) .star-container .star.star-filled, .rating.value-4.half .star-container .rating.hover.star:hover.value-3:nth-child(5) .star-container .star.star-filled, .rating.value-5.half .star-container .rating.hover.star:hover.value-3:nth-child(6) .star-container .star.star-filled, .rating.hover:hover.hover-3 .star-container .star.star-half, .rating.hover:hover.hover-3 .star-container .star.star-filled { - opacity: 0; -} - -.rating.hover:hover.value-3.half .star-container .star.star-empty, .rating.value-0.half .rating.hover.star:hover.value-3:nth-child(1) .star-container .star.star-empty, .rating.value-1.half .star-container .rating.hover.star:hover.value-3:nth-child(2) .star-container .star.star-empty, .rating.value-2.half .star-container .rating.hover.star:hover.value-3:nth-child(3) .star-container .star.star-empty, .rating.value-3.half .star-container .rating.hover.star:hover.value-3:nth-child(4) .star-container .star.star-empty, .rating.value-4.half .star-container .rating.hover.star:hover.value-3:nth-child(5) .star-container .star.star-empty, .rating.value-5.half .star-container .rating.hover.star:hover.value-3:nth-child(6) .star-container .star.star-empty, .rating.hover:hover.hover-3 .star-container .star.star-empty { - opacity: 1; -} - -.rating.hover:hover.hover-3 .star-container .star:nth-child(-n+3) svg.star-empty, .rating.hover:hover.hover-3 .star-container .star:nth-child(-n+3) svg.star-filled, .rating.hover:hover.hover-3 .star-container .star:nth-child(-n+3) i.star-empty, .rating.hover:hover.hover-3 .star-container .star:nth-child(-n+3) i.star-filled { - opacity: 0; -} - -.rating.hover:hover.hover-3 .star-container .star:nth-child(-n+3) svg.star-filled, .rating.hover:hover.hover-3 .star-container .star:nth-child(-n+3) i.star-filled { - opacity: 1; -} - -.rating.hover:hover.hover-3 .star-container .star svg { - fill: #ffc058; -} - -.rating.hover:hover.hover-3 .star-container .star i { - color: #ffc058; -} - -.rating.hover:hover.value-4.half .star-container .star.star-half, .rating.value-0.half .rating.hover.star:hover.value-4:nth-child(1) .star-container .star.star-half, .rating.value-1.half .star-container .rating.hover.star:hover.value-4:nth-child(2) .star-container .star.star-half, .rating.value-2.half .star-container .rating.hover.star:hover.value-4:nth-child(3) .star-container .star.star-half, .rating.value-3.half .star-container .rating.hover.star:hover.value-4:nth-child(4) .star-container .star.star-half, .rating.value-4.half .star-container .rating.hover.star:hover.value-4:nth-child(5) .star-container .star.star-half, .rating.value-5.half .star-container .rating.hover.star:hover.value-4:nth-child(6) .star-container .star.star-half, .rating.hover:hover.value-4.half .star-container .star.star-filled, .rating.value-0.half .rating.hover.star:hover.value-4:nth-child(1) .star-container .star.star-filled, .rating.value-1.half .star-container .rating.hover.star:hover.value-4:nth-child(2) .star-container .star.star-filled, .rating.value-2.half .star-container .rating.hover.star:hover.value-4:nth-child(3) .star-container .star.star-filled, .rating.value-3.half .star-container .rating.hover.star:hover.value-4:nth-child(4) .star-container .star.star-filled, .rating.value-4.half .star-container .rating.hover.star:hover.value-4:nth-child(5) .star-container .star.star-filled, .rating.value-5.half .star-container .rating.hover.star:hover.value-4:nth-child(6) .star-container .star.star-filled, .rating.hover:hover.hover-4 .star-container .star.star-half, .rating.hover:hover.hover-4 .star-container .star.star-filled { - opacity: 0; -} - -.rating.hover:hover.value-4.half .star-container .star.star-empty, .rating.value-0.half .rating.hover.star:hover.value-4:nth-child(1) .star-container .star.star-empty, .rating.value-1.half .star-container .rating.hover.star:hover.value-4:nth-child(2) .star-container .star.star-empty, .rating.value-2.half .star-container .rating.hover.star:hover.value-4:nth-child(3) .star-container .star.star-empty, .rating.value-3.half .star-container .rating.hover.star:hover.value-4:nth-child(4) .star-container .star.star-empty, .rating.value-4.half .star-container .rating.hover.star:hover.value-4:nth-child(5) .star-container .star.star-empty, .rating.value-5.half .star-container .rating.hover.star:hover.value-4:nth-child(6) .star-container .star.star-empty, .rating.hover:hover.hover-4 .star-container .star.star-empty { - opacity: 1; -} - -.rating.hover:hover.hover-4 .star-container .star:nth-child(-n+4) svg.star-empty, .rating.hover:hover.hover-4 .star-container .star:nth-child(-n+4) svg.star-filled, .rating.hover:hover.hover-4 .star-container .star:nth-child(-n+4) i.star-empty, .rating.hover:hover.hover-4 .star-container .star:nth-child(-n+4) i.star-filled { - opacity: 0; -} - -.rating.hover:hover.hover-4 .star-container .star:nth-child(-n+4) svg.star-filled, .rating.hover:hover.hover-4 .star-container .star:nth-child(-n+4) i.star-filled { - opacity: 1; -} - -.rating.hover:hover.hover-4 .star-container .star svg { - fill: #7ed321; -} - -.rating.hover:hover.hover-4 .star-container .star i { - color: #7ed321; -} - -.rating.hover:hover.value-5.half .star-container .star.star-half, .rating.value-0.half .rating.hover.star:hover.value-5:nth-child(1) .star-container .star.star-half, .rating.value-1.half .star-container .rating.hover.star:hover.value-5:nth-child(2) .star-container .star.star-half, .rating.value-2.half .star-container .rating.hover.star:hover.value-5:nth-child(3) .star-container .star.star-half, .rating.value-3.half .star-container .rating.hover.star:hover.value-5:nth-child(4) .star-container .star.star-half, .rating.value-4.half .star-container .rating.hover.star:hover.value-5:nth-child(5) .star-container .star.star-half, .rating.value-5.half .star-container .rating.hover.star:hover.value-5:nth-child(6) .star-container .star.star-half, .rating.hover:hover.value-5.half .star-container .star.star-filled, .rating.value-0.half .rating.hover.star:hover.value-5:nth-child(1) .star-container .star.star-filled, .rating.value-1.half .star-container .rating.hover.star:hover.value-5:nth-child(2) .star-container .star.star-filled, .rating.value-2.half .star-container .rating.hover.star:hover.value-5:nth-child(3) .star-container .star.star-filled, .rating.value-3.half .star-container .rating.hover.star:hover.value-5:nth-child(4) .star-container .star.star-filled, .rating.value-4.half .star-container .rating.hover.star:hover.value-5:nth-child(5) .star-container .star.star-filled, .rating.value-5.half .star-container .rating.hover.star:hover.value-5:nth-child(6) .star-container .star.star-filled, .rating.hover:hover.hover-5 .star-container .star.star-half, .rating.hover:hover.hover-5 .star-container .star.star-filled { - opacity: 0; -} - -.rating.hover:hover.value-5.half .star-container .star.star-empty, .rating.value-0.half .rating.hover.star:hover.value-5:nth-child(1) .star-container .star.star-empty, .rating.value-1.half .star-container .rating.hover.star:hover.value-5:nth-child(2) .star-container .star.star-empty, .rating.value-2.half .star-container .rating.hover.star:hover.value-5:nth-child(3) .star-container .star.star-empty, .rating.value-3.half .star-container .rating.hover.star:hover.value-5:nth-child(4) .star-container .star.star-empty, .rating.value-4.half .star-container .rating.hover.star:hover.value-5:nth-child(5) .star-container .star.star-empty, .rating.value-5.half .star-container .rating.hover.star:hover.value-5:nth-child(6) .star-container .star.star-empty, .rating.hover:hover.hover-5 .star-container .star.star-empty { - opacity: 1; -} - -.rating.hover:hover.hover-5 .star-container .star:nth-child(-n+5) svg.star-empty, .rating.hover:hover.hover-5 .star-container .star:nth-child(-n+5) svg.star-filled, .rating.hover:hover.hover-5 .star-container .star:nth-child(-n+5) i.star-empty, .rating.hover:hover.hover-5 .star-container .star:nth-child(-n+5) i.star-filled { - opacity: 0; -} - -.rating.hover:hover.hover-5 .star-container .star:nth-child(-n+5) svg.star-filled, .rating.hover:hover.hover-5 .star-container .star:nth-child(-n+5) i.star-filled { - opacity: 1; -} - -.rating.hover:hover.hover-5 .star-container .star svg { - fill: #7ed321; -} - -.rating.hover:hover.hover-5 .star-container .star i { - color: #7ed321; -} - -.rating.hover:hover.value-6.half .star-container .star.star-half, .rating.value-0.half .rating.hover.star:hover.value-6:nth-child(1) .star-container .star.star-half, .rating.value-1.half .star-container .rating.hover.star:hover.value-6:nth-child(2) .star-container .star.star-half, .rating.value-2.half .star-container .rating.hover.star:hover.value-6:nth-child(3) .star-container .star.star-half, .rating.value-3.half .star-container .rating.hover.star:hover.value-6:nth-child(4) .star-container .star.star-half, .rating.value-4.half .star-container .rating.hover.star:hover.value-6:nth-child(5) .star-container .star.star-half, .rating.value-5.half .star-container .rating.hover.star:hover.value-6:nth-child(6) .star-container .star.star-half, .rating.hover:hover.value-6.half .star-container .star.star-filled, .rating.value-0.half .rating.hover.star:hover.value-6:nth-child(1) .star-container .star.star-filled, .rating.value-1.half .star-container .rating.hover.star:hover.value-6:nth-child(2) .star-container .star.star-filled, .rating.value-2.half .star-container .rating.hover.star:hover.value-6:nth-child(3) .star-container .star.star-filled, .rating.value-3.half .star-container .rating.hover.star:hover.value-6:nth-child(4) .star-container .star.star-filled, .rating.value-4.half .star-container .rating.hover.star:hover.value-6:nth-child(5) .star-container .star.star-filled, .rating.value-5.half .star-container .rating.hover.star:hover.value-6:nth-child(6) .star-container .star.star-filled, .rating.hover:hover.hover-6 .star-container .star.star-half, .rating.hover:hover.hover-6 .star-container .star.star-filled { - opacity: 0; -} - -.rating.hover:hover.value-6.half .star-container .star.star-empty, .rating.value-0.half .rating.hover.star:hover.value-6:nth-child(1) .star-container .star.star-empty, .rating.value-1.half .star-container .rating.hover.star:hover.value-6:nth-child(2) .star-container .star.star-empty, .rating.value-2.half .star-container .rating.hover.star:hover.value-6:nth-child(3) .star-container .star.star-empty, .rating.value-3.half .star-container .rating.hover.star:hover.value-6:nth-child(4) .star-container .star.star-empty, .rating.value-4.half .star-container .rating.hover.star:hover.value-6:nth-child(5) .star-container .star.star-empty, .rating.value-5.half .star-container .rating.hover.star:hover.value-6:nth-child(6) .star-container .star.star-empty, .rating.hover:hover.hover-6 .star-container .star.star-empty { - opacity: 1; -} - -.rating.hover:hover.hover-6 .star-container .star:nth-child(-n+6) svg.star-empty, .rating.hover:hover.hover-6 .star-container .star:nth-child(-n+6) svg.star-filled, .rating.hover:hover.hover-6 .star-container .star:nth-child(-n+6) i.star-empty, .rating.hover:hover.hover-6 .star-container .star:nth-child(-n+6) i.star-filled { - opacity: 0; -} - -.rating.hover:hover.hover-6 .star-container .star:nth-child(-n+6) svg.star-filled, .rating.hover:hover.hover-6 .star-container .star:nth-child(-n+6) i.star-filled { - opacity: 1; -} - -.rating.hover:hover.hover-6 .star-container .star svg { - fill: #7ed321; -} - -.rating.hover:hover.hover-6 .star-container .star i { - color: #7ed321; -} - -.rating.label-hidden .label-value { - display: none; -} - -.rating.label-visible { - display: -webkit-box; - display: -webkit-flex; - display: -moz-box; - display: -ms-flexbox; - display: flex; -} - -.rating.label-top { - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -moz-box-orient: vertical; - -moz-box-direction: normal; - -ms-flex-direction: column; - flex-direction: column; -} - -.rating.label-top .label-value + .star-container { - margin-left: 0; - margin-right: 0; - margin-top: 5px; -} - -.rating.label-left .label-value { - -webkit-box-flex: 0; - -webkit-flex: 0 0 auto; - -moz-box-flex: 0; - -ms-flex: 0 0 auto; - flex: 0 0 auto; -} - -.rating.label-left .label-value + .star-container { - margin-left: 5px; - margin-right: 0; -} - -.rating.label-right { - -webkit-box-orient: horizontal; - -webkit-box-direction: reverse; - -webkit-flex-direction: row-reverse; - -moz-box-orient: horizontal; - -moz-box-direction: reverse; - -ms-flex-direction: row-reverse; - flex-direction: row-reverse; -} - -.rating.label-right .label-value + .star-container { - margin-left: 0; - margin-right: 5px; -} - -.rating.label-bottom { - -webkit-box-orient: vertical; - -webkit-box-direction: reverse; - -webkit-flex-direction: column-reverse; - -moz-box-orient: vertical; - -moz-box-direction: reverse; - -ms-flex-direction: column-reverse; - flex-direction: column-reverse; -} - -.rating.label-bottom .label-value + .star-container { - margin-left: 0; - margin-right: 0; - margin-bottom: 5px; -} - -.rating.direction-rtl, .star-container.direction-rtl .rating.star, .rating.direction-rtl .star-container .rating.star { - direction: rtl; -} - -.rating.direction-ltr, .star-container.direction-ltr .rating.star { - direction: ltr; -} - -.rating.color-default .star-container .star svg { - fill: #999 !important; -} - -.rating.color-default .star-container .star i { - color: #999 !important; -} - -.rating.color-ok .star-container .star svg { - fill: #ffc058 !important; -} - -.rating.color-ok .star-container .star i { - color: #ffc058 !important; -} - -.rating.color-positive .star-container .star svg { - fill: #7ed321 !important; -} - -.rating.color-positive .star-container .star i { - color: #7ed321 !important; -} - -.rating.color-negative .star-container .star svg { - fill: #f03c56 !important; -} - -.rating.color-negative .star-container .star i { - color: #f03c56 !important; -} - -.rating.immediately .star-container { - -webkit-transition: all none; - -moz-transition: all none; - transition: all none; -} - -.rating.immediately .star-container .star { - -webkit-transition: none; - -moz-transition: none; - transition: none; -} - -.rating.immediately .star-container .star svg, .rating.immediately .star-container .star i { - -webkit-transition: none; - -moz-transition: none; - transition: none; -} - -.rating.noticeable .star-container { - -webkit-transition: all 0.3s ease; - -moz-transition: all 0.3s ease; - transition: all 0.3s ease; -} - -.rating.noticeable .star-container .star { - -webkit-transition: all 0.3s ease; - -moz-transition: all 0.3s ease; - transition: all 0.3s ease; -} - -.rating.noticeable .star-container .star svg, .rating.noticeable .star-container .star i { - -webkit-transition: all 0.3s ease; - -moz-transition: all 0.3s ease; - transition: all 0.3s ease; -} - -.rating.slow .star-container { - -webkit-transition: all 0.8s ease; - -moz-transition: all 0.8s ease; - transition: all 0.8s ease; -} - -.rating.slow .star-container .star { - -webkit-transition: all 0.8s ease; - -moz-transition: all 0.8s ease; - transition: all 0.8s ease; -} - -.rating.slow .star-container .star svg, .rating.slow .star-container .star i { - -webkit-transition: all 0.8s ease; - -moz-transition: all 0.8s ease; - transition: all 0.8s ease; -} - -/*theme modifiers -====================================================*/ -.rating.theme-kununu { - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -moz-box-orient: vertical; - -moz-box-direction: normal; - -ms-flex-direction: column; - flex-direction: column; - width: 78px; -} - -.rating.theme-kununu .label-value, -.rating.theme-kununu .star-container { - width: 100%; -} - -.rating.theme-kununu .label-value { - display: -webkit-box; - display: -webkit-flex; - display: -moz-box; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -moz-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -webkit-justify-content: center; - -moz-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - border-radius: 6px 6px 0 0; - height: 50px; - border: 1px solid #e9ecec; - border-bottom: 0px; - font-size: 18px; - font-weight: bold; - color: #2f3940; - letter-spacing: -1px; - background-color: #f8f8f8; -} - -.rating.theme-kununu .star-container { - border-radius: 0 0 6px 6px; - padding: 2px 0 4px 0; - margin-left: 0px; - margin-right: 0px; - -webkit-box-pack: center; - -webkit-justify-content: center; - -moz-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - background-color: #99c613; - border: 1px solid #99c613; - border-bottom: 0px; -} - -.rating.theme-kununu .star-container .star { - height: 11px; - width: 11px; -} - -.rating.theme-kununu .star-container .star i { - font-size: 11px; - color: #fff; - text-align: center; -} - -.rating.theme-google-places .label-value { - color: #e7711b; - font-family: arial, sans-serif; - font-size: 13px; - line-height: 15px; -} - -.rating.theme-google-places .star-container { - width: 65px; - margin-left: 2px; -} - -.rating.theme-google-places .star-container .star i { - font-size: 17px; - color: #e7711b !important; -} - -.rating.theme-google-places .star-container .star i.star-empty { - opacity: 1 !important; - color: #e1e1e1 !important; -} - -.rating.theme-google-places .star-container .star i.star-empty:before { - content: "★"; -} - -.rating.theme-google-places .star-container .star i.star-half { - width: 7px; - overflow: hidden; -} - -.rating.theme-google-places .star-container .star i.star-half:before { - content: "★"; -} - -.rating.theme-google-places .star-container .star i.star-filled:before { - content: "★"; -} - -.rating.theme-rolling-stars .star-container .star { - -webkit-transition: -webkit-transform 1s; - transition: -webkit-transform 1s; - -moz-transition: transform 1s, -moz-transform 1s; - transition: transform 1s; - transition: transform 1s, -webkit-transform 1s, -moz-transform 1s; - -webkit-transform: rotate(0deg); - -moz-transform: rotate(0deg); - -ms-transform: rotate(0deg); - transform: rotate(0deg); -} - -.rating.theme-rolling-stars.value-1 .star-container .star:nth-child(-n+1) { - -webkit-transition: -webkit-transform 1s; - transition: -webkit-transform 1s; - -moz-transition: transform 1s, -moz-transform 1s; - transition: transform 1s; - transition: transform 1s, -webkit-transform 1s, -moz-transform 1s; - -webkit-transform: rotate(360deg); - -moz-transform: rotate(360deg); - -ms-transform: rotate(360deg); - transform: rotate(360deg); -} - -.rating.theme-rolling-stars.value-2 .star-container .star:nth-child(-n+2) { - -webkit-transition: -webkit-transform 1s; - transition: -webkit-transform 1s; - -moz-transition: transform 1s, -moz-transform 1s; - transition: transform 1s; - transition: transform 1s, -webkit-transform 1s, -moz-transform 1s; - -webkit-transform: rotate(360deg); - -moz-transform: rotate(360deg); - -ms-transform: rotate(360deg); - transform: rotate(360deg); -} - -.rating.theme-rolling-stars.value-3 .star-container .star:nth-child(-n+3) { - -webkit-transition: -webkit-transform 1s; - transition: -webkit-transform 1s; - -moz-transition: transform 1s, -moz-transform 1s; - transition: transform 1s; - transition: transform 1s, -webkit-transform 1s, -moz-transform 1s; - -webkit-transform: rotate(360deg); - -moz-transform: rotate(360deg); - -ms-transform: rotate(360deg); - transform: rotate(360deg); -} - -.rating.theme-rolling-stars.value-4 .star-container .star:nth-child(-n+4) { - -webkit-transition: -webkit-transform 1s; - transition: -webkit-transform 1s; - -moz-transition: transform 1s, -moz-transform 1s; - transition: transform 1s; - transition: transform 1s, -webkit-transform 1s, -moz-transform 1s; - -webkit-transform: rotate(360deg); - -moz-transform: rotate(360deg); - -ms-transform: rotate(360deg); - transform: rotate(360deg); -} - -.rating.theme-rolling-stars.value-5 .star-container .star:nth-child(-n+5) { - -webkit-transition: -webkit-transform 1s; - transition: -webkit-transform 1s; - -moz-transition: transform 1s, -moz-transform 1s; - transition: transform 1s; - transition: transform 1s, -webkit-transform 1s, -moz-transform 1s; - -webkit-transform: rotate(360deg); - -moz-transform: rotate(360deg); - -ms-transform: rotate(360deg); - transform: rotate(360deg); -} - -.rating.theme-rolling-stars.value-6 .star-container .star:nth-child(-n+6) { - -webkit-transition: -webkit-transform 1s; - transition: -webkit-transform 1s; - -moz-transition: transform 1s, -moz-transform 1s; - transition: transform 1s; - transition: transform 1s, -webkit-transform 1s, -moz-transform 1s; - -webkit-transform: rotate(360deg); - -moz-transform: rotate(360deg); - -ms-transform: rotate(360deg); - transform: rotate(360deg); -} - -.rating.theme-rolling-stars.value-0.half .star:nth-child(1), .rating.value-0.half .rating.theme-rolling-stars.value-0.star:nth-child(1) .star:nth-child(1), .rating.value-1.half .star-container .rating.theme-rolling-stars.value-0.star:nth-child(2) .star:nth-child(1), .rating.value-2.half .star-container .rating.theme-rolling-stars.value-0.star:nth-child(3) .star:nth-child(1), .rating.value-3.half .star-container .rating.theme-rolling-stars.value-0.star:nth-child(4) .star:nth-child(1), .rating.value-4.half .star-container .rating.theme-rolling-stars.value-0.star:nth-child(5) .star:nth-child(1), .rating.value-5.half .star-container .rating.theme-rolling-stars.value-0.star:nth-child(6) .star:nth-child(1) { - -webkit-transition: -webkit-transform 1s; - transition: -webkit-transform 1s; - -moz-transition: transform 1s, -moz-transform 1s; - transition: transform 1s; - transition: transform 1s, -webkit-transform 1s, -moz-transform 1s; - -webkit-transform: rotate(360deg); - -moz-transform: rotate(360deg); - -ms-transform: rotate(360deg); - transform: rotate(360deg); -} - -.rating.theme-rolling-stars.value-1.half .star-container .star:nth-child(2), .rating.value-0.half .rating.theme-rolling-stars.value-1.star:nth-child(1) .star-container .star:nth-child(2), .rating.value-1.half .star-container .rating.theme-rolling-stars.value-1.star:nth-child(2) .star-container .star:nth-child(2), .rating.value-2.half .star-container .rating.theme-rolling-stars.value-1.star:nth-child(3) .star-container .star:nth-child(2), .rating.value-3.half .star-container .rating.theme-rolling-stars.value-1.star:nth-child(4) .star-container .star:nth-child(2), .rating.value-4.half .star-container .rating.theme-rolling-stars.value-1.star:nth-child(5) .star-container .star:nth-child(2), .rating.value-5.half .star-container .rating.theme-rolling-stars.value-1.star:nth-child(6) .star-container .star:nth-child(2) { - -webkit-transition: -webkit-transform 1s; - transition: -webkit-transform 1s; - -moz-transition: transform 1s, -moz-transform 1s; - transition: transform 1s; - transition: transform 1s, -webkit-transform 1s, -moz-transform 1s; - -webkit-transform: rotate(360deg); - -moz-transform: rotate(360deg); - -ms-transform: rotate(360deg); - transform: rotate(360deg); -} - -.rating.theme-rolling-stars.value-2.half .star-container .star:nth-child(3), .rating.value-0.half .rating.theme-rolling-stars.value-2.star:nth-child(1) .star-container .star:nth-child(3), .rating.value-1.half .star-container .rating.theme-rolling-stars.value-2.star:nth-child(2) .star-container .star:nth-child(3), .rating.value-2.half .star-container .rating.theme-rolling-stars.value-2.star:nth-child(3) .star-container .star:nth-child(3), .rating.value-3.half .star-container .rating.theme-rolling-stars.value-2.star:nth-child(4) .star-container .star:nth-child(3), .rating.value-4.half .star-container .rating.theme-rolling-stars.value-2.star:nth-child(5) .star-container .star:nth-child(3), .rating.value-5.half .star-container .rating.theme-rolling-stars.value-2.star:nth-child(6) .star-container .star:nth-child(3) { - -webkit-transition: -webkit-transform 1s; - transition: -webkit-transform 1s; - -moz-transition: transform 1s, -moz-transform 1s; - transition: transform 1s; - transition: transform 1s, -webkit-transform 1s, -moz-transform 1s; - -webkit-transform: rotate(360deg); - -moz-transform: rotate(360deg); - -ms-transform: rotate(360deg); - transform: rotate(360deg); -} - -.rating.theme-rolling-stars.value-3.half .star-container .star:nth-child(4), .rating.value-0.half .rating.theme-rolling-stars.value-3.star:nth-child(1) .star-container .star:nth-child(4), .rating.value-1.half .star-container .rating.theme-rolling-stars.value-3.star:nth-child(2) .star-container .star:nth-child(4), .rating.value-2.half .star-container .rating.theme-rolling-stars.value-3.star:nth-child(3) .star-container .star:nth-child(4), .rating.value-3.half .star-container .rating.theme-rolling-stars.value-3.star:nth-child(4) .star-container .star:nth-child(4), .rating.value-4.half .star-container .rating.theme-rolling-stars.value-3.star:nth-child(5) .star-container .star:nth-child(4), .rating.value-5.half .star-container .rating.theme-rolling-stars.value-3.star:nth-child(6) .star-container .star:nth-child(4) { - -webkit-transition: -webkit-transform 1s; - transition: -webkit-transform 1s; - -moz-transition: transform 1s, -moz-transform 1s; - transition: transform 1s; - transition: transform 1s, -webkit-transform 1s, -moz-transform 1s; - -webkit-transform: rotate(360deg); - -moz-transform: rotate(360deg); - -ms-transform: rotate(360deg); - transform: rotate(360deg); -} - -.rating.theme-rolling-stars.value-4.half .star-container .star:nth-child(5), .rating.value-0.half .rating.theme-rolling-stars.value-4.star:nth-child(1) .star-container .star:nth-child(5), .rating.value-1.half .star-container .rating.theme-rolling-stars.value-4.star:nth-child(2) .star-container .star:nth-child(5), .rating.value-2.half .star-container .rating.theme-rolling-stars.value-4.star:nth-child(3) .star-container .star:nth-child(5), .rating.value-3.half .star-container .rating.theme-rolling-stars.value-4.star:nth-child(4) .star-container .star:nth-child(5), .rating.value-4.half .star-container .rating.theme-rolling-stars.value-4.star:nth-child(5) .star-container .star:nth-child(5), .rating.value-5.half .star-container .rating.theme-rolling-stars.value-4.star:nth-child(6) .star-container .star:nth-child(5) { - -webkit-transition: -webkit-transform 1s; - transition: -webkit-transform 1s; - -moz-transition: transform 1s, -moz-transform 1s; - transition: transform 1s; - transition: transform 1s, -webkit-transform 1s, -moz-transform 1s; - -webkit-transform: rotate(360deg); - -moz-transform: rotate(360deg); - -ms-transform: rotate(360deg); - transform: rotate(360deg); -} - -.rating.theme-rolling-stars.value-5.half .star-container .star:nth-child(6), .rating.value-0.half .rating.theme-rolling-stars.value-5.star:nth-child(1) .star-container .star:nth-child(6), .rating.value-1.half .star-container .rating.theme-rolling-stars.value-5.star:nth-child(2) .star-container .star:nth-child(6), .rating.value-2.half .star-container .rating.theme-rolling-stars.value-5.star:nth-child(3) .star-container .star:nth-child(6), .rating.value-3.half .star-container .rating.theme-rolling-stars.value-5.star:nth-child(4) .star-container .star:nth-child(6), .rating.value-4.half .star-container .rating.theme-rolling-stars.value-5.star:nth-child(5) .star-container .star:nth-child(6), .rating.value-5.half .star-container .rating.theme-rolling-stars.value-5.star:nth-child(6) .star-container .star:nth-child(6) { - -webkit-transition: -webkit-transform 1s; - transition: -webkit-transform 1s; - -moz-transition: transform 1s, -moz-transform 1s; - transition: transform 1s; - transition: transform 1s, -webkit-transform 1s, -moz-transform 1s; - -webkit-transform: rotate(360deg); - -moz-transform: rotate(360deg); - -ms-transform: rotate(360deg); - transform: rotate(360deg); -} diff --git a/dist/css/star-rating.min.css b/dist/css/star-rating.min.css deleted file mode 100644 index 5aa4968..0000000 --- a/dist/css/star-rating.min.css +++ /dev/null @@ -1 +0,0 @@ -@charset "UTF-8";.center-all,.star{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.star{position:relative;width:20px;height:20px}.star i,.star svg{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;position:absolute;top:0;left:0;width:100%;height:100%;font-style:normal}.star i.star-filled,.star i.star-half,.star svg.star-filled,.star svg.star-half{opacity:0}.star i{top:1px;display:none}.star.icon i,.star.rating.star-icon i{font-size:25px;line-height:25px}.star.icon i.star-empty:before,.star.rating.star-icon i.star-empty:before{content:"☆"}.star.icon i.star-filled:before,.star.icon i.star-half:before,.star.rating.star-icon i.star-filled:before,.star.rating.star-icon i.star-half:before{content:"★"}.rating.theme-kununu .star-container .star i,.star.custom-icon i,.star.rating.star-custom-icon i{font-size:18px;line-height:18px}.star.empty i.star-filled,.star.empty i.star-half,.star.empty svg.star-filled,.star.empty svg.star-half{opacity:0}.star.empty i.star-empty,.star.empty svg.star-empty{opacity:1}.rating.value-0.half .star:first-child i.star-empty,.rating.value-0.half .star:first-child i.star-filled,.rating.value-0.half .star:first-child svg.star-empty,.rating.value-0.half .star:first-child svg.star-filled,.rating.value-1.half .star-container .star:nth-child(2) i.star-empty,.rating.value-1.half .star-container .star:nth-child(2) i.star-filled,.rating.value-1.half .star-container .star:nth-child(2) svg.star-empty,.rating.value-1.half .star-container .star:nth-child(2) svg.star-filled,.rating.value-2.half .star-container .star:nth-child(3) i.star-empty,.rating.value-2.half .star-container .star:nth-child(3) i.star-filled,.rating.value-2.half .star-container .star:nth-child(3) svg.star-empty,.rating.value-2.half .star-container .star:nth-child(3) svg.star-filled,.rating.value-3.half .star-container .star:nth-child(4) i.star-empty,.rating.value-3.half .star-container .star:nth-child(4) i.star-filled,.rating.value-3.half .star-container .star:nth-child(4) svg.star-empty,.rating.value-3.half .star-container .star:nth-child(4) svg.star-filled,.rating.value-4.half .star-container .star:nth-child(5) i.star-empty,.rating.value-4.half .star-container .star:nth-child(5) i.star-filled,.rating.value-4.half .star-container .star:nth-child(5) svg.star-empty,.rating.value-4.half .star-container .star:nth-child(5) svg.star-filled,.rating.value-5.half .star-container .star:nth-child(6) i.star-empty,.rating.value-5.half .star-container .star:nth-child(6) i.star-filled,.rating.value-5.half .star-container .star:nth-child(6) svg.star-empty,.rating.value-5.half .star-container .star:nth-child(6) svg.star-filled,.star.half i.star-empty,.star.half i.star-filled,.star.half svg.star-empty,.star.half svg.star-filled{opacity:0}.rating.value-0.half .star:first-child i.star-half,.rating.value-0.half .star:first-child svg.star-half,.rating.value-1.half .star-container .star:nth-child(2) i.star-half,.rating.value-1.half .star-container .star:nth-child(2) svg.star-half,.rating.value-2.half .star-container .star:nth-child(3) i.star-half,.rating.value-2.half .star-container .star:nth-child(3) svg.star-half,.rating.value-3.half .star-container .star:nth-child(4) i.star-half,.rating.value-3.half .star-container .star:nth-child(4) svg.star-half,.rating.value-4.half .star-container .star:nth-child(5) i.star-half,.rating.value-4.half .star-container .star:nth-child(5) svg.star-half,.rating.value-5.half .star-container .star:nth-child(6) i.star-half,.rating.value-5.half .star-container .star:nth-child(6) svg.star-half,.star.half i.star-half,.star.half svg.star-half{opacity:1}.rating.value-1 .star-container .star:nth-child(-n+1) i.star-empty,.rating.value-1 .star-container .star:nth-child(-n+1) i.star-filled,.rating.value-1 .star-container .star:nth-child(-n+1) svg.star-empty,.rating.value-1 .star-container .star:nth-child(-n+1) svg.star-filled,.rating.value-2 .star-container .star:nth-child(-n+2) i.star-empty,.rating.value-2 .star-container .star:nth-child(-n+2) i.star-filled,.rating.value-2 .star-container .star:nth-child(-n+2) svg.star-empty,.rating.value-2 .star-container .star:nth-child(-n+2) svg.star-filled,.rating.value-3 .star-container .star:nth-child(-n+3) i.star-empty,.rating.value-3 .star-container .star:nth-child(-n+3) i.star-filled,.rating.value-3 .star-container .star:nth-child(-n+3) svg.star-empty,.rating.value-3 .star-container .star:nth-child(-n+3) svg.star-filled,.rating.value-4 .star-container .star:nth-child(-n+4) i.star-empty,.rating.value-4 .star-container .star:nth-child(-n+4) i.star-filled,.rating.value-4 .star-container .star:nth-child(-n+4) svg.star-empty,.rating.value-4 .star-container .star:nth-child(-n+4) svg.star-filled,.rating.value-5 .star-container .star:nth-child(-n+5) i.star-empty,.rating.value-5 .star-container .star:nth-child(-n+5) i.star-filled,.rating.value-5 .star-container .star:nth-child(-n+5) svg.star-empty,.rating.value-5 .star-container .star:nth-child(-n+5) svg.star-filled,.rating.value-6 .star-container .star:nth-child(-n+6) i.star-empty,.rating.value-6 .star-container .star:nth-child(-n+6) i.star-filled,.rating.value-6 .star-container .star:nth-child(-n+6) svg.star-empty,.rating.value-6 .star-container .star:nth-child(-n+6) svg.star-filled,.rating.value-7 .star-container .star:nth-child(-n+7) i.star-empty,.rating.value-7 .star-container .star:nth-child(-n+7) i.star-filled,.rating.value-7 .star-container .star:nth-child(-n+7) svg.star-empty,.rating.value-7 .star-container .star:nth-child(-n+7) svg.star-filled,.rating.value-8 .star-container .star:nth-child(-n+8) i.star-empty,.rating.value-8 .star-container .star:nth-child(-n+8) i.star-filled,.rating.value-8 .star-container .star:nth-child(-n+8) svg.star-empty,.rating.value-8 .star-container .star:nth-child(-n+8) svg.star-filled,.rating.value-9 .star-container .star:nth-child(-n+9) i.star-empty,.rating.value-9 .star-container .star:nth-child(-n+9) i.star-filled,.rating.value-9 .star-container .star:nth-child(-n+9) svg.star-empty,.rating.value-9 .star-container .star:nth-child(-n+9) svg.star-filled,.rating.value-10 .star-container .star:nth-child(-n+10) i.star-empty,.rating.value-10 .star-container .star:nth-child(-n+10) i.star-filled,.rating.value-10 .star-container .star:nth-child(-n+10) svg.star-empty,.rating.value-10 .star-container .star:nth-child(-n+10) svg.star-filled,.rating.value-11 .star-container .star:nth-child(-n+11) i.star-empty,.rating.value-11 .star-container .star:nth-child(-n+11) i.star-filled,.rating.value-11 .star-container .star:nth-child(-n+11) svg.star-empty,.rating.value-11 .star-container .star:nth-child(-n+11) svg.star-filled,.rating.value-12 .star-container .star:nth-child(-n+12) i.star-empty,.rating.value-12 .star-container .star:nth-child(-n+12) i.star-filled,.rating.value-12 .star-container .star:nth-child(-n+12) svg.star-empty,.rating.value-12 .star-container .star:nth-child(-n+12) svg.star-filled,.star.filled i.star-empty,.star.filled i.star-filled,.star.filled svg.star-empty,.star.filled svg.star-filled{opacity:0}.rating.value-1 .star-container .star:nth-child(-n+1) i.star-filled,.rating.value-1 .star-container .star:nth-child(-n+1) svg.star-filled,.rating.value-2 .star-container .star:nth-child(-n+2) i.star-filled,.rating.value-2 .star-container .star:nth-child(-n+2) svg.star-filled,.rating.value-3 .star-container .star:nth-child(-n+3) i.star-filled,.rating.value-3 .star-container .star:nth-child(-n+3) svg.star-filled,.rating.value-4 .star-container .star:nth-child(-n+4) i.star-filled,.rating.value-4 .star-container .star:nth-child(-n+4) svg.star-filled,.rating.value-5 .star-container .star:nth-child(-n+5) i.star-filled,.rating.value-5 .star-container .star:nth-child(-n+5) svg.star-filled,.rating.value-6 .star-container .star:nth-child(-n+6) i.star-filled,.rating.value-6 .star-container .star:nth-child(-n+6) svg.star-filled,.rating.value-7 .star-container .star:nth-child(-n+7) i.star-filled,.rating.value-7 .star-container .star:nth-child(-n+7) svg.star-filled,.rating.value-8 .star-container .star:nth-child(-n+8) i.star-filled,.rating.value-8 .star-container .star:nth-child(-n+8) svg.star-filled,.rating.value-9 .star-container .star:nth-child(-n+9) i.star-filled,.rating.value-9 .star-container .star:nth-child(-n+9) svg.star-filled,.rating.value-10 .star-container .star:nth-child(-n+10) i.star-filled,.rating.value-10 .star-container .star:nth-child(-n+10) svg.star-filled,.rating.value-11 .star-container .star:nth-child(-n+11) i.star-filled,.rating.value-11 .star-container .star:nth-child(-n+11) svg.star-filled,.rating.value-12 .star-container .star:nth-child(-n+12) i.star-filled,.rating.value-12 .star-container .star:nth-child(-n+12) svg.star-filled,.star.filled i.star-filled,.star.filled svg.star-filled{opacity:1}.star-container .star svg,.star.default svg{fill:#999}.star-container .star i,.star.default i{color:#999}.rating.value-0.half .star svg,.rating.value-1.half .star-container .rating.value-0.star:nth-child(2) .star svg,.rating.value-2.half .star-container .rating.value-0.star:nth-child(3) .star svg,.rating.value-3.half .star-container .rating.value-0.star:nth-child(4) .star svg,.rating.value-4.half .star-container .rating.value-0.star:nth-child(5) .star svg,.rating.value-5.half .star-container .rating.value-0.star:nth-child(6) .star svg,.star.negative svg{fill:#f03c56}.rating.value-0.half .star i,.rating.value-1.half .star-container .rating.value-0.star:nth-child(2) .star i,.rating.value-2.half .star-container .rating.value-0.star:nth-child(3) .star i,.rating.value-3.half .star-container .rating.value-0.star:nth-child(4) .star i,.rating.value-4.half .star-container .rating.value-0.star:nth-child(5) .star i,.rating.value-5.half .star-container .rating.value-0.star:nth-child(6) .star i,.star.negative i{color:#f03c56}.star.ok svg{fill:#ffc058}.star.ok i{color:#ffc058}.rating.value-6 .star-container .star svg,.rating.value-7 .star-container .star svg,.rating.value-8 .star-container .star svg,.rating.value-9 .star-container .star svg,.rating.value-10 .star-container .star svg,.rating.value-11 .star-container .star svg,.rating.value-12 .star-container .star svg,.star.positive svg{fill:#7ed321}.rating.value-6 .star-container .star i,.rating.value-7 .star-container .star i,.rating.value-8 .star-container .star i,.rating.value-9 .star-container .star i,.rating.value-10 .star-container .star i,.rating.value-11 .star-container .star i,.rating.value-12 .star-container .star i,.star.positive i{color:#7ed321}.star.rating.star-svg i,.star.svg i{display:none}.star.rating.star-svg svg,.star.svg svg{display:-ms-flexbox;display:flex}.rating.theme-kununu .star-container .star svg,.star.custom-icon svg,.star.icon svg,.star.rating.star-custom-icon svg,.star.rating.star-icon svg{display:none}.rating.theme-kununu .star-container .star i,.star.custom-icon i,.star.icon i,.star.rating.star-custom-icon i,.star.rating.star-icon i{display:-ms-flexbox;display:flex}.rating.small .star,.star.small{width:10px;height:9,5px}.rating.small .star i,.star.small i{font-size:11px;line-height:10px}.rating.medium .star,.star.medium{width:20px;height:20px}.rating.medium .star i,.star.medium i{font-size:25px;line-height:25px}.rating.large .star,.star.large{width:35px;height:33.3px}.rating.large .star i,.star.large i{font-size:36px;line-height:35px}.rating.disabled .star-container .star,.rating.disabled .star.label-value,.star.disabled{opacity:.5}.rating.direction-rtl .star-container .star i.star-half,.rating.direction-rtl .star-container .star svg.star-half,.star-container.direction-rtl .star i.star-half,.star-container.direction-rtl .star svg.star-half,.star.direction-rtl i.star-half,.star.direction-rtl svg.star-half{transform:scaleX(-1)}.star-container.direction-ltr .star i.star-half,.star-container.direction-ltr .star svg.star-half,.star.direction-ltr i.star-half,.star.direction-ltr svg.star-half{transform:scale(1)}.label-value{font-size:18px;line-height:18px}.label-value.small,.rating.small .label-value{font-size:9.5px;line-height:9.5px}.label-value.medium,.rating.medium .label-value{font-size:18px;line-height:25px}.label-value.large,.rating.large .label-value{font-size:28px;line-height:35px}.label-value.disabled,.rating.disabled .label-value{opacity:.5}.star-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-pack:center;justify-content:center;margin-left:5px;margin-right:5px;transition:all .3s ease}.star-container+.star{margin-left:5px}.star-container .star,.star-container .star i,.star-container .star svg{transition:all .3s ease}.star-container svg{z-index:2}.star-container i{z-index:1}.rating.direction-rtl .star-container,.star-container.direction-rtl,.star-container.direction-rtl .star-container.star{direction:rtl}.star-container.direction-ltr,.star-container.direction-ltr .star-container.star{direction:ltr}.rating.space-no .star-container,.star-container.space-no{-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-pack:center;justify-content:center}.rating.space-between .star-container,.star-container.space-between{-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-pack:justify;justify-content:space-between}.rating.space-around .star-container,.star-container.space-around{-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-pack:distribute;justify-content:space-around}.rating{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;margin-bottom:5px}.rating.value-1 .star-container .star svg{fill:#f03c56}.rating.value-1 .star-container .star i{color:#f03c56}.rating.value-2 .star-container .star svg{fill:#f03c56}.rating.value-2 .star-container .star i{color:#f03c56}.rating.value-3 .star-container .star svg{fill:#ffc058}.rating.value-3 .star-container .star i{color:#ffc058}.rating.value-4 .star-container .star svg{fill:#7ed321}.rating.value-4 .star-container .star i{color:#7ed321}.rating.value-5 .star-container .star svg{fill:#7ed321}.rating.value-5 .star-container .star i{color:#7ed321}.rating.value-6 .star-container .star svg{fill:#7ed321}.rating.value-6 .star-container .star i{color:#7ed321}.rating.hover:hover.hover-1 .star-container .star.star-filled,.rating.hover:hover.hover-1 .star-container .star.star-half,.rating.hover:hover.value-1.half .star-container .star.star-filled,.rating.hover:hover.value-1.half .star-container .star.star-half,.rating.value-0.half .rating.hover.star:hover.value-1:first-child .star-container .star.star-filled,.rating.value-0.half .rating.hover.star:hover.value-1:first-child .star-container .star.star-half,.rating.value-1.half .star-container .rating.hover.star:hover.value-1:nth-child(2) .star-container .star.star-filled,.rating.value-1.half .star-container .rating.hover.star:hover.value-1:nth-child(2) .star-container .star.star-half,.rating.value-2.half .star-container .rating.hover.star:hover.value-1:nth-child(3) .star-container .star.star-filled,.rating.value-2.half .star-container .rating.hover.star:hover.value-1:nth-child(3) .star-container .star.star-half,.rating.value-3.half .star-container .rating.hover.star:hover.value-1:nth-child(4) .star-container .star.star-filled,.rating.value-3.half .star-container .rating.hover.star:hover.value-1:nth-child(4) .star-container .star.star-half,.rating.value-4.half .star-container .rating.hover.star:hover.value-1:nth-child(5) .star-container .star.star-filled,.rating.value-4.half .star-container .rating.hover.star:hover.value-1:nth-child(5) .star-container .star.star-half,.rating.value-5.half .star-container .rating.hover.star:hover.value-1:nth-child(6) .star-container .star.star-filled,.rating.value-5.half .star-container .rating.hover.star:hover.value-1:nth-child(6) .star-container .star.star-half{opacity:0}.rating.hover:hover.hover-1 .star-container .star.star-empty,.rating.hover:hover.value-1.half .star-container .star.star-empty,.rating.value-0.half .rating.hover.star:hover.value-1:first-child .star-container .star.star-empty,.rating.value-1.half .star-container .rating.hover.star:hover.value-1:nth-child(2) .star-container .star.star-empty,.rating.value-2.half .star-container .rating.hover.star:hover.value-1:nth-child(3) .star-container .star.star-empty,.rating.value-3.half .star-container .rating.hover.star:hover.value-1:nth-child(4) .star-container .star.star-empty,.rating.value-4.half .star-container .rating.hover.star:hover.value-1:nth-child(5) .star-container .star.star-empty,.rating.value-5.half .star-container .rating.hover.star:hover.value-1:nth-child(6) .star-container .star.star-empty{opacity:1}.rating.hover:hover.hover-1 .star-container .star:nth-child(-n+1) i.star-empty,.rating.hover:hover.hover-1 .star-container .star:nth-child(-n+1) i.star-filled,.rating.hover:hover.hover-1 .star-container .star:nth-child(-n+1) svg.star-empty,.rating.hover:hover.hover-1 .star-container .star:nth-child(-n+1) svg.star-filled{opacity:0}.rating.hover:hover.hover-1 .star-container .star:nth-child(-n+1) i.star-filled,.rating.hover:hover.hover-1 .star-container .star:nth-child(-n+1) svg.star-filled{opacity:1}.rating.hover:hover.hover-1 .star-container .star svg{fill:#f03c56}.rating.hover:hover.hover-1 .star-container .star i{color:#f03c56}.rating.hover:hover.hover-2 .star-container .star.star-filled,.rating.hover:hover.hover-2 .star-container .star.star-half,.rating.hover:hover.value-2.half .star-container .star.star-filled,.rating.hover:hover.value-2.half .star-container .star.star-half,.rating.value-0.half .rating.hover.star:hover.value-2:first-child .star-container .star.star-filled,.rating.value-0.half .rating.hover.star:hover.value-2:first-child .star-container .star.star-half,.rating.value-1.half .star-container .rating.hover.star:hover.value-2:nth-child(2) .star-container .star.star-filled,.rating.value-1.half .star-container .rating.hover.star:hover.value-2:nth-child(2) .star-container .star.star-half,.rating.value-2.half .star-container .rating.hover.star:hover.value-2:nth-child(3) .star-container .star.star-filled,.rating.value-2.half .star-container .rating.hover.star:hover.value-2:nth-child(3) .star-container .star.star-half,.rating.value-3.half .star-container .rating.hover.star:hover.value-2:nth-child(4) .star-container .star.star-filled,.rating.value-3.half .star-container .rating.hover.star:hover.value-2:nth-child(4) .star-container .star.star-half,.rating.value-4.half .star-container .rating.hover.star:hover.value-2:nth-child(5) .star-container .star.star-filled,.rating.value-4.half .star-container .rating.hover.star:hover.value-2:nth-child(5) .star-container .star.star-half,.rating.value-5.half .star-container .rating.hover.star:hover.value-2:nth-child(6) .star-container .star.star-filled,.rating.value-5.half .star-container .rating.hover.star:hover.value-2:nth-child(6) .star-container .star.star-half{opacity:0}.rating.hover:hover.hover-2 .star-container .star.star-empty,.rating.hover:hover.value-2.half .star-container .star.star-empty,.rating.value-0.half .rating.hover.star:hover.value-2:first-child .star-container .star.star-empty,.rating.value-1.half .star-container .rating.hover.star:hover.value-2:nth-child(2) .star-container .star.star-empty,.rating.value-2.half .star-container .rating.hover.star:hover.value-2:nth-child(3) .star-container .star.star-empty,.rating.value-3.half .star-container .rating.hover.star:hover.value-2:nth-child(4) .star-container .star.star-empty,.rating.value-4.half .star-container .rating.hover.star:hover.value-2:nth-child(5) .star-container .star.star-empty,.rating.value-5.half .star-container .rating.hover.star:hover.value-2:nth-child(6) .star-container .star.star-empty{opacity:1}.rating.hover:hover.hover-2 .star-container .star:nth-child(-n+2) i.star-empty,.rating.hover:hover.hover-2 .star-container .star:nth-child(-n+2) i.star-filled,.rating.hover:hover.hover-2 .star-container .star:nth-child(-n+2) svg.star-empty,.rating.hover:hover.hover-2 .star-container .star:nth-child(-n+2) svg.star-filled{opacity:0}.rating.hover:hover.hover-2 .star-container .star:nth-child(-n+2) i.star-filled,.rating.hover:hover.hover-2 .star-container .star:nth-child(-n+2) svg.star-filled{opacity:1}.rating.hover:hover.hover-2 .star-container .star svg{fill:#f03c56}.rating.hover:hover.hover-2 .star-container .star i{color:#f03c56}.rating.hover:hover.hover-3 .star-container .star.star-filled,.rating.hover:hover.hover-3 .star-container .star.star-half,.rating.hover:hover.value-3.half .star-container .star.star-filled,.rating.hover:hover.value-3.half .star-container .star.star-half,.rating.value-0.half .rating.hover.star:hover.value-3:first-child .star-container .star.star-filled,.rating.value-0.half .rating.hover.star:hover.value-3:first-child .star-container .star.star-half,.rating.value-1.half .star-container .rating.hover.star:hover.value-3:nth-child(2) .star-container .star.star-filled,.rating.value-1.half .star-container .rating.hover.star:hover.value-3:nth-child(2) .star-container .star.star-half,.rating.value-2.half .star-container .rating.hover.star:hover.value-3:nth-child(3) .star-container .star.star-filled,.rating.value-2.half .star-container .rating.hover.star:hover.value-3:nth-child(3) .star-container .star.star-half,.rating.value-3.half .star-container .rating.hover.star:hover.value-3:nth-child(4) .star-container .star.star-filled,.rating.value-3.half .star-container .rating.hover.star:hover.value-3:nth-child(4) .star-container .star.star-half,.rating.value-4.half .star-container .rating.hover.star:hover.value-3:nth-child(5) .star-container .star.star-filled,.rating.value-4.half .star-container .rating.hover.star:hover.value-3:nth-child(5) .star-container .star.star-half,.rating.value-5.half .star-container .rating.hover.star:hover.value-3:nth-child(6) .star-container .star.star-filled,.rating.value-5.half .star-container .rating.hover.star:hover.value-3:nth-child(6) .star-container .star.star-half{opacity:0}.rating.hover:hover.hover-3 .star-container .star.star-empty,.rating.hover:hover.value-3.half .star-container .star.star-empty,.rating.value-0.half .rating.hover.star:hover.value-3:first-child .star-container .star.star-empty,.rating.value-1.half .star-container .rating.hover.star:hover.value-3:nth-child(2) .star-container .star.star-empty,.rating.value-2.half .star-container .rating.hover.star:hover.value-3:nth-child(3) .star-container .star.star-empty,.rating.value-3.half .star-container .rating.hover.star:hover.value-3:nth-child(4) .star-container .star.star-empty,.rating.value-4.half .star-container .rating.hover.star:hover.value-3:nth-child(5) .star-container .star.star-empty,.rating.value-5.half .star-container .rating.hover.star:hover.value-3:nth-child(6) .star-container .star.star-empty{opacity:1}.rating.hover:hover.hover-3 .star-container .star:nth-child(-n+3) i.star-empty,.rating.hover:hover.hover-3 .star-container .star:nth-child(-n+3) i.star-filled,.rating.hover:hover.hover-3 .star-container .star:nth-child(-n+3) svg.star-empty,.rating.hover:hover.hover-3 .star-container .star:nth-child(-n+3) svg.star-filled{opacity:0}.rating.hover:hover.hover-3 .star-container .star:nth-child(-n+3) i.star-filled,.rating.hover:hover.hover-3 .star-container .star:nth-child(-n+3) svg.star-filled{opacity:1}.rating.hover:hover.hover-3 .star-container .star svg{fill:#ffc058}.rating.hover:hover.hover-3 .star-container .star i{color:#ffc058}.rating.hover:hover.hover-4 .star-container .star.star-filled,.rating.hover:hover.hover-4 .star-container .star.star-half,.rating.hover:hover.value-4.half .star-container .star.star-filled,.rating.hover:hover.value-4.half .star-container .star.star-half,.rating.value-0.half .rating.hover.star:hover.value-4:first-child .star-container .star.star-filled,.rating.value-0.half .rating.hover.star:hover.value-4:first-child .star-container .star.star-half,.rating.value-1.half .star-container .rating.hover.star:hover.value-4:nth-child(2) .star-container .star.star-filled,.rating.value-1.half .star-container .rating.hover.star:hover.value-4:nth-child(2) .star-container .star.star-half,.rating.value-2.half .star-container .rating.hover.star:hover.value-4:nth-child(3) .star-container .star.star-filled,.rating.value-2.half .star-container .rating.hover.star:hover.value-4:nth-child(3) .star-container .star.star-half,.rating.value-3.half .star-container .rating.hover.star:hover.value-4:nth-child(4) .star-container .star.star-filled,.rating.value-3.half .star-container .rating.hover.star:hover.value-4:nth-child(4) .star-container .star.star-half,.rating.value-4.half .star-container .rating.hover.star:hover.value-4:nth-child(5) .star-container .star.star-filled,.rating.value-4.half .star-container .rating.hover.star:hover.value-4:nth-child(5) .star-container .star.star-half,.rating.value-5.half .star-container .rating.hover.star:hover.value-4:nth-child(6) .star-container .star.star-filled,.rating.value-5.half .star-container .rating.hover.star:hover.value-4:nth-child(6) .star-container .star.star-half{opacity:0}.rating.hover:hover.hover-4 .star-container .star.star-empty,.rating.hover:hover.value-4.half .star-container .star.star-empty,.rating.value-0.half .rating.hover.star:hover.value-4:first-child .star-container .star.star-empty,.rating.value-1.half .star-container .rating.hover.star:hover.value-4:nth-child(2) .star-container .star.star-empty,.rating.value-2.half .star-container .rating.hover.star:hover.value-4:nth-child(3) .star-container .star.star-empty,.rating.value-3.half .star-container .rating.hover.star:hover.value-4:nth-child(4) .star-container .star.star-empty,.rating.value-4.half .star-container .rating.hover.star:hover.value-4:nth-child(5) .star-container .star.star-empty,.rating.value-5.half .star-container .rating.hover.star:hover.value-4:nth-child(6) .star-container .star.star-empty{opacity:1}.rating.hover:hover.hover-4 .star-container .star:nth-child(-n+4) i.star-empty,.rating.hover:hover.hover-4 .star-container .star:nth-child(-n+4) i.star-filled,.rating.hover:hover.hover-4 .star-container .star:nth-child(-n+4) svg.star-empty,.rating.hover:hover.hover-4 .star-container .star:nth-child(-n+4) svg.star-filled{opacity:0}.rating.hover:hover.hover-4 .star-container .star:nth-child(-n+4) i.star-filled,.rating.hover:hover.hover-4 .star-container .star:nth-child(-n+4) svg.star-filled{opacity:1}.rating.hover:hover.hover-4 .star-container .star svg{fill:#7ed321}.rating.hover:hover.hover-4 .star-container .star i{color:#7ed321}.rating.hover:hover.hover-5 .star-container .star.star-filled,.rating.hover:hover.hover-5 .star-container .star.star-half,.rating.hover:hover.value-5.half .star-container .star.star-filled,.rating.hover:hover.value-5.half .star-container .star.star-half,.rating.value-0.half .rating.hover.star:hover.value-5:first-child .star-container .star.star-filled,.rating.value-0.half .rating.hover.star:hover.value-5:first-child .star-container .star.star-half,.rating.value-1.half .star-container .rating.hover.star:hover.value-5:nth-child(2) .star-container .star.star-filled,.rating.value-1.half .star-container .rating.hover.star:hover.value-5:nth-child(2) .star-container .star.star-half,.rating.value-2.half .star-container .rating.hover.star:hover.value-5:nth-child(3) .star-container .star.star-filled,.rating.value-2.half .star-container .rating.hover.star:hover.value-5:nth-child(3) .star-container .star.star-half,.rating.value-3.half .star-container .rating.hover.star:hover.value-5:nth-child(4) .star-container .star.star-filled,.rating.value-3.half .star-container .rating.hover.star:hover.value-5:nth-child(4) .star-container .star.star-half,.rating.value-4.half .star-container .rating.hover.star:hover.value-5:nth-child(5) .star-container .star.star-filled,.rating.value-4.half .star-container .rating.hover.star:hover.value-5:nth-child(5) .star-container .star.star-half,.rating.value-5.half .star-container .rating.hover.star:hover.value-5:nth-child(6) .star-container .star.star-filled,.rating.value-5.half .star-container .rating.hover.star:hover.value-5:nth-child(6) .star-container .star.star-half{opacity:0}.rating.hover:hover.hover-5 .star-container .star.star-empty,.rating.hover:hover.value-5.half .star-container .star.star-empty,.rating.value-0.half .rating.hover.star:hover.value-5:first-child .star-container .star.star-empty,.rating.value-1.half .star-container .rating.hover.star:hover.value-5:nth-child(2) .star-container .star.star-empty,.rating.value-2.half .star-container .rating.hover.star:hover.value-5:nth-child(3) .star-container .star.star-empty,.rating.value-3.half .star-container .rating.hover.star:hover.value-5:nth-child(4) .star-container .star.star-empty,.rating.value-4.half .star-container .rating.hover.star:hover.value-5:nth-child(5) .star-container .star.star-empty,.rating.value-5.half .star-container .rating.hover.star:hover.value-5:nth-child(6) .star-container .star.star-empty{opacity:1}.rating.hover:hover.hover-5 .star-container .star:nth-child(-n+5) i.star-empty,.rating.hover:hover.hover-5 .star-container .star:nth-child(-n+5) i.star-filled,.rating.hover:hover.hover-5 .star-container .star:nth-child(-n+5) svg.star-empty,.rating.hover:hover.hover-5 .star-container .star:nth-child(-n+5) svg.star-filled{opacity:0}.rating.hover:hover.hover-5 .star-container .star:nth-child(-n+5) i.star-filled,.rating.hover:hover.hover-5 .star-container .star:nth-child(-n+5) svg.star-filled{opacity:1}.rating.hover:hover.hover-5 .star-container .star svg{fill:#7ed321}.rating.hover:hover.hover-5 .star-container .star i{color:#7ed321}.rating.hover:hover.hover-6 .star-container .star.star-filled,.rating.hover:hover.hover-6 .star-container .star.star-half,.rating.hover:hover.value-6.half .star-container .star.star-filled,.rating.hover:hover.value-6.half .star-container .star.star-half,.rating.value-0.half .rating.hover.star:hover.value-6:first-child .star-container .star.star-filled,.rating.value-0.half .rating.hover.star:hover.value-6:first-child .star-container .star.star-half,.rating.value-1.half .star-container .rating.hover.star:hover.value-6:nth-child(2) .star-container .star.star-filled,.rating.value-1.half .star-container .rating.hover.star:hover.value-6:nth-child(2) .star-container .star.star-half,.rating.value-2.half .star-container .rating.hover.star:hover.value-6:nth-child(3) .star-container .star.star-filled,.rating.value-2.half .star-container .rating.hover.star:hover.value-6:nth-child(3) .star-container .star.star-half,.rating.value-3.half .star-container .rating.hover.star:hover.value-6:nth-child(4) .star-container .star.star-filled,.rating.value-3.half .star-container .rating.hover.star:hover.value-6:nth-child(4) .star-container .star.star-half,.rating.value-4.half .star-container .rating.hover.star:hover.value-6:nth-child(5) .star-container .star.star-filled,.rating.value-4.half .star-container .rating.hover.star:hover.value-6:nth-child(5) .star-container .star.star-half,.rating.value-5.half .star-container .rating.hover.star:hover.value-6:nth-child(6) .star-container .star.star-filled,.rating.value-5.half .star-container .rating.hover.star:hover.value-6:nth-child(6) .star-container .star.star-half{opacity:0}.rating.hover:hover.hover-6 .star-container .star.star-empty,.rating.hover:hover.value-6.half .star-container .star.star-empty,.rating.value-0.half .rating.hover.star:hover.value-6:first-child .star-container .star.star-empty,.rating.value-1.half .star-container .rating.hover.star:hover.value-6:nth-child(2) .star-container .star.star-empty,.rating.value-2.half .star-container .rating.hover.star:hover.value-6:nth-child(3) .star-container .star.star-empty,.rating.value-3.half .star-container .rating.hover.star:hover.value-6:nth-child(4) .star-container .star.star-empty,.rating.value-4.half .star-container .rating.hover.star:hover.value-6:nth-child(5) .star-container .star.star-empty,.rating.value-5.half .star-container .rating.hover.star:hover.value-6:nth-child(6) .star-container .star.star-empty{opacity:1}.rating.hover:hover.hover-6 .star-container .star:nth-child(-n+6) i.star-empty,.rating.hover:hover.hover-6 .star-container .star:nth-child(-n+6) i.star-filled,.rating.hover:hover.hover-6 .star-container .star:nth-child(-n+6) svg.star-empty,.rating.hover:hover.hover-6 .star-container .star:nth-child(-n+6) svg.star-filled{opacity:0}.rating.hover:hover.hover-6 .star-container .star:nth-child(-n+6) i.star-filled,.rating.hover:hover.hover-6 .star-container .star:nth-child(-n+6) svg.star-filled{opacity:1}.rating.hover:hover.hover-6 .star-container .star svg{fill:#7ed321}.rating.hover:hover.hover-6 .star-container .star i{color:#7ed321}.rating.label-hidden .label-value{display:none}.rating.label-visible{display:-ms-flexbox;display:flex}.rating.label-top{-ms-flex-direction:column;flex-direction:column}.rating.label-top .label-value+.star-container{margin-left:0;margin-right:0;margin-top:5px}.rating.label-left .label-value{-ms-flex:0 0 auto;flex:0 0 auto}.rating.label-left .label-value+.star-container{margin-left:5px;margin-right:0}.rating.label-right{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.rating.label-right .label-value+.star-container{margin-left:0;margin-right:5px}.rating.label-bottom{-ms-flex-direction:column-reverse;flex-direction:column-reverse}.rating.label-bottom .label-value+.star-container{margin-left:0;margin-right:0;margin-bottom:5px}.rating.direction-rtl,.rating.direction-rtl .star-container .rating.star,.star-container.direction-rtl .rating.star{direction:rtl}.rating.direction-ltr,.star-container.direction-ltr .rating.star{direction:ltr}.rating.color-default .star-container .star svg{fill:#999!important}.rating.color-default .star-container .star i{color:#999!important}.rating.color-ok .star-container .star svg{fill:#ffc058!important}.rating.color-ok .star-container .star i{color:#ffc058!important}.rating.color-positive .star-container .star svg{fill:#7ed321!important}.rating.color-positive .star-container .star i{color:#7ed321!important}.rating.color-negative .star-container .star svg{fill:#f03c56!important}.rating.color-negative .star-container .star i{color:#f03c56!important}.rating.immediately .star-container{transition:all none}.rating.immediately .star-container .star,.rating.immediately .star-container .star i,.rating.immediately .star-container .star svg{transition:none}.rating.noticeable .star-container,.rating.noticeable .star-container .star,.rating.noticeable .star-container .star i,.rating.noticeable .star-container .star svg{transition:all .3s ease}.rating.slow .star-container,.rating.slow .star-container .star,.rating.slow .star-container .star i,.rating.slow .star-container .star svg{transition:all .8s ease}.rating.theme-kununu{-ms-flex-direction:column;flex-direction:column;width:78px}.rating.theme-kununu .label-value,.rating.theme-kununu .star-container{width:100%}.rating.theme-kununu .label-value{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:6px 6px 0 0;height:50px;border:1px solid #e9ecec;border-bottom:0;font-size:18px;font-weight:700;color:#2f3940;letter-spacing:-1px;background-color:#f8f8f8}.rating.theme-kununu .star-container{border-radius:0 0 6px 6px;padding:2px 0 4px;margin-left:0;margin-right:0;-ms-flex-pack:center;justify-content:center;background-color:#99c613;border:1px solid #99c613;border-bottom:0}.rating.theme-kununu .star-container .star{height:11px;width:11px}.rating.theme-kununu .star-container .star i{font-size:11px;color:#fff;text-align:center}.rating.theme-google-places .label-value{color:#e7711b;font-family:arial,sans-serif;font-size:13px;line-height:15px}.rating.theme-google-places .star-container{width:65px;margin-left:2px}.rating.theme-google-places .star-container .star i{font-size:17px;color:#e7711b!important}.rating.theme-google-places .star-container .star i.star-empty{opacity:1!important;color:#e1e1e1!important}.rating.theme-google-places .star-container .star i.star-empty:before{content:"★"}.rating.theme-google-places .star-container .star i.star-half{width:7px;overflow:hidden}.rating.theme-google-places .star-container .star i.star-filled:before,.rating.theme-google-places .star-container .star i.star-half:before{content:"★"}.rating.theme-rolling-stars .star-container .star{transition:transform 1s;transform:rotate(0deg)}.rating.theme-rolling-stars.value-0.half .star:first-child,.rating.theme-rolling-stars.value-1 .star-container .star:nth-child(-n+1),.rating.theme-rolling-stars.value-1.half .star-container .star:nth-child(2),.rating.theme-rolling-stars.value-2 .star-container .star:nth-child(-n+2),.rating.theme-rolling-stars.value-2.half .star-container .star:nth-child(3),.rating.theme-rolling-stars.value-3 .star-container .star:nth-child(-n+3),.rating.theme-rolling-stars.value-3.half .star-container .star:nth-child(4),.rating.theme-rolling-stars.value-4 .star-container .star:nth-child(-n+4),.rating.theme-rolling-stars.value-4.half .star-container .star:nth-child(5),.rating.theme-rolling-stars.value-5 .star-container .star:nth-child(-n+5),.rating.theme-rolling-stars.value-5.half .star-container .star:nth-child(6),.rating.theme-rolling-stars.value-6 .star-container .star:nth-child(-n+6),.rating.value-0.half .rating.theme-rolling-stars.value-0.star:first-child .star:nth-child(1),.rating.value-0.half .rating.theme-rolling-stars.value-1.star:first-child .star-container .star:nth-child(2),.rating.value-0.half .rating.theme-rolling-stars.value-2.star:first-child .star-container .star:nth-child(3),.rating.value-0.half .rating.theme-rolling-stars.value-3.star:first-child .star-container .star:nth-child(4),.rating.value-0.half .rating.theme-rolling-stars.value-4.star:first-child .star-container .star:nth-child(5),.rating.value-0.half .rating.theme-rolling-stars.value-5.star:first-child .star-container .star:nth-child(6),.rating.value-1.half .star-container .rating.theme-rolling-stars.value-0.star:nth-child(2) .star:first-child,.rating.value-1.half .star-container .rating.theme-rolling-stars.value-1.star:nth-child(2) .star-container .star:nth-child(2),.rating.value-1.half .star-container .rating.theme-rolling-stars.value-2.star:nth-child(2) .star-container .star:nth-child(3),.rating.value-1.half .star-container .rating.theme-rolling-stars.value-3.star:nth-child(2) .star-container .star:nth-child(4),.rating.value-1.half .star-container .rating.theme-rolling-stars.value-4.star:nth-child(2) .star-container .star:nth-child(5),.rating.value-1.half .star-container .rating.theme-rolling-stars.value-5.star:nth-child(2) .star-container .star:nth-child(6),.rating.value-2.half .star-container .rating.theme-rolling-stars.value-0.star:nth-child(3) .star:first-child,.rating.value-2.half .star-container .rating.theme-rolling-stars.value-1.star:nth-child(3) .star-container .star:nth-child(2),.rating.value-2.half .star-container .rating.theme-rolling-stars.value-2.star:nth-child(3) .star-container .star:nth-child(3),.rating.value-2.half .star-container .rating.theme-rolling-stars.value-3.star:nth-child(3) .star-container .star:nth-child(4),.rating.value-2.half .star-container .rating.theme-rolling-stars.value-4.star:nth-child(3) .star-container .star:nth-child(5),.rating.value-2.half .star-container .rating.theme-rolling-stars.value-5.star:nth-child(3) .star-container .star:nth-child(6),.rating.value-3.half .star-container .rating.theme-rolling-stars.value-0.star:nth-child(4) .star:first-child,.rating.value-3.half .star-container .rating.theme-rolling-stars.value-1.star:nth-child(4) .star-container .star:nth-child(2),.rating.value-3.half .star-container .rating.theme-rolling-stars.value-2.star:nth-child(4) .star-container .star:nth-child(3),.rating.value-3.half .star-container .rating.theme-rolling-stars.value-3.star:nth-child(4) .star-container .star:nth-child(4),.rating.value-3.half .star-container .rating.theme-rolling-stars.value-4.star:nth-child(4) .star-container .star:nth-child(5),.rating.value-3.half .star-container .rating.theme-rolling-stars.value-5.star:nth-child(4) .star-container .star:nth-child(6),.rating.value-4.half .star-container .rating.theme-rolling-stars.value-0.star:nth-child(5) .star:first-child,.rating.value-4.half .star-container .rating.theme-rolling-stars.value-1.star:nth-child(5) .star-container .star:nth-child(2),.rating.value-4.half .star-container .rating.theme-rolling-stars.value-2.star:nth-child(5) .star-container .star:nth-child(3),.rating.value-4.half .star-container .rating.theme-rolling-stars.value-3.star:nth-child(5) .star-container .star:nth-child(4),.rating.value-4.half .star-container .rating.theme-rolling-stars.value-4.star:nth-child(5) .star-container .star:nth-child(5),.rating.value-4.half .star-container .rating.theme-rolling-stars.value-5.star:nth-child(5) .star-container .star:nth-child(6),.rating.value-5.half .star-container .rating.theme-rolling-stars.value-0.star:nth-child(6) .star:first-child,.rating.value-5.half .star-container .rating.theme-rolling-stars.value-1.star:nth-child(6) .star-container .star:nth-child(2),.rating.value-5.half .star-container .rating.theme-rolling-stars.value-2.star:nth-child(6) .star-container .star:nth-child(3),.rating.value-5.half .star-container .rating.theme-rolling-stars.value-3.star:nth-child(6) .star-container .star:nth-child(4),.rating.value-5.half .star-container .rating.theme-rolling-stars.value-4.star:nth-child(6) .star-container .star:nth-child(5),.rating.value-5.half .star-container .rating.theme-rolling-stars.value-5.star:nth-child(6) .star-container .star:nth-child(6){transition:transform 1s;transform:rotate(1turn)} \ No newline at end of file diff --git a/dist/images/star-rating.icons.svg b/dist/images/star-rating.icons.svg deleted file mode 100644 index a64e7c2..0000000 --- a/dist/images/star-rating.icons.svg +++ /dev/null @@ -1,24 +0,0 @@ - diff --git a/dist/kss-documentation/elements.kss.scss b/dist/kss-documentation/elements.kss.scss deleted file mode 100644 index c7ea868..0000000 --- a/dist/kss-documentation/elements.kss.scss +++ /dev/null @@ -1,436 +0,0 @@ -/* -Elements - -The elements a css star rating component consists of. -Her you can see the html structure and the combination of elements. -The star rating component consists of: -- A star element - to display the star state -- A star-container element - to handle multiple stars as a rating -- A label element - to display the additional test next to the rating - -markup: -Star: -