uc_cart_block.css 2.5 KB

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