Source Code Documentation


s2member\includes\s2member.css


  1. /**
  2. * Core CSS stylesheet for the s2Member plugin.
  3. *
  4. * Copyright: © 2009-2011
  5. * {@link http://www.websharks-inc.com/ WebSharks, Inc.}
  6. * (coded in the USA)
  7. *
  8. * Released under the terms of the GNU General Public License.
  9. * You should have received a copy of the GNU General Public License,
  10. * along with this software. In the main directory, see: /licensing/
  11. * If not, see: {@link http://www.gnu.org/licenses/}.
  12. *
  13. * @package s2Member
  14. * @since 3.0
  15. */
  16. /*
  17. Structural styles for s2Member Security Badge.
  18.  
  19. These are basic CSS rules. You can override any of these
  20. through the `/style.css` file for your WordPress® theme.
  21. */
  22. div.ws-plugin--s2member-s-badge
  23. {
  24. text-align: center;
  25. margin: 0 auto 0 auto;
  26. }
  27. /*
  28. Structural styles for Password strength indicators.
  29.  
  30. These are basic CSS rules. You can override any of these
  31. through the `/style.css` file for your WordPress® theme.
  32. */
  33. div.ws-plugin--s2member-password-strength
  34. {
  35. padding: 3px;
  36. color: #000000;
  37. background-color: #EEEEEE;
  38. -moz-border-radius: 3px;
  39. -webkit-border-radius: 3px;
  40. border-radius: 3px;
  41. margin-top: 3px;
  42. }
  43. div.ws-plugin--s2member-password-strength-short
  44. {
  45. background-color: #FFA0A0;
  46. }
  47. div.ws-plugin--s2member-password-strength-bad
  48. {
  49. background-color: #FFB78C;
  50. }
  51. div.ws-plugin--s2member-password-strength-good
  52. {
  53. background-color: #FFEC8B;
  54. }
  55. div.ws-plugin--s2member-password-strength-strong
  56. {
  57. background-color: #C3FF88;
  58. }
  59. div.ws-plugin--s2member-password-strength-mismatch
  60. {
  61. background-color: #D6C1AB;
  62. }
  63. /*
  64. Structural styles for Multisite Integration Forms.
  65.  
  66. These are basic CSS rules. You can override any of these
  67. through the `/style.css` file for your WordPress® theme.
  68. */
  69. div#content > div.mu_register,
  70. div#content > div.mu_register h2
  71. {
  72. margin: /* Get rid of margins. */ 0;
  73. padding: /* Get rid of padding. */ 0;
  74. width: /* Expand to 100%. */ 100%;
  75. }
  76. div#content > div.mu_register > form#setupform input[type="text"],
  77. div#content > div.mu_register > form#setupform input[type="email"],
  78. div#content > div.mu_register > form#setupform input[type="password"],
  79. div#content > div.mu_register > form#setupform input[type="submit"],
  80. div#content > div.mu_register > form#setupform textarea,
  81. div#content > div.mu_register > form#setupform select
  82. {
  83. width: /* 100% does not work across all browsers. */ 100%;
  84. width: /* 100% does not work in IE browsers < 8. */ 98% !ie<8;
  85. box-sizing: /* Make all fields behave the same. */ border-box;
  86. -ms-box-sizing: border-box;
  87. -moz-box-sizing: border-box;
  88. -webkit-box-sizing: border-box;
  89. margin: 5px 0 5px 0;
  90. font-size: 16px;
  91. }
  92. div#content > div.mu_register > form#setupform input[type="checkbox"],
  93. div#content > div.mu_register > form#setupform input[type="radio"]
  94. {
  95. margin: 0 3px 0 0;
  96. vertical-align: middle;
  97. }
  98. div#content > div.mu_register > form#setupform input[type="submit"]
  99. {
  100. width: /* This width required in IE < 8. */ 100% !ie<8;
  101. }
  102. div#content > div.mu_register > form#setupform p.submit
  103. {
  104. margin-bottom: /* Remove bottom margin. */ 0;
  105. }
  106. div#content > div.mu_register > form#setupform select
  107. {
  108. width: /* Required in IE < 8. */ 99.5% !ie<8;
  109. }
  110. div#content > div.mu_register > form#setupform label
  111. {
  112. cursor: pointer;
  113. margin: 15px 0 0 0;
  114. }
  115. div#content > div.mu_register > form#setupform label.ws-plugin--s2member-custom-reg-field-op-l
  116. {
  117. opacity: 0.7;
  118. font-size: 90%;
  119. vertical-align: middle;
  120. }
  121. div#content > div.mu_register > form#setupform div.ws-plugin--s2member-custom-reg-field-divider-section
  122. {
  123. height: 1px;
  124. border: 0 solid;
  125. line-height: 1px;
  126. margin: 15px 0 15px 0;
  127. border-width: 0 0 1px 0;
  128. }
  129. div#content > div.mu_register > form#setupform div.ws-plugin--s2member-custom-reg-field-divider-section-title
  130. {
  131. border: 0 solid;
  132. font-size: 110%;
  133. margin: 15px 0 15px 0;
  134. border-width: 0 0 1px 0;
  135. padding: 0 0 12px 0;
  136. }
  137. div#content > div.mu_register > div.mu_alert
  138. {
  139. display: none;
  140. }
  141. /*
  142. Structural styles for Return Pages.
  143.  
  144. These are basic CSS rules. You can override any of these
  145. through the `/style.css` file for your WordPress® theme.
  146. */
  147. body.s2member-return-body
  148. {
  149. color: #000000;
  150. font-size: 14px;
  151. background: #CCCCCC;
  152. }
  153. body.s2member-return-body a
  154. {
  155. color: #333333;
  156. text-decoration: none;
  157. border-bottom: 1px dotted;
  158. }
  159. body.s2member-return-body a:hover
  160. {
  161. color: #000000;
  162. }
  163. body.s2member-return-body *
  164. {
  165. font-family: 'Trebuchet MS', 'Arial', 'Helvetica', sans-serif;
  166. }
  167. body.s2member-return-body pre,
  168. body.s2member-return-body pre *,
  169. body.s2member-return-body code,
  170. body.s2member-return-body code *
  171. {
  172. font-family: 'Consolas', 'Courier New', monospace;
  173. }
  174. div.s2member-return-section
  175. {
  176. margin: 20px auto 20px auto;
  177. }
  178. div.s2member-return-header-section
  179. {
  180. padding: 0;
  181. width: 800px;
  182. font-size: 120%;
  183. }
  184. div.s2member-return-response-section
  185. {
  186. width: 768px;
  187. padding: 15px;
  188. background: #FFFFFF;
  189. border: 1px solid #666666;
  190. -moz-border-radius: 3px;
  191. -webkit-border-radius: 3px;
  192. border-radius: 3px;
  193. -moz-box-shadow: 1px 1px 1px #999999, -1px -1px 1px #999999;
  194. -webkit-box-shadow: 1px 1px 1px #999999, -1px -1px 1px #999999;
  195. box-shadow: 1px 1px 0 #999999, -1px -1px 1px #999999;
  196. }
  197. div.s2member-return-response-section div.s2member-return-continue
  198. {
  199. margin: 20px auto 0 auto;
  200. }
  201. div.s2member-return-response-section div.s2member-return-continue a
  202. {
  203. border: 0;
  204. padding: 8px;
  205. display: block;
  206. font-size: 120%;
  207. text-align: center;
  208. background: #EEEEEE;
  209. border: 1px solid #999999;
  210. -moz-border-radius: 3px;
  211. -webkit-border-radius: 3px;
  212. border-radius: 3px;
  213. -moz-box-shadow: 1px 1px 3px #CCCCCC, -1px -1px 3px #CCCCCC;
  214. -webkit-box-shadow: 1px 1px 3px #CCCCCC, -1px -1px 3px #CCCCCC;
  215. box-shadow: 1px 1px 3px #CCCCCC, -1px -1px 3px #CCCCCC;
  216. }
  217. div.s2member-return-response-section div.s2member-return-continue a:hover,
  218. div.s2member-return-response-section div.s2member-return-continue a:active,
  219. div.s2member-return-response-section div.s2member-return-continue a:focus
  220. {
  221. color: #FFFFFF;
  222. background: #151515;
  223. border: 1px solid #FFFFFF;
  224. }
  225. div.s2member-return-support-section
  226. {
  227. padding: 0;
  228. width: 800px;
  229. text-align: center;
  230. }
  231. div.s2member-return-support-section div.cc-reminder
  232. {
  233. padding: 15px;
  234. text-align: center;
  235. background: #FFFFFF;
  236. margin: 20px auto 0 auto;
  237. border: 1px solid #666666;
  238. -moz-border-radius: 3px;
  239. -webkit-border-radius: 3px;
  240. border-radius: 3px;
  241. -moz-box-shadow: 1px 1px 1px #999999, -1px -1px 1px #999999;
  242. -webkit-box-shadow: 1px 1px 1px #999999, -1px -1px 1px #999999;
  243. box-shadow: 1px 1px 0 #999999, -1px -1px 1px #999999;
  244. }
  245. /*
  246. Structural styles for Shortcode Profile Editing panel.
  247.  
  248. These are basic CSS rules. You can override any of these
  249. through the `/style.css` file for your WordPress® theme.
  250. */
  251. div#ws-plugin--s2member-profile-saved
  252. {
  253. margin-bottom: 15px;
  254. font-weight: bold;
  255. font-size: 110%;
  256. }
  257. form#ws-plugin--s2member-profile table
  258. {
  259. border: 0;
  260. margin: 0;
  261. width: 100%;
  262. }
  263. form#ws-plugin--s2member-profile table td
  264. {
  265. padding: 7px 0 7px 0;
  266. border: /* Tweak 2010 theme. */ 0;
  267. }
  268. form#ws-plugin--s2member-profile input[type="text"],
  269. form#ws-plugin--s2member-profile input[type="password"],
  270. form#ws-plugin--s2member-profile input[type="submit"],
  271. form#ws-plugin--s2member-profile textarea,
  272. form#ws-plugin--s2member-profile select
  273. {
  274. margin: /* Tweak. Zeros out margins in 2010 theme. */ 0;
  275. width: /* 100% does not work across all browsers. */ 100%;
  276. width: /* 100% does not work in IE browsers < 8. */ 98% !ie<8;
  277. box-sizing: /* Make all fields behave the same. */ border-box;
  278. -ms-box-sizing: border-box;
  279. -moz-box-sizing: border-box;
  280. -webkit-box-sizing: border-box;
  281. }
  282. form#ws-plugin--s2member-profile input[type="checkbox"],
  283. form#ws-plugin--s2member-profile input[type="radio"]
  284. {
  285. margin: 0 3px 0 0;
  286. vertical-align: middle;
  287. }
  288. form#ws-plugin--s2member-profile input[type="submit"]
  289. {
  290. width: /* This width required in IE < 8. */ 100% !ie<8;
  291. }
  292. form#ws-plugin--s2member-profile select
  293. {
  294. width: /* Required in IE < 8. */ 99.5% !ie<8;
  295. }
  296. form#ws-plugin--s2member-profile label
  297. {
  298. cursor: pointer;
  299. }
  300. form#ws-plugin--s2member-profile label.ws-plugin--s2member-custom-reg-field-op-l
  301. {
  302. opacity: 0.7;
  303. font-size: 90%;
  304. vertical-align: middle;
  305. }
  306. form#ws-plugin--s2member-profile input#ws-plugin--s2member-profile-password2
  307. {
  308. margin-top: 5px;
  309. }
  310. form#ws-plugin--s2member-profile div.ws-plugin--s2member-profile-field-divider-section
  311. {
  312. margin: 0;
  313. height: 1px;
  314. border: 0 solid;
  315. line-height: 1px;
  316. border-width: 0 0 1px 0;
  317. }
  318. form#ws-plugin--s2member-profile div.ws-plugin--s2member-profile-field-divider-section-title
  319. {
  320. margin: 0;
  321. border: 0 solid;
  322. font-size: 110%;
  323. border-width: 0 0 1px 0;
  324. padding: 0 0 7px 0;
  325. }
  326. /*
  327. Structural styles for BuddyPress Profile Field items.
  328.  
  329. These are basic CSS rules. You can override any of these
  330. through the `/style.css` file for your WordPress® theme.
  331. */
  332. body.profile.public div.ws-plugin--s2member-profile-field-4bp-divider-section
  333. {
  334. margin: 0;
  335. height: 1px;
  336. border: 0 solid;
  337. line-height: 1px;
  338. border-width: 0 0 1px 0;
  339. }
  340. body.profile.public div.ws-plugin--s2member-profile-field-4bp-divider-section-title
  341. {
  342. margin: 0;
  343. padding: 0;
  344. font-size: 120%;
  345. }
  346. /*
  347. Structural styles for BuddyPress Registration Fields.
  348.  
  349. These are basic CSS rules. You can override any of these
  350. through the `/style.css` file for your WordPress® theme.
  351. */
  352. body.registration form div#ws-plugin--s2member-custom-reg-fields-4bp-section
  353. {
  354. width: 48%;
  355. float: right;
  356. }
  357. body.registration form div#ws-plugin--s2member-custom-reg-fields-4bp-container
  358. {
  359. margin-right: 7.5%;
  360. }
  361. body.registration form div#ws-plugin--s2member-custom-reg-fields-4bp-section input[type="text"],
  362. body.registration form div#ws-plugin--s2member-custom-reg-fields-4bp-section input[type="password"],
  363. body.registration form div#ws-plugin--s2member-custom-reg-fields-4bp-section textarea,
  364. body.registration form div#ws-plugin--s2member-custom-reg-fields-4bp-section select
  365. {
  366. width: /* 100% does not work across all browsers. */ 100%;
  367. width: /* 100% does not work in IE browsers < 8. */ 98% !ie<8;
  368. box-sizing: /* Make all fields behave the same. */ border-box;
  369. -ms-box-sizing: border-box;
  370. -moz-box-sizing: border-box;
  371. -webkit-box-sizing: border-box;
  372. }
  373. body.registration form div#ws-plugin--s2member-custom-reg-fields-4bp-section input[type="checkbox"],
  374. body.registration form div#ws-plugin--s2member-custom-reg-fields-4bp-section input[type="radio"]
  375. {
  376. margin: 0 3px 0 0;
  377. vertical-align: middle;
  378. }
  379. body.registration form div#ws-plugin--s2member-custom-reg-fields-4bp-section select
  380. {
  381. width: /* Required in IE < 8. */ 99.5% !ie<8;
  382. }
  383. body.registration form div#ws-plugin--s2member-custom-reg-fields-4bp-section label.ws-plugin--s2member-custom-reg-field-op-l
  384. {
  385. opacity: 0.7;
  386. font-size: 90%;
  387. vertical-align: middle;
  388. }
  389. body.registration form div#ws-plugin--s2member-custom-reg-fields-4bp-section div.ws-plugin--s2member-custom-reg-field-4bp-divider-section
  390. {
  391. margin: 0;
  392. height: 1px;
  393. border: 0 solid;
  394. line-height: 1px;
  395. margin: 10px 0 10px 0;
  396. border-width: 0 0 1px 0;
  397. }
  398. body.registration form div#ws-plugin--s2member-custom-reg-fields-4bp-section div.ws-plugin--s2member-custom-reg-field-4bp-divider-section-title
  399. {
  400. margin: 0;
  401. border: 0 solid;
  402. font-size: 120%;
  403. margin: 10px 0 10px 0;
  404. border-width: 0 0 1px 0;
  405. padding: 0 0 7px 0;
  406. }
  407. /*
  408. Structural styles for BuddyPress Profile Field integrations.
  409.  
  410. These are basic CSS rules. You can override any of these
  411. through the `/style.css` file for your WordPress® theme.
  412. */
  413. body.logged-in.profile.profile-edit form#profile-edit-form div.editfield input[type="text"],
  414. body.logged-in.profile.profile-edit form#profile-edit-form div.editfield input[type="email"],
  415. body.logged-in.profile.profile-edit form input.ws-plugin--s2member-profile-field-4bp[type="text"],
  416. body.logged-in.profile.profile-edit form input.ws-plugin--s2member-profile-field-4bp[type="password"],
  417. body.logged-in.profile.profile-edit form textarea.ws-plugin--s2member-profile-field-4bp,
  418. body.logged-in.profile.profile-edit form select.ws-plugin--s2member-profile-field-4bp
  419. {
  420. width: /* 100% does not work across all browsers. */ 100%;
  421. width: /* 100% does not work in IE browsers < 8. */ 98% !ie<8;
  422. box-sizing: /* Make all fields behave the same. */ border-box;
  423. -ms-box-sizing: border-box;
  424. -moz-box-sizing: border-box;
  425. -webkit-box-sizing: border-box;
  426. }
  427. body.logged-in.profile.profile-edit form input.ws-plugin--s2member-profile-field-4bp[type="checkbox"],
  428. body.logged-in.profile.profile-edit form input.ws-plugin--s2member-profile-field-4bp[type="radio"]
  429. {
  430. margin: 0 3px 0 0;
  431. vertical-align: middle;
  432. }
  433. body.logged-in.profile.profile-edit form select.ws-plugin--s2member-profile-field-4bp
  434. {
  435. width: /* Required in IE < 8. */ 99.5% !ie<8;
  436. }
  437. body.logged-in.profile.profile-edit form label.ws-plugin--s2member-custom-reg-field-op-l
  438. {
  439. opacity: 0.7;
  440. font-size: 90%;
  441. vertical-align: middle;
  442. }
  443. body.logged-in.profile.profile-edit form div.ws-plugin--s2member-profile-field-4bp-divider-section
  444. {
  445. margin: 0;
  446. height: 1px;
  447. border: 0 solid;
  448. line-height: 1px;
  449. margin: 10px 0 10px 0;
  450. border-width: 0 0 1px 0;
  451. }
  452. body.logged-in.profile.profile-edit form div.ws-plugin--s2member-profile-field-4bp-divider-section-title
  453. {
  454. margin: 0;
  455. border: 0 solid;
  456. font-size: 120%;
  457. margin: 10px 0 10px 0;
  458. border-width: 0 0 1px 0;
  459. padding: 0 0 7px 0;
  460. }

s2member\includes\s2member.css

Source Code Documentation