Source Code Documentation


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


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

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

Source Code Documentation