.wpdesk-allegro-rating {
box-sizing: border-box;
display: flex;
flex-flow: column nowrap;
background: white;
position: fixed;
top: 0;
right: -410px;
width: 100%;
max-width: 400px;
height: 100vh;
z-index: 9999;
box-shadow: 0 4px 9px rgba(0, 0, 0, 0.5);
color: #222222;
font-size: 16px;
line-height: 1.5;
transition: transform 0.2s ease-in-out;
}
.wpdesk-allegro-rating.is-open {
transform: translateX(-410px);
}
.wpdesk-allegro-rating .toggle {
display: block;
position: absolute;
left: -28px;
top: 50%;
cursor: pointer;
height: auto;
}
.wpdesk-allegro-rating .toggle__text {
padding: 15px 15px 25px;
background: #ff5a00;
display: block;
position: absolute;
top: 50%;
left: 50%;
transform: translateX(-50%) translateY(-50%) rotate(-90deg);
white-space: nowrap;
color: white;
font-size: 16px;
line-height: 16px;
text-transform: uppercase;
}
.wpdesk-allegro-rating .head {
box-sizing: border-box;
display: flex;
flex-flow: row nowrap;
padding: 20px;
}
.wpdesk-allegro-rating .head__title {
box-sizing: border-box;
flex-grow: 1;
margin-right: 20px;
font-weight: 500;
font-size: 25px;
line-height: 1.3;
}
.wpdesk-allegro-rating .head__button {
box-sizing: border-box;
align-self: flex-end;
margin-left: auto;
margin-bottom: auto;
padding: 5px;
background: transparent;
border: none;
box-shadow: none;
border-radius: 0;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.wpdesk-allegro-rating .head__button .close-symbol {
display: block;
width: 18px;
height: 18px;
opacity: 0.5;
transition: opacity 0.3s ease-in-out;
}
.wpdesk-allegro-rating .head__button:hover .close-symbol {
opacity: 1;
}
.wpdesk-allegro-rating .body {
flex-grow: 1;
overflow-y: auto;
box-sizing: border-box;
}
.wpdesk-allegro-rating .body .recommends {
box-sizing: border-box;
padding: 20px;
border-top: solid 1px rgba(255, 90, 0, 0.4);
}
.wpdesk-allegro-rating .body .recommends__summary {
display: flex;
flex-flow: row nowrap;
align-items: center;
justify-content: flex-start;
}
.wpdesk-allegro-rating .body .recommends__summary__percentage {
font-size: 50px;
font-weight: 500;
margin: 0 15px 0 0;
line-height: 1;
color: #ff5a00;
}
.wpdesk-allegro-rating .body .recommends__summary__desc {
margin: 0;
}
.wpdesk-allegro-rating .body .recommends__count {
display: flex;
flex-flow: row nowrap;
margin-top: 15px;
justify-content: space-around;
}
.wpdesk-allegro-rating .body .recommends__count a {
font-size: 21px;
}
.wpdesk-allegro-rating .body .recommends__count a:before {
content: "";
display: inline-block;
margin-right: 10px;
width: 26px;
height: 26px;
transform: translateY(6px);
background-size: contain;
}
.wpdesk-allegro-rating .body .recommends__count a.rocomend {
color: #1bb827;
}
.wpdesk-allegro-rating .body .recommends__count a.rocomend:before {
background-image: url(//inpresioa.pl/wp-content/plugins/allegro-ratings/assets/svg/thumb-up.svg);
}
.wpdesk-allegro-rating .body .recommends__count a.notreccomend {
color: #e0211b;
}
.wpdesk-allegro-rating .body .recommends__count a.notreccomend:before {
background-image: url(//inpresioa.pl/wp-content/plugins/allegro-ratings/assets/svg/thumb-down.svg);
}
.wpdesk-allegro-rating .body .ratings {
box-sizing: border-box;
display: flex;
flex-flow: column nowrap;
padding: 20px;
border-top: solid 1px rgba(255, 90, 0, 0.4);
}
.wpdesk-allegro-rating .body .ratings .rating {
display: inline-flex;
}
.wpdesk-allegro-rating .body .ratings .rating:not(:last-child) {
margin-bottom: 10px;
}
.wpdesk-allegro-rating .body .ratings .rating__value {
font-weight: 600;
position: relative;
padding-left: 30px;
white-space: nowrap;
}
.wpdesk-allegro-rating .body .ratings .rating__value:before {
content: "";
display: block;
width: 22px;
height: 22px;
position: absolute;
top: 0;
left: 0;
background-image: url(//inpresioa.pl/wp-content/plugins/allegro-ratings/assets/svg/star.svg);
background-repeat: no-repeat;
background-size: contain;
}
.wpdesk-allegro-rating .body .ratings .rating__value:after {
content: "/5";
color: #606060;
font-weight: normal;
}
.wpdesk-allegro-rating .body .ratings .rating__desc {
margin: 0 0 0 10px;
}
.wpdesk-allegro-rating .body .description,
.wpdesk-allegro-rating .body .norating {
padding: 20px;
border-top: solid 1px rgba(255, 90, 0, 0.4);
}
.wpdesk-allegro-rating .body .user-links,
.wpdesk-allegro-rating .body .user-details {
box-sizing: border-box;
display: flex;
flex-flow: column nowrap;
padding: 20px 20px 10px;
border-top: solid 1px rgba(255, 90, 0, 0.4);
}
.wpdesk-allegro-rating .body .user-links > *,
.wpdesk-allegro-rating .body .user-details > * {
display: inline-block;
margin-bottom: 10px;
}
.wpdesk-allegro-rating .body .user-links > a:hover,
.wpdesk-allegro-rating .body .user-details > a:hover {
transition: color 0.3s ease-in-out;
}
.wpdesk-allegro-rating .body .user-links > a:hover:hover,
.wpdesk-allegro-rating .body .user-details > a:hover:hover {
color: #ff5a00;
}