Plugin Directory

Changeset 1126495


Ignore:
Timestamp:
04/02/2015 05:24:12 PM (11 years ago)
Author:
seoringer
Message:

CSS revised.

Location:
simple-voting/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • simple-voting/trunk/README.txt

    r1120641 r1126495  
    1212
    1313== Description ==
     14
     15Plugin has a Russian translation.
     16You can see a demo examples at [Seoringer.com](http://seoringer.com/simple-voting-plugin-for-wordpress/ "simple voting plugin for WordPress").
    1417
    1518This plugin can understand two shortcodes:
     
    3336<br>This shortcode will just show the current article rating.
    3437<br>
    35 <br>If you have administrative privileges, then, while browsing through your articles, near each
    36 voting form you will see the button with a title <strong>'You are admin. Check answers'</strong>. This button will allow
    37 admins to see the list of all votes for this subject.
     38<br>If you have administrative privileges, then, while browsing through your articles, you will see near each
     39voting form the button with a title <strong>'You are admin. Check answers'</strong>. This button will allow
     40admins to see the detailed list of all votes for this subject.
    3841<br>
    39 <br>That's all you need to know about simplest using of the Simple Voting plugin.
     42<br>That's all you need to know about simplest way of using the Simple Voting plugin.
    4043<br>
    4144<br>
     
    4649<br><strong>[voting] Arbitrary subject name [/voting]</strong>
    4750<br>
    48 <br>Such block of code could be placed in any article, and will rate the same <strong>'Arbitrary subject name'</strong>.
     51<br>Such block of code could be placed in any article, and will rate the <strong>'Arbitrary subject name'</strong>.
    4952<br>To show the rating of the <strong>'Arbitrary subject name'</strong>, use following shortcode:
    5053<br><strong>[voted] Arbitrary subject name [/voted]</strong>
     
    53563. <strong>Voting with redirection (for experienced webmasters)</strong>
    5457<br>
    55 <br>Immediately after voting, visitor (and information about his vote) could be sent to another web page.
    56 Just include desired URL somewhere in the subject name.
     58<br>Immediately after voting, visitor (and information about his vote) could be sent to another web page -
     59just include desired URL somewhere in the subject's name.
    5760<br>
    5861<br>Let's imagine, that after voting, you want to send visitor to the URL http://somesite.com/somepage.php
    5962<br>To do so, you must write something like this:
    6063<br>
    61 <br><strong>[voting] http://somesite.com/somepage.php Subject name [/voting]</strong>
     64<br><strong>[voting] Subject name http://somesite.com/somepage.php [/voting]</strong>
    6265<br>
    6366<br>Or something like this:
     
    6568<br><strong>[voting]
    6669<br>Another
     70<br>http://somesite.com/somepage.php
    6771<br>subject
    68 <br>http://somesite.com/somepage.php
    6972<br>[/voting]</strong>
    7073<br>
     
    7679DIFFERENT voting subjects, because texts inside shortcode tags are different.
    7780<br>
    78 <br>To show the rating of the subjects from above examples, you must use <strong>[voted]</strong> shortcode
     81<br>If, on some pages, you want to show just a rating of the subjects from above examples, you must use <strong>[voted]</strong> shortcode
    7982instead of <strong>[voting]</strong> one. Like this:
    8083<br>
    81 <br><strong>[voted] http://somesite.com/somepage.php Subject name [/voted]</strong>
     84<br><strong>[voted] Subject name http://somesite.com/somepage.php [/voted]</strong>
    8285<br>
    8386<br><strong>[voted]
    8487<br>Another
     88<br>http://somesite.com/somepage.php
    8589<br>subject
    86 <br>http://somesite.com/somepage.php
    8790<br>[/voted]</strong>
    8891<br>
  • simple-voting/trunk/core/css/voting-_-simple-voting.css

    r1120453 r1126495  
    1313    margin-right: auto;
    1414    width: 350px;
    15     }
    16 
    17 .text-input-_-simple-voting {
    18     width: 330px;
    1915}
    2016
    21 .user-comment-_-simple-voting { height: 70px; }
     17.voting-area-_-simple-voting:after {
     18  content: '\A';
     19  white-space: pre;
     20}
    2221
    23 label.text-label-_-simple-voting { width: 330px; font-weight: bold; text-align: left; padding: 3px; }
    24 .mandatory { color: red; text-weigth: bold; }
     22.user-data-_-simple-voting .text-input-_-simple-voting { width: 100%; }
    2523
    26 .text-label-alarm-_-simple-voting {
     24.user-data-_-simple-voting .user-comment-_-simple-voting { height: 70px; }
     25
     26.user-data-_-simple-voting label.text-label-_-simple-voting { width: 100%; font-weight: bold; text-align: left; padding: 3px; }
     27
     28.user-data-_-simple-voting .mandatory { color: red; text-weigth: bold; }
     29
     30.user-data-_-simple-voting .text-label-alarm-_-simple-voting {
    2731    outline: none !important;
    2832    border:2px solid red;
     
    3135
    3236/* Voting Numbers */
    33 .voting-area-_-simple-voting span.voting-element-_-simple-voting { display: inline-block; }
    34 .voting-area-_-simple-voting span.voting-element-_-simple-voting a { border: 1px solid yellow; color: black; display: inline-block; font-size: 14px; padding: 4px 10px; text-decoration: none; }
     37.voting-area-_-simple-voting span.voting-element-_-simple-voting { display: inline-block; float: left; width: 10%; }
     38.voting-area-_-simple-voting span.voting-element-_-simple-voting a { border: 1px solid yellow; color: black; display: inline-block; font-size: 14px; line-height: 2; width: 100%; text-decoration: none; }
    3539.voting-area-_-simple-voting span.voting-element-_-simple-voting a:hover { border: 1px solid blue; color: white; text-decoration: none; }
    3640
     
    4044
    4145/* Voting buttons gradient */
    42 span.voting-element-_-simple-voting {
     46.voting-area-_-simple-voting span.voting-element-_-simple-voting {
    4347/* Followig 8 lines got from the http://www.colorzilla.com/gradient-editor/ */
    4448background: #f9e43e; /* Old browsers */
     
    6771
    6872/* Result gradient 1 */
    69 .voting-result-worst-_-simple-voting {
     73.voting-area-_-simple-voting .voting-result-worst-_-simple-voting {
    7074    background: #ED5A5A;
    7175}
    7276/* Result gradient 2 */
    73 .voting-result-bad-_-simple-voting {
     77.voting-area-_-simple-voting .voting-result-bad-_-simple-voting {
    7478/* Followig 8 lines got from the http://www.colorzilla.com/gradient-editor/ */
    7579background: #8bf26f; /* Old browsers */
     
    8387}
    8488/* Result gradient 3 */
    85 .voting-result-average-_-simple-voting {
     89.voting-area-_-simple-voting .voting-result-average-_-simple-voting {
    8690/* Followig 8 lines got from the http://www.colorzilla.com/gradient-editor/ */
    8791background: #8bf26f; /* Old browsers */
     
    9599}
    96100/* Result gradient 4 */
    97 .voting-result-good-_-simple-voting {
     101.voting-area-_-simple-voting .voting-result-good-_-simple-voting {
    98102/* Followig 8 lines got from the http://www.colorzilla.com/gradient-editor/ */
    99103background: #8bf26f; /* Old browsers */
     
    107111}
    108112/* Result gradient 5 */
    109 .voting-result-best-_-simple-voting { background: #8BF26F; /* Old browsers */
     113.voting-area-_-simple-voting .voting-result-best-_-simple-voting { background: #8BF26F; /* Old browsers */
    110114}
Note: See TracChangeset for help on using the changeset viewer.