You are here

uc_cart_block.css in Ubercart 6.2

Same filename and directory in other branches
  1. 5 uc_cart/uc_cart_block.css
  2. 7.3 uc_cart/uc_cart_block.css
/**
 * Styles for the uc_cart module cart block icon.
 */
.cart-block-icon-full,
.cart-block-icon-empty {
  float: left;
  height: 16px;
  margin: 2px 6px 0 0;
  width: 16px;
}

.cart-block-icon-full {
  background: transparent url(images/cart-full.png) no-repeat left center;
}

.cart-block-icon-empty {
  background: transparent url(images/cart-empty.png) no-repeat left center;
}

/**
 * Styles for the cart block title and toggle.
 */
.cart-block-title-bar {
  display: inline;
  padding-right: 20px;
  position: relative;
}

.cart-block-toggle {
  cursor: pointer;
}

.cart-block-arrow {
  height: 5px;
  position: absolute;
  right: 0;
  top: 9px;
  width: 10px;
}

.cart-block-title-bar .arrow-up {
  background: transparent url(images/bullet-arrow-up.gif) no-repeat center center;
}

.cart-block-title-bar .arrow-down {
  background: transparent url(images/bullet-arrow-down.gif) no-repeat center center;
}

.cart-help-text {
  font-size: x-small;
  position: relative;
  top: -5px;
}

/**
 * Styles for the cart block contents and summary.
 */
#cart-block-contents ul.product-description {
  margin: 0pt;
  padding: 0pt 0pt 0.25em 1em;
}

#cart-block-contents .product-description li {
  font-size: .8em;
  margin: 0pt;
  padding-top: 0pt;
  padding-bottom: 0pt;
}

.cart-block-items {
  border-bottom: 2px;
  padding: 2px;
}

.cart-block-items tbody {
  border-top: 0px;
}

.cart-block-items tr {
  vertical-align: top;
}

.cart-block-items tr.odd,
.cart-block-items tr.even {
  background-color: inherit;
  border: none;
}

.cart-block-item-title {
  width: 100%;
}

.cart-block-item-price {
  text-align: right;
  white-space: nowrap;
}

.cart-block-summary {
  padding: 2px;
}

.cart-block-summary tbody {
  border-top: 0px;
}

.cart-block-summary tr {
  vertical-align: top;
}

.cart-block-summary-items {
  white-space: nowrap;
}

.cart-block-summary-total {
  text-align: right;
  width: auto;
}

.cart-block-summary-total label {
  font-weight: bold;
}

.cart-block-summary-total .uc-price {
  display: inline;
}

.cart-block-summary-links {
  text-align: right;
}

.cart-block-summary-links ul.links li {
  border-right: solid 1px;
  padding: 0em 1em 0em .75em;
}

.cart-block-summary-links ul.links li.last {
  border-right: none;
  padding-right: 0em;
}

File

uc_cart/uc_cart_block.css
View source
  1. /**
  2. * Styles for the uc_cart module cart block icon.
  3. */
  4. .cart-block-icon-full,
  5. .cart-block-icon-empty {
  6. float: left;
  7. height: 16px;
  8. margin: 2px 6px 0 0;
  9. width: 16px;
  10. }
  11. .cart-block-icon-full {
  12. background: transparent url(images/cart-full.png) no-repeat left center;
  13. }
  14. .cart-block-icon-empty {
  15. background: transparent url(images/cart-empty.png) no-repeat left center;
  16. }
  17. /**
  18. * Styles for the cart block title and toggle.
  19. */
  20. .cart-block-title-bar {
  21. display: inline;
  22. padding-right: 20px;
  23. position: relative;
  24. }
  25. .cart-block-toggle {
  26. cursor: pointer;
  27. }
  28. .cart-block-arrow {
  29. height: 5px;
  30. position: absolute;
  31. right: 0;
  32. top: 9px;
  33. width: 10px;
  34. }
  35. .cart-block-title-bar .arrow-up {
  36. background: transparent url(images/bullet-arrow-up.gif) no-repeat center center;
  37. }
  38. .cart-block-title-bar .arrow-down {
  39. background: transparent url(images/bullet-arrow-down.gif) no-repeat center center;
  40. }
  41. .cart-help-text {
  42. font-size: x-small;
  43. position: relative;
  44. top: -5px;
  45. }
  46. /**
  47. * Styles for the cart block contents and summary.
  48. */
  49. #cart-block-contents ul.product-description {
  50. margin: 0pt;
  51. padding: 0pt 0pt 0.25em 1em;
  52. }
  53. #cart-block-contents .product-description li {
  54. font-size: .8em;
  55. margin: 0pt;
  56. padding-top: 0pt;
  57. padding-bottom: 0pt;
  58. }
  59. .cart-block-items {
  60. border-bottom: 2px;
  61. padding: 2px;
  62. }
  63. .cart-block-items tbody {
  64. border-top: 0px;
  65. }
  66. .cart-block-items tr {
  67. vertical-align: top;
  68. }
  69. .cart-block-items tr.odd,
  70. .cart-block-items tr.even {
  71. background-color: inherit;
  72. border: none;
  73. }
  74. .cart-block-item-title {
  75. width: 100%;
  76. }
  77. .cart-block-item-price {
  78. text-align: right;
  79. white-space: nowrap;
  80. }
  81. .cart-block-summary {
  82. padding: 2px;
  83. }
  84. .cart-block-summary tbody {
  85. border-top: 0px;
  86. }
  87. .cart-block-summary tr {
  88. vertical-align: top;
  89. }
  90. .cart-block-summary-items {
  91. white-space: nowrap;
  92. }
  93. .cart-block-summary-total {
  94. text-align: right;
  95. width: auto;
  96. }
  97. .cart-block-summary-total label {
  98. font-weight: bold;
  99. }
  100. .cart-block-summary-total .uc-price {
  101. display: inline;
  102. }
  103. .cart-block-summary-links {
  104. text-align: right;
  105. }
  106. .cart-block-summary-links ul.links li {
  107. border-right: solid 1px;
  108. padding: 0em 1em 0em .75em;
  109. }
  110. .cart-block-summary-links ul.links li.last {
  111. border-right: none;
  112. padding-right: 0em;
  113. }