Plugin Directory

Changeset 404877


Ignore:
Timestamp:
07/05/2011 03:08:49 PM (15 years ago)
Author:
Cocola
Message:

update css of the plugin

Location:
recommend-a-friend/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • recommend-a-friend/trunk/css/style.css

    r382282 r404877  
    11/* iframe style */
     2html{color:#000}
     3body,
     4div,
     5dl,dt,dd,
     6ul,ol,li,
     7h1,h2,h3,h4,h5,h6,
     8pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td{
     9margin:0;padding:0;
     10}
     11table{border-collapse:collapse;border-spacing:0;}
     12fieldset,img{border:0;}
     13address,caption,cite,code,dfn,em,strong,th,var,optgroup{font-style:inherit;font-weight:inherit;}
     14del,ins{text-decoration:none;}
     15li{list-style:none;}
     16caption,th{text-align:left;}
     17h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}
     18q:before,q:after{content:'';}
     19abbr,acronym{border:0;font-variant:normal;}
     20sup{vertical-align:baseline;}
     21sub{vertical-align:baseline;}
     22legend{color:#000;}
     23input,button,textarea,select,optgroup,option{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;}
     24input,button,textarea,select{*font-size:100%;}
     25
     26
     27a,
     28a:focus {outline: 0 none;color: #fff;}
     29
     30body {
     31    margin: 0;
    232}
    333#raf_global {
    434    font-family: Verdana, helvetica, sans-serif;
    5     width: 99%;
     35    width: 100%;
     36    background: #fff;
     37    float: left;
     38   
    639}
    740#raf_global h1 {
    841    font-weight: 400;
    942    font-size: 22px;
    10     border-bottom: 3px solid #363636;
     43    border-bottom: 3px solid #eee;
    1144    padding-bottom: 4px;
    12     margin: 10px 0 10px;
     45    margin: 10px;
    1346    color: #363636;
    1447    font-family: Verdana, helvetica, sans-serif;
     
    4376    font-size: 12px;
    4477    font-family: Verdana, helvetica, sans-serif;
     78    margin-bottom: 2px;
    4579}
    4680#raf_global textarea:focus,
     
    71105    float: left;
    72106    display: block;
     107    margin-top: 10px;
    73108}
    74109.thButton {margin-left: 146px;}
     
    106141    font-family: Verdana, helvetica, sans-serif;
    107142}
    108 .thTable th, .thTable td, .thTable caption {padding: 0 5px; text-align: right;}
     143.thTable th, .thTable td, .thTable caption {padding: 3px 5px; text-align: right; font-size: 11px; color: #333;}
    109144.thTable tbody tr:nth-child(2n) td, tbody tr.even td {background: none;}
    110145.thTableHeader {
    111146    color: #6d7e8a;
    112147}
     148.thTableHeader td {
     149    text-align: left;
     150    font-size: 12px; font-weight: 700;
     151}
    113152.thTableDesc,
    114153.thTableEvenRow {
    115154    background: #fff;
     155}
     156.thTableDesc {
     157    background: #ddd;
     158    color: #fff;
     159    font-weight: 700;
     160    border-bottom: 2px solid #608EB5;
     161}
     162.thTableOddRow {
     163    background: #eee;
     164}
     165.thTable td.thTableinput {
     166    width: 120px;
     167    text-align: center;
     168}
     169.thTableinput #toggle_all {
     170    float: right;
    116171}
    117172/* Widget style */
  • recommend-a-friend/trunk/inc/raf_form.php

    r382282 r404877  
    2121$email_shipper = ( !empty( $raf_options['email_shipper'] ) ) ? $raf_options['email_shipper'] : 'contact@yoursite.com';
    2222
    23 $bg_color = ( !empty( $raf_options['bg_color'] ) ) ? $raf_options['bg_color'] : 'ECECE6';
     23$bg_color = ( !empty( $raf_options['bg_color'] ) ) ? $raf_options['bg_color'] : 'ffffff';
    2424$bg_color_hover = ( !empty( $raf_options['button_bg_color_hover'] ) ) ? $raf_options['button_bg_color_hover'] : '85acca';
    2525$button_color = ( !empty( $raf_options['button_bg_color'] ) ) ? $raf_options['button_bg_color'] : '6194bb';
    2626$border_color = ( !empty( $raf_options['border_color'] ) ) ? $raf_options['border_color'] : 'ECECE6';
    27 $legend_color = ( !empty( $raf_options['titles_color'] ) ) ? $raf_options['titles_color'] : '363636';
     27$legend_color = ( !empty( $raf_options['titles_color'] ) ) ? $raf_options['titles_color'] : '6194BB';
    2828$button_text_color = ( !empty( $raf_options['button_text_color'] ) ) ? $raf_options['button_text_color'] : 'FFFFFF';
    2929
     
    380380                            $contents .= "<tr class='thTableOddRow'><td align='center' style='padding:20px;' colspan='".( $plugType == 'email' ? "3" : "2" )."'>" . __( 'No contacts found', 'raf' ) . "</td></tr>";
    381381                        else {
    382                             $contents .= "<tr class='thTableDesc'><td><input type='checkbox' id='toggle_all' name='toggle_all' title='Select/Deselect all' checked>" . __( 'Invite ?', 'raf' ) . "</td><td>" . __( 'Name', 'raf' ) . "</td>" . ( $plugType == 'email' ? "<td>" . __( 'Email', 'raf' ) . "</td>" :"" ) . "</tr>";
     382                            $contents .= "<tr class='thTableDesc'><td class='thTableinput'><input type='checkbox' id='toggle_all' name='toggle_all' title='Select/Deselect all' checked>" . __( 'Invite ?', 'raf' ) . "</td><td class='thTablename'>" . __( 'Name', 'raf' ) . "</td>" . ( $plugType == 'email' ? "<td class='thTableemail'>" . __( 'Email', 'raf' ) . "</td>" :"" ) . "</tr>";
    383383                            $odd = true;
    384384                            $counter = 0;
     
    387387                                $counter++;
    388388                                if ( $odd ) $class = 'thTableOddRow'; else $class='thTableEvenRow';
    389                                 $contents .= "<tr class='{$class}'><td><input name='check_{$counter}' value='{$counter}' type='checkbox' class='thCheckbox' checked><input type='hidden' name='email_{$counter}' value='{$email}'><input type='hidden' name='name_{$counter}' value='{$name}'></td><td>{$name}</td>".($plugType == 'email' ?"<td>{$email}</td>":"")."</tr>";
     389                                $contents .= "<tr class='{$class}'><td class='thTableinput'><input name='check_{$counter}' value='{$counter}' type='checkbox' class='thCheckbox' checked><input type='hidden' name='email_{$counter}' value='{$email}'><input type='hidden' name='name_{$counter}' value='{$name}'></td><td>{$name}</td>".($plugType == 'email' ?"<td>{$email}</td>":"")."</tr>";
    390390                                $odd =! $odd;
    391391                            }
Note: See TracChangeset for help on using the changeset viewer.