Skip to content

Commit

Permalink
// small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rGaillard authored and Damien Metzger committed Dec 31, 2012
1 parent 7744068 commit 17aed56
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 20 deletions.
2 changes: 1 addition & 1 deletion modules/productcomments/productcomments.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ var productcomments_url_rewrite = '{$productcomments_url_rewriting_activated}';
</div>
<div class="comment_details">
<h4 class="title_block">{$comment.title}</h4>
<h4>{$comment.content|escape:'html':'UTF-8'|nl2br}</h4>
<p>{$comment.content|escape:'html':'UTF-8'|nl2br}</p>
<ul>
{if $comment.total_advice > 0}
<li>{l s='%1$d out of %2$d people found this review useful.' sprintf=[$comment.total_useful,$comment.total_advice] mod='productcomments'}</li>
Expand Down
63 changes: 44 additions & 19 deletions themes/default/css/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ body{
color:#222;
background:#fff
}
body.content_only {
background: #FFF;
}

/* positionnement ****************************************************************************** */
.hidden {display:none}
Expand All @@ -76,7 +79,7 @@ h3 {
padding-bottom:20px;
font-size:16px
}
h4 {
.title_block {
padding-bottom:20px;
font-size:14px
}
Expand Down Expand Up @@ -126,6 +129,17 @@ a, a:active, a:visited {
}
a:hover {text-decoration:underline}


/* HACK IOS ipad, iphone */
input[type="text"], input[type="email"], input[type="search"], input[type="password"], input[type="submit"], input[type="image"] {
-webkit-appearance:none;
-moz-appearance:none;
appearance:none;
-webkit-border-radius:0px !important;
-moz-border-radius:0px !important;
border-radius:0px !important;
}

/*buttons ************************************************************************************** */
input.button_mini, input.button_small, input.button, input.button_large,
input.button_mini_disabled, input.button_small_disabled, input.button_disabled, input.button_large_disabled,
Expand All @@ -139,9 +153,9 @@ span.exclusive_mini, span.exclusive_small, span.exclusive, span.exclusive_large,
display:inline-block;
padding:5px 7px;
border:1px solid #cc9900;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
-moz-border-radius: 3px !important;
-webkit-border-radius: 3px !important;
border-radius: 3px !important;
font-weight:bold;
color:#000;
background:url(../img/bg_bt.gif) repeat-x 0 0 #f4b61b;
Expand Down Expand Up @@ -220,7 +234,7 @@ input.button_small, input.button_small_disabled, input.exclusive_small, input.ex
input.button_disabled, input.exclusive_disabled, span.exclusive {
border:1px solid #ccc;
color:#999;
background:url(../img/bg_bt_2.gif) repeat-x 0 0 #f4b61b;
background:url(../img/bg_bt_2.gif) repeat-x 0 0 #CCCCCC;
cursor:default;
}
input.button_large, input.button_large_disabled, input.exclusive_large, input.exclusive_large_disabled, a.button_large, a.exclusive_large, span.button_large, span.exclusive_large, span.exclusive_large_disabled {
Expand Down Expand Up @@ -279,9 +293,11 @@ table.table_block td {
color:#fff;
text-shadow:0 1px 0 #000;
text-transform:uppercase;
background:#383838
background:#383838;
text-align:left;
font-weight: bold;
}
.block .title_block a, .block h4 a {color:#fff}
.block .title_block a, .block .title_block a {color:#fff}
.block ul {list-style-type:none}
.block li.last { border:none}
.block li a {
Expand Down Expand Up @@ -563,12 +579,12 @@ div.star_hover a, div.star a:hover { background-position: 0 -32px }
width:175px
}
.blockcategories_footer {margin-left:0}
#footer h4 {
#footer .title_block {
padding-bottom: 10px;
text-transform:uppercase
}
#footer h4,
#footer h4 a {
#footer .title_block ,
#footer .title_block a {
font-weight:normal;
font-size:14px;
color:#fff
Expand All @@ -580,7 +596,7 @@ div.star_hover a, div.star a:hover { background-position: 0 -32px }
#footer li a {color:#fff}

#footer .myaccount {padding: 15px 10px}
#footer .myaccount h4 {
#footer .myaccount .title_block, #footer .myaccount h4 {
padding:0 0 10px 0;
background:none;
text-shadow:none
Expand Down Expand Up @@ -787,23 +803,30 @@ table#cart_summary #total_price_container {
border-bottom:1px solid #999;
}

.cart_voucher h4,
.cart_voucher .title_block, .cart_voucher h4
.cart_voucher p {float:left;}
.cart_voucher h4 {
.cart_voucher .title_block, .cart_voucher h4 {
margin-right:12px;
padding:5px 0;
font-size:13px
}
.cart_voucher p {padding-bottom:0;}
.cart_voucher #display_cart_vouchers {
clear:both;
line-height: 16px;
line-height: 20px;
color:#666;
padding-top:2px;
font-weight:normal;
border-top:1px dotted #ccc
}
.cart_voucher #display_cart_vouchers .title_offers {margin-top:10px}
.cart_voucher #display_cart_vouchers span {font-weight:bold}
.cart_voucher .title_offers {
margin-top:15px;
margin-bottom:5px
}
.cart_voucher #display_cart_vouchers span {
font-weight:bold;
cursor:pointer;
}
.cart_voucher input.discount_name {
padding:0 5px;
height:22px;
Expand Down Expand Up @@ -860,7 +883,7 @@ table#cart_summary .cart_total_price .total_price_container {
border:1px solid #999;
background:#fff
}
#order_carrier h4 {
#order_carrier .title_block {
padding:0 15px;
height: 29px;
font-weight: bold;
Expand Down Expand Up @@ -919,7 +942,7 @@ table#cart_summary .gift-icon {
text-transform:uppercase;
background:url(../img/bg_form_h3.png) repeat-x 0 0 #989898
}
#create-account_form h4 {
#create-account_form .title_block {
padding-bottom:22px;
font-size:11px;
color:#333
Expand Down Expand Up @@ -1745,7 +1768,7 @@ ul#suppliers_list li .right_side {float:right;}
/* ************************************************************************************************
addon customer privacy
************************************************************************************************ */
#account-creation_form fieldset.customerprivacy label{
#account-creation_form fieldset.customerprivacy label, fieldset.customerprivacy label{
padding-bottom:0;
font-size:14px;
text-align:left;
Expand Down Expand Up @@ -2063,3 +2086,5 @@ tr.subitem > td:first-child + td {
padding:0;
text-align:center
}

.ie7 #featured-products_block_center .product_image span.new {top:-20px;right:-19px}

0 comments on commit 17aed56

Please sign in to comment.