PluginProbe
WP-Members Membership Plugin / trunk
WP-Members Membership Plugin vtrunk
trunk 3.3.9 3.4.0 3.4.1 3.4.2 3.4.3 3.4.4 3.4.4.2 3.4.5 3.4.6 3.4.7 3.4.8 3.4.9 3.4.9.1 3.4.9.2 3.4.9.3 3.4.9.4 3.4.9.5 3.4.9.6 3.4.9.7 3.5.0 3.5.1 3.5.2 3.5.3 3.5.4 All 34 releases
wp-members / assets / css / forms / wp-members-styles.css

wp-members-styles.css in WP-Members Membership Plugin trunk, at assets/css/forms/wp-members-styles.css

279 lines 5.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * WP-Members Styles CSS
3 *
4 * CSS for the WP-Members plugin
5 *
6 * This file is part of the WP-Members plugin by Chad Butler
7 * You can find out more about this plugin at https://rocketgeek.com
8 * Copyright (c) 2006-2026 Chad Butler
9 * WP-Members(tm) is a trademark of butlerblog.com
10 *
11 * @package WP-Members
12 * @author Chad Butler
13 * @copyright 2006-2026
14 */
15
16 /*
17 This stylesheet is designed to integrate WP-Members floated form elements
18 as simply as possible with most themes. There are quite a few examples
19 in here of what you can do to style the forms. You can build off of this
20 or start from scratch and set your own custom css for the plugin
21 (set the location in the admin panel).
22
23 See https://rocketgeek.com/tips-and-tricks/setting-up-a-custom-wp-members-stylesheet/
24 for information on how to set up the plugin with a custom stylesheet.
25
26 For information how to load custom stylesheets with wp_enqueue_style,
27 see https://rocketgeek.com/tips-and-tricks/load-a-custom-stylesheet/
28 */
29
30
31 /* Error and Dialog Messages */
32
33 #wpmem_msg,
34 .wpmem_msg,
35 #wpmem_restricted_msg {
36 background: #F9F9F9;
37 border:1px solid lightGrey;
38 border-radius: 3px;
39 padding: 20px;
40 width: 100%;
41 }
42
43 #wpmem_msg p,
44 .wpmem_msg p,
45 #wpmem_restricted_msg p {
46 margin: initial;
47 padding: initial;
48 }
49
50 /* Sidebar Login Widget */
51
52 #wp-members {
53 width: 100%;
54 }
55 #wp-members fieldset {
56 border:none;
57 padding:0px
58 }
59 #wp-members input {
60 font-family: inherit;
61 }
62 #wp-members input[type="text"],
63 #wp-members input[type="password"]{
64 margin: 0 0 4px 0;
65 }
66 #wp-members input[type="submit"] {
67 padding: 5px 6px 4px;
68 margin: 0 4px 0 0;
69 }
70 #wp-members .button_div {
71 margin-top:4px;
72 }
73 #wp-members .err {
74 width:100%;
75 padding: 5px;
76 font-family: inherit;
77 border: 1px solid #ccc;
78 border-radius: 3px;
79 }
80
81
82 /* Login Form and Registration Form */
83 #wpmem_reg,
84 #wpmem_login {}
85
86 #wpmem_reg label,
87 #wpmem_login label {
88 display: initial;
89 }
90
91 #wpmem_reg input[type="text"],
92 #wpmem_reg input[type="password"],
93 #wpmem_reg input[type="email"],
94 #wpmem_reg input[type="url"],
95 #wpmem_reg input[type="number"],
96 #wpmem_reg input[type="date"],
97 #wpmem_reg textarea,
98 #wpmem_login input[type="text"],
99 #wpmem_login input[type="password"] {
100 border: 1px solid rgba(0, 0, 0, 0.1);
101 border-radius: 2px;
102 color: rgb(43, 43, 43);
103 padding: 8px 10px 8px;
104 background: none repeat scroll 0% 0% #fff;
105 }
106
107 #wpmem_reg input,
108 #wpmem_reg button,
109 #wpmem_reg select,
110 #wpmem_reg textarea,
111 #wpmem_login input,
112 #wpmem_login button {
113 -moz-box-sizing: border-box;
114 font-size: 100%;
115 margin: 0px;
116 max-width: 100%;
117 vertical-align: baseline;
118 }
119
120 #wpmem_reg input:focus,
121 #wpmem_reg textarea:focus,
122 #wpmem_login input:focus {
123 border: 1px solid rgba(0, 0, 0, 0.3);
124 outline: 0px none;
125 }
126
127 #wpmem_reg select {
128 width:100%;
129 padding: 8px 10px 7px;
130 border: 1px solid rgba(0, 0, 0, 0.1);
131 border-radius: 2px;
132 color: rgb(43, 43, 43);
133 margin: 5px 0;
134 }
135
136 #wpmem_reg fieldset,
137 #wpmem_login fieldset {
138 border: none;
139 padding: 0;
140 margin: 40px 0;
141 }
142 #wpmem_reg legend,
143 #wpmem_login legend {
144 font-size: 115%;
145 line-height: 1;
146 margin-bottom: 10px;
147 width: 100%;
148 }
149 #wpmem_reg .form,
150 #wpmem_login .form {
151 margin:0;
152 padding:0;
153 }
154 #wpmem_reg .clear,
155 #wpmem_login .clear {
156 clear:both;
157 }
158 #wpmem_reg .holder,
159 #wpmem_login .holder {
160 background-color:#fff;
161 }
162
163 #wpmem_login .div_text,
164 #wpmem_reg .div_text,
165 #wpmem_reg .div_textarea,
166 #wpmem_reg .div_select,
167 #wpmem_reg .div_checkbox,
168 #wpmem_reg .div_multiselect,
169 #wpmem_reg .div_multicheckbox,
170 #wpmem_reg .div_radio,
171 #wpmem_reg .div_image,
172 #wpmem_reg .div_file,
173 #wpmem_reg .div_url,
174 #wpmem_reg .div_number,
175 #wpmem_reg .div_date {
176 width:100%;
177 margin:0 0 14px 0;
178 }
179 #wpmem_login input[type="checkbox"] {
180 margin: 12px 2px;
181 }
182 #wpmem_reg .div_textarea textarea,
183 #wpmem_reg .file,
184 #wpmem_reg .image,
185 #wpmem_reg .username,
186 #wpmem_reg .password,
187 #wpmem_reg .textbox,
188 #wpmem_login .textbox,
189 #wpmem_login .username,
190 #wpmem_login .password {
191 width:100%;
192 }
193
194
195 #wpmem_reg textarea {
196 height:185px;
197 }
198 #wpmem_reg .req {
199 color: #bd3500;
200 font-size: 22px;
201 line-height: 50%;
202 }
203
204 #wpmem_reg .req-text {
205 margin: 20px 0px 0px 5px;
206 }
207
208 #wpmem_reg .noinput {
209 width:93%;
210 padding: 8px 10px 7px;
211 border: 1px solid rgba(0, 0, 0, 0.1);
212 border-radius: 2px;
213 color: rgb(43, 43, 43);
214 margin: 5px 0;
215 }
216
217 #wpmem_reg .captcha {
218 width: 100%;
219 margin: 5px 0px;
220 }
221 #wpmem_reg .captcha table{
222 line-height: 0px;
223 }
224 #wpmem_login .link-text {
225 padding: 4px 0;
226 width: 100%;
227 text-align:right;
228 }
229
230 #tos {
231 margin-right:5px;
232 }
233
234
235 /* Buttons */
236
237 #wpmem_reg .button_div,
238 #wpmem_login .button_div {
239 width:100%;
240 /* height:55px; */
241 padding: 6px 0;
242 text-align: right;
243 }
244
245
246 /** for smaller screens */
247
248 @media screen and (max-width: 720px) {
249 #wpmem_reg label.text, #wpmem_reg label.checkbox,
250 #wpmem_reg label.textarea , #wpmem_reg label.select,
251 #wpmem_login label, #wpmem_reg .div_text, #wpmem_reg .div_textarea,
252 #wpmem_reg .div_select, #wpmem_login .div_text,
253 #wpmem_reg .div_checkbox, #wpmem_reg .button_div, #wpmem_login .button_div {
254 float: none;
255 }
256
257 #wpmem_reg label.text, #wpmem_reg label.checkbox,
258 #wpmem_reg label.textarea , #wpmem_reg label.select {
259 width: 90%;
260 padding: 5px 0 0 0;
261 }
262 #wpmem_reg label.textarea {
263 height: 26px;
264 }
265 #wpmem_reg .div_text, #wpmem_reg .div_textarea,
266 #wpmem_reg .div_select, #wpmem_login .div_text,
267 #wpmem_reg .div_checkbox {
268 width: 98%;
269 }
270 #wpmem_msg, .wpmem_msg {
271 width: 100%;
272 }
273
274 #wpmem_reg .button_div,
275 #wpmem_login .button_div,
276 #wpmem_login .link-text {
277 width:98%;
278 }
279 }