Source Code Documentation


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

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

Source Code Documentation