Browse Source

Tema do Saberes para o ILB 2014

MOODLE_32_ILB
Sesostris Vieira 11 years ago
commit
a8480bedf3
  1. 242
      config.php
  2. 28
      lang/en/theme_ilb2014.php
  3. 216
      layout/frontpage.php
  4. 224
      layout/general.php
  5. 227
      layout/incourse.php
  6. 118
      layout/report.php
  7. BIN
      pix/favicon.ico
  8. BIN
      pix/header.jpg
  9. BIN
      pix/logo-ilb.png
  10. BIN
      pix/logo-interlegis.png
  11. BIN
      pix/logo-moodle.png
  12. BIN
      pix/logo-saberes.png
  13. BIN
      pix/screenshot.jpg
  14. 569
      style/core.css
  15. 3
      style/editor.css
  16. 307
      tmp/default-saberes.htm
  17. BIN
      tmp/ilb-saberes.zip
  18. BIN
      tmp/img/logo-ilb.png
  19. 32
      version.php

242
config.php

@ -0,0 +1,242 @@
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Configuration for Moodle's ilb2014 theme.
*
* DO NOT MODIFY THIS THEME!
* COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD.
*
* For full information about creating Moodle themes, see:
* http://docs.moodle.org/dev/Themes_2.0
*
* @package theme_ilb2014
* @copyright 2010 Patrick Malley
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
$THEME->name = 'ilb2014';
////////////////////////////////////////////////////
// Name of the theme. Most likely the name of
// the directory in which this file resides.
////////////////////////////////////////////////////
$THEME->parents = array(
'canvas',
'base',
'leatherbound',
);
/////////////////////////////////////////////////////
// Which existing theme(s) in the /theme/ directory
// do you want this theme to extend. A theme can
// extend any number of themes. Rather than
// creating an entirely new theme and copying all
// of the CSS, you can simply create a new theme,
// extend the theme you like and just add the
// changes you want to your theme.
////////////////////////////////////////////////////
$THEME->sheets = array(
'core',
);
////////////////////////////////////////////////////
// Name of the stylesheet(s) you've including in
// this theme's /styles/ directory.
////////////////////////////////////////////////////
$THEME->enable_dock = true;
////////////////////////////////////////////////////
// Do you want to use the new navigation dock?
////////////////////////////////////////////////////
$THEME->editor_sheets = array('editor');
////////////////////////////////////////////////////
// An array of stylesheets to include within the
// body of the editor.
////////////////////////////////////////////////////
$THEME->layouts = array(
'base' => array(
'file' => 'general.php',
'regions' => array('side-pre', 'side-post'),
'defaultregion' => 'side-pre',
),
'standard' => array(
'file' => 'general.php',
'regions' => array('side-pre', 'side-post'),
'defaultregion' => 'side-pre',
),
'course' => array(
'file' => 'general.php',
'regions' => array('side-pre', 'side-post'),
'defaultregion' => 'side-pre'
),
'coursecategory' => array(
'file' => 'general.php',
'regions' => array('side-pre', 'side-post'),
'defaultregion' => 'side-pre',
),
'incourse' => array(
'file' => 'incourse.php',
'regions' => array('side-pre', 'side-post'),
'defaultregion' => 'side-pre',
),
'frontpage' => array(
'file' => 'frontpage.php',
'regions' => array('side-pre', 'side-post'),
'defaultregion' => 'side-pre',
),
'admin' => array(
'file' => 'general.php',
'regions' => array('side-pre'),
'defaultregion' => 'side-pre',
),
'mydashboard' => array(
'file' => 'general.php',
'regions' => array('side-pre', 'side-post'),
'defaultregion' => 'side-pre',
'options' => array('langmenu'=>true),
),
'mypublic' => array(
'file' => 'general.php',
'regions' => array('side-pre', 'side-post'),
'defaultregion' => 'side-pre',
),
'login' => array(
'file' => 'general.php',
'regions' => array(),
'options' => array('langmenu'=>true),
),
'popup' => array(
'file' => 'general.php',
'regions' => array(),
'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true),
),
'frametop' => array(
'file' => 'general.php',
'regions' => array(),
'options' => array('nofooter'=>true, 'nocoursefooter'=>true),
),
'maintenance' => array(
'file' => 'general.php',
'regions' => array(),
'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true),
),
'embedded' => array(
'theme' => 'canvas',
'file' => 'embedded.php',
'regions' => array(),
'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true),
),
// Should display the content and basic headers only.
'print' => array(
'file' => 'general.php',
'regions' => array(),
'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true, 'nocourseheaderfooter'=>true),
),
'report' => array(
'file' => 'report.php',
'regions' => array('side-pre'),
'defaultregion' => 'side-pre',
),
);
///////////////////////////////////////////////////////////////
// These are all of the possible layouts in Moodle. The
// simplest way to do this is to keep the theme and file
// variables the same for every layout. Including them
// all in this way allows some flexibility down the road
// if you want to add a different layout template to a
// specific page.
///////////////////////////////////////////////////////////////
// $THEME->csspostprocess
////////////////////////////////////////////////////
// Allows the user to provide the name of a function
// that all CSS should be passed to before being
// delivered.
////////////////////////////////////////////////////
// $THEME->javascripts
////////////////////////////////////////////////////
// An array containing the names of JavaScript files
// located in /javascript/ to include in the theme.
// (gets included in the head)
////////////////////////////////////////////////////
// $THEME->javascripts_footer
////////////////////////////////////////////////////
// As above but will be included in the page footer.
////////////////////////////////////////////////////
// $THEME->larrow
////////////////////////////////////////////////////
// Overrides the left arrow image used throughout
// Moodle
////////////////////////////////////////////////////
// $THEME->rarrow
////////////////////////////////////////////////////
// Overrides the right arrow image used throughout Moodle
////////////////////////////////////////////////////
// $THEME->layouts
////////////////////////////////////////////////////
// An array setting the layouts for the theme
////////////////////////////////////////////////////
// $THEME->parents_exclude_javascripts
////////////////////////////////////////////////////
// An array of JavaScript files NOT to inherit from
// the themes parents
////////////////////////////////////////////////////
// $THEME->parents_exclude_sheets
////////////////////////////////////////////////////
// An array of stylesheets not to inherit from the
// themes parents
////////////////////////////////////////////////////
// $THEME->plugins_exclude_sheets
////////////////////////////////////////////////////
// An array of plugin sheets to ignore and not
// include.
////////////////////////////////////////////////////
// $THEME->rendererfactory
////////////////////////////////////////////////////
// Sets a custom render factory to use with the
// theme, used when working with custom renderers.
////////////////////////////////////////////////////

28
lang/en/theme_ilb2014.php

@ -0,0 +1,28 @@
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Strings for component 'theme_ilb2014', language 'en'.
*
* @package theme_ilb2014
* @copyright 2010 Patrick Malley
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
$string['pluginname'] = 'ILB 2014 saberes theme';
$string['region-side-post'] = 'Right';
$string['region-side-pre'] = 'Left';
$string['choosereadme'] = '<div class="clearfix"><div class="theme_screenshot"><h2>Leatherbound</h2><img src="ilb2014/pix/screenshot.jpg" /><h3>Theme Discussion Forum:</h3><p><a href="http://moodle.org/mod/forum/view.php?id=46">http://moodle.org/mod/forum/view.php?id=46</a></p><h3>Theme Credits</h3><p><a href="http://docs.moodle.org/en/Theme_credits">http://docs.moodle.org/en/Theme_credits</a></p><h3>Theme Documentation:</h3><p><a href="http://docs.moodle.org/en/Themes">http://docs.moodle.org/en/Themes</a></p><h3>Report a bug:</h3><p><a href="http://tracker.moodle.org">http://tracker.moodle.org</a></p></div><div class="theme_description"><h2>About</h2><p>Leatherbound is a fluid-width, three-column theme for Moodle 2.0 that was created by Patrick Malley.<h2>Tweaks</h2><p>This theme is built upon both Base and Canvas, two parent themes included in the Moodle core. If you want to modify this theme, we recommend that you first duplicate it then rename it before making your changes. This will prevent your customized theme from being overwritten by future Moodle upgrades, and you\'ll still have the original files if you make a mess. More information on modifying themes can be found in the <a href="http://docs.moodle.org/en/Theme">MoodleDocs</a>.</p><h2>Credits</h2><p>This theme was coded and is maintained by Patrick Malley of NewSchool Learning. He can be contacted by email at contact@newschoollearning.com. </p><h2>License</h2><p>This, and all other themes included in the Moodle core, are licensed under the <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>.</div></div>';

216
layout/frontpage.php

@ -0,0 +1,216 @@
<?php
$hasheading = ($PAGE->heading);
$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar());
$hasfooter = (empty($PAGE->layout_options['nofooter']));
$hassidepre = $PAGE->blocks->region_has_content('side-pre', $OUTPUT);
$hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT);
$showsidepre = ($hassidepre && !$PAGE->blocks->region_completely_docked('side-pre', $OUTPUT));
$showsidepost = ($hassidepost && !$PAGE->blocks->region_completely_docked('side-post', $OUTPUT));
$custommenu = $OUTPUT->custom_menu();
$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu));
$bodyclasses = array();
if ($showsidepre && !$showsidepost) {
$bodyclasses[] = 'side-pre-only';
} else if ($showsidepost && !$showsidepre) {
$bodyclasses[] = 'side-post-only';
} else if (!$showsidepost && !$showsidepre) {
$bodyclasses[] = 'content-only';
}
if ($hascustommenu) {
$bodyclasses[] = 'has_custom_menu';
}
echo $OUTPUT->doctype() ?>
<html <?php echo $OUTPUT->htmlattributes() ?>>
<head>
<title><?php echo $PAGE->title ?></title>
<link rel="shortcut icon" href="<?php echo $OUTPUT->pix_url('favicon', 'theme')?>" />
<meta name="description" content="<?php p(strip_tags(format_text($SITE->summary, FORMAT_HTML))) ?>" />
<?php echo $OUTPUT->standard_head_html() ?>
</head>
<body id="<?php p($PAGE->bodyid) ?>" class="<?php p($PAGE->bodyclasses.' '.join(' ', $bodyclasses)) ?>">
<?php echo $OUTPUT->standard_top_of_body_html() ?>
<div id="page">
<div id="topo">
<div id="topoPortal">
<a href="http://www.senado.gov.br/" title="Volta para a p&aacute;gina inicial." class="logo"><img src="http://www.senado.gov.br/img/logo-senado-pb.gif" alt="Volta para a p&aacute;gina inicial"/></a>
<div id="menuPortais">
<ul>
<li>
<div class="topo_portalmenu">
<img src="http://www.senado.gov.br/img/icoSelPortais.png" alt="Selecione o Portal desejado"/>
</div>
<ul>
<li style="padding-top:15px;"><a href="http://www.senado.gov.br/senado/">O Senado</a></li>
<li><a href="http://www.senado.gov.br/senadores/">Senadores</a></li>
<li><a href="http://www.senado.gov.br/atividade/">Atividade Legislativa</a></li>
<li><a href="http://www.senado.gov.br/legislacao/">Legisla&ccedil;&atilde;o</a></li>
<li><a href="http://www.senado.gov.br/noticias/">Not&iacute;cias</a></li>
<li><a href="http://www.senado.gov.br/publicacoes/">Publica&ccedil;&otilde;es</a></li>
<li><a href="http://www12.senado.gov.br/orcamento">Or&ccedil;amento</a></li>
<li><a href="http://www.senado.gov.br/transparencia/">Transpar&ecirc;ncia</a></li>
<li><a href="http://www.senado.gov.br/ecidadania/">e-Cidadania</a></li>
</ul>
</li>
</ul>
</div>
<div id="divLinksTopo">
<img src="http://www.senado.gov.br/img/separador-topo.gif" alt="separador" />
<a id="btn0800" href="http://www.senado.gov.br/alosenado/" title="Al&ocirc; Senado, a voz do Cidad&atilde;o."><img src="http://www.senado.gov.br/img/btn0800.gif" alt="Alô Senado, a voz do Cidadão." /></a>
<img src="http://www.senado.gov.br/img/separador-topo.gif" alt="separador" />
</div>
<div style="clear:both;" class="noprint">
</div>
</div>
</div>
<!-- START OF HEADER -->
<div id="page-header">
<div id="page-header-wrapper" class="wrapper clearfix">
<div class="logo-wrapper">
<a href="<?php echo $CFG->wwwroot; ?>" title="<?php print_string('home'); ?>">
<img src="<?php echo $OUTPUT->pix_url('logo-saberes', 'theme')?>" class="logo-header">
</a>
</div>
<div class="heading-wrapper">
<h1 class="headermain inside"><?php echo $PAGE->heading ?></h1>
</div>
<div class="headermenu">
<?php
echo $OUTPUT->login_info();
if (!empty($PAGE->layout_options['langmenu'])) {
echo $OUTPUT->lang_menu();
}
echo $PAGE->headingmenu
?>
<div class="header-banners">
<a href="http://www12.senado.gov.br/senado/ilb" target="_blank">
<img src="<?php echo $OUTPUT->pix_url('logo-ilb', 'theme')?>">
</a>
<a href="http://www.interlegis.leg.br" target="_blank">
<img src="<?php echo $OUTPUT->pix_url('logo-interlegis', 'theme')?>">
</a>
</div>
</div>
</div>
</div>
</div>
<!-- END OF HEADER -->
<?php if ($hascustommenu) { ?>
<div id="custommenuwrap"><div id="custommenu"><?php echo $custommenu; ?></div></div>
<?php } ?>
<!-- START OF CONTENT -->
<div id="page-content-wrapper" class="wrapper clearfix">
<div id="page-content">
<div id="region-main-box">
<div id="region-post-box">
<div id="region-main-wrap">
<div id="region-main">
<div class="region-content">
<?php echo $OUTPUT->main_content() ?>
</div>
</div>
</div>
<?php if ($hassidepre) { ?>
<div id="region-pre" class="block-region">
<div class="region-content">
<?php echo $OUTPUT->blocks_for_region('side-pre') ?>
</div>
</div>
<?php } ?>
<?php if ($hassidepost) { ?>
<div id="region-post" class="block-region">
<div class="region-content">
<?php echo $OUTPUT->blocks_for_region('side-post') ?>
</div>
</div>
<?php } ?>
</div>
</div>
</div>
</div>
<!-- END OF CONTENT -->
<!-- START OF FOOTER -->
<div id="page-footer">
<p class="helplink">
<?php echo page_doc_link(get_string('moodledocslink')) ?>
</p>
<?php
echo $OUTPUT->login_info();
//echo $OUTPUT->home_link();
echo $OUTPUT->standard_footer_html();
?>
<div class="footer-senado">
<span class="vertical-helper"></span>
<div class="footer-left">
</div>
<div class="footer-center">
<span>Senado Federal - Praça dos Três Poderes - Brasília DF - CEP 70165-900</span>
</div>
<div class="footer-right">
<a href="http://www.moodle.org" target="_blank">
<img src="<?php echo $OUTPUT->pix_url('logo-moodle', 'theme')?>" class="logo-footer-right">
</a>
</div>
</div>
</div>
<!-- END OF FOOTER -->
</div>
<?php echo $OUTPUT->standard_end_of_body_html() ?>
</body>
</html>

224
layout/general.php

@ -0,0 +1,224 @@
<?php
$hasheading = ($PAGE->heading);
$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar());
$hasfooter = (empty($PAGE->layout_options['nofooter']));
$hassidepre = $PAGE->blocks->region_has_content('side-pre', $OUTPUT);
$hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT);
$custommenu = $OUTPUT->custom_menu();
$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu));
$courseheader = $coursecontentheader = $coursecontentfooter = $coursefooter = '';
if (empty($PAGE->layout_options['nocourseheaderfooter'])) {
$courseheader = $OUTPUT->course_header();
$coursecontentheader = $OUTPUT->course_content_header();
if (empty($PAGE->layout_options['nocoursefooter'])) {
$coursecontentfooter = $OUTPUT->course_content_footer();
$coursefooter = $OUTPUT->course_footer();
}
}
$bodyclasses = array();
if ($hassidepre && !$hassidepost) {
$bodyclasses[] = 'side-pre-only';
} else if ($hassidepost && !$hassidepre) {
$bodyclasses[] = 'side-post-only';
} else if (!$hassidepost && !$hassidepre) {
$bodyclasses[] = 'content-only';
}
if ($hascustommenu) {
$bodyclasses[] = 'has_custom_menu';
}
echo $OUTPUT->doctype() ?>
<html <?php echo $OUTPUT->htmlattributes() ?>>
<head>
<title><?php echo $PAGE->title ?></title>
<link rel="shortcut icon" href="<?php echo $OUTPUT->pix_url('favicon', 'theme')?>" />
<?php echo $OUTPUT->standard_head_html() ?>
</head>
<body id="<?php p($PAGE->bodyid) ?>" class="<?php p($PAGE->bodyclasses.' '.join(' ', $bodyclasses)) ?>">
<?php echo $OUTPUT->standard_top_of_body_html() ?>
<div id="page">
<div id="topo">
<div id="topoPortal">
<a href="http://www.senado.gov.br/" title="Volta para a p&aacute;gina inicial." class="logo"><img src="http://www.senado.gov.br/img/logo-senado-pb.gif" alt="Volta para a p&aacute;gina inicial"/></a>
<div id="menuPortais">
<ul>
<li>
<div class="topo_portalmenu">
<img src="http://www.senado.gov.br/img/icoSelPortais.png" alt="Selecione o Portal desejado"/>
</div>
<ul>
<li style="padding-top:15px;"><a href="http://www.senado.gov.br/senado/">O Senado</a></li>
<li><a href="http://www.senado.gov.br/senadores/">Senadores</a></li>
<li><a href="http://www.senado.gov.br/atividade/">Atividade Legislativa</a></li>
<li><a href="http://www.senado.gov.br/legislacao/">Legisla&ccedil;&atilde;o</a></li>
<li><a href="http://www.senado.gov.br/noticias/">Not&iacute;cias</a></li>
<li><a href="http://www.senado.gov.br/publicacoes/">Publica&ccedil;&otilde;es</a></li>
<li><a href="http://www12.senado.gov.br/orcamento">Or&ccedil;amento</a></li>
<li><a href="http://www.senado.gov.br/transparencia/">Transpar&ecirc;ncia</a></li>
<li><a href="http://www.senado.gov.br/ecidadania/">e-Cidadania</a></li>
</ul>
</li>
</ul>
</div>
<div id="divLinksTopo">
<img src="http://www.senado.gov.br/img/separador-topo.gif" alt="separador" />
<a id="btn0800" href="http://www.senado.gov.br/alosenado/" title="Al&ocirc; Senado, a voz do Cidad&atilde;o."><img src="http://www.senado.gov.br/img/btn0800.gif" alt="Alô Senado, a voz do Cidadão." /></a>
<img src="http://www.senado.gov.br/img/separador-topo.gif" alt="separador" />
</div>
<div style="clear:both;" class="noprint">
</div>
</div>
</div>
<?php if ($hasheading) { ?>
<div id="page-header">
<div id="page-header-wrapper" class="wrapper clearfix">
<div class="logo-wrapper">
<a href="<?php echo $CFG->wwwroot; ?>" title="<?php print_string('home'); ?>">
<img src="<?php echo $OUTPUT->pix_url('logo-saberes', 'theme')?>" class="logo-header">
</a>
</div>
<div class="heading-wrapper">
<h1 class="headermain inside"><?php echo $PAGE->heading ?></h1>
</div>
<div class="headermenu">
<?php
echo $OUTPUT->login_info();
if (!empty($PAGE->layout_options['langmenu'])) {
echo $OUTPUT->lang_menu();
}
echo $PAGE->headingmenu
?>
<div class="header-banners">
<a href="http://www12.senado.gov.br/senado/ilb" target="_blank">
<img src="<?php echo $OUTPUT->pix_url('logo-ilb', 'theme')?>">
</a>
<a href="http://www.interlegis.leg.br" target="_blank">
<img src="<?php echo $OUTPUT->pix_url('logo-interlegis', 'theme')?>">
</a>
</div>
</div>
</div>
</div>
<?php } ?>
<?php if ($hascustommenu) { ?>
<div id="custommenuwrap"><div id="custommenu"><?php echo $custommenu; ?></div></div>
<?php } ?>
<?php if (!empty($courseheader)) { ?>
<div id="course-header"><?php echo $courseheader; ?></div>
<?php } ?>
<?php if ($hasnavbar) { ?>
<div class="navbar">
<div class="wrapper clearfix">
<div class="breadcrumb"><?php echo $OUTPUT->navbar(); ?></div>
<div class="navbutton"> <?php echo $PAGE->button; ?></div>
</div>
</div>
<?php } ?>
<!-- END OF HEADER -->
<div id="page-content-wrapper" class="wrapper clearfix">
<div id="page-content">
<div id="region-main-box">
<div id="region-post-box">
<div id="region-main-wrap">
<div id="region-main">
<div class="region-content">
<?php echo $coursecontentheader; ?>
<?php echo $OUTPUT->main_content() ?>
<?php echo $coursecontentfooter; ?>
</div>
</div>
</div>
<?php if ($hassidepre) { ?>
<div id="region-pre" class="block-region">
<div class="region-content">
<?php echo $OUTPUT->blocks_for_region('side-pre') ?>
</div>
</div>
<?php } ?>
<?php if ($hassidepost) { ?>
<div id="region-post" class="block-region">
<div class="region-content">
<?php echo $OUTPUT->blocks_for_region('side-post') ?>
</div>
</div>
<?php } ?>
</div>
</div>
</div>
</div>
<?php if (!empty($coursefooter)) { ?>
<div id="course-footer"><?php echo $coursefooter; ?></div>
<?php } ?>
<!-- START OF FOOTER -->
<?php if ($hasfooter) { ?>
<div id="page-footer">
<p class="helplink"><?php echo page_doc_link(get_string('moodledocslink')) ?></p>
<?php
echo $OUTPUT->login_info();
//echo $OUTPUT->home_link();
echo $OUTPUT->standard_footer_html();
?>
<div class="footer-senado">
<span class="vertical-helper"></span>
<div class="footer-left">
</div>
<div class="footer-center">
<span>Senado Federal - Praça dos Três Poderes - Brasília DF - CEP 70165-900</span>
</div>
<div class="footer-right">
<a href="http://www.moodle.org" target="_blank">
<img src="<?php echo $OUTPUT->pix_url('logo-moodle', 'theme')?>" class="logo-footer-right">
</a>
</div>
</div>
</div>
<?php } ?>
</div>
<?php echo $OUTPUT->standard_end_of_body_html() ?>
</body>
</html>

227
layout/incourse.php

@ -0,0 +1,227 @@
<?php
$hasheading = ($PAGE->heading);
$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar());
$hasfooter = (empty($PAGE->layout_options['nofooter']));
$hassidepre = $PAGE->blocks->region_has_content('side-pre', $OUTPUT);
$hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT);
$custommenu = $OUTPUT->custom_menu();
$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu));
$courseheader = $coursecontentheader = $coursecontentfooter = $coursefooter = '';
if (empty($PAGE->layout_options['nocourseheaderfooter'])) {
$courseheader = $OUTPUT->course_header();
$coursecontentheader = $OUTPUT->course_content_header();
if (empty($PAGE->layout_options['nocoursefooter'])) {
$coursecontentfooter = $OUTPUT->course_content_footer();
$coursefooter = $OUTPUT->course_footer();
}
}
$bodyclasses = array();
if ($hassidepre && !$hassidepost) {
$bodyclasses[] = 'side-pre-only';
} else if ($hassidepost && !$hassidepre) {
$bodyclasses[] = 'side-post-only';
} else if (!$hassidepost && !$hassidepre) {
$bodyclasses[] = 'content-only';
}
if ($hascustommenu) {
$bodyclasses[] = 'has_custom_menu';
}
echo $OUTPUT->doctype() ?>
<html <?php echo $OUTPUT->htmlattributes() ?>>
<head>
<title><?php echo $PAGE->title ?></title>
<link rel="shortcut icon" href="<?php echo $OUTPUT->pix_url('favicon', 'theme')?>" />
<?php echo $OUTPUT->standard_head_html() ?>
</head>
<body id="<?php p($PAGE->bodyid) ?>" class="<?php p($PAGE->bodyclasses.' '.join(' ', $bodyclasses)) ?>">
<?php echo $OUTPUT->standard_top_of_body_html() ?>
<div id="page">
<div id="topo">
<div id="topoPortal">
<a href="http://www.senado.gov.br/" title="Volta para a p&aacute;gina inicial." class="logo"><img src="http://www.senado.gov.br/img/logo-senado-pb.gif" alt="Volta para a p&aacute;gina inicial"/></a>
<div id="menuPortais">
<ul>
<li>
<div class="topo_portalmenu">
<img src="http://www.senado.gov.br/img/icoSelPortais.png" alt="Selecione o Portal desejado"/>
</div>
<ul>
<li style="padding-top:15px;"><a href="http://www.senado.gov.br/senado/">O Senado</a></li>
<li><a href="http://www.senado.gov.br/senadores/">Senadores</a></li>
<li><a href="http://www.senado.gov.br/atividade/">Atividade Legislativa</a></li>
<li><a href="http://www.senado.gov.br/legislacao/">Legisla&ccedil;&atilde;o</a></li>
<li><a href="http://www.senado.gov.br/noticias/">Not&iacute;cias</a></li>
<li><a href="http://www.senado.gov.br/publicacoes/">Publica&ccedil;&otilde;es</a></li>
<li><a href="http://www12.senado.gov.br/orcamento">Or&ccedil;amento</a></li>
<li><a href="http://www.senado.gov.br/transparencia/">Transpar&ecirc;ncia</a></li>
<li><a href="http://www.senado.gov.br/ecidadania/">e-Cidadania</a></li>
</ul>
</li>
</ul>
</div>
<div id="divLinksTopo">
<img src="http://www.senado.gov.br/img/separador-topo.gif" alt="separador" />
<a id="btn0800" href="http://www.senado.gov.br/alosenado/" title="Al&ocirc; Senado, a voz do Cidad&atilde;o."><img src="http://www.senado.gov.br/img/btn0800.gif" alt="Alô Senado, a voz do Cidadão." /></a>
<img src="http://www.senado.gov.br/img/separador-topo.gif" alt="separador" />
</div>
<div style="clear:both;" class="noprint">
</div>
</div>
</div>
<?php if ($hasheading) { ?>
<div id="page-header">
<div id="page-header-wrapper" class="wrapper clearfix">
<div class="logo-wrapper">
<a href="<?php echo $CFG->wwwroot; ?>" title="<?php print_string('home'); ?>">
<img src="<?php echo $OUTPUT->pix_url('logo-saberes', 'theme')?>" class="logo-header">
</a>
</div>
<div class="heading-wrapper">
<h1 class="headermain inside"><?php echo $PAGE->heading ?></h1>
</div>
<div class="headermenu">
<?php
echo $OUTPUT->login_info();
if (!empty($PAGE->layout_options['langmenu'])) {
echo $OUTPUT->lang_menu();
}
echo $PAGE->headingmenu
?>
<div class="header-banners">
<a href="http://www12.senado.gov.br/senado/ilb" target="_blank">
<img src="<?php echo $OUTPUT->pix_url('logo-ilb', 'theme')?>">
</a>
<a href="http://www.interlegis.leg.br" target="_blank">
<img src="<?php echo $OUTPUT->pix_url('logo-interlegis', 'theme')?>">
</a>
</div>
</div>
</div>
</div>
<?php } ?>
<?php if ($hascustommenu) { ?>
<div id="custommenuwrap"><div id="custommenu"><?php echo $custommenu; ?></div></div>
<?php } ?>
<?php if (!empty($courseheader)) { ?>
<div id="course-header"><?php echo $courseheader; ?></div>
<?php } ?>
<?php if ($hasnavbar) { ?>
<div class="navbar">
<div class="wrapper clearfix">
<div class="breadcrumb"><?php echo $OUTPUT->navbar(); ?></div>
<div class="navbutton"> <?php echo $PAGE->button; ?></div>
</div>
</div>
<?php } ?>
<!-- END OF HEADER -->
<div id="page-content-wrapper" class="wrapper clearfix">
<div id="page-content">
<div id="region-main-box">
<div id="region-post-box">
<div id="region-main-wrap">
<div id="region-main">
<div class="region-content">
<?php echo $coursecontentheader; ?>
<?php echo $OUTPUT->main_content() ?>
<?php echo $coursecontentfooter; ?>
<a href="<?php global $DB; echo course_get_url($PAGE->course, $DB->get_field('course_sections', 'section', array('id' => $PAGE->cm->section))); ?>">Voltar ao curso</a>
</div>
</div>
</div>
<?php if ($hassidepre) { ?>
<div id="region-pre" class="block-region">
<div class="region-content">
<?php echo $OUTPUT->blocks_for_region('side-pre') ?>
</div>
</div>
<?php } ?>
<?php if ($hassidepost) { ?>
<div id="region-post" class="block-region">
<div class="region-content">
<?php echo $OUTPUT->blocks_for_region('side-post') ?>
</div>
</div>
<?php } ?>
</div>
</div>
</div>
</div>
<?php if (!empty($coursefooter)) { ?>
<div id="course-footer"><?php echo $coursefooter; ?></div>
<?php } ?>
<!-- START OF FOOTER -->
<?php if ($hasfooter) { ?>
<div id="page-footer">
<p class="helplink"><?php echo page_doc_link(get_string('moodledocslink')) ?></p>
<?php
echo $OUTPUT->login_info();
//echo $OUTPUT->home_link();
echo $OUTPUT->standard_footer_html();
?>
<div class="footer-senado">
<span class="vertical-helper"></span>
<div class="footer-left">
</div>
<div class="footer-center">
<span>Senado Federal - Praça dos Três Poderes - Brasília DF - CEP 70165-900</span>
</div>
<div class="footer-right">
<a href="http://www.moodle.org" target="_blank">
<img src="<?php echo $OUTPUT->pix_url('logo-moodle', 'theme')?>" class="logo-footer-right">
</a>
</div>
</div>
</div>
<?php } ?>
</div>
<?php echo $OUTPUT->standard_end_of_body_html() ?>
</body>
</html>

118
layout/report.php

@ -0,0 +1,118 @@
<?php
$hasheading = ($PAGE->heading);
$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar());
$hasfooter = (empty($PAGE->layout_options['nofooter']));
$hassidepre = $PAGE->blocks->region_has_content('side-pre', $OUTPUT);
$hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT);
$custommenu = $OUTPUT->custom_menu();
$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu));
$courseheader = $coursecontentheader = $coursecontentfooter = $coursefooter = '';
if (empty($PAGE->layout_options['nocourseheaderfooter'])) {
$courseheader = $OUTPUT->course_header();
$coursecontentheader = $OUTPUT->course_content_header();
if (empty($PAGE->layout_options['nocoursefooter'])) {
$coursecontentfooter = $OUTPUT->course_content_footer();
$coursefooter = $OUTPUT->course_footer();
}
}
$bodyclasses = array();
if ($hassidepre && !$hassidepost) {
$bodyclasses[] = 'side-pre-only';
} else if ($hassidepost && !$hassidepre) {
$bodyclasses[] = 'side-post-only';
} else if (!$hassidepost && !$hassidepre) {
$bodyclasses[] = 'content-only';
}
if ($hascustommenu) {
$bodyclasses[] = 'has_custom_menu';
}
echo $OUTPUT->doctype() ?>
<html <?php echo $OUTPUT->htmlattributes() ?>>
<head>
<title><?php echo $PAGE->title ?></title>
<link rel="shortcut icon" href="<?php echo $OUTPUT->pix_url('favicon', 'theme')?>" />
<?php echo $OUTPUT->standard_head_html() ?>
</head>
<body id="<?php p($PAGE->bodyid) ?>" class="<?php p($PAGE->bodyclasses.' '.join(' ', $bodyclasses)) ?>">
<?php echo $OUTPUT->standard_top_of_body_html() ?>
<div id="page">
<?php if ($hasheading) { ?>
<div id="page-header">
<div id="page-header-wrapper" class="wrapper clearfix">
<h1 class="headermain inside"><?php echo $PAGE->heading ?></h1>
<div class="headermenu"><?php
echo $OUTPUT->login_info();
if (!empty($PAGE->layout_options['langmenu'])) {
echo $OUTPUT->lang_menu();
}
echo $PAGE->headingmenu ?>
</div>
</div>
</div>
<?php } ?>
<?php if ($hascustommenu) { ?>
<div id="custommenuwrap"><div id="custommenu"><?php echo $custommenu; ?></div></div>
<?php } ?>
<?php if (!empty($courseheader)) { ?>
<div id="course-header"><?php echo $courseheader; ?></div>
<?php } ?>
<?php if ($hasnavbar) { ?>
<div class="navbar">
<div class="wrapper clearfix">
<div class="breadcrumb"><?php echo $OUTPUT->navbar(); ?></div>
<div class="navbutton"> <?php echo $PAGE->button; ?></div>
</div>
</div>
<?php } ?>
<!-- END OF HEADER -->
<div id="page-content-wrapper" class="wrapper clearfix">
<div id="page-content">
<div id="report-main-content">
<div class="region-content">
<?php echo $coursecontentheader; ?>
<?php echo $OUTPUT->main_content() ?>
<?php echo $coursecontentfooter; ?>
</div>
</div>
<?php if ($hassidepre) { ?>
<div id="report-region-wrap">
<div id="report-region-pre" class="block-region">
<div class="region-content">
<?php echo $OUTPUT->blocks_for_region('side-pre') ?>
</div>
</div>
</div>
<?php } ?>
</div>
</div>
<?php if (!empty($coursefooter)) { ?>
<div id="course-footer"><?php echo $coursefooter; ?></div>
<?php } ?>
<!-- START OF FOOTER -->
<?php if ($hasfooter) { ?>
<div id="page-footer" class="wrapper">
<p class="helplink"><?php echo page_doc_link(get_string('moodledocslink')) ?></p>
<?php
echo $OUTPUT->login_info();
echo $OUTPUT->home_link();
echo $OUTPUT->standard_footer_html();
?>
</div>
<?php } ?>
</div>
<?php echo $OUTPUT->standard_end_of_body_html() ?>
</body>
</html>

BIN
pix/favicon.ico

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

BIN
pix/header.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 499 B

BIN
pix/logo-ilb.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
pix/logo-interlegis.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

BIN
pix/logo-moodle.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

BIN
pix/logo-saberes.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

BIN
pix/screenshot.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

569
style/core.css

@ -0,0 +1,569 @@
/********************************************************
**
** Theme name: Leatherbound
** Description: A GPL theme for the Moodle core.
** Creation Date: 11/24/09
** Author: Patrick Malley
** Author URI: http://newschoollearning.com
**
** Customize, edit, poke, prod, and adapt to your needs.
**
*********************************************************/
/* Topo Senado------------------*/
/* Estilos do topo do Senado Federal */
#topoSenado{width:100%; height:30px; background:url(../img/topo_bg.gif) repeat-x #01305c; padding:10px;}
/* Estilos do Topo */
#topo{background:url(http://www.senado.gov.br/img/topo_bg.gif) repeat-x; width:100%;}
#topoPortal
{
width:995px;
height:46px;
margin:0 auto;
padding-top:5px;
background-image:url(http://www.senado.gov.br/img/topo_bg.gif);
}
.logo
{
float:left;
padding-top:7px;
padding-left:16px;
}
#divLinksTopo
{
float:right;
margin-top:3px;
}
#menuPortais
{
float:right;
margin-right:12px;
margin-top:10px;
padding-left:40px;
}
#menuPortais ul
{
background-image:url(http://www.senado.gov.br/img/bg-menutopo.png);
list-style: none;
margin:0 auto;
text-align:left;
line-height:16px;
z-index:999;
}
#menuPortais a, #menuPortais h2
{
font-size:12px;
display: block;
}
#menuPortais h2
{
cursor:pointer;
height:5px;
}
#menuPortais a
{
color: #fff;
text-decoration: none;
padding-left:10px;
}
#menuPortais a:hover
{
color: #B9DCFF;
background-image:url(../img/menu-portais-seta.png);
}
#menuPortais li li
{
height:25px;
}
div#menuPortais ul ul,
div#menuPortais ul li:hover ul ul,
div#menuPortais ul ul li:hover ul ul
{
padding-left:10px;
position:absolute;
width:156px;
#margin-left:-156px;/* alinhamento do submenu no IE */
#margin-top:26px;
display:none;
}
div#menuPortais ul li:hover ul,
div#menuPortais ul ul li:hover ul,
div#menuPortaisul ul ul li:hover ul
{
display:block;
margin:0 0 0 0 auto;
padding:0 0 0 0;
}
/* Global
------------------------*/
body {
background: #fff;
margin: 0;
padding: 0;
color: #281f18;
}
body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea {
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}
button, input[type="submit"] {
background: #00305c;
color: whitesmoke;
font-weight: bold;
border: 0;
padding: 4px 10px;
white-space: normal;
}
button:hover, input[type="submit"]:hover {
background: #3e6892;
}
button:active, input[type="submit"]:active {
background: #00305c;
}
.wrapper {
margin: 0 25px;
}
#region-main a:link,a:visited{
color: #21374c;
}
#region-main a:hover,a:active{
color: #DA5013;
}
a:link,a:visited {
color: #3e6892;
}
a:hover,a:active {
color: #DA5013;
}
a img {
border: none;
}
a:active {
outline: none;
}
/* Header
-----------------------*/
#page-header {
float: none;
padding: 5px 0;
background: white;
border-bottom: 5px solid #00305c;
color: #21374c;
}
#page-header h1 {
font-size: 2.25em;
/*padding: 30px 0 20px;*/
float: none;
margin: 0;
}
#page-header h1.inside {
font-size: 1.8em;
/*padding: 20px 0 10px;*/
float: none;
margin: 0;
}
#page-header-wrapper {
height: 110px;
}
.headermenu {
margin: 0;
font-size: 0.9em;
position: relative;
height: 100%;
width: 268px;
}
.vertical-helper{
height: 100%;
display: inline-block;
vertical-align: middle;
}
.heading-wrapper{
position: absolute;
margin-left: 230px;
margin-right: 300px;
margin-top: 30px;
}
.logo-header {
margin-right: 25px;
height: 75px;
vertical-align: middle;
}
.logo-wrapper {
float: left;
width: 220px;
margin-top: 18px;
}
.header-banners img{
height: 35px;
}
.header-banners{
position:absolute;
bottom: 0;
}
/* Navbar
-----------------------*/
.navbar {
border-width: 0 0 1px 0;
border-color: #ddddd7;
background: #f3f3f3;
margin: 0;
padding: 5px 0;
}
.breadcrumb {
padding-left: 10px;
}
.navbar .navbutton {
margin-top: 0;
}
.breadcrumb .sep {
font-size: 0.8em;
color: #999;
}
/* Content
-----------------------*/
#page-content-wrapper {
float: none;
margin-top: 5px;
}
/* Blocks
-----------------------*/
.block {
margin-bottom: 20px;
border: none;
}
.block .header {
border-top: 2px solid #00305c;
background: #f3f3f3;
padding: 4px 5px 5px;
}
.block .title h2 {
color: #35251B;
font-weight: normal;
font-size: 1.2em;
margin: 0;
}
/* Forum
------------------------*/
.forumpost .topic {
background: #dbd6c7;
border-bottom:1px solid #da5013;
padding:5px 4px 4px;
}
.forumpost .topic .subject {
font-weight: bold;
font-size: 1.1em;
}
.forumpost .topic .author {
font-size: 0.9em;
}
.forumpost .content {
background: #f3f3f3;
border-width: 0 1px 1px;
border-style: solid;
border-color: #d9d8d4;
}
/* Course
---------------------------*/
h2.headingblock {
border-width: 0 0 1px 0;
padding: 5px 5px 2px;
font-weight: normal;
font-size: 1.2em;
background: #f3f3f3;
color: #251c17;
}
.course-content .main {
background: #f3f3f3;
border: 1px solid #ddd
}
.course-content .current {
background: #da5013;
}
.course-content .current .left.side {
color: #fff;
}
.course-content .main .content {
background: #fff;
}
/* Footer Senado ------------*/
.footer-senado {
color: #fff;
background-color: #042656;
text-align: center;
font-weight: bold;
font-size: 0.7em;
height: 30px;
margin-top: 10px;
padding: 5px 13px;
position: relative;
clear: both;
}
.footer-left, .footer-center, .footer-right {
display: inline-block;
vertical-align: middle;
}
.footer-left{
width: 24%;
text-align: left;
}
.footer-center{
width: 50%;
}
.footer-right{
width: 24%;
text-align: right;
}
.logo-footer-right{
height: 20px;
vertical-align:middle;
}
/* Dock
---------------------------*/
#dock {
background-color: #f3f3f3;
border-right-color: #433b30;
}
#dock .dockeditem_container {
margin-top: 10px;
}
#dock .dockeditem {
background-color: #fff;
}
#dock .firstdockitem {
margin-top: 1em;
}
#dock .dockeditem .dockedtitle {
border-color: #dddddd;
border-top-color: #fff;
}
#dock .dockeditem .dockedtitle.activeitem {
background: #f3f3f3;
border-top-color:#f3f3f3 ;
}
#dock .firstdockitem .dockedtitle {
border-top-color: #ddd;
}
#dock .dockeditem .dockedtitle h2 {
margin: 12px 0 12px 7px;
}
#dockeditempanel .dockeditempanel_content {
border-color: #433b30;
}
#dockeditempanel .dockeditempanel_hd {
border-bottom: none;
padding: 3px 5px;
background: #f3f3f3;
text-align: left;
}
#dockeditempanel .dockeditempanel_hd h2 {
color: #333;
text-align: left;
font-weight: normal;
font-size: 1.25em;
padding: 0 2px;
}
#dockeditempanel .dockeditempanel_hd .commands {
float: right;
}
/* block expansion code */
.block_js_expansion .block_tree {
overflow-x: scroll;
}
.block_js_expansion.mouseover .content {
width: 200%;
z-index: 1000;
position: relative;
}
.block_js_expansion.mouseover .content .block_tree {
width: 100%;
background-color: #FAFAFA;
padding-bottom: 0px;
}
/** IE stylings */
.ie6 .block .block_tree {
width: 160px;
overflow-x: scroll;
}
.ie6 .block_tree .tree_item {
width: 100%;
}
.ie6 #dock {
position: absolute;
}
.ie6 #dock hr {
display: none;
margin: 0px;
height: 0px;
padding: 0px;
}
.ie6 #dock li p {
background-color: inherit;
}
.ie6 #dock .bd.oversized_content .content, .ie7 #dock .bd.oversized_content .content {
padding-bottom: 0px;
}
.ie6 .block_js_expansion.mouseover .content, .ie7 .block_js_expansion.mouseover .content {
padding-bottom: 2px;
}
.ie6 #dock .bd.oversized_content {
width: 100%;
}
/*custom menu styles */
#custommenuwrap {
background-color: #f3f3f3;
border-bottom: 1px solid #DDDDDD;
padding: 3px 0px;
}
#custommenu {
border-width: 0;
margin: 0 25px;
}
/*YUI Reset */
#custommenu .yui3-menu-label,
#custommenu .yui3-menuitem-content {
color: #35251B;
font-weight: 400;
border-width: 0;
}
#custommenu .custom_menu_submenu .yui3-menu-label,
#custommenu .custom_menu_submenu .yui3-menuitem-content {
color: #35251B;
}
#custommenu .yui3-menu-label.yui3-menu-label-active,
#custommenu .yui3-menuitem-active .yui3-menuitem-content {
color: #DA5013;
}
#custommenu .yui3-menu-content,
#custommenu .yui3-menu .yui3-menu .yui3-menu-content,
#custommenu .yui3-menu-horizontal .yui3-menu-label,
#custommenu .yui3-menu-horizontal .yui3-menuitem-content {
border-width: 0;
}
#custommenu .yui3-menu-label-active,
#custommenu .yui3-menu-label-menuvisible,
#custommenu .yui3-menu .yui3-menu .yui3-menuitem-active .yui3-menuitem-content {
background-color:#F6F6F6;
}
#custommenu .custom_menu_submenu {
border: 2px solid #DA5013 !important;
background: #fff;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
-webkit-box-shadow: 0px 1px 3px #ccc;
-moz-box-shadow: 0px 1px 3px #ccc;
box-shadow: 0px 1px 3px #ccc;
}
#custommenu .yui3-menu.javascript-disabled .yui3-menu-content,
#custommenu .yui3-menu.javascript-disabled .yui3-menu-content .ul {
border-width:0;
}
/* Moodle forms
----------------*/
.mform .btn-cancel {
color: #DA5013;
text-decoration: none;
}
.mform .btn-cancel:hover, .mform .btn-cancel:focus {
color: #251c17;
text-decoration: none;
}

3
style/editor.css

@ -0,0 +1,3 @@
body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea {
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

307
tmp/default-saberes.htm

@ -0,0 +1,307 @@
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Moodle - Saberes</title>
<style type="text/css">
<!--
body {
font: 100% "Lucida Sans Unicode", "Lucida Grande", sans-serif !important;
background: #fff;
margin: 0;
padding: 0;
color: #4f4e4e;
}
/* Estilos do topo do Senado Federal */
#topoSenado{width:100%; height:30px; background:url(../img/topo_bg.gif) repeat-x #01305c; padding:10px;}
/* Estilos do Topo */
#topo{background:url(http://www.senado.gov.br/img/topo_bg.gif) repeat-x; width:100%;}
#topoPortal
{
width:995px;
height:46px;
margin:0 auto;
padding-top:5px;
background-image:url(http://www.senado.gov.br/img/topo_bg.gif);
}
.logo
{
float:left;
padding-top:7px;
padding-left:16px;
}
#divLinksTopo
{
float:right;
margin-top:3px;
}
#menuPortais
{
float:right;
margin-right:12px;
margin-top:10px;
padding-left:40px;
}
#menuPortais ul
{
background-image:url(http://www.senado.gov.br/img/bg-menutopo.png);
list-style: none;
margin:0 auto;
text-align:left;
line-height:16px;
z-index:999;
}
#menuPortais a, #menuPortais h2
{
font-size:12px;
display: block;
}
#menuPortais h2
{
cursor:pointer;
height:5px;
}
#menuPortais a
{
color: #fff;
text-decoration: none;
padding-left:10px;
}
#menuPortais a:hover
{
color: #B9DCFF;
background-image:url(../img/menu-portais-seta.png);
}
#menuPortais li li
{
height:25px;
}
div#menuPortais ul ul,
div#menuPortais ul li:hover ul ul,
div#menuPortais ul ul li:hover ul ul
{
padding-left:10px;
position:absolute;
width:156px;
#margin-left:-156px;/* alinhamento do submenu no IE */
#margin-top:26px;
display:none;
}
div#menuPortais ul li:hover ul,
div#menuPortais ul ul li:hover ul,
div#menuPortaisul ul ul li:hover ul
{
display:block;
margin:0 0 0 0 auto;
padding:0 0 0 0;
}
/* ~~ Element/tag selectors ~~ */
ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
padding: 0;
margin: 0;
}
h1, h2, h3, h4, h5, h6, p {
margin-top: 0; /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
padding-right: 15px;
padding-left: 15px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
}
h1, h2, h3, h4, h5, h6 {color:#21374c;}
a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
border: none;
}
/* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
a:link {
color:#3e6892;
text-decoration: none; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
}
a:visited {
color: #3e6892;
text-decoration: none;
}
a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
text-decoration: underline;
}
/* ~~ this container surrounds all other divs giving them their percentage-based width ~~ */
.container {
width: 100%;
font-size:0.8em;
min-width: 780px;/* a min-width may be desirable to keep this layout from getting too narrow. This keeps line length more readable in the side columns. IE6 does not respect this declaration. */
background: #FFF;
margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout. It is not needed if you set the .container's width to 100%. */
}
/* ~~ the header is not given a width. It will extend the full width of your layout. It contains an image placeholder that should be replaced with your own linked logo ~~ */
.header {
background:/*cor e imagem de fundo a escolher*/; border-bottom:solid 1px #eee /*retirar quando escolhido padrão do cabeçalho*/;
margin-bottom:20px;
}
/* ~~ These are the columns for the layout. ~~
1) Padding is only placed on the top and/or bottom of the divs. The elements within these divs have padding on their sides. This saves you from any "box model math". Keep in mind, if you add any side padding or border to the div itself, it will be added to the width you define to create the *total* width. You may also choose to remove the padding on the element in the div and place a second div within it with no width and the padding necessary for your design.
2) No margin has been given to the columns since they are all floated. If you must add margin, avoid placing it on the side you're floating toward (for example: a right margin on a div set to float right). Many times, padding can be used instead. For divs where this rule must be broken, you should add a "display:inline" declaration to the div's rule to tame a bug where some versions of Internet Explorer double the margin.
3) Since classes can be used multiple times in a document (and an element can also have multiple classes applied), the columns have been assigned class names instead of IDs. For example, two sidebar divs could be stacked if necessary. These can very easily be changed to IDs if that's your preference, as long as you'll only be using them once per document.
4) If you prefer your nav on the right instead of the left, simply float these columns the opposite direction (all right instead of all left) and they'll render in reverse order. There's no need to move the divs around in the HTML source.
*/
.sidebar1 {
float: left;
width: 15%;
background: #fff;
padding-bottom: 10px;
}
.content {
padding: 10px 0;
width: 70%;
float: left;
}
.sidebar2 {
float: left;
width: 15%;
background: #fff;
padding: 10px 0;
}
/* ~~ This grouped selector gives the lists in the .content area space ~~ */
.content ul, .content ol {
padding: 0 15px 15px 40px; /* this padding mirrors the right padding in the headings and paragraph rule above. Padding was placed on the bottom for space between other elements on the lists and on the left to create the indention. These may be adjusted as you wish. */
}
/* ~~ The navigation list styles (can be removed if you choose to use a premade flyout menu like Spry) ~~ */
ul.nav {
list-style: none; /* this removes the list marker */
border-top: 1px solid #666; /* this creates the top border for the links - all others are placed using a bottom border on the LI */
margin-bottom: 15px; /* this creates the space between the navigation on the content below */
}
ul.nav li {
border-bottom: 1px solid #666; /* this creates the button separation */
}
ul.nav a, ul.nav a:visited { /* grouping these selectors makes sure that your links retain their button look even after being visited */
padding: 5px 5px 5px 15px;
display: block; /* this gives the link block properties causing it to fill the whole LI containing it. This causes the entire area to react to a mouse click. */
text-decoration: none;
background: #8090AB;
color: #000;
}
ul.nav a:hover, ul.nav a:active, ul.nav a:focus { /* this changes the background and text color for both mouse and keyboard navigators */
background: #6F7D94;
color: #FFF;
}
/* ~~The footer ~~ */
.footer {
color: #fff;
background-color: #042656;
text-align: center;
font-weight: bold;
font-size: 0.7em;
line-height: 30px;
height: 30px;
margin-top: 35px;
padding: 5px 0;
position: relative;/* this gives IE6 hasLayout to properly clear */
clear: both; /* this clear property forces the .container to understand where the columns end and contain them */
}
/* ~~miscellaneous float/clear classes~~ */
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
float: right;
margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
float: left;
margin-right: 8px;
}
.clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the #container) if the #footer is removed or taken out of the #container */
clear:both;
height:0;
font-size: 1px;
line-height: 0px;
}
-->
</style><!--[if lte IE 7]>
<style>
.content { margin-right: -1px; } /* this 1px negative margin can be placed on any of the columns in this layout with the same corrective effect. */
ul.nav a { zoom: 1; } /* the zoom property gives IE the hasLayout trigger it needs to correct extra whiltespace between the links */
</style>
<![endif]--></head>
<body>
<div id="topo">
<div id="topoPortal">
<a href="http://www.senado.gov.br/" title="Volta para a p&aacute;gina inicial." class="logo"><img src="http://www.senado.gov.br/img/logo-senado-pb.gif" alt="Volta para a p&aacute;gina inicial"/></a>
<div id="menuPortais">
<ul>
<li>
<div class="topo_portalmenu">
<img src="http://www.senado.gov.br/img/icoSelPortais.png" alt="Selecione o Portal desejado"/>
</div>
<ul>
<li style="padding-top:15px;"><a href="http://www.senado.gov.br/senado/">O Senado</a></li>
<li><a href="http://www.senado.gov.br/senadores/">Senadores</a></li>
<li><a href="http://www.senado.gov.br/atividade/">Atividade Legislativa</a></li>
<li><a href="http://www.senado.gov.br/legislacao/">Legisla&ccedil;&atilde;o</a></li>
<li><a href="http://www.senado.gov.br/noticias/">Not&iacute;cias</a></li>
<li><a href="http://www.senado.gov.br/publicacoes/">Publica&ccedil;&otilde;es</a></li>
<li><a href="http://www12.senado.gov.br/orcamento">Or&ccedil;amento</a></li>
<li><a href="http://www.senado.gov.br/transparencia/">Transpar&ecirc;ncia</a></li>
<li><a href="http://www.senado.gov.br/ecidadania/">e-Cidadania</a></li>
</ul>
</li>
</ul>
</div>
<div id="divLinksTopo">
<img src="http://www.senado.gov.br/img/separador-topo.gif" alt="separador" />
<a id="btn0800" href="http://www.senado.gov.br/alosenado/" title="Al&ocirc; Senado, a voz do Cidad&atilde;o."><img src="http://www.senado.gov.br/img/btn0800.gif" alt="Alô Senado, a voz do Cidadão." /></a>
<img src="http://www.senado.gov.br/img/separador-topo.gif" alt="separador" />
</div>
<div style="clear:both;" class="noprint"></div>
</div>
</div>
<div class="container">
<div class="header"><a href="#"><img src="img/logo-ilb.png" alt="ILB - Instituto Legislativo Brasíleiro" name="ILB - Instituto Legislativo Brasíleiro" id="ILB - Instituto Legislativo Brasíleiro" style="display:block;" /></a>
<!-- end .header --></div>
<div class="sidebar1">
<p>Coluna de conteúdo do sidebar 1.</p>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p>
<!-- end .sidebar1 --></div>
<div class="content">
<h1>Título H1</h1>
<p><em>Lorem ipsum</em> dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. <a href="http://www.senado.gov.br/ilb">http://www.senado.gov.br/ilb</a>.</p>
<h2>Título H2</h2>
<p><em>Lorem ipsum</em> dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. <a href="http://www.senado.gov.br/ilb">http://www.senado.gov.br/ilb</a>.</p>
<h3>Título H3</h3>
<p><em>Lorem ipsum</em> dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. <a href="http://www.senado.gov.br/ilb">http://www.senado.gov.br/ilb</a>.</p>
<h4>Título H4</h4>
<p><em>Lorem ipsum</em> dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. <a href="http://www.senado.gov.br/ilb">http://www.senado.gov.br/ilb</a>.</p>
<!-- end .content --></div>
<div class="sidebar2">
<h4>Sidebar 2</h4>
<p>Coluna de conteúdo do sidebar 1.</p>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p>
<!-- end .sidebar2 --></div>
<div class="footer">
Senado Federal - Praça dos Três Poderes - Brasília DF - CEP 70165-900
<!-- end .footer --></div>
<!-- end .container --></div>
</body>
</html>

BIN
tmp/ilb-saberes.zip

Binary file not shown.

BIN
tmp/img/logo-ilb.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

32
version.php

@ -0,0 +1,32 @@
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Theme version info
*
* @package theme_ilb2014
* @copyright 2010 Patrick Malley
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined('MOODLE_INTERNAL') || die;
$plugin->version = 2013050100; // The current module version (Date: YYYYMMDDXX)
$plugin->requires = 2013050100; // Requires this Moodle version
$plugin->component = 'theme_ilb2014'; // Full name of the plugin (used for diagnostics)
$plugin->dependencies = array(
'theme_canvas' => 2013050100,
);
Loading…
Cancel
Save