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 / generic-no-float.css

generic-no-float.css in WP-Members Membership Plugin trunk, at assets/css/forms/generic-no-float.css

285 lines 5.9 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 /* Error and Dialog Messages */
31
32 #wpmem_msg,
33 .wpmem_msg {
34 text-align: center;
35 background: #F9F9F9;
36 border:1px solid lightGrey;
37 border-radius: 3px;
38 padding: 20px 0;
39 margin: 15px 0;
40 }
41
42 /* Messages and forms should (ideally) be the same width */
43 #wpmem_msg,
44 .wpmem_msg,
45 #wpmem_reg,
46 #wpmem_login {
47 width: 75%;
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 /* Login Form and Registration Form */
82
83 #wpmem_reg,
84 #wpmem_login {
85 color: rgb(43, 43, 43);
86 font-family: Arial,sans-serif;
87 font-size: 16px;
88 font-weight: 400;
89 line-height: 1.5;
90 }
91
92 #wpmem_reg label,
93 #wpmem_login label {
94 display: initial;
95 }
96
97 #wpmem_reg input[type="text"],
98 #wpmem_reg input[type="password"],
99 #wpmem_reg input[type="email"],
100 #wpmem_reg input[type="url"],
101 #wpmem_reg input[type="number"],
102 #wpmem_reg input[type="date"],
103 #wpmem_reg input[type="file"],
104 #wpmem_reg textarea,
105 #wpmem_login input[type="text"],
106 #wpmem_login input[type="password"] {
107 border: 1px solid rgba(0, 0, 0, 0.1);
108 border-radius: 2px;
109 color: rgb(43, 43, 43);
110 padding: 8px 10px 8px;
111 background: none repeat scroll 0% 0% #fff;
112 }
113
114 #wpmem_reg input,
115 #wpmem_reg button,
116 #wpmem_reg select,
117 #wpmem_reg textarea,
118 #wpmem_login input,
119 #wpmem_login button {
120 -moz-box-sizing: border-box;
121 font-size: 100%;
122 margin: 0px;
123 max-width: 100%;
124 vertical-align: baseline;
125 clear:both;
126 }
127
128 #wpmem_reg input:focus,
129 #wpmem_reg textarea:focus,
130 #wpmem_login input:focus {
131 border: 1px solid rgba(0, 0, 0, 0.3);
132 outline: 0px none;
133 }
134
135 #wpmem_reg select {
136 width:100%;
137 padding: 8px 10px 7px;
138 border: 1px solid rgba(0, 0, 0, 0.1);
139 border-radius: 2px;
140 color: rgb(43, 43, 43);
141 margin: 5px 0;
142 background: none repeat scroll 0% 0% #fff;
143 }
144
145 #wpmem_reg fieldset,
146 #wpmem_login fieldset {
147 border: none;
148 padding: 0;
149 margin: 40px 0;
150 }
151 #wpmem_reg legend,
152 #wpmem_login legend {
153 font-size: 24px;
154 line-height: 1;
155 font-weight: 700;
156 margin-bottom: 10px;
157 width: 100%;
158 }
159 #wpmem_reg .form,
160 #wpmem_login .form {
161 margin:0;
162 padding:0;
163 }
164 #wpmem_reg .clear,
165 #wpmem_login .clear {
166 clear:both;
167 }
168 #wpmem_reg .holder,
169 #wpmem_login .holder {
170 background-color:#fff;
171 }
172
173 #wpmem_login .div_text,
174 #wpmem_reg .div_text,
175 #wpmem_reg .div_textarea,
176 #wpmem_reg .div_select,
177 #wpmem_reg .div_checkbox,
178 #wpmem_reg .div_multiselect,
179 #wpmem_reg .div_multicheckbox,
180 #wpmem_reg .div_radio,
181 #wpmem_reg .div_image,
182 #wpmem_reg .div_file,
183 #wpmem_reg .div_url,
184 #wpmem_reg .div_number,
185 #wpmem_reg .div_date,
186 #wpmem_reg .div_membership {
187 margin:0 0 14px 0;
188 }
189 #wpmem_login input[type="checkbox"] {
190 margin: 12px 2px;
191 }
192 #wpmem_reg .div_textarea textarea,
193 #wpmem_reg .textbox,
194 #wpmem_login .textbox,
195 #wpmem_reg .username,
196 #wpmem_reg .password,
197 #wpmem_reg .file,
198 #wpmem_reg .image,
199 #wpmem_login .username,
200 #wpmem_login .password {
201 width:100%;
202 }
203
204
205 #wpmem_reg textarea {
206 height:185px;
207 }
208 #wpmem_reg .req {
209 color: #bd3500;
210 font-size: 22px;
211 line-height: 50%;
212 }
213
214 #wpmem_reg .req-text {
215 margin: 20px 0px 0px 5px;
216 }
217
218 #wpmem_reg .noinput {
219 width:93%;
220 padding: 8px 10px 7px;
221 border: 1px solid rgba(0, 0, 0, 0.1);
222 border-radius: 2px;
223 color: rgb(43, 43, 43);
224 margin: 5px 0;
225 }
226
227 #wpmem_reg .captcha {
228 margin: 5px 0px;
229 }
230 #wpmem_reg .captcha table{
231 line-height: 0px;
232 }
233 #wpmem_login .link-text {
234 padding: 4px 0;
235 text-align:right;
236 }
237
238 #tos {
239 margin-right:5px;
240 }
241
242
243 /* Buttons */
244
245 #wpmem_reg .button_div, #wpmem_login .button_div {
246 /* height:55px; */
247 padding: 6px 0;
248 text-align: right;
249 }
250
251
252 /** for smaller screens */
253
254 @media screen and (max-width: 720px) {
255 #wpmem_reg label.text, #wpmem_reg label.checkbox,
256 #wpmem_reg label.textarea , #wpmem_reg label.select,
257 #wpmem_login label, #wpmem_reg .div_text, #wpmem_reg .div_textarea,
258 #wpmem_reg .div_select, #wpmem_login .div_text,
259 #wpmem_reg .div_checkbox, #wpmem_reg .button_div, #wpmem_login .button_div {
260 float: none;
261 }
262
263 #wpmem_reg label.text, #wpmem_reg label.checkbox,
264 #wpmem_reg label.textarea , #wpmem_reg label.select {
265 width: 90%;
266 padding: 5px 0 0 0;
267 }
268 #wpmem_reg label.textarea {
269 height: 26px;
270 }
271 #wpmem_reg .div_text, #wpmem_reg .div_textarea,
272 #wpmem_reg .div_select, #wpmem_login .div_text,
273 #wpmem_reg .div_checkbox {
274 width: 98%;
275 }
276 #wpmem_msg, .wpmem_msg {
277 width: 100%;
278 }
279
280 #wpmem_reg .button_div,
281 #wpmem_login .button_div,
282 #wpmem_login .link-text {
283 width:98%;
284 }
285 }