Changeset 1862146
- Timestamp:
- 04/21/2018 08:06:45 AM (8 years ago)
- Location:
- 3woords
- Files:
-
- 2 edited
- 4 copied
-
tags/2.0 (copied) (copied from 3woords/trunk)
-
tags/2.0/TWOORDS_LICENSE.txt (copied) (copied from 3woords/trunk/TWOORDS_LICENSE.txt)
-
tags/2.0/plugin.php (copied) (copied from 3woords/trunk/plugin.php) (3 diffs)
-
tags/2.0/readme.txt (copied) (copied from 3woords/trunk/readme.txt) (2 diffs)
-
trunk/plugin.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
3woords/tags/2.0/plugin.php
r1830530 r1862146 1 <?php1 <?php 2 2 3 3 /* … … 188 188 <form class="words-form" onsubmit="return false;"> 189 189 <div class="form-group"> 190 <span class="woords-tspan">Tell your opinion in three words</span> 191 190 192 <h3 class='woords-question-title'><?php echo $atts['question-title']; ?></h3> 191 193 <div class="woords-question-blocks"> 192 <input type="text" class="form-control" autocomplete="off" name="woords1" required=""> 193 <input type="text" class="form-control" autocomplete="off" name="woords2" required=""> 194 <input type="text" class="form-control" autocomplete="off" name="woords3" required=""> 194 <div class="twoords-response-box"> 195 <label>1.</label> 196 <input type="text" class="form-control" autocomplete="off" name="woords1" required=""> 197 </div> 198 <div class="twoords-response-box"> 199 <label>2.</label> 200 <input type="text" class="form-control" autocomplete="off" name="woords2" required=""> 201 </div> 202 <div class="twoords-response-box"> 203 <label>3.</label> 204 <input type="text" class="form-control" autocomplete="off" name="woords3" required=""> 205 </div> 195 206 </div> 196 207 </div> … … 207 218 </div> 208 219 <style> 220 .woords-tspan{ 221 display: block; 222 text-align: center; 223 font-size: 0.9em; 224 } 225 .woords-question-blocks { 226 margin-bottom: 15px; 227 width: 100%; 228 display: block; 229 float: left; 230 margin: 0 auto; 231 } 209 232 .woords-panel .form-group input[type="text"]{ 210 233 border: none; 211 234 border-bottom: 1px solid #000; 212 235 border-radius: 0; 213 width: calc(33.30% - 15px);214 236 box-sizing: border-box; 215 237 margin: 0 5px; 216 238 display: inline-block; 217 239 min-width: 100px; 218 padding: 5px 10px; 240 padding: 0px 0px; 241 width:calc(100% - 22px); 242 float: right; 219 243 } 244 .twoords-response-box label{ 245 width: 12px; 246 display: inline-block; 247 } 248 .twoords-response-box{ width: calc(33.30% - 15px);float: left; min-width: 180px;} 220 249 221 250 222 251 @media screen and (max-width: 460px) { 223 252 .woords-panel .form-group input[type="text"]{ 224 border: none;253 border: none; 225 254 border-bottom: 1px solid #000; 226 255 border-radius: 0; 227 width: 100%;228 256 box-sizing: border-box; 229 257 margin: 0 5px; 230 258 display: inline-block; 231 259 min-width: 100px; 232 padding: 5px 10px;233 260 } 261 .twoords-response-box{ width: 100%;} 262 234 263 } 235 264 -
3woords/tags/2.0/readme.txt
r1830530 r1862146 5 5 Requires PHP: 5.6.0 6 6 Requires at least: 3.0.1 7 Tested up to: 4. 38 Stable tag: 1.27 Tested up to: 4.8 8 Stable tag: 2.0 9 9 10 10 License: GPLv2 or later … … 32 32 33 33 == Changelog == 34 = 2.0 = 35 * Major changes in designing. It has now better look! 36 34 37 = 1.2 = 35 38 * Fixed bug with multiple clouds on same page -
3woords/trunk/plugin.php
r1830530 r1862146 1 <?php1 <?php 2 2 3 3 /* … … 188 188 <form class="words-form" onsubmit="return false;"> 189 189 <div class="form-group"> 190 <span class="woords-tspan">Tell your opinion in three words</span> 191 190 192 <h3 class='woords-question-title'><?php echo $atts['question-title']; ?></h3> 191 193 <div class="woords-question-blocks"> 192 <input type="text" class="form-control" autocomplete="off" name="woords1" required=""> 193 <input type="text" class="form-control" autocomplete="off" name="woords2" required=""> 194 <input type="text" class="form-control" autocomplete="off" name="woords3" required=""> 194 <div class="twoords-response-box"> 195 <label>1.</label> 196 <input type="text" class="form-control" autocomplete="off" name="woords1" required=""> 197 </div> 198 <div class="twoords-response-box"> 199 <label>2.</label> 200 <input type="text" class="form-control" autocomplete="off" name="woords2" required=""> 201 </div> 202 <div class="twoords-response-box"> 203 <label>3.</label> 204 <input type="text" class="form-control" autocomplete="off" name="woords3" required=""> 205 </div> 195 206 </div> 196 207 </div> … … 207 218 </div> 208 219 <style> 220 .woords-tspan{ 221 display: block; 222 text-align: center; 223 font-size: 0.9em; 224 } 225 .woords-question-blocks { 226 margin-bottom: 15px; 227 width: 100%; 228 display: block; 229 float: left; 230 margin: 0 auto; 231 } 209 232 .woords-panel .form-group input[type="text"]{ 210 233 border: none; 211 234 border-bottom: 1px solid #000; 212 235 border-radius: 0; 213 width: calc(33.30% - 15px);214 236 box-sizing: border-box; 215 237 margin: 0 5px; 216 238 display: inline-block; 217 239 min-width: 100px; 218 padding: 5px 10px; 240 padding: 0px 0px; 241 width:calc(100% - 22px); 242 float: right; 219 243 } 244 .twoords-response-box label{ 245 width: 12px; 246 display: inline-block; 247 } 248 .twoords-response-box{ width: calc(33.30% - 15px);float: left; min-width: 180px;} 220 249 221 250 222 251 @media screen and (max-width: 460px) { 223 252 .woords-panel .form-group input[type="text"]{ 224 border: none;253 border: none; 225 254 border-bottom: 1px solid #000; 226 255 border-radius: 0; 227 width: 100%;228 256 box-sizing: border-box; 229 257 margin: 0 5px; 230 258 display: inline-block; 231 259 min-width: 100px; 232 padding: 5px 10px;233 260 } 261 .twoords-response-box{ width: 100%;} 262 234 263 } 235 264 -
3woords/trunk/readme.txt
r1830530 r1862146 5 5 Requires PHP: 5.6.0 6 6 Requires at least: 3.0.1 7 Tested up to: 4. 38 Stable tag: 1.27 Tested up to: 4.8 8 Stable tag: 2.0 9 9 10 10 License: GPLv2 or later … … 32 32 33 33 == Changelog == 34 = 2.0 = 35 * Major changes in designing. It has now better look! 36 34 37 = 1.2 = 35 38 * Fixed bug with multiple clouds on same page
Note: See TracChangeset
for help on using the changeset viewer.