diff -r 000000000000 -r d970ebf37754 wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/pages/front_html.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/pages/front_html.php Wed Nov 06 03:21:17 2013 +0000 @@ -0,0 +1,320 @@ + +#tl'. $id. ' .timeline_line, +#content #tl'. $id. ' .timeline_line{ + width: '.$settings['line-width'].'px; +} + +#tl'.$id.' .t_line_view, +#content #tl'.$id.' .t_line_view { + width: '.$settings['line-width'].'px; +} + +#tl'.$id.' .t_line_m, +#content #tl'.$id.' .t_line_m { + width: '. (((int)$settings['line-width'])/2-2).'px; +} + +#tl'. $id.' .t_line_m.right, +#content #tl'. $id.' .t_line_m.right { + left: '. (((int)$settings['line-width'])/2-1).'px; + width: '. (((int)$settings['line-width'])/2-1).'px; +} + +#tl'. $id.' .t_node_desc, +#content #tl'. $id.' .t_node_desc { + background: '.$settings['node-desc-color'].'; +} + + +#tl'. $id.' .item h2, +#content #tl'. $id.' .item h2 { + font-size:'.$settings['item-header-font-size'].'px; + color:'.$settings['item-header-font-color'].'; + line-height:'.$settings['item-header-line-height'].'px;'; + +switch($settings['item-header-font-type']) { + case 'regular' : $frontHtml .= ' + font-weight:normal; + font-style:normal;'; break; + + case 'thick' : $frontHtml .= ' + font-weight:100; + font-style:normal;'; break; + + case 'bold' : $frontHtml .= ' + font-weight:bold; + font-style:normal;'; break; + + case 'bold-italic' : $frontHtml .= ' + font-weight:bold; + font-style:italic;'; break; + + case 'italic' : $frontHtml .= ' + font-weight:normal; + font-style:italic;'; break; +} +$frontHtml .= ' +} + +#tl'. $id.' .item, +#content #tl'. $id.' .item { + width: '. $settings['item-width'].'px; + height: '. $settings['item-height'].'px; + background:'. $settings['item-back-color'].' url('. $settings['item-background'].') repeat; + font-size:'.$settings['item-text-font-size'].'px; + color:'.$settings['item-text-font-color'].'; + line-height:'.$settings['item-text-line-height'].'px;'; + + +switch($settings['item-text-font-type']) { + case 'regular' : $frontHtml .= ' + font-weight:normal; + font-style:normal;'; break; + + case 'thick' : $frontHtml .= ' + font-weight:100; + font-style:normal;'; break; + + case 'bold' : $frontHtml .= ' + font-weight:bold; + font-style:normal;'; break; + + case 'bold-italic' : $frontHtml .= ' + font-weight:bold; + font-style:italic;'; break; + + case 'italic' : $frontHtml .= ' + font-weight:normal; + font-style:italic;'; break; +} + + +if($settings['shadow'] == 'show') { + $frontHtml.= ' + -moz-box-shadow: 0px 0px 6px rgba(0,0,0,0.5); + -webkit-box-shadow: 0px 0px 6px rgba(0,0,0,0.5); + box-shadow: 0px 0px 6px rgba(0,0,0,0.5); + + zoom: 1; + filter: progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=0, Direction=0), + progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=5, Direction=90), + progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=5, Direction=180), + progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=0, Direction=270); + + '; + } +else { + $frontHtml.= ' + -moz-box-shadow: 0 0 0 #000000; + -webkit-box-shadow: 0 0 0 #000000; + box-shadow: 0 0 0 #000000;'; +} +$frontHtml.=' +}'; +if($settings['shadow'] == 'on-hover') { + $frontHtml.= ' +#tl'. $id . ' .item:hover, +#content #tl'. $id . ' .item:hover { + -moz-box-shadow: 0px 0px 6px rgba(0,0,0,0.5); + -webkit-box-shadow: 0px 0px 6px rgba(0,0,0,0.5); + box-shadow: 0px 0px 6px rgba(0,0,0,0.5); + + zoom: 1; + filter: progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=0, Direction=0), + progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=5, Direction=90), + progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=5, Direction=180), + progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=0, Direction=270); + + +}'; +} + +$frontHtml.= ' + + +#tl'. $id.' .item_open h2, +#content #tl'. $id.' .item_open h2 { + font-size:'.$settings['item-open-header-font-size'].'px; + color:'.$settings['item-open-header-font-color'].'; + line-height:'.$settings['item-open-header-line-height'].'px;'; + +switch($settings['item-open-header-font-type']) { + case 'regular' : $frontHtml .= ' + font-weight:normal; + font-style:normal;'; break; + + case 'thick' : $frontHtml .= ' + font-weight:100; + font-style:normal;'; break; + + case 'bold' : $frontHtml .= ' + font-weight:bold; + font-style:normal;'; break; + + case 'bold-italic' : $frontHtml .= ' + font-weight:bold; + font-style:italic;'; break; + + case 'italic' : $frontHtml .= ' + font-weight:normal; + font-style:italic;'; break; +} +$frontHtml .= ' +} + +#tl'. $id .' .item_open, +#content #tl'. $id .' .item_open{ + width: '. $settings['item-open-width'].'px; + height: '. $settings['item-height'].'px; + background:'. $settings['item-open-back-color'].' url('. $settings['item-open-background'].') repeat; + font-size:'.$settings['item-open-text-font-size'].'px; + color:'.$settings['item-open-text-font-color'].'; + line-height:'.$settings['item-open-text-line-height'].'px;'; + +switch($settings['item-open-text-font-type']) { + case 'regular' : $frontHtml .= ' + font-weight:normal; + font-style:normal;'; break; + + case 'thick' : $frontHtml .= ' + font-weight:100; + font-style:normal;'; break; + + case 'bold' : $frontHtml .= ' + font-weight:bold; + font-style:normal;'; break; + + case 'bold-italic' : $frontHtml .= ' + font-weight:bold; + font-style:italic;'; break; + + case 'italic' : $frontHtml .= ' + font-weight:normal; + font-style:italic;'; break; +} + + +if($settings['shadow'] == 'show' || $settings['shadow'] == 'on-hover') { + $frontHtml.= ' + -moz-box-shadow: 0px 0px 6px rgba(0,0,0,0.5); + -webkit-box-shadow: 0px 0px 6px rgba(0,0,0,0.5); + box-shadow: 0px 0px 6px rgba(0,0,0,0.5); + + zoom: 1; + filter: progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=0, Direction=0), + progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=5, Direction=90), + progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=5, Direction=180), + progid:DXImageTransform.Microsoft.Shadow(Color=#888888, Strength=0, Direction=270); + + '; + } + else { + $frontHtml.= ' + -moz-box-shadow: 0 0 0 #000000; + -webkit-box-shadow: 0 0 0 #000000; + box-shadow: 0 0 0 #000000;'; + } +$frontHtml.= ' + }'. ' + +#tl'. $id.' .item .con_borderImage, +#content #tl'. $id.' .item .con_borderImage { + border:0px; + border-bottom: '. $settings['item-image-border-width'].'px solid '. $settings['item-image-border-color'].' ; +} + +#tl'. $id.' .item_open .con_borderImage, +#content #tl'. $id.' .item_open .con_borderImage { + border-bottom: '. $settings['item-open-image-border-width'].'px solid '. $settings['item-open-image-border-color'].' ; +} + +#tl'. $id.' .item_open_cwrapper, +#content #tl'. $id.' .item_open .con_borderImage { + width: '. $settings['item-open-width'].'px; +} + +#tl'. $id.' .item_open .t_close:hover, +#content #tl'. $id.' .item_open .t_close:hover{ + background:'. $settings['button-hover-color'].'; +} + +#tl'. $id.' .item .read_more:hover, +#content #tl'. $id.' .item .read_more:hover{ + background:'. $settings['button-hover-color'].'; +} + + +#tl'. $id.' .item .read_more, +#content #tl'. $id.' .item .read_more, +#tl'. $id.' .item_open .t_close, +#content #tl'. $id.' .item_open .t_close { + + /* transparent background */ + filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=\'#44000000\', endColorstr=\'#44000000\'); +} + +#tl'. $id.' .t_node_desc, +#content #tl'. $id.' .t_node_desc, + { + + /* IE transparent background */ + filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=\'#cc1a86ac\', endColorstr=\'#cc1a86ac\'); +} + + + +#tl'. $id.' .timeline_open_content, +#content #tl'. $id.' .timeline_open_content { + padding:'. $settings['item-open-content-padding'].'px; +} + + + + +'; + +$frontHtml .=' + + +