| 1 |
/* static stars */ |
| 2 |
// portal_rating |
| 3 |
$o-w-rating-star-color: #FACC2E; |
| 4 |
|
| 5 |
.o_website_rating_static { |
| 6 |
color: var(--WebsiteRating__star-color, #{$o-w-rating-star-color}); |
| 7 |
} |
| 8 |
|
| 9 |
// website_sale |
| 10 |
#product_details { |
| 11 |
--WebsiteRating__star-color: currentColor; |
| 12 |
} |
| 13 |
|
| 14 |
.o_website_rating_card_container { |
| 15 |
|
| 16 |
.o_message_counter { |
| 17 |
color: map-get($grays, '700'); |
| 18 |
} |
| 19 |
|
| 20 |
/* progress bars */ |
| 21 |
table.o_website_rating_table { |
| 22 |
width: 100%; |
| 23 |
overflow: visible; |
| 24 |
|
| 25 |
.o_website_rating_table_star_num { |
| 26 |
min-width: 50px; |
| 27 |
white-space: nowrap; |
| 28 |
} |
| 29 |
.o_website_rating_table_progress{ |
| 30 |
min-width: 120px; |
| 31 |
> .progress { |
| 32 |
margin-bottom: 2px; |
| 33 |
margin-left: 5px; |
| 34 |
margin-right: 5px; |
| 35 |
} |
| 36 |
.o_rating_progressbar{ |
| 37 |
background-color: $o-w-rating-star-color; |
| 38 |
} |
| 39 |
} |
| 40 |
.o_website_rating_table_percent { |
| 41 |
text-align: right; |
| 42 |
padding-left: 5px; |
| 43 |
@include font-size($font-size-sm); |
| 44 |
} |
| 45 |
.o_website_rating_table_reset { |
| 46 |
.o_website_rating_selection_reset { |
| 47 |
color: $red; |
| 48 |
} |
| 49 |
} |
| 50 |
.o_website_rating_table_row:not(.o_website_rating_table_row_selected) { |
| 51 |
cursor: pointer; |
| 52 |
} |
| 53 |
.o_website_rating_table_row td { |
| 54 |
padding-bottom: 0.4rem; |
| 55 |
} |
| 56 |
} |
| 57 |
} |
| 58 |
|
| 59 |
/* Star Widget */ |
| 60 |
.o-mail-Composer-starCard{ |
| 61 |
width: max-content; |
| 62 |
.o-mail-Composer-stars { |
| 63 |
display: inline-flex; |
| 64 |
color: #FACC2E; |
| 65 |
margin-right: 15px; |
| 66 |
} |
| 67 |
} |
| 68 |
|
| 69 |
/* Rating Popup Composer */ |
| 70 |
.o_rating_popup_composer { |
| 71 |
|
| 72 |
.o_rating_clickable { |
| 73 |
cursor: pointer; |
| 74 |
} |
| 75 |
|
| 76 |
.o_portal_chatter_avatar { |
| 77 |
margin-right: 10px; |
| 78 |
} |
| 79 |
} |