forked from PrestaShop/productcomments
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathproductcomments.css
224 lines (197 loc) · 5.58 KB
/
productcomments.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
#product_comments_block_extra {
padding:10px 0 0 0;
border-top:1px solid #ccc;
font-weight: bold;
font-size:12px;
line-height:18px
}
#product_comments_block_extra a {
padding-left: 10px;
text-decoration: none;
background: url(img/bg_li.png) no-repeat scroll 1px 45% #fff;
}
#product_comments_block_extra a:hover {text-decoration: underline}
#product_comments_block_extra .comments_note {margin-bottom:5px}
#product_comments_block_extra .comments_note span,
#product_comments_block_extra .star_content {float:left}
#product_comments_block_extra .star_content {margin-top:2px}
#product_comments_block_extra div.star {background: url(img/star.gif) no-repeat scroll 0 0 transparent}
#product_comments_block_extra div.star_on {background: url(img/star.gif) no-repeat scroll 0 -12px transparent}
#product_comments_block_extra .comments_advices {clear:both;}
/* pop-in add grade/advice ********************************************************************* */
#fancybox-wrap { width:585px }
#fancybox-content {
width:585px;
border-width:0
}
#new_comment_form {
width:585px;
color: #333;
text-align: left;
background-color: #fff
}
#new_comment_form .title {
padding:10px;
font-size: 13px;
color: #fff;
text-transform: uppercase;
background: #333
}
#new_comment_form ul.grade_content {list-style-type:none}
#new_comment_form .grade_content li {width:50%}
#new_comment_form .product {padding:15px}
#new_comment_form .product img {
float:left;
border: 1px solid #ccc;
}
#new_comment_form .product .product_desc {
float:left;
margin-left:15px;
width:300px;
line-height:18px;
color:#666
}
#new_comment_form .product .product_desc .product_name {
padding-bottom:5px;
font-size:13px;
color:#000
}
#new_comment_form .grade_content {margin:0 0 20px 0}
#new_comment_form .grade_content span,
#new_comment_form .grade_content span {
display:inline-block;
padding:0 10px;
width:150px;/* 160 */
font-weight:bold
}
#new_comment_form .grade_content .cancel {margin-right:5px}
.new_comment_form_content {
padding:15px;
background:#f8f8f8
}
.new_comment_form_content .intro_form {
padding-bottom: 10px;
font-weight: bold;
font-size: 12px
}
#new_comment_form label {
display: block;
margin:12px 0 4px 0;
font-weight: bold;
font-size: 12px;
}
#new_comment_form input {
padding: 0 5px;
height: 28px;
width: 540px;
border: 1px solid #ccc;
background: #fff;
}
#new_comment_form textarea {
padding: 0 5px;
height: 80px;
width: 540px;
border: 1px solid #ccc;
background: #fff;
}
#new_comment_form .submit {
margin-top:20px;
padding:0;
font-size:13px;
text-align:right
}
#new_comment_form button {
cursor: pointer;
cursor: pointer;
display: inline-block;
padding: 4px 7px 3px 7px;
border: 1px solid #CC9900;
border-radius: 3px 3px 3px 3px;
font-weight: bold;
color: #000;
background: url(img/bg_bt.gif) repeat-x scroll 0 0 #F4B61B
}
#new_comment_form #criterions_list {
border-bottom: 1px solid #CCC;
padding-bottom: 15px;
list-style-type: none;
}
#new_comment_form #criterions_list li {
margin-bottom: 10px;
}
#new_comment_form #criterions_list label {
display: inline;
float: left;
margin: 0 0 0 60px;
}
#new_comment_form #criterions_list .star_content {
float: right;
margin-right: 180px;
}
#new_comment_form #new_comment_form_footer {
margin-top: 20px;
font-size: 12px;
}
/* TAB COMMENTS ******************************************************************************** */
#product_comments_block_tab {margin:0 0 20px 0}
#product_comments_block_tab div.comment {
margin:0 0 10px 0;
padding: 5px;
border-bottom: 1px dotted #ccc
}
#product_comments_block_tab div.comment div.comment_author {
float: left;
padding-right:25px;
width: 140px;/* 165 */
line-height:18px
}
#product_comments_block_tab div.comment div.comment_author span {font-weight:bold;}
#product_comments_block_tab div.comment div.comment_author span,
#product_comments_block_tab div.comment .star_content {
float:left;
}
#product_comments_block_tab div.comment .star_content {margin: 0 0 0 5px}
#product_comments_block_tab div.star,
#product_comments_block_tab div.star_on {
background: url(img/star.gif) no-repeat 0 0 transparent
}
#product_comments_block_tab div.star_on {background-position: 0 -12px}
#product_comments_block_tab .comment_author_infos {clear:both}
#product_comments_block_tab .comment_author_infos em {color:#999}
#product_comments_block_tab div.comment div.comment_details {
float: left;
overflow:hidden;
width: 360px
}
#product_comments_block_tab div.comment_details .title_block, #product_comments_block_tab div.comment_details h4 {padding-bottom:10px}
#product_comments_block_tab div.comment_details p {padding-bottom:10px}
#product_comments_block_tab div.comment_details ul {
list-style-type:none;
margin:0
}
#product_comments_block_tab div.comment_details li {
padding:2px 0 2px 12px;
background:url(img/bg_li.png) no-repeat 1px 45% #fff
}
#product_comments_block_tab a {
text-decoration: none;
font-weight: bold
}
#product_comments_block_tab a:hover {text-decoration: underline}
#product_comments_block_tab button.usefulness_btn {
cursor: pointer;
margin:0 0 0 5px;
display: inline-block;
padding: 0 2px;
border: 1px solid #CC9900;
border-radius: 3px 3px 3px 3px;
color: #000;
font-weight: bold;
background: url("img/bg_bt.gif") repeat-x scroll 0 0 #F4B61B
}
#product_comments_block_tab button.usefulness_btn:hover {background-position: left -50px}
#product_comments_block_tab button.usefulness_btn:active {background-position: left -100px}
#product_comments_block_tab span.report_btn {cursor: pointer}
#product_comments_block_tab span.report_btn:hover {text-decoration:underline}
.fl { float: left; }
.fr { float: right; }