slitaz-forge rev 53

Add SCN Wordpress theme
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 08 18:51:44 2011 +0200 (2011-04-08)
parents 9226f1a87657
children 8ec2a7e051e8
files fundraising.txt scn/themes/slitaz/footer.php scn/themes/slitaz/header.php scn/themes/slitaz/images/favicon.ico scn/themes/slitaz/images/logo.png scn/themes/slitaz/images/network.png scn/themes/slitaz/screenshot.png scn/themes/slitaz/style.css
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/fundraising.txt	Fri Apr 08 18:51:44 2011 +0200
     1.3 @@ -0,0 +1,18 @@
     1.4 +Funding Goal
     1.5 +
     1.6 +$1,000 - $5,000
     1.7 +Project Description
     1.8 +
     1.9 +Work one month on the small and fast SliTaz GNU/linux operating system to be able to release SliTaz 4.0 as soon as possible and fundraise the SliTaz main developers and both at Solutionslinux 2011 in Paris. SliTaz 4.0 is nearly ready to be release but with the growing community and now 3000 packages making a release is a huge task and we need a developer working 100% for one more month to publish SliTaz/GNU Linux 4.0.
    1.10 +
    1.11 +The release will be synchonized with the Solutionlinux exposition in Paris. SliTaz have a free both at the expo but we must go to Paris (we all in europe) and live in the town 3 days and we woul love to have some USB key and cdrom for SliTaz users.
    1.12 +
    1.13 +Project Rewards
    1.14 +
    1.15 +Free to download and use SliTaz 4.0 stable version and we will be present at the both at Solutionlinux with bootable USB keys and cd-rom as well as our happyness!
    1.16 +
    1.17 +Links
    1.18 +
    1.19 +http://www.slitaz.org/
    1.20 +http://scn.slitaz.org/
    1.21 +http://hg.slitaz.org/
    1.22 \ No newline at end of file
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/scn/themes/slitaz/footer.php	Fri Apr 08 18:51:44 2011 +0200
     2.3 @@ -0,0 +1,30 @@
     2.4 +		</div> <!-- #container -->
     2.5 +
     2.6 +		<?php do_action( 'bp_after_container' ) ?>
     2.7 +		<?php do_action( 'bp_before_footer' ) ?>
     2.8 +
     2.9 +		<div id="footer">
    2.10 +	    	<p>Copyright &copy; 2011
    2.11 +				<a href="http://www.slitaz.org">SliTaz</a> - SCN is
    2.12 +				proudly powered by <a href="http://wordpress.org">WordPress</a>
    2.13 +				and <a href="http://buddypress.org">BuddyPress</a>
    2.14 +			</p>
    2.15 +			<p>
    2.16 +				SliTaz @
    2.17 +				<a href="http://twitter.com/slitaz">Twitter</a>
    2.18 +				<a href="http://www.facebook.com/slitaz">Facebook</a>
    2.19 +				<a href="http://distrowatch.com/slitaz">Distrowatch</a>
    2.20 +				<a href="http://en.wikipedia.org/wiki/SliTaz">Wikipedia</a>
    2.21 +				<a href="http://flattr.com/profile/slitaz">Flattr</a>
    2.22 +			</p>
    2.23 +
    2.24 +			<?php do_action( 'bp_footer' ) ?>
    2.25 +		</div><!-- #footer -->
    2.26 +
    2.27 +		<?php do_action( 'bp_after_footer' ) ?>
    2.28 +
    2.29 +		<?php wp_footer(); ?>
    2.30 +
    2.31 +	</body>
    2.32 +
    2.33 +</html>
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/scn/themes/slitaz/header.php	Fri Apr 08 18:51:44 2011 +0200
     3.3 @@ -0,0 +1,131 @@
     3.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     3.5 +
     3.6 +<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
     3.7 +
     3.8 +	<head profile="http://gmpg.org/xfn/11">
     3.9 +
    3.10 +		<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    3.11 +
    3.12 +		<title><?php bp_page_title() ?></title>
    3.13 +
    3.14 +		<?php do_action( 'bp_head' ) ?>
    3.15 +
    3.16 +		<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
    3.17 +
    3.18 +		<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    3.19 +
    3.20 +		<?php if ( function_exists( 'bp_sitewide_activity_feed_link' ) ) : ?>
    3.21 +			<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php _e('Site Wide Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_sitewide_activity_feed_link() ?>" />
    3.22 +		<?php endif; ?>
    3.23 +
    3.24 +		<?php if ( function_exists( 'bp_member_activity_feed_link' ) && bp_is_member() ) : ?>
    3.25 +			<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php bp_displayed_user_fullname() ?> | <?php _e( 'Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_member_activity_feed_link() ?>" />
    3.26 +		<?php endif; ?>
    3.27 +
    3.28 +		<?php if ( function_exists( 'bp_group_activity_feed_link' ) && bp_is_group() ) : ?>
    3.29 +			<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php bp_current_group_name() ?> | <?php _e( 'Group Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_group_activity_feed_link() ?>" />
    3.30 +		<?php endif; ?>
    3.31 +
    3.32 +		<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> <?php _e( 'Blog Posts RSS Feed', 'buddypress' ) ?>" href="<?php bloginfo('rss2_url'); ?>" />
    3.33 +		<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> <?php _e( 'Blog Posts Atom Feed', 'buddypress' ) ?>" href="<?php bloginfo('atom_url'); ?>" />
    3.34 +
    3.35 +		<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    3.36 +		<link rel="shortcut icon" href="<?php echo site_url() ?>/wp-content/themes/slitaz/images/favicon.ico" />
    3.37 +		<?php wp_head(); ?>
    3.38 +
    3.39 +	</head>
    3.40 +
    3.41 +	<body <?php body_class() ?> id="bp-default">
    3.42 +
    3.43 +		<?php do_action( 'bp_before_header' ) ?>
    3.44 +
    3.45 +		<div id="header">
    3.46 +			
    3.47 +			<!-- SliTaz Network -->
    3.48 +			<div id="network">
    3.49 +				<a href="http://www.slitaz.org/">
    3.50 +					<img src="<?php echo site_url() ?>/wp-content/themes/slitaz/images/network.png" alt="network.png" /></a>
    3.51 +				<a href="http://scn.slitaz.org/">Community</a>
    3.52 +				<a href="http://doc.slitaz.org/">Doc</a>
    3.53 +				<a href="http://forum.slitaz.org/">Forum</a>
    3.54 +				<a href="http://labs.slitaz.org/issues">Bugs</a>
    3.55 +				<a href="http://hg.slitaz.org/">Hg</a>
    3.56 +			</div>
    3.57 +
    3.58 +			<h1 id="logo"><a href="<?php echo site_url() ?>" title="<?php _e( 'Home', 'buddypress' ) ?>"><?php bp_site_name() ?></a></h1>
    3.59 +
    3.60 +			<ul id="nav">
    3.61 +				<li<?php if ( bp_is_front_page() ) : ?> class="selected"<?php endif; ?>>
    3.62 +					<a href="<?php echo site_url() ?>" title="<?php _e( 'Home', 'buddypress' ) ?>"><?php _e( 'Home', 'buddypress' ) ?></a>
    3.63 +				</li>
    3.64 +
    3.65 +				<?php if ( 'activity' != bp_dtheme_page_on_front() && bp_is_active( 'activity' ) ) : ?>
    3.66 +					<li<?php if ( bp_is_page( BP_ACTIVITY_SLUG ) ) : ?> class="selected"<?php endif; ?>>
    3.67 +						<a href="<?php echo site_url() ?>/<?php echo BP_ACTIVITY_SLUG ?>/" title="<?php _e( 'Activity', 'buddypress' ) ?>"><?php _e( 'Activity', 'buddypress' ) ?></a>
    3.68 +					</li>
    3.69 +				<?php endif; ?>
    3.70 +
    3.71 +				<li<?php if ( bp_is_page( BP_MEMBERS_SLUG ) || bp_is_member() ) : ?> class="selected"<?php endif; ?>>
    3.72 +					<a href="<?php echo site_url() ?>/<?php echo BP_MEMBERS_SLUG ?>/" title="<?php _e( 'Members', 'buddypress' ) ?>"><?php _e( 'Members', 'buddypress' ) ?></a>
    3.73 +				</li>
    3.74 +
    3.75 +				<?php if ( bp_is_active( 'groups' ) ) : ?>
    3.76 +					<li<?php if ( bp_is_page( BP_GROUPS_SLUG ) || bp_is_group() ) : ?> class="selected"<?php endif; ?>>
    3.77 +						<a href="<?php echo site_url() ?>/<?php echo BP_GROUPS_SLUG ?>/" title="<?php _e( 'Groups', 'buddypress' ) ?>"><?php _e( 'Groups', 'buddypress' ) ?></a>
    3.78 +					</li>
    3.79 +
    3.80 +					<?php if ( bp_is_active( 'forums' ) && ( function_exists( 'bp_forums_is_installed_correctly' ) && !(int) bp_get_option( 'bp-disable-forum-directory' ) ) && bp_forums_is_installed_correctly() ) : ?>
    3.81 +						<li<?php if ( bp_is_page( BP_FORUMS_SLUG ) ) : ?> class="selected"<?php endif; ?>>
    3.82 +							<a href="<?php echo site_url() ?>/<?php echo BP_FORUMS_SLUG ?>/" title="<?php _e( 'Forums', 'buddypress' ) ?>"><?php _e( 'Forums', 'buddypress' ) ?></a>
    3.83 +						</li>
    3.84 +					<?php endif; ?>
    3.85 +				<?php endif; ?>
    3.86 +
    3.87 +				<?php if ( bp_is_active( 'blogs' ) && bp_core_is_multisite() ) : ?>
    3.88 +					<li<?php if ( bp_is_page( BP_BLOGS_SLUG ) ) : ?> class="selected"<?php endif; ?>>
    3.89 +						<a href="<?php echo site_url() ?>/<?php echo BP_BLOGS_SLUG ?>/" title="<?php _e( 'Blogs', 'buddypress' ) ?>"><?php _e( 'Blogs', 'buddypress' ) ?></a>
    3.90 +					</li>
    3.91 +				<?php endif; ?>
    3.92 +
    3.93 +				<?php wp_list_pages( 'title_li=&depth=1&exclude=' . bp_dtheme_page_on_front() ); ?>
    3.94 +
    3.95 +				<?php do_action( 'bp_nav_items' ); ?>
    3.96 +			</ul><!-- #nav -->
    3.97 +
    3.98 +			<div id="search-bar">
    3.99 +				<div class="padder">
   3.100 +
   3.101 +				<?php if ( bp_search_form_enabled() ) : ?>
   3.102 +
   3.103 +					<form action="<?php echo bp_search_form_action() ?>" method="post" id="search-form">
   3.104 +						<input type="text" id="search-terms" name="search-terms" value="" />
   3.105 +						<?php echo bp_search_form_type_select() ?>
   3.106 +
   3.107 +						<input type="submit" name="search-submit" id="search-submit" value="<?php _e( 'Search', 'buddypress' ) ?>" />
   3.108 +						<?php wp_nonce_field( 'bp_search_form' ) ?>
   3.109 +					</form><!-- #search-form -->
   3.110 +
   3.111 +				<?php endif; ?>
   3.112 +
   3.113 +				<?php do_action( 'bp_search_login_bar' ) ?>
   3.114 +
   3.115 +				</div><!-- .padder -->
   3.116 +			</div><!-- #search-bar -->
   3.117 +
   3.118 +			<?php do_action( 'bp_header' ) ?>
   3.119 +
   3.120 +		</div><!-- #header -->
   3.121 +		
   3.122 +		<!-- SliTaz Block -->
   3.123 +		<div id="block">
   3.124 +			<div style="text-align: justify; width: 48%; padding: 0 10px 0 0;">
   3.125 +				The SliTaz Community Network let you connect with SliTaz
   3.126 +				users and developpers, share eveything about SliTaz,
   3.127 +				help others and get involve in the project.
   3.128 +			</div>
   3.129 +		</div>
   3.130 +
   3.131 +		<?php do_action( 'bp_after_header' ) ?>
   3.132 +		<?php do_action( 'bp_before_container' ) ?>
   3.133 +
   3.134 +		<div id="container">
     4.1 Binary file scn/themes/slitaz/images/favicon.ico has changed
     5.1 Binary file scn/themes/slitaz/images/logo.png has changed
     6.1 Binary file scn/themes/slitaz/images/network.png has changed
     7.1 Binary file scn/themes/slitaz/screenshot.png has changed
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/scn/themes/slitaz/style.css	Fri Apr 08 18:51:44 2011 +0200
     8.3 @@ -0,0 +1,163 @@
     8.4 +/*
     8.5 +Theme Name: SliTaz BuddyPress
     8.6 +Theme URI: http://www.slitaz.org
     8.7 +Description: The default SliTaz theme for BuddyPress.
     8.8 +Version: 1.0
     8.9 +Author: Christophe Lincoln
    8.10 +Author URI: http://people.slitaz.org/~pankso/
    8.11 +Template: bp-default
    8.12 +Tags: buddypress, two-columns, custom-header, white, brown
    8.13 +*/
    8.14 +
    8.15 +/* Inherit the default theme styles */
    8.16 +@import url( ../../plugins/buddypress/bp-themes/bp-default/_inc/css/default.css );
    8.17 + 
    8.18 +/* Inherit the default theme adminbar styles */
    8.19 +@import url( ../../plugins/buddypress/bp-themes/bp-default/_inc/css/adminbar.css );
    8.20 +
    8.21 +/* SliTaz theme styles */
    8.22 +
    8.23 +html {
    8.24 +	min-height:  102%;
    8.25 +}
    8.26 +
    8.27 +body {
    8.28 +	background: #fff;
    8.29 +	font-size: 13px;
    8.30 +	font-family: sans-serif, vernada, arial;
    8.31 +	line-height: 130%;
    8.32 +	color: #000;
    8.33 +	width: auto;
    8.34 +	min-width: 840px;
    8.35 +	max-width: 100%;
    8.36 +	margin: 0 auto;
    8.37 +	padding-top: 0 !important;
    8.38 +}
    8.39 +
    8.40 +a { text-decoration: underline; color: #215090; }
    8.41 +a:hover { text-decoration: none; color: blue; }
    8.42 +
    8.43 +#wp-admin-bar .padder {
    8.44 +	width: 100% !important; /* Line up the admin bar with the content body in this theme */
    8.45 +}
    8.46 +
    8.47 +#header {
    8.48 +	position: relative;
    8.49 +	color: #fff;
    8.50 +	background: #351a0a url(images/header-img.png) no-repeat top right;
    8.51 +	-moz-border-radius-bottomleft: 0px;
    8.52 +	-webkit-border-bottom-left-radius: 0px;
    8.53 +	-moz-border-radius-bottomright: 0px;
    8.54 +	-webkit-border-bottom-right-radius: 0px;
    8.55 +	height: 40px;
    8.56 +	padding-top: 0px;
    8.57 +}
    8.58 +
    8.59 +#header #search-bar {
    8.60 +	position: absolute;
    8.61 +	top: 80px;
    8.62 +	right: 20px;
    8.63 +	width: 386px;
    8.64 +	text-align: right;
    8.65 +	background: #cc5b17;
    8.66 +	-moz-border-radius: 4px;
    8.67 +	-webkit-border-radius: 4px;
    8.68 +	border-radius: 4px;
    8.69 +}
    8.70 +
    8.71 +#header h1 {
    8.72 +	position: absolute;
    8.73 +	bottom: 0;
    8.74 +	top: 0px;
    8.75 +	left: 0px;
    8.76 +	width: 250px;
    8.77 +	margin: 0;
    8.78 +	line-height: 100%;
    8.79 +	background: url(images/logo.png) no-repeat left center;
    8.80 +	padding: 6px 0 0 42px;
    8.81 +}
    8.82 +#header h1 a {
    8.83 +	color: #fff;
    8.84 +	font-size: 20px;
    8.85 +	font-style: italic;
    8.86 +	text-decoration: none;
    8.87 +}
    8.88 +
    8.89 +#header h1 a:hover, #network a:hover { color: #d66018; }
    8.90 +
    8.91 +#network { 
    8.92 +	float: right; 
    8.93 +	padding: 10px 5px 0; 
    8.94 +	font-size: 12px;
    8.95 +}
    8.96 +#network a { padding: 0 6px; color: #fff; font-weight: bold; text-decoration: none;}
    8.97 +#network img, .infobox img { vertical-align: middle; }
    8.98 +
    8.99 +#block { 
   8.100 +	min-height: 100px; 
   8.101 +	background: #d66018; 
   8.102 +	padding: 20px 12% 0;
   8.103 +	text-align: center;
   8.104 +	color: #333;
   8.105 +	border-bottom: 1px solid #f5f5f5;
   8.106 +}
   8.107 +
   8.108 +div#container {
   8.109 +	position: relative;
   8.110 +	width: auto;
   8.111 +	-moz-border-radius: 6px;
   8.112 +	-webkit-border-radius: 6px;
   8.113 +	border-right: 1px solid #e0e0e0;
   8.114 +	border-bottom: 1px solid #e0e0e0;
   8.115 +	background: #fff;
   8.116 +	overflow: hidden;
   8.117 +	margin-top: 40px;
   8.118 +	padding: 0 60px 40px 80px;
   8.119 +}
   8.120 +
   8.121 +div#content .padder { padding: 0 19px 19px 0; }
   8.122 +
   8.123 +ul#nav { bottom: -140px; }
   8.124 +ul#nav li a { background: #cc5b17; }
   8.125 +
   8.126 +#footer {
   8.127 +	background: #f1f1f1;
   8.128 +	padding: 40px;
   8.129 +	text-align: center;
   8.130 +	color: #666;
   8.131 +	text-shadow: #fafafa 0px 0px 0;
   8.132 +}
   8.133 +#footer a { color: #666; padding: 0 2px; }
   8.134 +
   8.135 +/* Adminbar */
   8.136 +
   8.137 +#wp-admin-bar { position: absolute; top: 40px; width: 100%; }
   8.138 +body#bp-default #wp-admin-bar .padder {
   8.139 +	min-width: 840px;
   8.140 +	max-width: 100%;
   8.141 +}
   8.142 +#wp-admin-bar .padder { background: #d66018; }
   8.143 +#wp-admin-bar ul li ul { 
   8.144 +	background: #f1f1f1;
   8.145 +	border: 1px solid #ddd;
   8.146 +}
   8.147 +#wp-admin-bar li a, #admin-bar-logo, #wp-admin-bar ul li ul a, 
   8.148 +#wp-admin-bar ul li ul li:hover ul li a,
   8.149 +#wp-admin-bar ul li ul li ul li:hover a {
   8.150 +	color: #333333;
   8.151 +}
   8.152 +#wp-admin-bar ul.main-nav li:hover, 
   8.153 +#wp-admin-bar ul.main-nav li.sfhover, 
   8.154 +#wp-admin-bar ul.main-nav li ul li.sfhover {
   8.155 +	background-color: #f1f1f1;
   8.156 +}
   8.157 +#wp-admin-bar ul.main-nav li ul li:hover, 
   8.158 +#wp-admin-bar ul.main-nav li ul li.sfhover, 
   8.159 +#wp-admin-bar ul.main-nav li ul li.sfhover {
   8.160 +	background-color: #f1f1f1;
   8.161 +}
   8.162 +#wp-admin-bar li a:hover, #wp-admin-bar ul li ul a:hover, 
   8.163 +#wp-admin-bar ul li ul li:hover a, 
   8.164 +#wp-admin-bar ul li ul li ul li:hover a:hover {
   8.165 +		color: blue;
   8.166 +}