Plugin Directory

Changeset 1862146


Ignore:
Timestamp:
04/21/2018 08:06:45 AM (8 years ago)
Author:
3woords
Message:

tagging version 2.0

Location:
3woords
Files:
2 edited
4 copied

Legend:

Unmodified
Added
Removed
  • 3woords/tags/2.0/plugin.php

    r1830530 r1862146  
    1 <?php
     1    <?php
    22
    33/*
     
    188188        <form class="words-form" onsubmit="return false;">
    189189            <div class="form-group">
     190                <span class="woords-tspan">Tell your opinion in three words</span>
     191
    190192                <h3 class='woords-question-title'><?php echo $atts['question-title']; ?></h3>
    191193                <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>
    195206                </div>   
    196207            </div>
     
    207218    </div>
    208219    <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}
    209232        .woords-panel .form-group input[type="text"]{
    210233            border: none;
    211234            border-bottom: 1px solid #000;
    212235            border-radius: 0;
    213             width: calc(33.30% - 15px);
    214236            box-sizing: border-box;
    215237            margin: 0 5px;
    216238            display: inline-block;
    217239            min-width: 100px;
    218             padding: 5px 10px;
     240            padding: 0px 0px;
     241            width:calc(100% - 22px);
     242            float: right;
    219243        }
     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;}
    220249       
    221250
    222251        @media screen and (max-width: 460px) {
    223252            .woords-panel .form-group input[type="text"]{
    224                  border: none;
     253                border: none;
    225254                border-bottom: 1px solid #000;
    226255                border-radius: 0;
    227                 width: 100%;
    228256                box-sizing: border-box;
    229257                margin: 0 5px;
    230258                display: inline-block;
    231259                min-width: 100px;
    232                 padding: 5px 10px;
    233260            }
     261                .twoords-response-box{ width: 100%;}
     262
    234263        }
    235264       
  • 3woords/tags/2.0/readme.txt

    r1830530 r1862146  
    55Requires PHP: 5.6.0
    66Requires at least: 3.0.1
    7 Tested up to: 4.3
    8 Stable tag: 1.2
     7Tested up to: 4.8
     8Stable tag: 2.0
    99
    1010License: GPLv2 or later
     
    3232
    3333== Changelog ==
     34= 2.0 =
     35* Major changes in designing. It has now better look!
     36
    3437= 1.2 =
    3538* Fixed bug with multiple clouds on same page
  • 3woords/trunk/plugin.php

    r1830530 r1862146  
    1 <?php
     1    <?php
    22
    33/*
     
    188188        <form class="words-form" onsubmit="return false;">
    189189            <div class="form-group">
     190                <span class="woords-tspan">Tell your opinion in three words</span>
     191
    190192                <h3 class='woords-question-title'><?php echo $atts['question-title']; ?></h3>
    191193                <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>
    195206                </div>   
    196207            </div>
     
    207218    </div>
    208219    <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}
    209232        .woords-panel .form-group input[type="text"]{
    210233            border: none;
    211234            border-bottom: 1px solid #000;
    212235            border-radius: 0;
    213             width: calc(33.30% - 15px);
    214236            box-sizing: border-box;
    215237            margin: 0 5px;
    216238            display: inline-block;
    217239            min-width: 100px;
    218             padding: 5px 10px;
     240            padding: 0px 0px;
     241            width:calc(100% - 22px);
     242            float: right;
    219243        }
     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;}
    220249       
    221250
    222251        @media screen and (max-width: 460px) {
    223252            .woords-panel .form-group input[type="text"]{
    224                  border: none;
     253                border: none;
    225254                border-bottom: 1px solid #000;
    226255                border-radius: 0;
    227                 width: 100%;
    228256                box-sizing: border-box;
    229257                margin: 0 5px;
    230258                display: inline-block;
    231259                min-width: 100px;
    232                 padding: 5px 10px;
    233260            }
     261                .twoords-response-box{ width: 100%;}
     262
    234263        }
    235264       
  • 3woords/trunk/readme.txt

    r1830530 r1862146  
    55Requires PHP: 5.6.0
    66Requires at least: 3.0.1
    7 Tested up to: 4.3
    8 Stable tag: 1.2
     7Tested up to: 4.8
     8Stable tag: 2.0
    99
    1010License: GPLv2 or later
     
    3232
    3333== Changelog ==
     34= 2.0 =
     35* Major changes in designing. It has now better look!
     36
    3437= 1.2 =
    3538* Fixed bug with multiple clouds on same page
Note: See TracChangeset for help on using the changeset viewer.