Source Code Documentation


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. /* Auto-displayed dynamically. */
  58. display: none; /* Off initially. */
  59. }
  60. div.s2member-pro-authnet-form-response-section
  61. {
  62. margin-top: 0;
  63. }
  64. div.s2member-pro-authnet-form-response-info,
  65. div.s2member-pro-authnet-form-response-error
  66. {
  67. color: #000000;
  68. -moz-border-radius: 5px;
  69. -webkit-border-radius: 5px;
  70. border-radius: 5px;
  71. padding: 10px 60px 10px 10px;
  72. }
  73. div.s2member-pro-authnet-form-response-info a,
  74. div.s2member-pro-authnet-form-response-error a
  75. {
  76. color: #000000;
  77. text-decoration: underline;
  78. }
  79. div.s2member-pro-authnet-form-response-info
  80. {
  81. font-size: 120%;
  82. border: 1px solid #F1EADA;
  83. background: #FFFFCC url('<?php echo $i; ?>/info-icon.png') no-repeat center right;
  84. }
  85. div.s2member-pro-authnet-form-response-error
  86. {
  87. border: 1px solid #FE8989;
  88. background: #FFD5D5 url('<?php echo $i; ?>/error-icon.png') no-repeat center right;
  89. }
  90. div.s2member-pro-authnet-form-description-div
  91. {
  92. font-size: 140%;
  93. font-family: 'Consolas', 'Courier New', monospace;
  94. }
  95. div.s2member-pro-authnet-form-section-title
  96. {
  97. font-size: 150%;
  98. text-align: left;
  99. min-height: 22px;
  100. margin: 0 0 25px 0;
  101. border: 1px solid;
  102. padding: 10px 0 10px 0;
  103. border-width: 0 0 1px 0;
  104. font-family: 'Georgia', serif;
  105. }
  106. div.s2member-pro-authnet-form-coupon-section-title
  107. {
  108. background: url('<?php echo $i; ?>/coupon-icon.png') no-repeat center right;
  109. }
  110. div.s2member-pro-authnet-form-registration-section-title
  111. {
  112. background: url('<?php echo $i; ?>/secure-icon.png') no-repeat center right;
  113. }
  114. div.s2member-pro-authnet-form-custom-fields-section-title
  115. {
  116. background: url('<?php echo $i; ?>/details-icon.png') no-repeat center right;
  117. }
  118. div.s2member-pro-authnet-form-billing-method-section-title
  119. {
  120. background: url('<?php echo $i; ?>/wallet-icon.png') no-repeat center right;
  121. }
  122. div.s2member-pro-authnet-form-billing-address-section-title
  123. {
  124. background: url('<?php echo $i; ?>/address-icon.png') no-repeat center right;
  125. }
  126. div.s2member-pro-authnet-form-captcha-section-title
  127. {
  128. background: url('<?php echo $i; ?>/captcha-icon.png') no-repeat center right;
  129. }
  130. label.s2member-pro-authnet-form-card-type-label
  131. {
  132. width: 25%;
  133. cursor: pointer;
  134. text-align: center;
  135. display: inline-block;
  136. }
  137. label.s2member-pro-authnet-form-card-type-label.disabled
  138. {
  139. opacity: 0.2;
  140. filter: alpha(opacity=20);
  141. }
  142. label.s2member-pro-authnet-form-card-type-label input[type="radio"]
  143. {
  144. margin-top: 40px !important;
  145. }
  146. label.s2member-pro-authnet-form-card-type-visa-label
  147. {
  148. background: url('<?php echo $i; ?>/visa-card.png') no-repeat top center;
  149. }
  150. label.s2member-pro-authnet-form-card-type-mastercard-label
  151. {
  152. background: url('<?php echo $i; ?>/mastercard-card.png') no-repeat top center;
  153. }
  154. label.s2member-pro-authnet-form-card-type-amex-label
  155. {
  156. background: url('<?php echo $i; ?>/amex-card.png') no-repeat top center;
  157. }
  158. label.s2member-pro-authnet-form-card-type-discover-label
  159. {
  160. background: url('<?php echo $i; ?>/discover-card.png') no-repeat top center;
  161. }
  162. /* label.s2member-pro-authnet-form-card-type-maestro-label
  163. {
  164. background: url('<?php echo $i; ?>/maestro-card.png') no-repeat top center;
  165. }
  166. label.s2member-pro-authnet-form-card-type-solo-label
  167. {
  168. background: url('<?php echo $i; ?>/solo-card.png') no-repeat top center;
  169. } */
  170. div.s2member-pro-authnet-form-submission-section-title
  171. {
  172. margin-bottom: 0;
  173. background: url('<?php echo $i; ?>/arrow-icon.png') no-repeat center right;
  174. }
  175. div.s2member-pro-authnet-form-section > div.s2member-pro-authnet-form-div
  176. {
  177. text-align: left;
  178. margin: 15px 0 0 0;
  179. }
  180. div.s2member-pro-authnet-form-section > div.s2member-pro-authnet-form-div input[type="text"],
  181. div.s2member-pro-authnet-form-section > div.s2member-pro-authnet-form-div input[type="password"],
  182. div.s2member-pro-authnet-form-section > div.s2member-pro-authnet-form-div textarea,
  183. div.s2member-pro-authnet-form-section > div.s2member-pro-authnet-form-div select
  184. {
  185. margin: 0; /* Remove any existing margins. */
  186. width: 100%; /* 100% does not work across all browsers. */
  187. width: 98%
  188. !ie<8; /* 100% does not work in IE browsers < 8. */
  189. box-sizing: border-box; /* Make all fields behave the same. */
  190. -ms-box-sizing: border-box;
  191. -moz-box-sizing: border-box;
  192. -webkit-box-sizing: border-box;
  193. }
  194. div.s2member-pro-authnet-form-section > div.s2member-pro-authnet-form-div input[type="checkbox"],
  195. div.s2member-pro-authnet-form-section > div.s2member-pro-authnet-form-div input[type="radio"]
  196. {
  197. margin: 0 3px 0 0;
  198. vertical-align: middle;
  199. }
  200. div.s2member-pro-authnet-form-section > div.s2member-pro-authnet-form-div select
  201. {
  202. width: 99.5%
  203. !ie<8; /* This width required in IE < 8. */
  204. }
  205. div.s2member-pro-authnet-form-section > div.s2member-pro-authnet-form-div label
  206. {
  207. cursor: pointer; /* Make labels appear clickable. */
  208. }
  209. div.s2member-pro-authnet-form-section > div.s2member-pro-authnet-form-div label.ws-plugin--s2member-custom-reg-field-op-l
  210. {
  211. opacity: 0.7;
  212. font-size: 90%;
  213. vertical-align: middle;
  214. }
  215. div.s2member-pro-authnet-form-section > div.s2member-pro-authnet-form-custom-reg-field-divider-section
  216. {
  217. height: 1px;
  218. border: 0 solid;
  219. line-height: 1px;
  220. border-width: 0 0 1px 0;
  221. }
  222. div.s2member-pro-authnet-form-section > div.s2member-pro-authnet-form-custom-reg-field-divider-section-title
  223. {
  224. border: 0 solid;
  225. font-size: 110%;
  226. border-width: 0 0 1px 0;
  227. padding: 0 0 12px 0;
  228. }
  229. div.s2member-pro-authnet-form-section > div.s2member-pro-authnet-form-coupon-div input[type="text"]
  230. {
  231. width: 75%;
  232. float: left
  233. !ie<8;
  234. }
  235. div.s2member-pro-authnet-form-section > div.s2member-pro-authnet-form-coupon-div input[type="button"]
  236. {
  237. width: 20%;
  238. float: right;
  239. margin-top: -3px;
  240. font-weight: normal;
  241. }
  242. div.s2member-pro-authnet-form-section > div.s2member-pro-authnet-form-ajax-tax-div > div,
  243. div.s2member-pro-authnet-form-section > div.s2member-pro-authnet-form-coupon-response-div > div
  244. {
  245. color: #446F5C;
  246. -moz-border-radius: 5px;
  247. -webkit-border-radius: 5px;
  248. border-radius: 5px;
  249. padding: 5px 60px 5px 5px;
  250. border: 1px solid #A9D6B6;
  251. background: #CCEED9 url('<?php echo $i; ?>/tax-icon.png') no-repeat center right;
  252. }
  253. div.s2member-pro-authnet-form-section > div.s2member-pro-authnet-form-ajax-tax-div > div > img
  254. {
  255. border: 0;
  256. width: 16px;
  257. height: 16px;
  258. margin: 0 5px 0 0;
  259. background: transparent;
  260. vertical-align: middle;
  261. }
  262. div.s2member-pro-authnet-form-section > div.s2member-pro-authnet-form-div input.s2member-pro-authnet-password2
  263. {
  264. margin-top: 5px; /* Space this out just a bit. */
  265. }
  266. div.s2member-pro-authnet-form-submission-section > div.s2member-pro-authnet-form-custom-reg-field-opt-in-div
  267. {
  268. float: left;
  269. max-width: 70%;
  270. }
  271. div.s2member-pro-authnet-form-submission-section > div.s2member-pro-authnet-form-submit-div
  272. {
  273. float: right;
  274. }
  275. div.s2member-pro-authnet-form-submission-section > div.s2member-pro-authnet-form-submit-div > input[type="image"]
  276. {
  277. border: 0;
  278. }

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

Source Code Documentation