/trunk/themes/ods/template.php |
---|
New file |
0,0 → 1,105 |
<?php |
// $Id: template.php,v 1.16.2.3 2010/05/11 09:41:22 goba Exp $ |
/** |
* Sets the body-tag class attribute. |
* |
* Adds 'sidebar-left', 'sidebar-right' or 'sidebars' classes as needed. |
*/ |
function phptemplate_body_class($left, $right) { |
if ($left != '' && $right != '') { |
$class = 'sidebars'; |
} |
else { |
if ($left != '') { |
$class = 'sidebar-left'; |
} |
if ($right != '') { |
$class = 'sidebar-right'; |
} |
} |
if (isset($class)) { |
print ' class="'. $class .'"'; |
} |
} |
/** |
* Return a themed breadcrumb trail. |
* |
* @param $breadcrumb |
* An array containing the breadcrumb links. |
* @return a string containing the breadcrumb output. |
*/ |
function phptemplate_breadcrumb($breadcrumb) { |
if (!empty($breadcrumb)) { |
return '<div class="breadcrumb">'. implode(' › ', $breadcrumb) .'</div>'; |
} |
} |
/** |
* Override or insert PHPTemplate variables into the templates. |
*/ |
function phptemplate_preprocess_page(&$vars) { |
$vars['tabs2'] = menu_secondary_local_tasks(); |
// Hook into color.module |
if (module_exists('color')) { |
_color_page_alter($vars); |
} |
} |
/** |
* Add a "Comments" heading above comments except on forum pages. |
*/ |
function garland_preprocess_comment_wrapper(&$vars) { |
if ($vars['content'] && $vars['node']->type != 'forum') { |
$vars['content'] = '<h2 class="comments">'. t('Comments') .'</h2>'. $vars['content']; |
} |
} |
/** |
* Returns the rendered local tasks. The default implementation renders |
* them as tabs. Overridden to split the secondary tasks. |
* |
* @ingroup themeable |
*/ |
function phptemplate_menu_local_tasks() { |
return menu_primary_local_tasks(); |
} |
/** |
* Returns the themed submitted-by string for the comment. |
*/ |
function phptemplate_comment_submitted($comment) { |
return t('!datetime — !username', |
array( |
'!username' => theme('username', $comment), |
'!datetime' => format_date($comment->timestamp) |
)); |
} |
/** |
* Returns the themed submitted-by string for the node. |
*/ |
function phptemplate_node_submitted($node) { |
return t('!datetime — !username', |
array( |
'!username' => theme('username', $node), |
'!datetime' => format_date($node->created), |
)); |
} |
/** |
* Generates IE CSS links for LTR and RTL languages. |
*/ |
function phptemplate_get_ie_styles() { |
global $language; |
$iecss = '<link type="text/css" rel="stylesheet" media="all" href="'. base_path() . path_to_theme() .'/fix-ie.css" />'; |
if ($language->direction == LANGUAGE_RTL) { |
$iecss .= '<style type="text/css" media="all">@import "'. base_path() . path_to_theme() .'/fix-ie-rtl.css";</style>'; |
} |
return $iecss; |
} |
/trunk/themes/ods/images/bandeaux/bandeau-ete.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/themes/ods/images/bandeaux/bandeau-ete.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/themes/ods/images/bandeaux/bandeau-hiver.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/themes/ods/images/bandeaux/bandeau-hiver.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/themes/ods/images/bandeaux/bandeau-printemps.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/themes/ods/images/bandeaux/bandeau-printemps.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/themes/ods/images/bandeaux/bandeau-bas.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/themes/ods/images/bandeaux/bandeau-bas.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/themes/ods/images/bandeaux/bandeau-automne.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/themes/ods/images/bandeaux/bandeau-automne.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/themes/ods/images/puce_menu_niveau_1_triangle.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/themes/ods/images/puce_menu_niveau_1_triangle.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/themes/ods/images/archives/bg-bar-white.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/themes/ods/images/archives/bg-bar-white.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/themes/ods/images/archives/bg-content-right.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/themes/ods/images/archives/bg-content-right.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/themes/ods/images/archives/menu-expanded.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/themes/ods/images/archives/menu-expanded.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/trunk/themes/ods/images/archives/task-list.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/themes/ods/images/archives/task-list.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/themes/ods/images/archives/bg-navigation-item.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/themes/ods/images/archives/bg-navigation-item.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/themes/ods/images/archives/bg-navigation.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/themes/ods/images/archives/bg-navigation.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/themes/ods/images/archives/bg-content-left.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/themes/ods/images/archives/bg-content-left.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/themes/ods/images/archives/menu-collapsed-rtl.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/themes/ods/images/archives/menu-collapsed-rtl.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/trunk/themes/ods/images/archives/menu-collapsed.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/themes/ods/images/archives/menu-collapsed.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/trunk/themes/ods/images/archives/bg-bar.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/themes/ods/images/archives/bg-bar.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/themes/ods/images/archives/menu-leaf.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/themes/ods/images/archives/menu-leaf.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/trunk/themes/ods/images/archives/bg-tab.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/themes/ods/images/archives/bg-tab.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/themes/ods/images/archives/body.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/themes/ods/images/archives/body.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/themes/ods/images/archives/bg-content.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/themes/ods/images/archives/bg-content.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/themes/ods/images/archives/bg-navigation-item-hover.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/themes/ods/images/archives/bg-navigation-item-hover.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/themes/ods/images/archives/gradient-inner.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/themes/ods/images/archives/gradient-inner.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/themes/ods/page-node-15.tpl.php |
---|
New file |
0,0 → 1,83 |
<?php /** Inclusion du fichier principal de l'application*/ |
require_once '/home/aurelien/web/obs_saisons/applications/saisie/saisie.php'; |
?> |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr"> |
<head> |
<?php print $head ?> |
<title><?php print $head_title ?></title> |
<?php print $styles ?> |
<?php print $scripts ?> |
<!--[if lt IE 7]> |
<?php print phptemplate_get_ie_styles(); ?> |
<![endif]--> |
<?= Liens::renvoyerStylesInclus() ?> |
<?= Liens::renvoyerScriptsInclus() ?> |
<?php print AppControleur::getContenuPied(); print $footer_message; ?> |
</head> |
<body<?php print phptemplate_body_class($left, $right); ?>> |
<div id="header-region" class="clear-block"> |
<?php print $header; ?> |
</div> |
<div id="wrapper" class="zone_principale"> |
<div class="navigation_niveau_1"> |
<?php if (isset($primary_links)) : ?> |
<?php print theme('links', $primary_links, array('class' => 'links primary-links')) ?> |
<?php endif; ?> |
<?php if (isset($secondary_links)) : ?> |
<?php print theme('links', $secondary_links, array('class' => 'links secondary-links')) ?> |
<?php endif; ?> |
</div> |
<?php $saisons = array('printemps', 'ete', 'automne','hiver'); $saison = $saisons[rand(0,3)]; ?> |
<div id="header" class="<?= $saison; ?>"> |
<div id="logo-floater"> |
<?php |
if ($logo || $site_title) { |
print '<h1><a href="'. check_url($front_page) .'" title="'. $site_title .'">'; |
if ($logo) { |
print '<img src="'. check_url($logo) .'" alt="'. $site_title .'" id="logo" />'; |
} |
print $site_html .'</a></h1>'; |
} |
?> |
</div> |
</div> <!-- /header --> |
<div id="left"> |
<?php if ($left): ?> |
<div id="sidebar-left" class="sidebar"> |
<?php if(AppControleur::utilisateurEstIdentifie()) { ?> |
<?php print AppControleur::getContenuNavigation(); ?> |
<?php } else { ?> |
<?php print $left ?> |
<?php } ?> |
</div> |
<?php endif; ?> |
</div><!-- /navigation --> |
<div id="center"> |
<?php print $help; ?> |
<?php print AppControleur::getContenuCorps(); ?> |
<?php print $feed_icons ?> |
</div><!-- centre --> |
<div id="footer"> |
<?php print AppControleur::getContenuPied(); print $footer_message; ?> |
</div><!-- pied de page --> |
</div> <!--fermeture div zone-principale--> |
</body> |
</html> |
/trunk/themes/ods/fix-ie-rtl.css |
---|
New file |
0,0 → 1,63 |
/* $Id: fix-ie-rtl.css,v 1.2 2007/11/09 22:14:41 goba Exp $ */ |
body { |
/* Center layout */ |
text-align: center; |
/* Allow text resizing */ |
font-size: 80%; |
} |
#squeeze { |
zoom: 1; |
direction: ltr; |
} |
#squeeze .left-corner{ |
direction: rtl |
} |
#header-region, #wrapper #container { |
/* Reset text alignment */ |
text-align: right; |
} |
#wrapper #container #center { |
/* Reduce amount of damage done by extremely wide content */ |
overflow: hidden; |
} |
#wrapper #container #center .right-corner .left-corner { |
/* Because of the lack of min-height, we use height as an alternative */ |
height: 400px; |
} |
fieldset { |
/* Don't draw backgrounds on fieldsets in IE, as they look really bad. */ |
background: none; |
} |
/* Prevent fieldsets from shifting when changing collapsed state. */ |
html.js fieldset.collapsible { |
position: relative; |
top: -1em; |
} |
html.js fieldset.collapsed { |
top: 0; |
margin-bottom: 1em; |
} |
tr.menu-disabled { |
/* Use filter to emulate CSS3 opacity */ |
filter: alpha(opacity=50); |
} |
#header-region { |
/* Because of the lack of min-height, we use height as an alternative */ |
height: 1em; |
} |
#attach-hide label, #uploadprogress div.message { |
/* Fading elements in IE causes the text to bleed unless they have a background. */ |
background-color: #ffffff; |
} |
/trunk/themes/ods/minnelli/color/color.inc |
---|
New file |
0,0 → 1,75 |
<?php |
// $Id: color.inc,v 1.4 2007/12/14 17:00:14 goba Exp $ |
$info = array( |
// Pre-defined color schemes. |
'schemes' => array( |
'#0072b9,#027ac6,#2385c2,#5ab5ee,#494949' => t('Blue Lagoon (Default)'), |
'#464849,#2f416f,#2a2b2d,#5d6779,#494949' => t('Ash'), |
'#55c0e2,#000000,#085360,#007e94,#696969' => t('Aquamarine'), |
'#d5b048,#6c420e,#331900,#971702,#494949' => t('Belgian Chocolate'), |
'#3f3f3f,#336699,#6598cb,#6598cb,#000000' => t('Bluemarine'), |
'#d0cb9a,#917803,#efde01,#e6fb2d,#494949' => t('Citrus Blast'), |
'#0f005c,#434f8c,#4d91ff,#1a1575,#000000' => t('Cold Day'), |
'#c9c497,#0c7a00,#03961e,#7be000,#494949' => t('Greenbeam'), |
'#ffe23d,#a9290a,#fc6d1d,#a30f42,#494949' => t('Mediterrano'), |
'#788597,#3f728d,#a9adbc,#d4d4d4,#707070' => t('Mercury'), |
'#5b5fa9,#5b5faa,#0a2352,#9fa8d5,#494949' => t('Nocturnal'), |
'#7db323,#6a9915,#b5d52a,#7db323,#191a19' => t('Olivia'), |
'#12020b,#1b1a13,#f391c6,#f41063,#898080' => t('Pink Plastic'), |
'#b7a0ba,#c70000,#a1443a,#f21107,#515d52' => t('Shiny Tomato'), |
'#18583d,#1b5f42,#34775a,#52bf90,#2d2d2d' => t('Teal Top'), |
), |
// Images to copy over. |
'copy' => array( |
'../images/menu-collapsed.gif', |
'../images/menu-collapsed-rtl.gif', |
'../images/menu-expanded.gif', |
'../images/menu-leaf.gif', |
), |
// CSS files (excluding @import) to rewrite with new color scheme. |
'css' => array( |
'../style.css', |
), |
// Coordinates of gradient (x, y, width, height). |
'gradient' => array(0, 37, 760, 121), |
// Color areas to fill (x, y, width, height). |
'fill' => array( |
'base' => array(0, 0, 760, 568), |
'link' => array(107, 533, 41, 23), |
), |
// Coordinates of all the theme slices (x, y, width, height) |
// with their filename as used in the stylesheet. |
'slices' => array( |
'../images/body.png' => array(0, 37, 1, 280), |
'../images/bg-bar.png' => array(202, 530, 76, 14), |
'../images/bg-bar-white.png' => array(202, 506, 76, 14), |
'../images/bg-tab.png' => array(107, 533, 41, 23), |
'../images/bg-navigation.png' => array(0, 0, 7, 37), |
'../images/bg-content-left.png' => array(40, 117, 50, 352), |
'../images/bg-content-right.png' => array(510, 117, 50, 352), |
'../images/bg-content.png' => array(299, 117, 7, 200), |
'../images/bg-navigation-item.png' => array(32, 37, 17, 12), |
'../images/bg-navigation-item-hover.png' => array(54, 37, 17, 12), |
'../images/gradient-inner.png' => array(646, 307, 112, 42), |
'logo.png' => array(622, 51, 64, 73), |
'screenshot.png' => array(0, 37, 400, 240), |
), |
// Reference color used for blending. Matches the base.png's colors. |
'blend_target' => '#ffffff', |
// Preview files. |
'preview_image' => 'color/preview.png', |
'preview_css' => '../color/preview.css', |
// Base file for image generation. |
'base_image' => 'color/base.png', |
); |
/trunk/themes/ods/minnelli/color/base.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/themes/ods/minnelli/color/base.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/themes/ods/minnelli/color/preview.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/themes/ods/minnelli/color/preview.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/themes/ods/minnelli/minnelli.css |
---|
New file |
0,0 → 1,20 |
/* $Id: minnelli.css,v 1.3.2.1 2008/02/05 09:27:26 goba Exp $ */ |
/** |
* Minnelli, for Drupal 6.x |
* Stefan Nagtegaal, iStyledThis [dot] nl |
* Steven Wittens, acko [dot] net |
*/ |
body #wrapper #container { |
width: 560px; |
} |
body.sidebars #wrapper #container { |
width: 980px; |
} |
body.sidebar-left #wrapper #container, |
body.sidebar-right #wrapper #container { |
width: 770px; |
} |
/trunk/themes/ods/minnelli/screenshot.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/themes/ods/minnelli/screenshot.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/themes/ods/minnelli/minnelli.info |
---|
New file |
0,0 → 1,13 |
; $Id: minnelli.info,v 1.7 2007/12/04 20:58:44 goba Exp $ |
name = Minnelli |
description = Tableless, recolorable, multi-column, fixed width theme. |
version = VERSION |
core = 6.x |
base theme = garland |
stylesheets[all][] = minnelli.css |
; Information added by drupal.org packaging script on 2010-06-02 |
version = "6.17" |
project = "drupal" |
datestamp = "1275505216" |
/trunk/themes/ods/minnelli/logo.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/themes/ods/minnelli/logo.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/themes/ods/fix-ie.css |
---|
New file |
0,0 → 1,69 |
/* $Id: fix-ie.css,v 1.8.2.1 2008/02/05 09:27:26 goba Exp $ */ |
/** |
* Garland, for Drupal 6.x |
* Stefan Nagtegaal, iStyledThis [dot] nl |
* Steven Wittens, acko [dot] net |
*/ |
body { |
/* Center layout */ |
text-align: center; |
/* Allow text resizing */ |
font-size: 80%; |
} |
#header-region, #wrapper #container { |
/* Reset text alignment */ |
text-align: left; /* LTR */ |
} |
#wrapper #container #center { |
/* Reduce amount of damage done by extremely wide content */ |
overflow: hidden; |
} |
#wrapper #container #center .right-corner .left-corner { |
/* Because of the lack of min-height, we use height as an alternative */ |
height: 400px; |
} |
fieldset { |
/* Don't draw backgrounds on fieldsets in IE, as they look really bad. */ |
background: none; |
} |
ul.primary { |
/* Fix missing top margin */ |
position: relative; /* LTR */ |
/* top: 0.5em; */ |
} |
/* Prevent fieldsets from shifting when changing collapsed state. */ |
html.js fieldset.collapsible { |
position: relative; |
top: -1em; |
} |
html.js fieldset.collapsed { |
top: 0; |
margin-bottom: 1em; |
} |
tr.menu-disabled { |
/* Use filter to emulate CSS3 opacity */ |
filter: alpha(opacity=50); |
} |
#header-region { |
/* Because of the lack of min-height, we use height as an alternative */ |
height: 1em; |
} |
tr.taxonomy-term-preview { |
filter: alpha(opacity=50); |
} |
#attach-hide label, #uploadprogress div.message { |
/* Fading elements in IE causes the text to bleed unless they have a background. */ |
background-color: #ffffff; |
} |
/trunk/themes/ods/node.tpl.php |
---|
New file |
0,0 → 1,32 |
<?php |
// $Id: node.tpl.php,v 1.5 2007/10/11 09:51:29 goba Exp $ |
?> |
<div id="node-<?php print $node->nid; ?>" class="node<?php if ($sticky) { print ' sticky'; } ?><?php if (!$status) { print ' node-unpublished'; } ?>"> |
<?php print $picture ?> |
<?php if ($page == 0): ?> |
<h2><a href="<?php print $node_url ?>" title="<?php print $title ?>"><?php print $title ?></a></h2> |
<?php endif; ?> |
<?php if ($submitted): ?> |
<span class="submitted"><?php print $submitted; ?></span> |
<?php endif; ?> |
<div class="content clear-block"> |
<?php print $content ?> |
</div> |
<div class="clear-block"> |
<div class="meta"> |
<?php if ($taxonomy): ?> |
<div class="terms"><?php print $terms ?></div> |
<?php endif;?> |
</div> |
<?php if ($links): ?> |
<div class="links"><?php print $links; ?></div> |
<?php endif; ?> |
</div> |
</div> |
/trunk/themes/ods/color/preview.css |
---|
New file |
0,0 → 1,58 |
/* $Id: preview.css,v 1.1 2006/10/29 13:17:38 unconed Exp $ */ |
/* Positioning */ |
#preview { |
overflow: hidden; |
max-width: 100%; |
} |
#preview, #preview #img { |
width: 596px; |
height: 371px; |
} |
#preview #gradient { |
position: absolute; |
left: 0; |
right: 0; |
top: 19px; |
height: 120px; |
z-index: 2; |
} |
#preview #text { |
position: absolute; |
left: 80px; |
width: 436px; |
top: 160px; |
height: 120px; |
z-index: 4; |
} |
#preview #img { |
position: relative; |
z-index: 3; |
} |
#preview #gradient .gradient-line { |
height: 10px; |
overflow: hidden; |
} |
/* Basic styles to match */ |
#preview { |
font: 12px/170% Verdana; |
} |
#preview h2 { |
margin: 0; |
padding: 0; |
font-weight: normal; |
font-family: Helvetica, Arial, sans-serif; |
font-size: 160%; |
line-height: 130%; |
} |
#preview p { |
margin: .5em 0; |
} |
#preview a:link, #preview a:visited { |
text-decoration: none; |
font-weight: normal; |
} |
#preview a:hover { |
text-decoration: underline; |
} |
/trunk/themes/ods/color/base.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/themes/ods/color/base.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/themes/ods/color/preview.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/themes/ods/color/preview.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/themes/ods/color/color.inc |
---|
New file |
0,0 → 1,75 |
<?php |
// $Id: color.inc,v 1.4 2007/12/14 17:00:14 goba Exp $ |
$info = array( |
// Pre-defined color schemes. |
'schemes' => array( |
'#0072b9,#027ac6,#2385c2,#5ab5ee,#494949' => t('Blue Lagoon (Default)'), |
'#464849,#2f416f,#2a2b2d,#5d6779,#494949' => t('Ash'), |
'#55c0e2,#000000,#085360,#007e94,#696969' => t('Aquamarine'), |
'#d5b048,#6c420e,#331900,#971702,#494949' => t('Belgian Chocolate'), |
'#3f3f3f,#336699,#6598cb,#6598cb,#000000' => t('Bluemarine'), |
'#d0cb9a,#917803,#efde01,#e6fb2d,#494949' => t('Citrus Blast'), |
'#0f005c,#434f8c,#4d91ff,#1a1575,#000000' => t('Cold Day'), |
'#c9c497,#0c7a00,#03961e,#7be000,#494949' => t('Greenbeam'), |
'#ffe23d,#a9290a,#fc6d1d,#a30f42,#494949' => t('Mediterrano'), |
'#788597,#3f728d,#a9adbc,#d4d4d4,#707070' => t('Mercury'), |
'#5b5fa9,#5b5faa,#0a2352,#9fa8d5,#494949' => t('Nocturnal'), |
'#7db323,#6a9915,#b5d52a,#7db323,#191a19' => t('Olivia'), |
'#12020b,#1b1a13,#f391c6,#f41063,#898080' => t('Pink Plastic'), |
'#b7a0ba,#c70000,#a1443a,#f21107,#515d52' => t('Shiny Tomato'), |
'#18583d,#1b5f42,#34775a,#52bf90,#2d2d2d' => t('Teal Top'), |
), |
// Images to copy over. |
'copy' => array( |
'images/menu-collapsed.gif', |
'images/menu-collapsed-rtl.gif', |
'images/menu-expanded.gif', |
'images/menu-leaf.gif', |
), |
// CSS files (excluding @import) to rewrite with new color scheme. |
'css' => array( |
'style.css', |
), |
// Coordinates of gradient (x, y, width, height). |
'gradient' => array(0, 37, 760, 121), |
// Color areas to fill (x, y, width, height). |
'fill' => array( |
'base' => array(0, 0, 760, 568), |
'link' => array(107, 533, 41, 23), |
), |
// Coordinates of all the theme slices (x, y, width, height) |
// with their filename as used in the stylesheet. |
'slices' => array( |
'images/body.png' => array(0, 37, 1, 280), |
'images/bg-bar.png' => array(202, 530, 76, 14), |
'images/bg-bar-white.png' => array(202, 506, 76, 14), |
'images/bg-tab.png' => array(107, 533, 41, 23), |
'images/bg-navigation.png' => array(0, 0, 7, 37), |
'images/bg-content-left.png' => array(40, 117, 50, 352), |
'images/bg-content-right.png' => array(510, 117, 50, 352), |
'images/bg-content.png' => array(299, 117, 7, 200), |
'images/bg-navigation-item.png' => array(32, 37, 17, 12), |
'images/bg-navigation-item-hover.png' => array(54, 37, 17, 12), |
'images/gradient-inner.png' => array(646, 307, 112, 42), |
'logo.png' => array(622, 51, 64, 73), |
'screenshot.png' => array(0, 37, 400, 240), |
), |
// Reference color used for blending. Matches the base.png's colors. |
'blend_target' => '#ffffff', |
// Preview files. |
'preview_image' => 'color/preview.png', |
'preview_css' => 'color/preview.css', |
// Base file for image generation. |
'base_image' => 'color/base.png', |
); |
/trunk/themes/ods/block.tpl.php |
---|
New file |
0,0 → 1,11 |
<?php |
// $Id: block.tpl.php,v 1.3 2007/08/07 08:39:36 goba Exp $ |
?> |
<div id="block-<?php print $block->module .'-'. $block->delta; ?>" class="clear-block block block-<?php print $block->module ?>"> |
<?php if (!empty($block->subject)): ?> |
<h2><?php print $block->subject ?></h2> |
<?php endif;?> |
<div class="content"><?php print $block->content ?></div> |
</div> |
/trunk/themes/ods/ods.info |
---|
New file |
0,0 → 1,14 |
; $Id: garland.info,v 1.5 2007/07/01 23:27:32 goba Exp $ |
name = ODS |
description = Template du nouveau site ods |
version = VERSION |
core = 6.x |
engine = phptemplate |
stylesheets[all][] = style.css |
stylesheets[print][] = print.css |
; Information added by drupal.org packaging script on 2010-06-02 |
version = "6.17" |
project = "drupal" |
datestamp = "1275505216" |
/trunk/themes/ods/maintenance-page.tpl.php |
---|
New file |
0,0 → 1,91 |
<?php |
// $Id: maintenance-page.tpl.php,v 1.3.2.1 2009/04/30 00:13:31 goba Exp $ |
/** |
* @file maintenance-page.tpl.php |
* |
* This is an override of the default maintenance page. Used for Garland and |
* Minnelli, this file should not be moved or modified since the installation |
* and update pages depend on this file. |
* |
* This mirrors closely page.tpl.php for Garland in order to share the same |
* styles. |
*/ |
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>"> |
<head> |
<?php print $head ?> |
<title><?php print $head_title ?></title> |
<?php print $styles ?> |
<?php print $scripts ?> |
<!--[if lt IE 7]> |
<?php print phptemplate_get_ie_styles(); ?> |
<![endif]--> |
</head> |
<body<?php print phptemplate_body_class($left, $right); ?>> |
<!-- Layout --> |
<div id="header-region" class="clear-block"><?php print $header; ?></div> |
<div id="wrapper"> |
<div id="container" class="clear-block"> |
<div id="header"> |
<div id="logo-floater"> |
<?php |
// Prepare header |
$site_fields = array(); |
if ($site_name) { |
$site_fields[] = check_plain($site_name); |
} |
if ($site_slogan) { |
$site_fields[] = check_plain($site_slogan); |
} |
$site_title = implode(' ', $site_fields); |
if ($site_fields) { |
$site_fields[0] = '<span>'. $site_fields[0] .'</span>'; |
} |
$site_html = implode(' ', $site_fields); |
if ($logo || $site_title) { |
print '<h1><a href="'. check_url($base_path) .'" title="'. $site_title .'">'; |
if ($logo) { |
print '<img src="'. check_url($logo) .'" alt="'. $site_title .'" id="logo" />'; |
} |
print $site_html .'</a></h1>'; |
} |
?> |
</div> |
</div> <!-- /header --> |
<?php if ($left): ?> |
<div id="sidebar-left" class="sidebar"> |
<?php if ($search_box): ?><div class="block block-theme"><?php print $search_box ?></div><?php endif; ?> |
<?php print $left ?> |
</div> |
<?php endif; ?> |
<div id="center"><div id="squeeze"><div class="right-corner"><div class="left-corner"> |
<?php if ($title): print '<h2'. ($tabs ? ' class="with-tabs"' : '') .'>'. $title .'</h2>'; endif; ?> |
<?php print $help; ?> |
<?php print $messages; ?> |
<div class="clear-block"> |
<?php print $content ?> |
</div> |
<div id="footer"><?php print $footer_message . $footer ?></div> |
</div></div></div></div> <!-- /.left-corner, /.right-corner, /#squeeze, /#center --> |
<?php if ($right): ?> |
<div id="sidebar-right" class="sidebar"> |
<?php print $right ?> |
</div> |
<?php endif; ?> |
</div> <!-- /container --> |
</div> |
<!-- /layout --> |
</body> |
</html> |
/trunk/themes/ods/translations/themes-garland.fr.po |
---|
New file |
0,0 → 1,18 |
# French translation of Drupal (6.8) |
# Copyright (c) 2009 by the French translation team |
# Generated from file: template.php,v 1.16 2007/10/11 09:51:29 goba |
# |
msgid "" |
msgstr "" |
"Project-Id-Version: Drupal (6.8)\n" |
"POT-Creation-Date: 2009-01-13 08:54+0000\n" |
"PO-Revision-Date: YYYY-mm-DD HH:MM+ZZZZ\n" |
"Language-Team: French\n" |
"MIME-Version: 1.0\n" |
"Content-Type: text/plain; charset=utf-8\n" |
"Content-Transfer-Encoding: 8bit\n" |
"Plural-Forms: nplurals=2; plural=(n>1);\n" |
#: themes/garland/template.php:75,83 |
msgid "!datetime — !username" |
msgstr "!datetime — !username" |
/trunk/themes/ods/loading.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/themes/ods/loading.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/trunk/themes/ods/logo.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/themes/ods/logo.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/themes/ods/print.css |
---|
New file |
0,0 → 1,55 |
/* $Id: print.css,v 1.3 2007/09/06 21:23:32 goba Exp $ */ |
/** |
* Garland, for Drupal 5.0 |
* Stefan Nagtegaal, iStyledThis [dot] nl |
* Steven Wittens, acko [dot] net` |
* |
* If you use a customized color scheme, you must regenerate it after |
* modifying this file. |
*/ |
body, input, textarea, select { |
color: #000; |
background: none; |
} |
ul.primary-links, ul.secondary-links, |
#header-region, .sidebar { |
display: none; |
} |
body.sidebars, body.sideber-left, body.sidebar-right, body { |
width: 640px; |
} |
body.sidebar-left #center, body.sidebar-right #center, body.sidebars #center, |
body.sidebar-left #squeeze, body.sidebar-right #squeeze, body.sidebars #squeeze { |
margin: 0; |
} |
#wrapper, |
#wrapper #container .breadcrumb, |
#wrapper #container #center, |
#wrapper #container #center .right-corner, |
#wrapper #container #center .right-corner .left-corner, |
#wrapper #container #footer, |
#wrapper #container #center #squeeze { |
position: static; |
left: 0; |
padding: 0; |
margin: 0; |
width: auto; |
float: none; |
clear: both; |
background: none; |
} |
#wrapper #container #header { |
height: 130px; |
} |
#wrapper #container #header h1, #wrapper #container #header h1 a:link, #wrapper #container #header h1 a:visited { |
text-shadow: none; |
color: #000; |
} |
/trunk/themes/ods/style-rtl.css |
---|
New file |
0,0 → 1,293 |
/* $Id: style-rtl.css,v 1.6 2007/12/17 15:05:10 goba Exp $ */ |
html { |
direction: rtl; |
} |
/** |
* Generic elements |
*/ |
body { |
direction: rtl; |
} |
ol li, ul li { |
margin: 0.4em .5em 0.4em 0; |
} |
ul.menu, .item-list ul { |
margin: 0.35em -0.5em 0 0; |
} |
ul.menu ul, .item-list ul ul { |
margin-left: 0; |
margin-right: 0em; |
} |
ol li, ul li, ul.menu li, .item-list ul li, li.leaf { |
margin: 0.15em .5em 0.15em 0; |
} |
ul li, ul.menu li, .item-list ul li, li.leaf { |
padding: 0 1.5em .2em 0; |
background: transparent url("images/menu-leaf.gif") no-repeat 100% .35em; |
} |
ol li { |
margin-left: 0; |
margin-right: 2em; |
} |
ul li.expanded { |
background: transparent url("images/menu-expanded.gif") no-repeat 100% .35em; |
} |
ul li.collapsed { |
background: transparent url("images/menu-collapsed-rtl.gif") no-repeat 100% .35em; |
} |
ul.inline li { |
padding: 0 0 0 1em; |
} |
ol.task-list { |
margin-left: 0; |
margin-right: 0; |
} |
ol.task-list li { |
padding: 0.5em 2em 0.5em 1em; |
} |
ol.task-list li.active { |
background: transparent url(images/task-list.png) no-repeat 97px 50%; |
} |
ol.task-list li.done { |
background: transparent url(../../misc/watchdog-ok.png) no-repeat 100% 50%; |
} |
ol.task-list li.active { |
margin-right: 0; |
margin-left: 1em; |
} |
dl { |
margin: 0.5em 1.5em 1em 0; |
} |
dl dt { |
} |
dl dd { |
margin: 0 1.5em .5em 0; |
} |
.form-button, .form-submit { |
margin: 2em 0 1em 0.5em; |
} |
#header-region h2 { |
margin: 0 0 0 1em; |
} |
#wrapper { |
background: #edf5fa url("images/body.png") repeat-x 50% 0; |
} |
#wrapper #container #header h1 img { |
padding-right: 0; |
padding-left: 20px; |
float: right; |
} |
#sidebar-left .block-region { |
margin: 0 0 0 15px; |
} |
#sidebar-right .block-region { |
margin: 0 15px 0px 0; |
} |
/* Now we add the backgrounds for the main content shading */ |
#wrapper #container #center #squeeze { |
background: #fff url("images/bg-content.png") repeat-x 50% 0; |
} |
#wrapper #container .breadcrumb { |
position: absolute; |
top: 15px; |
left: 0; |
right: 35px; |
z-index: 3; |
} |
/** |
* Primary navigation |
*/ |
ul.primary-links { |
float: left; |
width:70%; |
} |
ul.primary-links li { |
float: right; |
} |
/** |
* Secondary navigation |
*/ |
ul.secondary-links { |
float: left; |
clear: left; |
} |
ul.secondary-links li { |
float: right; |
} |
ul.primary { |
float: right; |
} |
ul.secondary { |
clear: both; |
text-align: right; |
} |
h2.with-tabs { |
float: right; |
margin: 0 0 0 2em; |
} |
ul.primary li a, ul.primary li.active a, ul.primary li a:hover, ul.primary li a:visited, |
ul.secondary li a, ul.secondary li.active a, ul.secondary li a:hover, ul.secondary li a:visited { |
margin: 0 1px 0 0; |
} |
ul.primary li a:after { |
/* Fix Firefox 2 RTL bug. */ |
content: " "; |
} |
ul.links li, ul.inline li { |
padding-left: 1em; |
padding-right: 0; |
} |
.node .links, .comment .links { |
text-align: right; |
} |
.node .links ul.links li, .comment .links ul.links li {} |
.terms ul.links li { |
padding-right: 1em; |
padding-left: 0; |
} |
.picture, .comment .submitted { |
padding-left: 0; |
float: left; |
clear: left; |
padding-right: 1em; |
} |
.new { |
float: left; |
} |
.terms { |
float: left; |
} |
.indented { |
margin-left: 0; |
margin-right: 25px; |
} |
html.js fieldset.collapsible legend a { |
padding-left: 0; |
padding-right: 2em; |
background: url("images/menu-expanded.gif") no-repeat 100% 50%; |
} |
html.js fieldset.collapsed legend a { |
background: url("images/menu-collapsed-rtl.gif") no-repeat 100% 50%; |
} |
/** |
* Syndication Block |
*/ |
#block-node-0 h2 { |
float: right; |
padding-right: 0; |
padding-left: 20px; |
} |
#block-node-0 img { |
float: left; |
} |
#block-node-0 .content { |
clear: left; |
} |
/** |
* Login Block |
*/ |
#user-login-form ul { |
text-align: right; |
} |
div.admin .left { |
float: right; |
} |
div.admin .right { |
float: left; |
} |
/* Fix Opera, IE6 and IE7 header width */ |
#wrapper #container #header { |
position: relative; |
width: 100%; |
} |
#wrapper #container #header #logo-floater { |
width: 100%; |
left: 0; |
top:0; |
} |
/** |
* Fixes for IE7 - Does not break other browsers |
*/ |
/* Position:relative on these breaks IE7. */ |
ul.primary li a, ul.primary li.active a, ul.primary li a:hover, ul.primary li a:visited, |
ul.secondary li a, ul.secondary li.active a, ul.secondary li a:hover, ul.secondary li a:visited { |
position: static; |
} |
/* Fix right and left cloumns position breaking on window resize */ |
#container { |
position: relative; |
} |
#center { |
position: relative; |
} |
#sidebar-right{ |
position: absolute; |
right: 0; |
} |
/** |
* Apply hasLayout to elements in IE7, using standard property "min-height" |
* (see http://www.satzansatz.de/cssd/onhavinglayout.html) |
*/ |
/* Fix background bleed in center column. */ |
#squeeze, |
#squeeze .right-corner { |
min-height: 1%; |
} |
/trunk/themes/ods/comment.tpl.php |
---|
New file |
0,0 → 1,33 |
<?php |
// $Id: comment.tpl.php,v 1.10 2008/01/04 19:24:24 goba Exp $ |
?> |
<div class="comment<?php print ($comment->new) ? ' comment-new' : ''; print ' '. $status; print ' '. $zebra; ?>"> |
<div class="clear-block"> |
<?php if ($submitted): ?> |
<span class="submitted"><?php print $submitted; ?></span> |
<?php endif; ?> |
<?php if ($comment->new) : ?> |
<span class="new"><?php print drupal_ucfirst($new) ?></span> |
<?php endif; ?> |
<?php print $picture ?> |
<h3><?php print $title ?></h3> |
<div class="content"> |
<?php print $content ?> |
<?php if ($signature): ?> |
<div class="clear-block"> |
<div>—</div> |
<?php print $signature ?> |
</div> |
<?php endif; ?> |
</div> |
</div> |
<?php if ($links): ?> |
<div class="links"><?php print $links ?></div> |
<?php endif; ?> |
</div> |
/trunk/themes/ods/style.css |
---|
New file |
0,0 → 1,1168 |
/* $Id: style.css,v 1.38.2.4 2009/09/14 13:10:47 goba Exp $ */ |
/** |
* ODS, for Drupal 6.x |
* |
* If you use a customized color scheme, you must regenerate it after |
* modifying this file. |
*/ |
/** |
* Generic elements |
*/ |
body { |
margin: 0; |
margin-top: 20px; |
padding: 0; |
background: transparent; |
font: 12px/170% Verdana, sans-serif; |
color: #494949; |
background-color: #BFAF83; |
} |
input { |
font: 12px/100% Verdana, sans-serif; |
color: #494949; |
} |
textarea, select { |
font: 12px/160% Verdana, sans-serif; |
color: #494949; |
} |
h1, h2, h3, h4, h5, h6 { |
margin: 0; |
padding: 0; |
font-weight: normal; |
font-family: Helvetica, Arial, sans-serif; |
} |
h1 { |
font-size: 170%; |
} |
h2 { |
font-size: 160%; |
line-height: 130%; |
} |
h3 { |
font-size: 140%; |
} |
h4 { |
font-size: 130%; |
} |
h5 { |
font-size: 120%; |
} |
h6 { |
font-size: 110%; |
} |
ul, quote, code, fieldset { |
margin: .5em 0; |
} |
p { |
margin: 0.6em 0 1.2em; |
padding: 0; |
} |
a:link, a:visited { |
color: #027AC6; |
text-decoration: none; |
} |
a:hover { |
color: #0062A0; |
text-decoration: underline; |
} |
a:active, a.active { |
color: #5895be; |
} |
hr { |
margin: 0; |
padding: 0; |
border: none; |
height: 1px; |
background: #5294c1; |
} |
ul { |
margin: 0.5em 0 1em; |
padding: 0; |
} |
ol { |
margin: 0.75em 0 1.25em; |
padding: 0; |
} |
ol li, ul li { |
margin: 0.4em 0 0.4em .5em; /* LTR */ |
} |
ul.menu, .item-list ul { |
margin: 0.35em 0 0 -0.5em; /* LTR */ |
padding: 0; |
} |
ul.menu ul, .item-list ul ul { |
margin-left: 0em; /* LTR */ |
} |
ol li, ul li, ul.menu li, .item-list ul li, li.leaf { |
margin: 0.15em 0 0.15em .5em; /* LTR */ |
} |
ul li, ul.menu li, .item-list ul li, li.leaf { |
padding: 0 0 .2em 1.5em; |
list-style-type: none; |
list-style-image: none; |
/**background: transparent url(images/menu-leaf.gif) no-repeat 1px .35em; /* LTR */ |
} |
ol li { |
padding: 0 0 .3em; |
margin-left: 2em; /* LTR */ |
} |
ul li.expanded { |
/**background: transparent url(images/menu-expanded.gif) no-repeat 1px .35em; /* LTR */ |
} |
ul li.collapsed { |
/**background: transparent url(images/menu-collapsed.gif) no-repeat 0px .35em; /* LTR */ |
} |
ul li.leaf a, ul li.expanded a, ul li.collapsed a { |
display: block; |
} |
ul.inline li { |
background: none; |
margin: 0; |
padding: 0 1em 0 0; /* LTR */ |
} |
ol.task-list { |
margin-left: 0; /* LTR */ |
list-style-type: none; |
list-style-image: none; |
} |
ol.task-list li { |
padding: 0.5em 1em 0.5em 2em; /* LTR */ |
} |
ol.task-list li.active { |
/**background: transparent url(images/task-list.png) no-repeat 3px 50%; /* LTR */ |
} |
ol.task-list li.done { |
color: #393; |
/**background: transparent url(../../misc/watchdog-ok.png) no-repeat 0px 50%; /* LTR */ |
} |
ol.task-list li.active { |
margin-right: 1em; /* LTR */ |
} |
fieldset ul.clear-block li { |
margin: 0; |
padding: 0; |
background-image: none; |
} |
dl { |
margin: 0.5em 0 1em 1.5em; /* LTR */ |
} |
dl dt { |
} |
dl dd { |
margin: 0 0 .5em 1.5em; /* LTR */ |
} |
img, a img { |
border: none; |
} |
table { |
margin: 1em 0; |
width: 500px; |
} |
thead th { |
border-bottom: 2px solid #d3e7f4; |
color: #494949; |
font-weight: bold; |
} |
th a:link, th a:visited { |
color: #6f9dbd; |
} |
td, th { |
padding: .3em .5em; |
} |
tr.even, tr.odd, tbody th { |
border: solid #d3e7f4; |
border-width: 1px 0; |
} |
tr.odd, tr.info { |
background-color: #edf5fa; |
} |
tr.even { |
background-color: #fff; |
} |
tr.drag { |
background-color: #fffff0; |
} |
tr.drag-previous { |
background-color: #ffd; |
} |
tr.odd td.active { |
background-color: #ddecf5; |
} |
tr.even td.active { |
background-color: #e6f1f7; |
} |
td.region, td.module, td.container, td.category { |
border-top: 1.5em solid #fff; |
border-bottom: 1px solid #b4d7f0; |
background-color: #d4e7f3; |
color: #455067; |
font-weight: bold; |
} |
tr:first-child td.region, tr:first-child td.module, tr:first-child td.container, tr:first-child td.category { |
border-top-width: 0; |
} |
span.form-required { |
color: #ffae00; |
} |
span.submitted, .description { |
font-size: 0.92em; |
color: #898989; |
} |
.description { |
line-height: 150%; |
margin-bottom: 0.75em; |
color: #898989; |
} |
.messages, .preview { |
margin: .75em 0 .75em; |
padding: .5em 1em; |
} |
.messages ul { |
margin: 0; |
} |
.form-checkboxes, .form-radios, .form-checkboxes .form-item, .form-radios .form-item { |
margin: 0.25em 0; |
} |
#center form { |
margin-bottom: 2em; |
} |
.form-button, .form-submit { |
margin: 2em 0.5em 1em 0; /* LTR */ |
} |
#dblog-form-overview .form-submit, |
.confirmation .form-submit, |
.search-form .form-submit, |
.poll .form-submit, |
fieldset .form-button, fieldset .form-submit, |
.sidebar .form-button, .sidebar .form-submit, |
table .form-button, table .form-submit { |
margin: 0; |
} |
.box { |
margin-bottom: 2.5em; |
} |
/** |
* Layout |
*/ |
#header-region { |
min-height: 1em; |
/**background: #d2e6f3 url(images/bg-navigation.png) repeat-x 50% 100%; **/ |
} |
#header-region .block { |
display: block; |
margin: 0 1em; |
} |
#header-region .block-region { |
display: block; |
margin: 0 0.5em 1em; |
padding: 0.5em; |
position: relative; |
top: 0.5em; |
} |
#header-region * { |
display: inline; |
line-height: 1.5em; |
margin-top: 0; |
margin-bottom: 0; |
} |
/* Prevent the previous directive from showing the content of script elements in Mozilla browsers. */ |
#header-region script { |
display: none; |
} |
#header-region p, #header-region img { |
margin-top: 0.5em; |
} |
#header-region h2 { |
margin: 0 1em 0 0; /* LTR */ |
} |
#header-region h3, #header-region label, #header-region li { |
margin: 0 1em; |
padding: 0; |
background: none; |
} |
#wrapper { |
/** background: #edf5fa url(images/body.png) repeat-x 50% 0; **/ |
} |
#wrapper { |
width: 955px; |
margin-left:auto; |
margin-right:auto; |
background-color: #FFFFFF; |
} |
#wrapper #container { |
margin: 0 auto; |
padding: 0 20px; |
} |
#wrapper #container { |
height: 80px; |
} |
#wrapper #container #header #logo-floater { |
position: absolute; |
} |
#wrapper #container #header h1, #wrapper #container #header h1 a:link, #wrapper #container #header h1 a:visited { |
line-height: 120px; |
position: relative; |
z-index: 2; |
white-space: nowrap; |
} |
#wrapper #container #header h1 span { |
font-weight: bold; |
} |
#wrapper #container #header h1 img { |
padding-top: 14px; |
padding-right: 20px; /* LTR */ |
float: left; /* LTR */ |
} |
#logo-floater { |
padding-left: 20px; |
padding-top: 10px; |
} |
/* We must define 100% width to avoid the body being too narrow for near-empty pages */ |
#wrapper #container { |
float: left; |
width: 100%; |
background-color: #FFFFFF; |
} |
#center { |
width: 520px; |
min-height: 650px; |
background-color: #FFFFFF; |
height: auto; |
float: left; |
} |
#left { |
width: 215px; |
padding:5px; |
float: left; |
min-height: 650px |
background-color: #FFFFFF; |
} |
#right { |
} |
#sidebar-left { |
-moz-border-radius-topright: 50px 50px; |
-moz-border-radius-bottomright: 50px 50px; |
background-color: #0396A6; |
} |
#sidebar-left > div > h2 { |
display: none; |
} |
#sidebar-left a { |
color: #FFFFFF; |
font-weight: bold; |
} |
.content > div > ul > li { |
background: transparent url(images/puce_menu_niveau_1_triangle.png) no-repeat 3px 0.55em; |
} |
ul.menu > li { |
padding-bottom:5px; |
padding-left:20px; |
padding-top:5px; |
} |
#sidebar-left a.active-trail { |
background-color: #CDEBED; |
color: #0396A6; |
} |
#right { |
width: 215px; |
float: right; |
background-color: #FFFFFF; |
} |
/* We ensure the sidebars are still clickable using z-index */ |
#wrapper #container .sidebar { |
margin: 60px 0 5em; |
width: 210px; |
float: left; |
z-index: 2; |
position: relative; |
background-color: #FFFFFF; |
} |
#wrapper #container .sidebar .block { |
margin: 0 0 1.5em 0; |
} |
#sidebar-left .block { |
padding: 0 15px 0 0px; |
} |
#sidebar-right .block { |
padding: 0 0px 0 15px; |
} |
.block .content { |
margin: 0.5em 0; |
} |
#sidebar-left .block-region { |
margin: 0 15px 0 0px; /* LTR */ |
} |
#sidebar-right .block-region { |
margin: 0 0px 0 15px; /* LTR */ |
} |
.block-region { |
padding: 1em; |
background: transparent; |
border: 2px dashed #b4d7f0; |
text-align: center; |
font-size: 1.3em; |
} |
/* Now we add the backgrounds for the main content shading */ |
#wrapper #container #center #squeeze { |
/** background: #fff url(images/bg-content.png) repeat-x 50% 0;**/ |
position: relative; |
} |
#wrapper #container #center .right-corner { |
/** background: transparent url(images/bg-content-right.png) no-repeat 100% 0; **/ |
position: relative; |
left: 10px; |
} |
#wrapper #container #center .right-corner .left-corner { |
padding: 60px 25px 5em 35px; |
/** background: transparent url(images/bg-content-left.png) no-repeat 0 0; **/ |
margin-left: -10px; |
position: relative; |
left: -10px; |
min-height: 400px; |
} |
#wrapper #container #footer { |
float: none; |
clear: both; |
text-align: center; |
margin: 4em 0 -3em; |
color: #898989; |
} |
#wrapper #container .breadcrumb { |
position: absolute; |
top: 15px; |
left: 35px; /* LTR */ |
z-index: 3; |
} |
/** |
* Header |
*/ |
#wrapper #container #header h1, #wrapper #container #header h1 a:link, #wrapper #container #header h1 a:visited { |
color: #fff; |
font-weight: normal; |
text-shadow: #1659ac 0px 1px 3px; |
font-size: 1.5em; |
} |
#header { |
height: 180px; |
background-color: #FFFFFF; |
width: 955px; |
} |
.printemps { |
background: transparent url(images/bandeaux/bandeau-printemps.png) no-repeat 50% 0; |
} |
.ete { |
background: transparent url(images/bandeaux/bandeau-ete.png) no-repeat 50% 0; |
} |
.automne { |
background: transparent url(images/bandeaux/bandeau-automne.png) no-repeat 50% 0; |
} |
.hiver { |
background: transparent url(images/bandeaux/bandeau-hiver.png) no-repeat 50% 0; |
} |
#wrapper #container #header h1 a:hover { |
text-decoration: none; |
} |
#wrapper #container .breadcrumb { |
font-size: 0.92em; |
} |
#wrapper #container .breadcrumb, #wrapper #container .breadcrumb a { |
color: #529ad6; |
} |
#mission { |
padding: 1em; |
background-color: #fff; |
border: 1px solid #e0e5fb; |
margin-bottom: 2em; |
} |
#footer { |
height: 120px; |
background: transparent url(images/bandeaux/bandeau-bas.png) no-repeat 50% 0; |
clear:both; |
width:955px; |
margin-left:auto; |
margin-right: auto; |
background-color: #FFFFFF; |
} |
/** |
* Primary navigation |
*/ |
ul.primary-links { |
margin: 0; |
margin: -20px 0 0; |
padding: 0; |
float: right; /* LTR */ |
position: relative; |
z-index: 4; |
height: 30px; |
} |
ul.primary-links li { |
margin: 0; |
padding: 0; |
float: left; /* LTR */ |
background-image: none; |
-moz-border-radius-topright: 1em; |
-moz-border-radius-topleft: 1em; |
background-color: #FFFFFF; |
} |
ul.primary-links > li:nth-child(1) { |
background-color : #6C9ED8; |
} |
ul.primary-links > li:nth-child(2) { |
background-color : #800000; |
} |
ul.primary-links > li:nth-child(3) { |
background-color : #9AC343; |
} |
ul.primary-links > li:nth-child(4) { |
background-color : #EF7B1D; |
} |
ul.primary-links li a, ul.primary-links li a:link, ul.primary-links li a:visited { |
display: block; |
margin: 0 1em; |
font-weight: bold; |
color: #FFFFFF; |
/** background: transparent url(images/bg-navigation-item.png) no-repeat 50% 0;**/ |
} |
ul.primary-links li a:hover, ul.primary-links li a.active { |
color: #fff; |
/** background: transparent url(images/bg-navigation-item-hover.png) no-repeat 50% 0;**/ |
} |
ul.primary-links li.active-trail { |
height:30px; |
margin:-10px 0 0; |
} |
ul.primary-links li.active-trail a { |
padding-top: 5px; |
} |
/** |
* Secondary navigation |
*/ |
ul.secondary-links { |
margin: 0; |
padding: 18px 0 0; |
float: right; /* LTR */ |
clear: right; /* LTR */ |
position: relative; |
z-index: 4; |
} |
ul.secondary-links li { |
margin: 0; |
padding: 0; |
float: left; /* LTR */ |
background-image: none; |
} |
ul.secondary-links li a, ul.secondary-links li a:link, ul.secondary-links li a:visited { |
display: block; |
margin: 0 1em; |
padding: .75em 0 0; |
color: #cde3f1; |
background: transparent; |
} |
ul.secondary-links li a:hover, ul.secondary-links li a.active { |
color: #cde3f1; |
background: transparent; |
} |
/** |
* Local tasks |
*/ |
ul.primary, ul.primary li, ul.secondary, ul.secondary li { |
border: 0; |
background: none; |
margin: 0; |
padding: 0; |
} |
#tabs-wrapper { |
margin: 0 -26px 1em; |
padding: 0 26px; |
border-bottom: 1px solid #e9eff3; |
position: relative; |
} |
ul.primary { |
padding: 0.5em 0 10px; |
float: left; /* LTR */ |
} |
ul.secondary { |
clear: both; |
text-align: left; /* LTR */ |
border-bottom: 1px solid #e9eff3; |
margin: -0.2em -26px 1em; |
padding: 0 26px 0.6em; |
} |
h2.with-tabs { |
float: left; /* LTR */ |
margin: 0 2em 0 0; /* LTR */ |
padding: 0; |
} |
ul.primary li a, ul.primary li.active a, ul.primary li a:hover, ul.primary li a:visited, |
ul.secondary li a, ul.secondary li.active a, ul.secondary li a:hover, ul.secondary li a:visited { |
border: 0; |
background: transparent; |
padding: 4px 1em; |
margin: 0 0 0 1px; /* LTR */ |
height: auto; |
text-decoration: none; |
position: relative; |
top: -1px; |
display: inline-block; |
} |
ul.primary li.active a, ul.primary li.active a:link, ul.primary li.active a:visited, ul.primary li a:hover, |
ul.secondary li.active a, ul.secondary li.active a:link, ul.secondary li.active a:visited, ul.secondary li a:hover { |
background: url(images/bg-tab.png) repeat-x 0 50%; |
color: #fff; |
} |
ul.primary li.active a, |
ul.secondary li.active a { |
font-weight: bold; |
} |
/** |
* Nodes & comments |
*/ |
.node { |
border-bottom: 1px solid #e9eff3; |
margin: 0 0px 1.5em; |
padding: 1.5em 26px; |
} |
ul.links li, ul.inline li { |
margin-left: 0; |
margin-right: 0; |
padding-left: 0; /* LTR */ |
padding-right: 1em; /* LTR */ |
background-image: none; |
} |
.node .links, .comment .links { |
text-align: left; /* LTR */ |
} |
.node .links ul.links li, .comment .links ul.links li {} |
.terms ul.links li { |
margin-left: 0; |
margin-right: 0; |
padding-right: 0; |
padding-left: 1em; |
} |
.picture, .comment .submitted { |
float: right; /* LTR */ |
clear: right; /* LTR */ |
padding-left: 1em; /* LTR */ |
} |
.new { |
color: #ffae00; |
font-size: 0.92em; |
font-weight: bold; |
float: right; /* LTR */ |
} |
.terms { |
float: right; /* LTR */ |
} |
.preview .node, .preview .comment, .sticky { |
margin: 0; |
padding: 0.5em 0; |
border: 0; |
background: 0; |
} |
.sticky { |
padding: 1em; |
background-color: #fff; |
border: 1px solid #e0e5fb; |
margin-bottom: 2em; |
} |
#comments { |
position: relative; |
top: -1px; |
border-bottom: 1px solid #e9eff3; |
margin: -1.5em -25px 0; |
padding: 0 25px; |
} |
#comments h2.comments { |
margin: 0 -25px; |
padding: .5em 25px; |
background: #fff url(images/gradient-inner.png) repeat-x 0 0; |
} |
.comment { |
margin: 0 -25px; |
padding: 1.5em 25px 1.5em; |
border-top: 1px solid #e9eff3; |
} |
.indented { |
margin-left: 25px; /* LTR */ |
} |
.comment h3 a.active { |
color: #494949; |
} |
.node .content, .comment .content { |
margin: 0.6em 0; |
} |
/** |
* Aggregator.module |
*/ |
#aggregator { |
margin-top: 1em; |
} |
#aggregator .feed-item-title { |
font-size: 160%; |
line-height: 130%; |
} |
#aggregator .feed-item { |
border-bottom: 1px solid #e9eff3; |
margin: -1.5em -31px 1.75em; |
padding: 1.5em 31px; |
} |
#aggregator .feed-item-categories { |
font-size: 0.92em; |
} |
#aggregator .feed-item-meta { |
font-size: 0.92em; |
color: #898989; |
} |
/** |
* Color.module |
*/ |
#palette .form-item { |
border: 1px solid #fff; |
} |
#palette .item-selected { |
background: #fff url(images/gradient-inner.png) repeat-x 0 0; |
border: 1px solid #d9eaf5; |
} |
/** |
* Menu.module |
*/ |
tr.menu-disabled { |
opacity: 0.5; |
} |
tr.odd td.menu-disabled { |
background-color: #edf5fa; |
} |
tr.even td.menu-disabled { |
background-color: #fff; |
} |
/** |
* Poll.module |
*/ |
.poll .bar { |
background: #fff url(images/bg-bar-white.png) repeat-x 0 0; |
border: solid #f0f0f0; |
border-width: 0 1px 1px; |
} |
.poll .bar .foreground { |
background: #71a7cc url(images/bg-bar.png) repeat-x 0 100%; |
} |
.poll .percent { |
font-size: .9em; |
} |
/** |
* Autocomplete. |
*/ |
#autocomplete li { |
cursor: default; |
padding: 2px; |
margin: 0; |
} |
/** |
* Collapsible fieldsets |
*/ |
fieldset { |
margin: 1em 0; |
padding: 1em; |
border: 1px solid #d9eaf5; |
background: #fff url(images/gradient-inner.png) repeat-x 0 0; |
} |
/* Targets IE 7. Fixes background image in field sets. */ |
*:first-child+html fieldset { |
padding: 0 1em 1em; |
background-position: 0 .75em; |
background-color: transparent; |
} |
*:first-child+html fieldset > .description, *:first-child+html fieldset .fieldset-wrapper .description { |
padding-top: 1em; |
} |
fieldset legend { |
/* Fix disappearing legend in FFox */ |
display: block; |
} |
*:first-child+html fieldset legend, *:first-child+html fieldset.collapsed legend { |
display: inline; |
} |
html.js fieldset.collapsed { |
background: transparent; |
padding-top: 0; |
padding-bottom: .6em; |
} |
html.js fieldset.collapsible legend a { |
padding-left: 2em; /* LTR */ |
background: url(images/menu-expanded.gif) no-repeat 0% 50%; /* LTR */ |
} |
html.js fieldset.collapsed legend a { |
background: url(images/menu-collapsed.gif) no-repeat 0% 50%; /* LTR */ |
} |
/** |
* Syndication icons and block |
*/ |
#block-node-0 h2 { |
float: left; /* LTR */ |
padding-right: 20px; /* LTR */ |
} |
#block-node-0 img, .feed-icon { |
float: right; /* LTR */ |
padding-top: 4px; |
} |
#block-node-0 .content { |
clear: right; /* LTR */ |
} |
/** |
* Login Block |
*/ |
#user-login-form { |
text-align: center; |
} |
#user-login-form ul { |
text-align: left; /* LTR */ |
} |
/** |
* User profiles. |
*/ |
.profile { |
margin-top: 1.5em; |
} |
.profile h3 { |
border-bottom: 0; |
margin-bottom: 1em; |
} |
.profile dl { |
margin: 0; |
} |
.profile dt { |
font-weight: normal; |
color: #898989; |
font-size: 0.92em; |
line-height: 1.3em; |
margin-top: 1.4em; |
margin-bottom: 0.45em; |
} |
.profile dd { |
margin-bottom: 1.6em; |
} |
/** |
* Admin Styles |
*/ |
div.admin-panel, |
div.admin-panel .description, |
div.admin-panel .body, |
div.admin, |
div.admin .left, |
div.admin .right, |
div.admin .expert-link, |
div.item-list, |
.menu { |
margin: 0; |
padding: 0; |
} |
div.admin .left { |
float: left; /* LTR */ |
width: 48%; |
} |
div.admin .right { |
float: right; /* LTR */ |
width: 48%; |
} |
div.admin-panel { |
background: #fff url(images/gradient-inner.png) repeat-x 0 0; |
padding: 1em 1em 1.5em; |
} |
div.admin-panel .description { |
margin-bottom: 1.5em; |
} |
div.admin-panel dl { |
margin: 0; |
} |
div.admin-panel dd { |
color: #898989; |
font-size: 0.92em; |
line-height: 1.3em; |
margin-top: -.2em; |
margin-bottom: .65em; |
} |
table.system-status-report th { |
border-color: #d3e7f4; |
} |
#autocomplete li.selected, tr.selected td, tr.selected td.active { |
background: #027ac6; |
color: #fff; |
} |
tr.selected td a:link, tr.selected td a:visited, tr.selected td a:active { |
color: #d3e7f4; |
} |
tr.taxonomy-term-preview { |
opacity: 0.5; |
} |
tr.taxonomy-term-divider-top { |
border-bottom: none; |
} |
tr.taxonomy-term-divider-bottom { |
border-top: 1px dotted #CCC; |
} |
/** |
* CSS support |
*/ |
/******************************************************************* |
* Color Module: Don't touch * |
*******************************************************************/ |
/** |
* Generic elements. |
*/ |
.messages { |
background-color: #fff; |
border: 1px solid #b8d3e5; |
} |
.preview { |
background-color: #fcfce8; |
border: 1px solid #e5e58f; |
} |
div.status { |
color: #33a333; |
border-color: #c7f2c8; |
} |
div.error, tr.error { |
color: #a30000; |
background-color: #FFCCCC; |
} |
.form-item input.error, .form-item textarea.error { |
border: 1px solid #c52020; |
color: #363636; |
} |
/** |
* dblog.module |
*/ |
tr.dblog-user { |
background-color: #fcf9e5; |
} |
tr.dblog-user td.active { |
background-color: #fbf5cf; |
} |
tr.dblog-content { |
background-color: #fefefe; |
} |
tr.dblog-content td.active { |
background-color: #f5f5f5; |
} |
tr.dblog-warning { |
background-color: #fdf5e6; |
} |
tr.dblog-warning td.active { |
background-color: #fdf2de; |
} |
tr.dblog-error { |
background-color: #fbe4e4; |
} |
tr.dblog-error td.active { |
background-color: #fbdbdb; |
} |
tr.dblog-page-not-found, tr.dblog-access-denied { |
background: #d7ffd7; |
} |
tr.dblog-page-not-found td.active, tr.dblog-access-denied td.active { |
background: #c7eec7; |
} |
/** |
* Status report colors. |
*/ |
table.system-status-report tr.error, table.system-status-report tr.error th { |
background-color: #fcc; |
border-color: #ebb; |
color: #200; |
} |
table.system-status-report tr.warning, table.system-status-report tr.warning th { |
background-color: #ffd; |
border-color: #eeb; |
} |
table.system-status-report tr.ok, table.system-status-report tr.ok th { |
background-color: #dfd; |
border-color: #beb; |
} |
/trunk/themes/ods/page.tpl.php |
---|
New file |
0,0 → 1,80 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr"> |
<head> |
<?php print $head ?> |
<title><?php print $head_title ?></title> |
<?php print $styles ?> |
<?php print $scripts ?> |
<!--[if lt IE 7]> |
<?php print phptemplate_get_ie_styles(); ?> |
<![endif]--> |
</head> |
<body<?php print phptemplate_body_class($left, $right); ?>> |
<div id="header-region" class="clear-block"> |
<?php print $header; ?> |
</div> |
<div id="wrapper" class="zone_principale"> |
<div class="navigation_niveau_1"> |
<?php if (isset($primary_links)) : ?> |
<?php print theme('links', $primary_links, array('class' => 'links primary-links')) ?> |
<?php endif; ?> |
<?php if (isset($secondary_links)) : ?> |
<?php print theme('links', $secondary_links, array('class' => 'links secondary-links')) ?> |
<?php endif; ?> |
</div> |
<?php $saisons = array('printemps', 'ete', 'automne','hiver'); $saison = $saisons[rand(0,3)]; ?> |
<div id="header" class="<?= $saison; ?>"> |
<div id="logo-floater"> |
<?php |
if ($logo || $site_title) { |
print '<h1><a href="'. check_url($front_page) .'" title="'. $site_title .'">'; |
if ($logo) { |
print '<img src="'. check_url($logo) .'" alt="'. $site_title .'" id="logo" />'; |
} |
print $site_html .'</a></h1>'; |
} |
?> |
</div> |
</div> <!-- /header --> |
<div id="left"> |
<?php if ($left): ?> |
<div id="sidebar-left" class="sidebar"> |
<?php print $left ?> |
</div> |
<?php endif; ?> |
</div><!-- /navigation --> |
<div id="center"> |
<?php print $breadcrumb; ?> |
<?php if ($title): print '<h2'. ($tabs ? ' class="with-tabs"' : '') .'>'. $title .'</h2>'; endif; ?> |
<?php print $help; ?> |
<?php print $content ?> |
<?php print $feed_icons ?> |
</div><!-- centre --> |
<div id="footer"> |
<?php print $footer_message ?> |
</div><!-- pied de page --> |
<div id="right"> |
<?php if ($right): ?> |
<div id="sidebar-right" class="sidebar"> |
<?php print $right ?> |
</div><!-- zone droite --> |
<?php endif; ?> |
</div> |
</div> <!--fermeture div zone-principale--> |
</body> |
</html> |
/trunk/themes/ods/screenshot.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/themes/ods/screenshot.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |