| 1 |
/** |
| 2 |
* Admin Preview |
| 3 |
* Advanced Reviews |
| 4 |
* |
| 5 |
*/ |
| 6 |
.merchant-module-page-preview-browser-inner { |
| 7 |
display: -webkit-box; |
| 8 |
display: -ms-flexbox; |
| 9 |
display: flex; |
| 10 |
-webkit-box-flex: 0; |
| 11 |
-ms-flex-positive: 0; |
| 12 |
flex-grow: 0; |
| 13 |
max-width: 600px; |
| 14 |
margin: auto; |
| 15 |
padding: 25px; |
| 16 |
} |
| 17 |
|
| 18 |
.merchant-adv-reviews .merchant-adv-reviews-title { |
| 19 |
margin-top: 25px; |
| 20 |
margin-bottom: 0 !important; |
| 21 |
} |
| 22 |
.merchant-adv-reviews .merchant-adv-reviews-desc { |
| 23 |
margin-bottom: 0 !important; |
| 24 |
} |
| 25 |
.merchant-adv-reviews .merchant-adv-reviews-header { |
| 26 |
margin-top: 20px !important; |
| 27 |
} |
| 28 |
.merchant-adv-reviews .merchant-adv-reviews-header .merchant-adv-reviews-total { |
| 29 |
margin-bottom: 15px !important; |
| 30 |
} |
| 31 |
.merchant-adv-reviews .merchant-adv-reviews-header .mrc-right-col { |
| 32 |
margin-left: 50px; |
| 33 |
} |
| 34 |
.merchant-adv-reviews .merchant-adv-review-write-button { |
| 35 |
margin-bottom: auto; |
| 36 |
} |
| 37 |
.merchant-adv-reviews .merchant-reviews-orderby { |
| 38 |
pointer-events: none; |
| 39 |
} |
| 40 |
.merchant-adv-reviews .merchant-adv-reviews-body { |
| 41 |
margin-bottom: 30px !important; |
| 42 |
} |
| 43 |
.merchant-adv-reviews .merchant-adv-reviews-footer { |
| 44 |
display: none; |
| 45 |
} |
| 46 |
.merchant-adv-reviews.hide-title .merchant-adv-reviews-title, |
| 47 |
.merchant-adv-reviews.hide-title .merchant-adv-reviews-desc { |
| 48 |
display: none; |
| 49 |
} |
| 50 |
|
| 51 |
.merchant-reviews-list-wrapper { |
| 52 |
margin-top: 25px; |
| 53 |
} |
| 54 |
.merchant-reviews-list-wrapper .merchant-reviews-list-item { |
| 55 |
padding: 15px 0; |
| 56 |
} |
| 57 |
.merchant-reviews-list-wrapper .merchant-reviews-list-item .merchant-review-date { |
| 58 |
top: 6px; |
| 59 |
position: relative; |
| 60 |
font-size: 0.8rem; |
| 61 |
} |
| 62 |
.merchant-reviews-list-wrapper .merchant-reviews-list-item .merchant-review-content { |
| 63 |
margin-top: 5px; |
| 64 |
} |
| 65 |
|
| 66 |
.merchant-star-rating-bars .merchant-star-rating-bar-item { |
| 67 |
max-width: 230px; |
| 68 |
} |
| 69 |
.merchant-star-rating-bars .merchant-star-rating-bar-item .item-bar { |
| 70 |
min-width: 130px; |
| 71 |
} |
| 72 |
|
| 73 |
@media (min-width: 1300px) { |
| 74 |
.merchant-star-rating-bars .merchant-star-rating-bar-item { |
| 75 |
max-width: 300px; |
| 76 |
} |
| 77 |
.merchant-star-rating-bars .merchant-star-rating-bar-item .item-bar { |
| 78 |
min-width: 200px; |
| 79 |
} |
| 80 |
} |
| 81 |
/** |
| 82 |
* Star rating |
| 83 |
*/ |
| 84 |
.star-rating { |
| 85 |
overflow: hidden; |
| 86 |
position: relative; |
| 87 |
height: 1.618em; |
| 88 |
line-height: 1.618; |
| 89 |
width: 5.3em; |
| 90 |
font-family: star; |
| 91 |
font-weight: 400; |
| 92 |
margin-left: auto; |
| 93 |
margin-right: auto; |
| 94 |
letter-spacing: 0; |
| 95 |
color: #FFA441; |
| 96 |
} |
| 97 |
.star-rating::before { |
| 98 |
content: "SSSSS"; |
| 99 |
opacity: 0.25; |
| 100 |
float: left; |
| 101 |
top: 0; |
| 102 |
left: 0; |
| 103 |
position: absolute; |
| 104 |
} |
| 105 |
.star-rating span { |
| 106 |
overflow: hidden; |
| 107 |
float: left; |
| 108 |
top: 0; |
| 109 |
left: 0; |
| 110 |
position: absolute; |
| 111 |
padding-top: 1.5em; |
| 112 |
} |
| 113 |
.star-rating span::before { |
| 114 |
content: "SSSSS"; |
| 115 |
top: 0; |
| 116 |
position: absolute; |
| 117 |
left: 0; |
| 118 |
color: #FFA441; |
| 119 |
} |
| 120 |
|
| 121 |
p.stars a { |
| 122 |
position: relative; |
| 123 |
height: 1em; |
| 124 |
width: 1em; |
| 125 |
text-indent: -999em; |
| 126 |
display: inline-block; |
| 127 |
text-decoration: none; |
| 128 |
margin-right: 1px; |
| 129 |
font-weight: 400; |
| 130 |
} |
| 131 |
p.stars a::before { |
| 132 |
display: block; |
| 133 |
position: absolute; |
| 134 |
top: 0; |
| 135 |
left: 0; |
| 136 |
width: 1em; |
| 137 |
height: 1em; |
| 138 |
line-height: 1; |
| 139 |
font-family: star; |
| 140 |
content: "S"; |
| 141 |
color: #212121; |
| 142 |
text-indent: 0; |
| 143 |
opacity: 0.25; |
| 144 |
} |
| 145 |
p.stars a:hover ~ a::before { |
| 146 |
content: "S"; |
| 147 |
color: #212121; |
| 148 |
opacity: 0.25; |
| 149 |
} |
| 150 |
p.stars:hover a::before { |
| 151 |
content: "S"; |
| 152 |
color: #FFA441; |
| 153 |
opacity: 1; |
| 154 |
} |
| 155 |
p.stars.selected a.active::before { |
| 156 |
content: "S"; |
| 157 |
color: #FFA441; |
| 158 |
opacity: 1; |
| 159 |
} |
| 160 |
p.stars.selected a.active ~ a::before { |
| 161 |
content: "S"; |
| 162 |
color: #212121; |
| 163 |
opacity: 0.25; |
| 164 |
} |
| 165 |
p.stars.selected a:not(.active)::before { |
| 166 |
content: "S"; |
| 167 |
color: #FFA441; |
| 168 |
opacity: 1; |
| 169 |
} |