Changeset 404877
- Timestamp:
- 07/05/2011 03:08:49 PM (15 years ago)
- Location:
- recommend-a-friend/trunk
- Files:
-
- 2 edited
-
css/style.css (modified) (4 diffs)
-
inc/raf_form.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
recommend-a-friend/trunk/css/style.css
r382282 r404877 1 1 /* iframe style */ 2 html{color:#000} 3 body, 4 div, 5 dl,dt,dd, 6 ul,ol,li, 7 h1,h2,h3,h4,h5,h6, 8 pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td{ 9 margin:0;padding:0; 10 } 11 table{border-collapse:collapse;border-spacing:0;} 12 fieldset,img{border:0;} 13 address,caption,cite,code,dfn,em,strong,th,var,optgroup{font-style:inherit;font-weight:inherit;} 14 del,ins{text-decoration:none;} 15 li{list-style:none;} 16 caption,th{text-align:left;} 17 h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;} 18 q:before,q:after{content:'';} 19 abbr,acronym{border:0;font-variant:normal;} 20 sup{vertical-align:baseline;} 21 sub{vertical-align:baseline;} 22 legend{color:#000;} 23 input,button,textarea,select,optgroup,option{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;} 24 input,button,textarea,select{*font-size:100%;} 25 26 27 a, 28 a:focus {outline: 0 none;color: #fff;} 29 30 body { 31 margin: 0; 2 32 } 3 33 #raf_global { 4 34 font-family: Verdana, helvetica, sans-serif; 5 width: 99%; 35 width: 100%; 36 background: #fff; 37 float: left; 38 6 39 } 7 40 #raf_global h1 { 8 41 font-weight: 400; 9 42 font-size: 22px; 10 border-bottom: 3px solid # 363636;43 border-bottom: 3px solid #eee; 11 44 padding-bottom: 4px; 12 margin: 10px 0 10px;45 margin: 10px; 13 46 color: #363636; 14 47 font-family: Verdana, helvetica, sans-serif; … … 43 76 font-size: 12px; 44 77 font-family: Verdana, helvetica, sans-serif; 78 margin-bottom: 2px; 45 79 } 46 80 #raf_global textarea:focus, … … 71 105 float: left; 72 106 display: block; 107 margin-top: 10px; 73 108 } 74 109 .thButton {margin-left: 146px;} … … 106 141 font-family: Verdana, helvetica, sans-serif; 107 142 } 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;} 109 144 .thTable tbody tr:nth-child(2n) td, tbody tr.even td {background: none;} 110 145 .thTableHeader { 111 146 color: #6d7e8a; 112 147 } 148 .thTableHeader td { 149 text-align: left; 150 font-size: 12px; font-weight: 700; 151 } 113 152 .thTableDesc, 114 153 .thTableEvenRow { 115 154 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; 116 171 } 117 172 /* Widget style */ -
recommend-a-friend/trunk/inc/raf_form.php
r382282 r404877 21 21 $email_shipper = ( !empty( $raf_options['email_shipper'] ) ) ? $raf_options['email_shipper'] : 'contact@yoursite.com'; 22 22 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'; 24 24 $bg_color_hover = ( !empty( $raf_options['button_bg_color_hover'] ) ) ? $raf_options['button_bg_color_hover'] : '85acca'; 25 25 $button_color = ( !empty( $raf_options['button_bg_color'] ) ) ? $raf_options['button_bg_color'] : '6194bb'; 26 26 $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'; 28 28 $button_text_color = ( !empty( $raf_options['button_text_color'] ) ) ? $raf_options['button_text_color'] : 'FFFFFF'; 29 29 … … 380 380 $contents .= "<tr class='thTableOddRow'><td align='center' style='padding:20px;' colspan='".( $plugType == 'email' ? "3" : "2" )."'>" . __( 'No contacts found', 'raf' ) . "</td></tr>"; 381 381 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>"; 383 383 $odd = true; 384 384 $counter = 0; … … 387 387 $counter++; 388 388 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>"; 390 390 $odd =! $odd; 391 391 }
Note: See TracChangeset
for help on using the changeset viewer.