You are here

commerce_discount.css in Commerce Discount 7

/**
 * Discount form.
 */
.commerce-discount-form {
  position: relative;
}
.commerce-discount-form .form-item-label {
  clear: both;
}
.commerce-discount-form .form-item-label .form-item {
  padding: 0;
}
.commerce-discount-form .form-item.form-type-radio {
  position: relative;
}
.commerce-discount-form .form-item.form-type-radio .ajax-progress-throbber {
  position: absolute;
  right: -10px;
}
.commerce-discount-form .form-item.form-type-radio .ajax-progress-throbber .message {
  display: none;
}
.commerce-discount-form #commerce-discount-fields-wrapper .form-wrapper {
  margin-bottom: 15px;
}
.commerce-discount-form #commerce-discount-fields-wrapper .field-name-discount-usage-limit, .commerce-discount-form #commerce-discount-fields-wrapper .field-name-discount-usage-per-person {
  float: none;
  clear: both;
}
.commerce-discount-form #edit-actions {
  clear: both;
}

/**
 * Choose discount type block.
 */
.form-item-commerce-discount-type .form-radios {
  margin-top: 5px;
}
.form-item-commerce-discount-type .form-radios .form-item {
  color: black;
  border-radius: 5px;
  margin-bottom: 5px;
  padding: 5px;
}
[dir="ltr"] .form-item-commerce-discount-type .form-radios .form-item {
  margin-right: 20px;
}
[dir="rtl"] .form-item-commerce-discount-type .form-radios .form-item {
  margin-left: 20px;
}
.form-item-commerce-discount-type .form-radios .form-item:hover {
  background-color: #f6f6f6;
  cursor: pointer;
}
.form-item-commerce-discount-type .form-radios .form-item:hover label {
  cursor: pointer;
}
[dir="ltr"] .form-item-commerce-discount-type .form-radios .form-item {
  float: left;
}
[dir="rtl"] .form-item-commerce-discount-type .form-radios .form-item {
  float: right;
}
.form-item-commerce-discount-type .form-radios .form-item.selected {
  background-color: #eee;
}
.form-item-commerce-discount-type .form-radios .form-item .ajax-progress {
  display: none;
}

#edit-commerce-discount-type {
  padding: 0;
  clear: both;
  margin-top: 10px;
  clear: none;
}
#edit-commerce-discount-type .form-item {
  color: black;
  border-radius: 5px;
  margin-bottom: 5px;
  padding: 5px;
}
[dir="ltr"] #edit-commerce-discount-type .form-item {
  margin-right: 20px;
}
[dir="rtl"] #edit-commerce-discount-type .form-item {
  margin-left: 20px;
}
#edit-commerce-discount-type .form-item:hover {
  background-color: #f6f6f6;
  cursor: pointer;
}
#edit-commerce-discount-type .form-item:hover label {
  cursor: pointer;
}
[dir="ltr"] #edit-commerce-discount-type .form-item {
  float: left;
  margin-right: 20px;
}
[dir="rtl"] #edit-commerce-discount-type .form-item {
  float: right;
  margin-left: 20px;
}

/**
 * Order/Product discount conditions block.
 */
.commerce-discount-box div.inline-conditions-container > label {
  border-bottom: 1px solid #ccc;
  display: block;
  width: 100%;
}

/**
 * Choose offer type block.
 */
.field-name-commerce-discount-offer {
  border: 0;
  margin: 0;
  padding: 0;
}
.field-name-commerce-discount-offer:after {
  content: "";
  display: table;
  clear: both;
}
.field-name-commerce-discount-offer .form-item-commerce-discount-fields-commerce-discount-offer-und-form-type.form-type-radios {
  padding-left: 0;
  padding-right: 0;
}
[dir="ltr"] .field-name-commerce-discount-offer .form-item-commerce-discount-fields-commerce-discount-offer-und-form-type.form-type-radios {
  float: left;
  margin-right: 20px;
  padding-right: 20px;
  border-right: 1px dotted #ccc;
}
[dir="rtl"] .field-name-commerce-discount-offer .form-item-commerce-discount-fields-commerce-discount-offer-und-form-type.form-type-radios {
  float: right;
  margin-left: 20px;
  padding-left: 20px;
  border-left: 1px dotted #ccc;
}
.field-name-commerce-discount-offer .form-item-commerce-discount-fields-commerce-discount-offer-und-form-type.form-type-radios .form-radios {
  clear: both;
  margin: 10px;
  padding: 0;
}
.field-name-commerce-discount-offer .form-item-commerce-discount-fields-commerce-discount-offer-und-form-type.form-type-radios .form-radios .form-item {
  color: black;
  border-radius: 5px;
  margin-bottom: 5px;
  padding: 5px;
}
[dir="ltr"] .field-name-commerce-discount-offer .form-item-commerce-discount-fields-commerce-discount-offer-und-form-type.form-type-radios .form-radios .form-item {
  margin-right: 20px;
}
[dir="rtl"] .field-name-commerce-discount-offer .form-item-commerce-discount-fields-commerce-discount-offer-und-form-type.form-type-radios .form-radios .form-item {
  margin-left: 20px;
}
.field-name-commerce-discount-offer .form-item-commerce-discount-fields-commerce-discount-offer-und-form-type.form-type-radios .form-radios .form-item:hover {
  background-color: #f6f6f6;
  cursor: pointer;
}
.field-name-commerce-discount-offer .form-item-commerce-discount-fields-commerce-discount-offer-und-form-type.form-type-radios .form-radios .form-item:hover label {
  cursor: pointer;
}
.field-name-commerce-discount-offer .form-item-commerce-discount-fields-commerce-discount-offer-und-form-type.form-type-radios .form-radios .form-item input {
  display: inline;
}
.field-name-commerce-discount-offer .form-item-commerce-discount-fields-commerce-discount-offer-und-form-type.form-type-radios .form-radios .form-item.selected {
  background-color: #eee;
}
.field-name-commerce-discount-offer .form-item-commerce-discount-fields-commerce-discount-offer-und-form-type.form-type-radios .form-radios .form-item .ajax-progress {
  display: none;
}
.field-name-commerce-discount-offer .form-item-commerce-discount-fields-commerce-discount-offer-und-form-type.form-type-radios .form-radios label {
  border-bottom: 0;
}
[dir="ltr"] .field-name-commerce-discount-offer .form-item-commerce-discount-fields-commerce-discount-offer-und-form-type.form-type-radios .form-radios label {
  padding-left: 0;
}
[dir="rtl"] .field-name-commerce-discount-offer .form-item-commerce-discount-fields-commerce-discount-offer-und-form-type.form-type-radios .form-radios label {
  padding-right: 0;
}
.field-name-commerce-discount-offer .commerce-offer-type-wrapper > .fieldset-wrapper:after {
  content: "";
  display: table;
  clear: both;
}
.field-name-commerce-discount-offer .commerce-offer-fields-wrapper {
  padding: 0;
}
[dir="ltr"] .field-name-commerce-discount-offer .commerce-offer-fields-wrapper {
  float: left;
}
[dir="rtl"] .field-name-commerce-discount-offer .commerce-offer-fields-wrapper {
  float: right;
}
.field-name-commerce-discount-offer .form-wrapper .form-wrapper .form-item {
  margin-bottom: 2px;
}
.field-name-commerce-discount-offer .form-wrapper .form-wrapper .form-wrapper label {
  border-bottom: 0;
}
[dir="ltr"] .field-name-commerce-discount-offer .form-wrapper .form-wrapper .form-wrapper label {
  padding-left: 0;
}
[dir="rtl"] .field-name-commerce-discount-offer .form-wrapper .form-wrapper .form-wrapper label {
  padding-right: 0;
}

/**
 * Discount dates block.
 */
.field-name-commerce-discount-date {
  clear: both;
}
.field-name-commerce-discount-date .form-wrapper fieldset.form-wrapper {
  margin: 0;
}
.field-name-commerce-discount-date .fieldset-wrapper {
  background-color: transparent;
  display: inline-block;
  margin: 10px;
  padding: 4px;
  width: auto;
}
.field-name-commerce-discount-date .container-inline-date {
  clear: none;
}
[dir="ltr"] .field-name-commerce-discount-date .container-inline-date {
  float: left;
}
[dir="rtl"] .field-name-commerce-discount-date .container-inline-date {
  float: right;
}
[dir="ltr"] .field-name-commerce-discount-date .container-inline-date .date-padding {
  float: left;
}
[dir="rtl"] .field-name-commerce-discount-date .container-inline-date .date-padding {
  float: right;
}
.field-name-commerce-discount-date .container-inline-date .form-text {
  background-image: url(../images/calendar.svg);
  background-repeat: no-repeat;
  background-position: calc(100% - 0.25em) center;
  background-size: 1.25em;
}
.field-name-commerce-discount-date fieldset.date-combo .container-inline-date .date-padding {
  padding: 0;
}
.field-name-commerce-discount-date fieldset.date-combo .fieldset-wrapper > .container-inline-date {
  padding-top: 0;
}

/**
 * Usage block.
 */
.commerce-discount-usage {
  clear: both;
}
.commerce-discount-usage .form-item.form-type-select {
  margin: 0;
}
.commerce-discount-usage .form-item.form-type-select label {
  border-bottom: 1px solid #ccc;
}
.commerce-discount-usage .form-item .form-select {
  margin: 10px;
}
[dir="ltr"] .commerce-discount-usage .form-item .form-select {
  float: left;
}
[dir="rtl"] .commerce-discount-usage .form-item .form-select {
  float: right;
}
.commerce-discount-usage .field-name-commerce-discount-max-uses {
  padding: 0;
}
[dir="ltr"] .commerce-discount-usage .field-name-commerce-discount-max-uses > div {
  float: left;
  margin-left: 30px;
}
[dir="ltr"] .commerce-discount-usage .field-name-commerce-discount-max-uses > div:first-child {
  margin-left: 0;
}
[dir="rtl"] .commerce-discount-usage .field-name-commerce-discount-max-uses > div {
  float: right;
  margin-right: 30px;
}
[dir="rtl"] .commerce-discount-usage .field-name-commerce-discount-max-uses > div:first-child {
  margin-right: 0;
}
.commerce-discount-usage .field-name-commerce-discount-max-uses > div input[disabled] {
  background: #eee;
}
[dir="ltr"] .commerce-discount-usage .field-type-number-integer {
  float: left;
}
[dir="rtl"] .commerce-discount-usage .field-type-number-integer {
  float: right;
}
.commerce-discount-usage .field-type-number-integer .form-item {
  padding: 0;
}
.commerce-discount-usage .field-type-number-integer label {
  display: inline;
  font-weight: normal;
}
[dir="ltr"] .commerce-discount-usage .field-type-number-integer label {
  margin-left: 10px;
}
[dir="rtl"] .commerce-discount-usage .field-type-number-integer label {
  margin-right: 10px;
}
.commerce-discount-usage .field-type-number-integer .form-disabled input {
  border: 0;
  background-color: transparent;
}

/**
 * Overview table.
 */
.view-commerce-discount-overview .views-table {
  border: 0;
}
.view-commerce-discount-overview .views-table caption {
  font-size: 1.25em;
  line-height: 2em;
  font-weight: bold;
  margin-top: 1em;
}
.view-commerce-discount-overview .views-table tr, .view-commerce-discount-overview .views-table td {
  border: 0;
}
.view-commerce-discount-overview .views-table th {
  text-transform: none;
}
.view-commerce-discount-overview .views-table .views-field-label {
  width: 30%;
}
.view-commerce-discount-overview .views-table th .views-field-operations-dropbutton {
  width: 70px;
}
.view-commerce-discount-overview .views-table td .views-field-type {
  padding: 10px 20px;
}
.view-commerce-discount-overview .views-table td .views-field-commerce-discount-usage li {
  list-style-type: none;
}
.view-commerce-discount-overview .views-table td .views-field-commerce-discount-usage li.first {
  color: #6d6d6d;
  font-style: italic;
}
.view-commerce-discount-overview .views-table td .views-field-enable-disable .item-list ul {
  width: 140px;
  border: 2px solid #6d6d6d;
  border-radius: 5px;
  height: 30px;
}
.view-commerce-discount-overview .views-table td .views-field-enable-disable .item-list ul li {
  display: block;
  width: 50%;
  text-transform: uppercase;
  padding: 5px 0;
  font-weight: bold;
  text-align: center;
  font-size: 12px;
  color: white;
  line-height: 20px;
}
[dir="ltr"] .view-commerce-discount-overview .views-table td .views-field-enable-disable .item-list ul li {
  float: left;
}
[dir="rtl"] .view-commerce-discount-overview .views-table td .views-field-enable-disable .item-list ul li {
  float: right;
}
.view-commerce-discount-overview .views-table td .views-field-enable-disable .item-list ul li.enabled {
  background-color: #7cae20;
}
.view-commerce-discount-overview .views-table td .views-field-enable-disable .item-list ul li.disabled {
  background-color: #4d4e49;
}
.view-commerce-discount-overview .views-table td .views-field-enable-disable .item-list ul li a {
  color: #6d6d6d;
}
.view-commerce-discount-overview .views-table td .views-field-operations-dropbutton {
  position: relative;
}
.view-commerce-discount-overview .views-table td .views-field-operations-dropbutton .ctools-dropbutton {
  border: 1px solid #ccc;
  border-radius: 10px;
  background-image: -webkit-linear-gradient(top, #fcfdfc 36%, #f0f0f0 68%);
  background-image: linear-gradient(top, #fcfdfc 36%, #f0f0f0 68%);
}
.view-commerce-discount-overview .views-table td .views-field-operations-dropbutton .ctools-dropbutton .ctools-content {
  border-right: 1px solid #ccc;
}

.field-name-commerce-compatibility-strategy .field-widget-options-buttons .form-wrapper {
  clear: both;
}

/*# sourceMappingURL=commerce_discount.css.map */

File

css/commerce_discount.css
View source
  1. /**
  2. * Discount form.
  3. */
  4. .commerce-discount-form {
  5. position: relative;
  6. }
  7. .commerce-discount-form .form-item-label {
  8. clear: both;
  9. }
  10. .commerce-discount-form .form-item-label .form-item {
  11. padding: 0;
  12. }
  13. .commerce-discount-form .form-item.form-type-radio {
  14. position: relative;
  15. }
  16. .commerce-discount-form .form-item.form-type-radio .ajax-progress-throbber {
  17. position: absolute;
  18. right: -10px;
  19. }
  20. .commerce-discount-form .form-item.form-type-radio .ajax-progress-throbber .message {
  21. display: none;
  22. }
  23. .commerce-discount-form #commerce-discount-fields-wrapper .form-wrapper {
  24. margin-bottom: 15px;
  25. }
  26. .commerce-discount-form #commerce-discount-fields-wrapper .field-name-discount-usage-limit, .commerce-discount-form #commerce-discount-fields-wrapper .field-name-discount-usage-per-person {
  27. float: none;
  28. clear: both;
  29. }
  30. .commerce-discount-form #edit-actions {
  31. clear: both;
  32. }
  33. /**
  34. * Choose discount type block.
  35. */
  36. .form-item-commerce-discount-type .form-radios {
  37. margin-top: 5px;
  38. }
  39. .form-item-commerce-discount-type .form-radios .form-item {
  40. color: black;
  41. border-radius: 5px;
  42. margin-bottom: 5px;
  43. padding: 5px;
  44. }
  45. [dir="ltr"] .form-item-commerce-discount-type .form-radios .form-item {
  46. margin-right: 20px;
  47. }
  48. [dir="rtl"] .form-item-commerce-discount-type .form-radios .form-item {
  49. margin-left: 20px;
  50. }
  51. .form-item-commerce-discount-type .form-radios .form-item:hover {
  52. background-color: #f6f6f6;
  53. cursor: pointer;
  54. }
  55. .form-item-commerce-discount-type .form-radios .form-item:hover label {
  56. cursor: pointer;
  57. }
  58. [dir="ltr"] .form-item-commerce-discount-type .form-radios .form-item {
  59. float: left;
  60. }
  61. [dir="rtl"] .form-item-commerce-discount-type .form-radios .form-item {
  62. float: right;
  63. }
  64. .form-item-commerce-discount-type .form-radios .form-item.selected {
  65. background-color: #eee;
  66. }
  67. .form-item-commerce-discount-type .form-radios .form-item .ajax-progress {
  68. display: none;
  69. }
  70. #edit-commerce-discount-type {
  71. padding: 0;
  72. clear: both;
  73. margin-top: 10px;
  74. clear: none;
  75. }
  76. #edit-commerce-discount-type .form-item {
  77. color: black;
  78. border-radius: 5px;
  79. margin-bottom: 5px;
  80. padding: 5px;
  81. }
  82. [dir="ltr"] #edit-commerce-discount-type .form-item {
  83. margin-right: 20px;
  84. }
  85. [dir="rtl"] #edit-commerce-discount-type .form-item {
  86. margin-left: 20px;
  87. }
  88. #edit-commerce-discount-type .form-item:hover {
  89. background-color: #f6f6f6;
  90. cursor: pointer;
  91. }
  92. #edit-commerce-discount-type .form-item:hover label {
  93. cursor: pointer;
  94. }
  95. [dir="ltr"] #edit-commerce-discount-type .form-item {
  96. float: left;
  97. margin-right: 20px;
  98. }
  99. [dir="rtl"] #edit-commerce-discount-type .form-item {
  100. float: right;
  101. margin-left: 20px;
  102. }
  103. /**
  104. * Order/Product discount conditions block.
  105. */
  106. .commerce-discount-box div.inline-conditions-container > label {
  107. border-bottom: 1px solid #ccc;
  108. display: block;
  109. width: 100%;
  110. }
  111. /**
  112. * Choose offer type block.
  113. */
  114. .field-name-commerce-discount-offer {
  115. border: 0;
  116. margin: 0;
  117. padding: 0;
  118. }
  119. .field-name-commerce-discount-offer:after {
  120. content: "";
  121. display: table;
  122. clear: both;
  123. }
  124. .field-name-commerce-discount-offer .form-item-commerce-discount-fields-commerce-discount-offer-und-form-type.form-type-radios {
  125. padding-left: 0;
  126. padding-right: 0;
  127. }
  128. [dir="ltr"] .field-name-commerce-discount-offer .form-item-commerce-discount-fields-commerce-discount-offer-und-form-type.form-type-radios {
  129. float: left;
  130. margin-right: 20px;
  131. padding-right: 20px;
  132. border-right: 1px dotted #ccc;
  133. }
  134. [dir="rtl"] .field-name-commerce-discount-offer .form-item-commerce-discount-fields-commerce-discount-offer-und-form-type.form-type-radios {
  135. float: right;
  136. margin-left: 20px;
  137. padding-left: 20px;
  138. border-left: 1px dotted #ccc;
  139. }
  140. .field-name-commerce-discount-offer .form-item-commerce-discount-fields-commerce-discount-offer-und-form-type.form-type-radios .form-radios {
  141. clear: both;
  142. margin: 10px;
  143. padding: 0;
  144. }
  145. .field-name-commerce-discount-offer .form-item-commerce-discount-fields-commerce-discount-offer-und-form-type.form-type-radios .form-radios .form-item {
  146. color: black;
  147. border-radius: 5px;
  148. margin-bottom: 5px;
  149. padding: 5px;
  150. }
  151. [dir="ltr"] .field-name-commerce-discount-offer .form-item-commerce-discount-fields-commerce-discount-offer-und-form-type.form-type-radios .form-radios .form-item {
  152. margin-right: 20px;
  153. }
  154. [dir="rtl"] .field-name-commerce-discount-offer .form-item-commerce-discount-fields-commerce-discount-offer-und-form-type.form-type-radios .form-radios .form-item {
  155. margin-left: 20px;
  156. }
  157. .field-name-commerce-discount-offer .form-item-commerce-discount-fields-commerce-discount-offer-und-form-type.form-type-radios .form-radios .form-item:hover {
  158. background-color: #f6f6f6;
  159. cursor: pointer;
  160. }
  161. .field-name-commerce-discount-offer .form-item-commerce-discount-fields-commerce-discount-offer-und-form-type.form-type-radios .form-radios .form-item:hover label {
  162. cursor: pointer;
  163. }
  164. .field-name-commerce-discount-offer .form-item-commerce-discount-fields-commerce-discount-offer-und-form-type.form-type-radios .form-radios .form-item input {
  165. display: inline;
  166. }
  167. .field-name-commerce-discount-offer .form-item-commerce-discount-fields-commerce-discount-offer-und-form-type.form-type-radios .form-radios .form-item.selected {
  168. background-color: #eee;
  169. }
  170. .field-name-commerce-discount-offer .form-item-commerce-discount-fields-commerce-discount-offer-und-form-type.form-type-radios .form-radios .form-item .ajax-progress {
  171. display: none;
  172. }
  173. .field-name-commerce-discount-offer .form-item-commerce-discount-fields-commerce-discount-offer-und-form-type.form-type-radios .form-radios label {
  174. border-bottom: 0;
  175. }
  176. [dir="ltr"] .field-name-commerce-discount-offer .form-item-commerce-discount-fields-commerce-discount-offer-und-form-type.form-type-radios .form-radios label {
  177. padding-left: 0;
  178. }
  179. [dir="rtl"] .field-name-commerce-discount-offer .form-item-commerce-discount-fields-commerce-discount-offer-und-form-type.form-type-radios .form-radios label {
  180. padding-right: 0;
  181. }
  182. .field-name-commerce-discount-offer .commerce-offer-type-wrapper > .fieldset-wrapper:after {
  183. content: "";
  184. display: table;
  185. clear: both;
  186. }
  187. .field-name-commerce-discount-offer .commerce-offer-fields-wrapper {
  188. padding: 0;
  189. }
  190. [dir="ltr"] .field-name-commerce-discount-offer .commerce-offer-fields-wrapper {
  191. float: left;
  192. }
  193. [dir="rtl"] .field-name-commerce-discount-offer .commerce-offer-fields-wrapper {
  194. float: right;
  195. }
  196. .field-name-commerce-discount-offer .form-wrapper .form-wrapper .form-item {
  197. margin-bottom: 2px;
  198. }
  199. .field-name-commerce-discount-offer .form-wrapper .form-wrapper .form-wrapper label {
  200. border-bottom: 0;
  201. }
  202. [dir="ltr"] .field-name-commerce-discount-offer .form-wrapper .form-wrapper .form-wrapper label {
  203. padding-left: 0;
  204. }
  205. [dir="rtl"] .field-name-commerce-discount-offer .form-wrapper .form-wrapper .form-wrapper label {
  206. padding-right: 0;
  207. }
  208. /**
  209. * Discount dates block.
  210. */
  211. .field-name-commerce-discount-date {
  212. clear: both;
  213. }
  214. .field-name-commerce-discount-date .form-wrapper fieldset.form-wrapper {
  215. margin: 0;
  216. }
  217. .field-name-commerce-discount-date .fieldset-wrapper {
  218. background-color: transparent;
  219. display: inline-block;
  220. margin: 10px;
  221. padding: 4px;
  222. width: auto;
  223. }
  224. .field-name-commerce-discount-date .container-inline-date {
  225. clear: none;
  226. }
  227. [dir="ltr"] .field-name-commerce-discount-date .container-inline-date {
  228. float: left;
  229. }
  230. [dir="rtl"] .field-name-commerce-discount-date .container-inline-date {
  231. float: right;
  232. }
  233. [dir="ltr"] .field-name-commerce-discount-date .container-inline-date .date-padding {
  234. float: left;
  235. }
  236. [dir="rtl"] .field-name-commerce-discount-date .container-inline-date .date-padding {
  237. float: right;
  238. }
  239. .field-name-commerce-discount-date .container-inline-date .form-text {
  240. background-image: url(../images/calendar.svg);
  241. background-repeat: no-repeat;
  242. background-position: calc(100% - 0.25em) center;
  243. background-size: 1.25em;
  244. }
  245. .field-name-commerce-discount-date fieldset.date-combo .container-inline-date .date-padding {
  246. padding: 0;
  247. }
  248. .field-name-commerce-discount-date fieldset.date-combo .fieldset-wrapper > .container-inline-date {
  249. padding-top: 0;
  250. }
  251. /**
  252. * Usage block.
  253. */
  254. .commerce-discount-usage {
  255. clear: both;
  256. }
  257. .commerce-discount-usage .form-item.form-type-select {
  258. margin: 0;
  259. }
  260. .commerce-discount-usage .form-item.form-type-select label {
  261. border-bottom: 1px solid #ccc;
  262. }
  263. .commerce-discount-usage .form-item .form-select {
  264. margin: 10px;
  265. }
  266. [dir="ltr"] .commerce-discount-usage .form-item .form-select {
  267. float: left;
  268. }
  269. [dir="rtl"] .commerce-discount-usage .form-item .form-select {
  270. float: right;
  271. }
  272. .commerce-discount-usage .field-name-commerce-discount-max-uses {
  273. padding: 0;
  274. }
  275. [dir="ltr"] .commerce-discount-usage .field-name-commerce-discount-max-uses > div {
  276. float: left;
  277. margin-left: 30px;
  278. }
  279. [dir="ltr"] .commerce-discount-usage .field-name-commerce-discount-max-uses > div:first-child {
  280. margin-left: 0;
  281. }
  282. [dir="rtl"] .commerce-discount-usage .field-name-commerce-discount-max-uses > div {
  283. float: right;
  284. margin-right: 30px;
  285. }
  286. [dir="rtl"] .commerce-discount-usage .field-name-commerce-discount-max-uses > div:first-child {
  287. margin-right: 0;
  288. }
  289. .commerce-discount-usage .field-name-commerce-discount-max-uses > div input[disabled] {
  290. background: #eee;
  291. }
  292. [dir="ltr"] .commerce-discount-usage .field-type-number-integer {
  293. float: left;
  294. }
  295. [dir="rtl"] .commerce-discount-usage .field-type-number-integer {
  296. float: right;
  297. }
  298. .commerce-discount-usage .field-type-number-integer .form-item {
  299. padding: 0;
  300. }
  301. .commerce-discount-usage .field-type-number-integer label {
  302. display: inline;
  303. font-weight: normal;
  304. }
  305. [dir="ltr"] .commerce-discount-usage .field-type-number-integer label {
  306. margin-left: 10px;
  307. }
  308. [dir="rtl"] .commerce-discount-usage .field-type-number-integer label {
  309. margin-right: 10px;
  310. }
  311. .commerce-discount-usage .field-type-number-integer .form-disabled input {
  312. border: 0;
  313. background-color: transparent;
  314. }
  315. /**
  316. * Overview table.
  317. */
  318. .view-commerce-discount-overview .views-table {
  319. border: 0;
  320. }
  321. .view-commerce-discount-overview .views-table caption {
  322. font-size: 1.25em;
  323. line-height: 2em;
  324. font-weight: bold;
  325. margin-top: 1em;
  326. }
  327. .view-commerce-discount-overview .views-table tr, .view-commerce-discount-overview .views-table td {
  328. border: 0;
  329. }
  330. .view-commerce-discount-overview .views-table th {
  331. text-transform: none;
  332. }
  333. .view-commerce-discount-overview .views-table .views-field-label {
  334. width: 30%;
  335. }
  336. .view-commerce-discount-overview .views-table th .views-field-operations-dropbutton {
  337. width: 70px;
  338. }
  339. .view-commerce-discount-overview .views-table td .views-field-type {
  340. padding: 10px 20px;
  341. }
  342. .view-commerce-discount-overview .views-table td .views-field-commerce-discount-usage li {
  343. list-style-type: none;
  344. }
  345. .view-commerce-discount-overview .views-table td .views-field-commerce-discount-usage li.first {
  346. color: #6d6d6d;
  347. font-style: italic;
  348. }
  349. .view-commerce-discount-overview .views-table td .views-field-enable-disable .item-list ul {
  350. width: 140px;
  351. border: 2px solid #6d6d6d;
  352. border-radius: 5px;
  353. height: 30px;
  354. }
  355. .view-commerce-discount-overview .views-table td .views-field-enable-disable .item-list ul li {
  356. display: block;
  357. width: 50%;
  358. text-transform: uppercase;
  359. padding: 5px 0;
  360. font-weight: bold;
  361. text-align: center;
  362. font-size: 12px;
  363. color: white;
  364. line-height: 20px;
  365. }
  366. [dir="ltr"] .view-commerce-discount-overview .views-table td .views-field-enable-disable .item-list ul li {
  367. float: left;
  368. }
  369. [dir="rtl"] .view-commerce-discount-overview .views-table td .views-field-enable-disable .item-list ul li {
  370. float: right;
  371. }
  372. .view-commerce-discount-overview .views-table td .views-field-enable-disable .item-list ul li.enabled {
  373. background-color: #7cae20;
  374. }
  375. .view-commerce-discount-overview .views-table td .views-field-enable-disable .item-list ul li.disabled {
  376. background-color: #4d4e49;
  377. }
  378. .view-commerce-discount-overview .views-table td .views-field-enable-disable .item-list ul li a {
  379. color: #6d6d6d;
  380. }
  381. .view-commerce-discount-overview .views-table td .views-field-operations-dropbutton {
  382. position: relative;
  383. }
  384. .view-commerce-discount-overview .views-table td .views-field-operations-dropbutton .ctools-dropbutton {
  385. border: 1px solid #ccc;
  386. border-radius: 10px;
  387. background-image: -webkit-linear-gradient(top, #fcfdfc 36%, #f0f0f0 68%);
  388. background-image: linear-gradient(top, #fcfdfc 36%, #f0f0f0 68%);
  389. }
  390. .view-commerce-discount-overview .views-table td .views-field-operations-dropbutton .ctools-dropbutton .ctools-content {
  391. border-right: 1px solid #ccc;
  392. }
  393. .field-name-commerce-compatibility-strategy .field-widget-options-buttons .form-wrapper {
  394. clear: both;
  395. }
  396. /*# sourceMappingURL=commerce_discount.css.map */