Source Code Documentation


pro\s2member-pro\includes\separates\gateways\authnet\authnet.css


  1. /**
  2. * Core CSS stylesheet for Authorize.Net®.
  3. *
  4. * Copyright: © 2009-2011
  5. * {@link http://www.websharks-inc.com/ WebSharks, Inc.}
  6. * (coded in the USA)
  7. *
  8. * This WordPress® plugin (s2Member Pro) is comprised of two parts:
  9. *
  10. * o (1) Its PHP code is licensed under the GPL license, as is WordPress®.
  11. * You should have received a copy of the GNU General Public License,
  12. * along with this software. In the main directory, see: /licensing/
  13. * If not, see: {@link http://www.gnu.org/licenses/}.
  14. *
  15. * o (2) All other parts of (s2Member Pro); including, but not limited to:
  16. * the CSS code, some JavaScript code, images, and design;
  17. * are licensed according to the license purchased.
  18. * See: {@link http://www.s2member.com/prices/}
  19. *
  20. * Unless you have our prior written consent, you must NOT directly or indirectly license,
  21. * sub-license, sell, resell, or provide for free; part (2) of the s2Member Pro Module;
  22. * or make an offer to do any of these things. All of these things are strictly
  23. * prohibited with part (2) of the s2Member Pro Module.
  24. *
  25. * Your purchase of s2Member Pro includes free lifetime upgrades via s2Member.com
  26. * (i.e. new features, bug fixes, updates, improvements); along with full access
  27. * to our video tutorial library: {@link http://www.s2member.com/videos/}
  28. *
  29. * @package s2Member\AuthNet
  30. * @since 1.5
  31. */
  32. /*
  33. Structrual styles for Authorize.Net® Pro Forms.
  34.  
  35. These are basic CSS rules. You can override any of these
  36. through the `/style.css` file for your WordPress® theme.
  37. */
  38. form.s2member-pro-authnet-form
  39. {
  40. margin: 0;
  41. padding: 0;
  42. clear: both;
  43. display: block;
  44. text-align: left;
  45. }
  46. div.s2member-pro-authnet-form-section
  47. {
  48. text-align: left;
  49. margin: 25px 0 0 0;
  50. }
  51. div.s2member-pro-authnet-form-section:first-child
  52. {
  53. margin-top: 0;
  54. }
  55. div.s2member-pro-authnet-form-coupon-section
  56. {
  57. display: /* Off initially. */ none;
  58. }
  59. div.s2member-pro-authnet-form-response-section
  60. {
  61. margin-top: 0;
  62. }
  63. div.s2member-pro-authnet-form-response-info,
  64. div.s2member-pro-authnet-form-response-error
  65. {
  66. color: #000000;
  67. -moz-border-radius: 5px;
  68. -webkit-border-radius: 5px;
  69. border-radius: 5px;
  70. padding: 10px 60px 10px 10px;
  71. }
  72. div.s2member-pro-authnet-form-response-info a,
  73. div.s2member-pro-authnet-form-response-error a
  74. {
  75. color: #000000;
  76. text-decoration: underline;
  77. }
  78. div.s2member-pro-authnet-form-response-info
  79. {
  80. font-size: 120%;
  81. border: 1px solid #F1EADA;
  82. background: #FFFFCC url('<?php echo $i; ?>/info-icon.png') no-repeat center right;
  83. }
  84. div.s2member-pro-authnet-form-response-error
  85. {
  86. border: 1px solid #FE8989;
  87. background: #FFD5D5 url('<?php echo $i; ?>/error-icon.png') no-repeat center right;
  88. }
  89. div.s2member-pro-authnet-form-description-div
  90. {
  91. font-size: 140%;
  92. font-family: 'Consolas', 'Courier New', monospace;
  93. }
  94. div.s2member-pro-authnet-form-section-title
  95. {
  96. font-size: 150%;
  97. text-align: left;
  98. min-height: 22px;
  99. margin: 0 0 25px 0;
  100. border: 1px solid;
  101. padding: 10px 0 10px 0;
  102. border-width: 0 0 1px 0;
  103. font-family: 'Georgia', serif;
  104. }
  105. div.s2member-pro-authnet-form-coupon-section-title
  106. {
  107. background: url('<?php echo $i; ?>/coupon-icon.png') no-repeat center right;
  108. }
  109. div.s2member-pro-authnet-form-registration-section-title
  110. {
  111. background: url('<?php echo $i; ?>/secure-icon.png') no-repeat center right;
  112. }
  113. div.s2member-pro-authnet-form-custom-fields-section-title
  114. {
  115. background: url('<?php echo $i; ?>/details-icon.png') no-repeat center right;
  116. }
  117. div.s2member-pro-authnet-form-billing-method-section-title
  118. {
  119. background: url('<?php echo $i; ?>/wallet-icon.png') no-repeat center right;
  120. }
  121. div.s2member-pro-authnet-form-billing-address-section-title
  122. {
  123. background: url('<?php echo $i; ?>/address-icon.png') no-repeat center right;
  124. }
  125. div.s2member-pro-authnet-form-captcha-section-title
  126. {
  127. background: url('<?php echo $i; ?>/captcha-icon.png') no-repeat center right;
  128. }
  129. label.s2member-pro-authnet-form-card-type-label
  130. {
  131. width: 25%;
  132. cursor: pointer;
  133. text-align: center;
  134. display: inline-block;
  135. }
  136. label.s2member-pro-authnet-form-card-type-label.disabled
  137. {
  138. opacity: 0.2;
  139. filter: alpha(opacity=20);
  140. }
  141. label.s2member-pro-authnet-form-card-type-label input[type="radio"]
  142. {
  143. margin-top: 40px !important;
  144. }
  145. label.s2member-pro-authnet-form-card-type-visa-label
  146. {
  147. background: url('<?php echo $i; ?>/visa-card.png') no-repeat top center;
  148. }
  149. label.s2member-pro-authnet-form-card-type-mastercard-label
  150. {
  151. background: url('<?php echo $i; ?>/mastercard-card.png') no-repeat top center;
  152. }
  153. label.s2member-pro-authnet-form-card-type-amex-label
  154. {
  155. background: url('<?php echo $i; ?>/amex-card.png') no-repeat top center;
  156. }
  157. label.s2member-pro-authnet-form-card-type-discover-label
  158. {
  159. background: url('<?php echo $i; ?>/discover-card.png') no-repeat top center;
  160. }
  161. /* label.s2member-pro-authnet-form-card-type-maestro-label
  162. {
  163. background: url('<?php echo $i; ?>/maestro-card.png') no-repeat top center;
  164. }
  165. label.s2member-pro-authnet-form-card-type-solo-label
  166. {
  167. background: url('<?php echo $i; ?>/solo-card.png') no-repeat top center;
  168. } */
  169. div.s2member-pro-authnet-form-submission-section-title
  170. {
  171. margin-bottom: 0;
  172. background: url('<?php echo $i; ?>/arrow-icon.png') no-repeat center right;
  173. }
  174. div.s2member-pro-authnet-form-section > div.s2member-pro-authnet-form-div
  175. {
  176. text-align: left;
  177. margin: 15px 0 0 0;
  178. }
  179. div.s2member-pro-authnet-form-section > div.s2member-pro-authnet-form-div input[type="text"],
  180. div.s2member-pro-authnet-form-section > div.s2member-pro-authnet-form-div input[type="password"],
  181. div.s2member-pro-authnet-form-section > div.s2member-pro-authnet-form-div textarea,
  182. div.s2member-pro-authnet-form-section > div.s2member-pro-authnet-form-div select
  183. {
  184. margin: /* Remove any existing margins. */ 0;
  185. width: /* 100% does not work across all browsers. */ 100%;
  186. width: /* 100% does not work in IE browsers < 8. */ 98% !ie<8;
  187. box-sizing: /* Make all fields behave the same. */ border-box;
  188. -ms-box-sizing: border-box;
  189. -moz-box-sizing: border-box;
  190. -webkit-box-sizing: border-box;
  191. }
  192. div.s2member-pro-authnet-form-section > div.s2member-pro-authnet-form-div input[type="checkbox"],
  193. div.s2member-pro-authnet-form-section > div.s2member-pro-authnet-form-div input[type="radio"]
  194. {
  195. margin: 0 3px 0 0;
  196. vertical-align: middle;
  197. }
  198. div.s2member-pro-authnet-form-section > div.s2member-pro-authnet-form-div select
  199. {
  200. width: /* This width required in IE < 8. */ 99.5% !ie<8;
  201. }
  202. div.s2member-pro-authnet-form-section > div.s2member-pro-authnet-form-div label
  203. {
  204. cursor: /* Make labels appear clickable. */ pointer;
  205. }
  206. div.s2member-pro-authnet-form-section > div.s2member-pro-authnet-form-div label.ws-plugin--s2member-custom-reg-field-op-l
  207. {
  208. opacity: 0.7;
  209. font-size: 90%;
  210. vertical-align: middle;
  211. }
  212. div.s2member-pro-authnet-form-section > div.s2member-pro-authnet-form-custom-reg-field-divider-section
  213. {
  214. height: 1px;
  215. border: 0 solid;
  216. line-height: 1px;
  217. border-width: 0 0 1px 0;
  218. }
  219. div.s2member-pro-authnet-form-section > div.s2member-pro-authnet-form-custom-reg-field-divider-section-title
  220. {
  221. border: 0 solid;
  222. font-size: 110%;
  223. border-width: 0 0 1px 0;
  224. padding: 0 0 12px 0;
  225. }
  226. div.s2member-pro-authnet-form-section > div.s2member-pro-authnet-form-coupon-div input[type="text"]
  227. {
  228. width: 75%;
  229. float: left !ie<8;
  230. }
  231. div.s2member-pro-authnet-form-section > div.s2member-pro-authnet-form-coupon-div input[type="button"]
  232. {
  233. width: 20%;
  234. float: right;
  235. margin-top: -3px;
  236. font-weight: normal;
  237. }
  238. div.s2member-pro-authnet-form-section > div.s2member-pro-authnet-form-ajax-tax-div > div,
  239. div.s2member-pro-authnet-form-section > div.s2member-pro-authnet-form-coupon-response-div > div
  240. {
  241. color: #446F5C;
  242. -moz-border-radius: 5px;
  243. -webkit-border-radius: 5px;
  244. border-radius: 5px;
  245. padding: 5px 60px 5px 5px;
  246. border: 1px solid #A9D6B6;
  247. background: #CCEED9 url('<?php echo $i; ?>/tax-icon.png') no-repeat center right;
  248. }
  249. div.s2member-pro-authnet-form-section > div.s2member-pro-authnet-form-ajax-tax-div > div > img
  250. {
  251. border: 0;
  252. width: 16px;
  253. height: 16px;
  254. margin: 0 5px 0 0;
  255. background: transparent;
  256. vertical-align: middle;
  257. }
  258. div.s2member-pro-authnet-form-section > div.s2member-pro-authnet-form-div input.s2member-pro-authnet-password2
  259. {
  260. margin-top: /* Space this out just a bit. */ 5px;
  261. }
  262. div.s2member-pro-authnet-form-submission-section > div.s2member-pro-authnet-form-custom-reg-field-opt-in-div
  263. {
  264. float: left;
  265. max-width: 70%;
  266. }
  267. div.s2member-pro-authnet-form-submission-section > div.s2member-pro-authnet-form-submit-div
  268. {
  269. float: right;
  270. }
  271. div.s2member-pro-authnet-form-submission-section > div.s2member-pro-authnet-form-submit-div > input[type="image"]
  272. {
  273. border: 0;
  274. }

pro\s2member-pro\includes\separates\gateways\authnet\authnet.css

Source Code Documentation