uc_cart.css 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. /**
  2. * @file
  3. * Styles for uc_cart module.
  4. */
  5. .order-review-table {
  6. border: solid 1px #999;
  7. font-size: .9em;
  8. line-height: 1.4em;
  9. margin: auto;
  10. width: auto;
  11. }
  12. .order-review-table td {
  13. padding-bottom: 0.2em;
  14. padding-top: 0.1em;
  15. vertical-align: top;
  16. }
  17. .order-review-table .pane-title-row {
  18. background-color: #ddd;
  19. border: solid 1px #999;
  20. font-weight: bold;
  21. padding: .5em 1em;
  22. text-align: center;
  23. }
  24. .order-review-table .title-col {
  25. font-weight: bold;
  26. padding-left: 3em; /* LTR */
  27. text-align: right; /* LTR */
  28. white-space: nowrap;
  29. }
  30. .order-review-table .data-col {
  31. padding-right: 3em; /* LTR */
  32. }
  33. .order-review-table .row-border-top {
  34. border-top: solid 1px #999;
  35. }
  36. .order-review-table .row-border-bottom {
  37. border-bottom: solid 1px #999;
  38. }
  39. .order-review-table .review-button-row {
  40. background-color: #ddd;
  41. border: solid 1px #999;
  42. }
  43. .order-review-table .review-button-row td {
  44. padding-top: 1em;
  45. text-align: right; /* LTR */
  46. }
  47. .order-review-table .review-button-row div,
  48. .order-review-table .review-button-row form {
  49. display: inline;
  50. }
  51. /* I cannot testify for any of the data below.. it's a hodge podge. */
  52. .next-button {
  53. margin-top: 1em;
  54. text-align: right; /* LTR */
  55. }
  56. #uc-cart-view-form table {
  57. width: 100%;
  58. }
  59. #uc-cart-view-form td {
  60. vertical-align: top;
  61. }
  62. #uc-cart-view-form img {
  63. padding-right: .8em; /* LTR */
  64. float: left; /* LTR */
  65. }
  66. .address-book-icon {
  67. position: relative;
  68. margin-left: 2px; /* LTR */
  69. top: 2px;
  70. }
  71. /**
  72. * CSS rules for the cart form at /cart.
  73. */
  74. #uc-cart-view-form th {
  75. white-space: nowrap;
  76. }
  77. #uc-cart-view-form td.desc {
  78. width: 100%;
  79. }
  80. #uc-cart-view-form td.total,
  81. #uc-cart-view-form td.subtotal {
  82. white-space: nowrap;
  83. }
  84. #uc-cart-view-form .form-actions {
  85. margin-top: 0;
  86. text-align: right; /* LTR */
  87. }
  88. #uc-cart-view-form .form-actions a {
  89. float: left; /* LTR */
  90. margin: .5em;
  91. }
  92. #uc-cart-view-form #edit-continue-shopping {
  93. float: left; /* LTR */
  94. margin-left: .5em; /* LTR */
  95. }
  96. #uc-cart-view-form .form-actions input {
  97. vertical-align: middle;
  98. }
  99. .uc-cart-checkout-button {
  100. float: right; /* LTR */
  101. clear: right; /* LTR */
  102. }
  103. .uc-cart-checkout-button-separator {
  104. text-align: center;
  105. }
  106. /**
  107. * CSS rules for the cart review table.
  108. */
  109. td.qty {
  110. text-align: center;
  111. white-space: nowrap;
  112. }
  113. td.price {
  114. text-align: right; /* LTR */
  115. white-space: nowrap;
  116. }
  117. td.products {
  118. width: 100%;
  119. }
  120. td.subtotal {
  121. text-align: right; /* LTR */
  122. }
  123. #subtotal-title {
  124. font-weight: bold;
  125. }
  126. /**
  127. * CSS rules for the default checkout panes.
  128. */
  129. .uc-cart-checkout-form .uc-store-address-field .form-item label {
  130. padding: 5px 6px 6px;
  131. }
  132. .uc-cart-checkout-form .form-item {
  133. margin-bottom: 2px;
  134. margin-top: 2px;
  135. }
  136. /**
  137. * CSS rules for the bottom of the checkout form at /cart/checkout.
  138. */
  139. .uc-cart-checkout-form .form-actions {
  140. text-align: right; /* LTR */
  141. }