You are here

commerce_price_savings_formatter.css in Commerce Price Savings Formatter 7

/** Global formatter styles **/
.commerce-price-savings-formatter-prices .price-label {
  text-align: right;
  color: #666;
}

.commerce-price-savings-formatter-prices .price-amount  {
  text-align: left;
  white-space: nowrap;
}

.commerce-price-savings-formatter-list .price-amount {
  text-decoration: line-through;
}

.commerce-price-savings-formatter-price .price-amount {
  font-size: 1.2em;
}
.commerce-price-savings-formatter-prices-down .commerce-price-savings-formatter-price .price-amount {
  color: #009402;
}

.commerce-price-savings-formatter-prices-down .commerce-price-savings-formatter-savings .price-amount {
  color: #009402;
}

.commerce-price-savings-formatter-prices-count-1 .commerce-price-savings-formatter-list .price-amount {
  text-decoration: none;
}

/** Table formatter **/
table.commerce-price-savings-formatter-prices {
  width: auto;
  color: #323232;
}

.commerce-price-savings-formatter-prices tr.odd,
.commerce-price-savings-formatter-prices tr.even {
  background: none;
}

.commerce-price-savings-formatter-prices tr td {
  padding: 0 12px;
  vertical-align: middle;
  font-size: 0.86em;
  line-height: 1.1em;
}

/** Inline formatter **/
.commerce-price-savings-formatter-prices-inline .price-label {
  font-size: 0.6em;
}

.commerce-price-savings-formatter-prices-inline tr.even,
.commerce-price-savings-formatter-prices-inline tr.odd {
  border: 0;
}

.commerce-price-savings-formatter-prices-inline tr td {
  text-align: center;
  padding: 0 6px;
}

.commerce-price-savings-formatter-prices-inline tr.commerce-price-savings-formatter-label-row td {
  line-height: 0.6em;
}

File

theme/commerce_price_savings_formatter.css
View source
  1. /** Global formatter styles **/
  2. .commerce-price-savings-formatter-prices .price-label {
  3. text-align: right;
  4. color: #666;
  5. }
  6. .commerce-price-savings-formatter-prices .price-amount {
  7. text-align: left;
  8. white-space: nowrap;
  9. }
  10. .commerce-price-savings-formatter-list .price-amount {
  11. text-decoration: line-through;
  12. }
  13. .commerce-price-savings-formatter-price .price-amount {
  14. font-size: 1.2em;
  15. }
  16. .commerce-price-savings-formatter-prices-down .commerce-price-savings-formatter-price .price-amount {
  17. color: #009402;
  18. }
  19. .commerce-price-savings-formatter-prices-down .commerce-price-savings-formatter-savings .price-amount {
  20. color: #009402;
  21. }
  22. .commerce-price-savings-formatter-prices-count-1 .commerce-price-savings-formatter-list .price-amount {
  23. text-decoration: none;
  24. }
  25. /** Table formatter **/
  26. table.commerce-price-savings-formatter-prices {
  27. width: auto;
  28. color: #323232;
  29. }
  30. .commerce-price-savings-formatter-prices tr.odd,
  31. .commerce-price-savings-formatter-prices tr.even {
  32. background: none;
  33. }
  34. .commerce-price-savings-formatter-prices tr td {
  35. padding: 0 12px;
  36. vertical-align: middle;
  37. font-size: 0.86em;
  38. line-height: 1.1em;
  39. }
  40. /** Inline formatter **/
  41. .commerce-price-savings-formatter-prices-inline .price-label {
  42. font-size: 0.6em;
  43. }
  44. .commerce-price-savings-formatter-prices-inline tr.even,
  45. .commerce-price-savings-formatter-prices-inline tr.odd {
  46. border: 0;
  47. }
  48. .commerce-price-savings-formatter-prices-inline tr td {
  49. text-align: center;
  50. padding: 0 6px;
  51. }
  52. .commerce-price-savings-formatter-prices-inline tr.commerce-price-savings-formatter-label-row td {
  53. line-height: 0.6em;
  54. }