$string['choosereadme'] = '
<div class="clearfix">
- <div class="theme_screenshot">
+ <div class="theme_screenshot">
- <h2>Formal White</h2>
- <img src="formal_white/pix/screenshot.gif" />
+ <h2>Formal White</h2>
+ <img src="formal_white/pix/screenshot.gif" />
- <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 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 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>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>
+ <h3>Report a bug:</h3>
+ <p><a href="http://tracker.moodle.org">http://tracker.moodle.org</a></p>
+ </div>
- <div class="theme_description">
+ <div class="theme_description">
- <h2>About</h2>
- <p>Formal White is a fluid-width, three-column theme ported over to 2.0 from Moodle 1.X.</p>
+ <h2>About</h2>
+ <p>Formal White is a fluid-width, three-column theme ported over to 2.0 from Moodle 1.X.</p>
- <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>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 MediaTouch 2000. </p>
+ <h2>Credits</h2>
+ <p>This theme was coded and is maintained by MediaTouch 2000. </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>
+ <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>';
$string['configtitle'] = 'Formal white theme';
$string['blockcolumnwidth'] = 'Blocks colum width';
$string['blockcolumnwidthdesc'] = 'This sets the blocks column width for the theme. <strong>Using widths lower than 200px, the calendar block is not supposed to fit.</strong>';
+$string['headerbgc'] = 'Header background colour';
+$string['headerbgcdesc'] = 'This sets the blocks header background colour for the theme.';
+
$string['blockcontentbgc'] = 'Blocks content background colour';
$string['blockcontentbgcdesc'] = 'This sets the blocks content background colour for the theme.';
if ($hasfooter) {
+
if ($hasframe) { ?>
<!-- START OF FOOTER -->
<div id="footerframetopright"><div> </div></div>
<div id="footerframeleft"><div id="footerframeright">
- <!-- the content to show -->
- <div id="footerwrapper">
- <?php echo $PAGE->theme->settings->footnote; ?>
- </div> <!-- end of footerwrapper -->
+ <!-- the content to show -->
+ <div id="footerwrapper">
+ <?php echo $PAGE->theme->settings->footnote; ?>
+ </div> <!-- end of footerwrapper -->
- </div></div> <!-- </footerframeright></footerframeleft> -->
- <div id="footerframebottomright"><div> </div></div>
- </div></div> <!-- </footerframebottom></footerframetop> -->
+ </div></div> <!-- </footerframeright></footerframeleft> -->
+ <div id="footerframebottomright"><div> </div></div>
+ </div></div> <!-- </footerframebottom></footerframetop> -->
<?php }
//manco di una div da chiudere
} else { ?>
<!-- START OF FOOTER -->
- <div id="page-footer_noframe">
- <div id="page-footer_noframe-content">
- <?php if (!empty($PAGE->theme->settings->footnote)) { ?>
+ <div id="page-footer" class="noframefooter">
+ <?php if (!empty($PAGE->theme->settings->footnote)) { ?>
+ <div id="page-footer-content">
<!-- the content to show -->
<div id="footerwrapper">
<?php echo $PAGE->theme->settings->footnote; ?>
</div> <!-- end of footerwrapper -->
- </div> <!-- end of footerwrapper -->
- </div>
+ </div> <!-- end of page-footer_noframe-content -->
<?php }
//manco di una div da chiudere
} ?>
- <div class="johndocsleft">
+ <div class="moodledocsleft">
<?php
//echo $OUTPUT->login_info();
//echo $OUTPUT->home_link();
?>
</div>
- <div class="johndocs">
+ <div class="moodledocs">
<?php echo page_doc_link(get_string('moodledocslink')); ?>
</div>
+
</div> <!-- end of page-footer or page-footer_noframe -->
<?php //ho chiuso la div di cui mancavo prima
- }
+}
echo $OUTPUT->standard_end_of_body_html(); ?>
</body>
if ($hasfooter) {
+
if ($hasframe) { ?>
<!-- START OF FOOTER -->
<div id="footerframetopright"><div> </div></div>
<div id="footerframeleft"><div id="footerframeright">
- <!-- the content to show -->
- <div id="footerwrapper">
- <?php echo $PAGE->theme->settings->footnote; ?>
- </div> <!-- end of footerwrapper -->
+ <!-- the content to show -->
+ <div id="footerwrapper">
+ <?php echo $PAGE->theme->settings->footnote; ?>
+ </div> <!-- end of footerwrapper -->
- </div></div> <!-- </footerframeright></footerframeleft> -->
- <div id="footerframebottomright"><div> </div></div>
- </div></div> <!-- </footerframebottom></footerframetop> -->
+ </div></div> <!-- </footerframeright></footerframeleft> -->
+ <div id="footerframebottomright"><div> </div></div>
+ </div></div> <!-- </footerframebottom></footerframetop> -->
<?php }
//manco di una div da chiudere
} else { ?>
<!-- START OF FOOTER -->
- <div id="page-footer_noframe">
- <div id="page-footer_noframe-content">
- <?php if (!empty($PAGE->theme->settings->footnote)) { ?>
+ <div id="page-footer" class="noframefooter">
+ <?php if (!empty($PAGE->theme->settings->footnote)) { ?>
+ <div id="page-footer-content">
<!-- the content to show -->
<div id="footerwrapper">
<?php echo $PAGE->theme->settings->footnote; ?>
</div> <!-- end of footerwrapper -->
- </div> <!-- end of footerwrapper -->
- </div>
+ </div> <!-- end of page-footer_noframe-content -->
<?php }
//manco di una div da chiudere
} ?>
- <div class="johndocsleft">
+ <div class="moodledocsleft">
<?php
//echo $OUTPUT->login_info();
//echo $OUTPUT->home_link();
?>
</div>
- <div class="johndocs">
+ <div class="moodledocs">
<?php echo page_doc_link(get_string('moodledocslink')); ?>
</div>
+
</div> <!-- end of page-footer or page-footer_noframe -->
<?php //ho chiuso la div di cui mancavo prima
- }
+}
echo $OUTPUT->standard_end_of_body_html(); ?>
</body>
*/
function formal_white_user_settings($css, $theme) {
+ // Set the page header background color
+ if (empty($theme->settings->headerbgc)) {
+ $headerbgc = '#E3DFD4'; // default (o forse è meglio #FEF9F6?)
+ } else {
+ $headerbgc = $theme->settings->headerbgc;
+ }
+ $css = formal_white_set_headerbgc($css, $headerbgc);
+
// Set the block content background color
if (empty($theme->settings->blockcontentbgc)) {
$blockcontentbgc = '#F6F6F6'; // default (o forse è meglio #FEF9F6?)
* Sets the link color variable in CSS
*
*/
+function formal_white_set_headerbgc($css, $headerbgc) {
+ $tag = '[[setting:headerbgc]]';
+ $css = str_replace($tag, $headerbgc, $css);
+ return $css;
+}
+
function formal_white_set_blockcontentbgc($css, $blockcontentbgc) {
$tag = '[[setting:blockcontentbgc]]';
$css = str_replace($tag, $blockcontentbgc, $css);
}
function formal_white_set_logo($css, $logo) {
- global $OUTPUT;
-
- $tag = '[[setting:logo]]';
- if (is_null($logo)) {
- $logo = $OUTPUT->pix_url('logo', 'theme');
- }
- $css = str_replace($tag, $logo, $css);
- return $css;
+ global $OUTPUT;
+
+ $tag = '[[setting:logo]]';
+ if (is_null($logo)) {
+ $logo = $OUTPUT->pix_url('logo', 'theme');
+ }
+ $css = str_replace($tag, $logo, $css);
+ return $css;
}
function formal_white_set_blockcolumnwidth($css, $blockcolumnwidth) {
- $tag = '[[setting:blockcolumnwidth]]';
- $css = str_replace($tag, $blockcolumnwidth.'px', $css);
+ $tag = '[[setting:blockcolumnwidth]]';
+ $css = str_replace($tag, $blockcolumnwidth.'px', $css);
- $tag = '[[setting:minusdoubleblockcolumnwidth]]';
- $css = str_replace($tag, (-2*$blockcolumnwidth).'px', $css);
+ $tag = '[[setting:minusdoubleblockcolumnwidth]]';
+ $css = str_replace($tag, (-2*$blockcolumnwidth).'px', $css);
- $tag = '[[setting:doubleblockcolumnwidth]]';
- $css = str_replace($tag, (2*$blockcolumnwidth).'px', $css);
+ $tag = '[[setting:doubleblockcolumnwidth]]';
+ $css = str_replace($tag, (2*$blockcolumnwidth).'px', $css);
- return $css;
+ return $css;
}
\ No newline at end of file
$name = 'theme_formal_white/noframe';
$title = get_string('noframe','theme_formal_white');
$description = get_string('noframedesc', 'theme_formal_white');
- $setting = new admin_setting_configcheckbox($name, $title, $description, 0);
+ $default = '0';
+ $setting = new admin_setting_configcheckbox($name, $title, $description, $default);
+ $settings->add($setting);
+
+ // page header background colour setting
+ $name = 'theme_formal_white/headerbgc';
+ $title = get_string('headerbgc','theme_formal_white');
+ $description = get_string('headerbgcdesc', 'theme_formal_white');
+ $default = '#E3DFD4';
+ $previewconfig = array('selector'=>'#page-header', 'style'=>'backgroundColor');
+ $setting = new admin_setting_configcolourpicker($name, $title, $description, $default, $previewconfig);
$settings->add($setting);
// Block background colour setting
/************************************************************************
Non sono riuscito a trovare un modo per sovrascrivere la regola
- border: 2px solid #ddd;
+ border: 2px solid #ddd;
presente nel file
/theme/canvas/style/core.css
Per questo questo file è stato creato a partire dalla copia del
************************************************************************/
.sitetopic {
- border: none;
+ border: none;
}
.headingblock {
- border-bottom: 1px solid #ddd;
- font-size: 1.3em;
- color: #333;
+ border-bottom: 1px solid #ddd;
+ font-size: 1.3em;
+ color: #333;
}
#notice {
- text-align: center;
+ text-align: center;
}
.noticebox,
.singlebutton,
.buttons,
.singleselect {
- text-align: center;
- margin: 1em 0;
+ text-align: center;
+ margin: 1em 0;
}
.navbutton .singlebutton {
- margin: 0;
+ margin: 0;
}
.generalbox {
- border-color: #ddd;
+ border-color: #ddd;
}
.noticebox .generalbox {
- border: none;
- margin:2em 0;
+ border: none;
+ margin:2em 0;
}
.expired,
.notopenyet {
- border: none;
- color: #f00;
+ border: none;
+ color: #f00;
}
.buttons .singlebutton input {
- margin: 0 1em;
+ margin: 0 1em;
}
.initialbar {
- text-align: center;
+ text-align: center;
}
.side-pre-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main {
- padding-right: 0;
+ padding-right: 0;
}
.side-post-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main {
- padding-left: 0;
+ padding-left: 0;
}
input[type="text"],
input[type="password"],
textarea {
- width: auto;
- padding: 2px 0 2px 0;
- margin: 5px 0 5px 0;
+ width: auto;
+ padding: 2px 0 2px 0;
+ margin: 5px 0 5px 0;
}
input[type="checkbox"],
input[type="radio"] {
- margin-right: 7px;
+ margin-right: 7px;
}
/* Login
------------------------*/
.loginbox {
- margin: 15px 25%;
+ margin: 15px 25%;
}
.loginbox .loginerrors {
- color: #f00;
+ color: #f00;
}
.loginbox .loginform {
- margin: 15px auto 0;
- width: 50%;
+ margin: 15px auto 0;
+ width: 50%;
}
.loginbox .loginform .form-label {
- float: none;
- width: 100%;
- margin: 0 auto;
- text-align: left;
+ float: none;
+ width: 100%;
+ margin: 0 auto;
+ text-align: left;
}
.dir-rtl .loginbox .loginform .form-label {
- text-align: right;
+ text-align: right;
}
.loginbox .loginform .form-input {
- float: none;
- width: 100%;
- margin: 0 auto;
+ float: none;
+ width: 100%;
+ margin: 0 auto;
}
.loginbox .loginform .form-input #username,
.loginbox .loginform .form-input #password {
width: 50%;
- color: #000;
+ color: #000;
}
.loginbox .loginform .form-input #loginbtn {
- margin: 0.5em auto;
+ margin: 0.5em auto;
}
.loginbox .forgetpass {
- margin: 1em 0 0;
- font-size: 0.95em;
+ margin: 1em 0 0;
+ font-size: 0.95em;
}
.loginbox.twocolumns {
- width: 90%;
- margin-left: 5%;
+ width: 90%;
+ margin-left: 5%;
}
.loginbox .guestsub {
- border-top: 1px solid #DDDDDD;
- margin: 5px 20%
+ border-top: 1px solid #DDDDDD;
+ margin: 5px 20%
}
.loginbox.twocolumns .loginpanel {
- border-color: #ddd;
- padding-right: 0.5%;
+ border-color: #ddd;
+ padding-right: 0.5%;
}
.loginbox.twocolumns .signuppanel {
- padding-left: 1%;
- width: 48%;
+ padding-left: 1%;
+ width: 48%;
}
#page-course-loginas #notice {
- border: none;
+ border: none;
}
#page-login-forgot_password .generalbox {
- margin: 0 auto 1.5em;
- width: 75%;
- padding: 10px;
+ margin: 0 auto 1.5em;
+ width: 75%;
+ padding: 10px;
}
#page-login-signup .mform {
- width: 85%;
- margin: 0 auto;
+ width: 85%;
+ margin: 0 auto;
}
#page-login-signup .mform .fitem .fitemtitle {
- width: 20%;
+ width: 20%;
}
#page-login-signup .mform .fitem .felement {
- margin-left: 21%;
+ margin-left: 21%;
}
/* Admin management
}
.userinfobox .content {
- text-align: left;
- padding-left:10px
+ text-align: left;
+ padding-left:10px
}
.userinfobox .links {
- vertical-align: top;
- background: #f4f4f4;
- padding-left: 10px;
+ vertical-align: top;
+ background: #f4f4f4;
+ padding-left: 10px;
}
.userinfobox .links a {
- display: block;
- text-align: left;
+ display: block;
+ text-align: left;
}
.profilepicture {
- float: left;
- margin-right: 10px;
+ float: left;
+ margin-right: 10px;
}
.descriptionbox {
- margin-left: 110px;
- border: 1px solid #ddd;
- padding: 10px;
+ margin-left: 110px;
+ border: 1px solid #ddd;
+ padding: 10px;
}
.path-user .description {
- padding-bottom: 15px;
- border-bottom: 1px solid #eee;
+ padding-bottom: 15px;
+ border-bottom: 1px solid #eee;
}
.userprofile .list {
- margin-top: 10px;
+ margin-top: 10px;
}
.userprofile .list td {
- padding-top: 3px;
- padding-bottom: 3px;
+ padding-top: 3px;
+ padding-bottom: 3px;
}
.userprofile .list .c0 {
- padding-left: 0;
- font-weight: bold;
+ padding-left: 0;
+ font-weight: bold;
}
#page-user-view .buttons {
- text-align: center;
- width: 70%;
- margin: 0 auto;
+ text-align: center;
+ width: 70%;
+ margin: 0 auto;
}
#page-user-view .buttons div {
- padding: 0 0 10px;
+ padding: 0 0 10px;
}
#page-user-index .controls {
- width: 100%
+ width: 100%
}
#page-user-index .controls .singleselect {
- margin: 0;
+ margin: 0;
}
.rolesform {
- text-align: center;
- margin: 1em 0;
+ text-align: center;
+ margin: 1em 0;
}
#participantsform {
- text-align: center;
+ text-align: center;
}
#participants {
- width: 100%;
- margin: 1em auto 0;
+ width: 100%;
+ margin: 1em auto 0;
}
#participants th,
#participants td {
- vertical-align: middle;
+ vertical-align: middle;
}
.groupinfobox {border-color: #DDDDDD;width: 60%;margin-left: 20%;margin-right: 20%;}
------------------------*/
.path-notes .generalbox {
- border: none;
+ border: none;
}
/* Roles
------------------------*/
.path-admin-roles .generaltable {
- /* width: 65%; hiding because it's causing problems on role/assign */
+ /* width: 65%; hiding because it's causing problems on role/assign */
}
.path-admin-roles .generaltable th {
- vertical-align: middle;
+ vertical-align: middle;
}
.path-admin-roles .generaltable .lastcol {
- width: 15%;
+ width: 15%;
}
.path-admin-roles .backlink {
- text-align: center;
+ text-align: center;
}
/* Blogs
------------------------*/
.blog_entry .audience {
- color: #444;
- margin: 0 0 0.5em;
- font-size: 0.9em;
+ color: #444;
+ margin: 0 0 0.5em;
+ font-size: 0.9em;
}
.blog_entry .tags {
- margin-bottom: 0.5em;
+ margin-bottom: 0.5em;
}
/* Tags
------------------------*/
#big-tag-cloud-box {
- padding: 10px;
+ padding: 10px;
}
#tag-management-box {
- text-align: center;
+ text-align: center;
}
.tag-management-form {
- border: none;
- padding: 0 0 1em;
+ border: none;
+ padding: 0 0 1em;
}
#tag-management-list {
- margin: 1em 0
+ margin: 1em 0
}
#page-tag-index #tag-blogs {
- border-width: 0 0 1px;
- width: 65%;
- margin: 1em auto;
+ border-width: 0 0 1px;
+ width: 65%;
+ margin: 1em auto;
}
#tagblogentries {
- margin: 0 0 1em;
+ margin: 0 0 1em;
}
#tagblogentries li {
- list-style: none;
- padding: 0.25em 0;
- margin: 0
+ list-style: none;
+ padding: 0.25em 0;
+ margin: 0
}
#big-tag-cloud-box {
- border: none;
+ border: none;
}
#tag-user-table {
- width: 95%;
- margin: 0 auto;
- border-width: 0 0 1px;
+ width: 95%;
+ margin: 0 auto;
+ border-width: 0 0 1px;
}
.managelink {
- text-align: right;
+ text-align: right;
}
#page-tag-index .headingblock {
- text-align: center;
- margin-bottom: 0;
+ text-align: center;
+ margin-bottom: 0;
}
#page-tag-index #tag-management-box {
- border-bottom: 1px solid #ddd;
- padding: 4px 0;
+ border-bottom: 1px solid #ddd;
+ padding: 4px 0;
}
#page-tag-index .relatedpages {
- text-align: center;
+ text-align: center;
}
#page-tag-manage .lastinitial {
- margin-bottom: 0.5em;
+ margin-bottom: 0.5em;
}
#page-tag-manage .green {
- text-align: center;
- padding: 0 0 1em;
+ text-align: center;
+ padding: 0 0 1em;
}
/* YUI overlays
------------------------*/
#helppopupbox {
- z-index: 99999 !important;
+ z-index: 99999 !important;
}
------------------------*/
.pagelayout-embedded {
- text-align: center;
- background-color: #fff;
- background-image: none;
+ text-align: center;
+ background-color: #fff;
+ background-image: none;
}
.pagelayout-embedded #content {
- padding-top: 30px;
+ padding-top: 30px;
}
/* Forms
-----------------------*/
.mform .fsubmit {
- text-align: center;
- padding: 2px;
+ text-align: center;
+ padding: 2px;
}
.form-label .form-shortname {
- font-size: 0.8em;
- color: #777;
+ font-size: 0.8em;
+ color: #777;
}
.form-description {
- font-size: 0.95em;
- color: #444;
+ font-size: 0.95em;
+ color: #444;
}
.mform .hidden .fitem .fgroup {
- width: 100%;
- text-align: center;
- margin: 1em 0;
+ width: 100%;
+ text-align: center;
+ margin: 1em 0;
}
.path-backup .mform .hidden .fitem .fgroup {
-----------------------*/
.comment-list li {
- background: #eee !important;
- list-style: none;
+ background: #eee !important;
+ list-style: none;
}
/* Gradebook
----------------------*/
.path-grade h1.headerheading {
- text-align: left; /* Strangely necessary TODO: find bug */
+ text-align: left; /* Strangely necessary TODO: find bug */
}
.gradestable .lastrow th.header {
- background: #ddd;
+ background: #ddd;
}
.gradestable .lastrow td.cell {
- background: #eee !important;
+ background: #eee !important;
}
.user-grade td.b1t,
.user-grade td.baggt {
- background: #ddd !important;
+ background: #ddd !important;
}
#page-grade-edit-scale-index .generaltable {
- margin: 1em auto;
+ margin: 1em auto;
}
#page-grade-report-grader-preferences .generalbox {
- border: none;
+ border: none;
}
.path-grade-report-grader form {
- text-align: left;
+ text-align: left;
}
/* Footer
-----------------------*/
#page-footer .logininfo {
- padding: 1em 0;
+ padding: 1em 0;
}
#page-footer .homelink,
#page-footer .sitelink {
- padding: 1em 0;
+ padding: 1em 0;
}
.homelink a {
- text-decoration: none;
- border-top: 1px solid #cecece;
- border-bottom: 2px solid #8a8a8a;
- border-left: 1px solid #cecece;
- border-right: 2px solid #8a8a8a;
+ text-decoration: none;
+ border-top: 1px solid #cecece;
+ border-bottom: 2px solid #8a8a8a;
+ border-left: 1px solid #cecece;
+ border-right: 2px solid #8a8a8a;
}
.homelink a:hover {
- text-decoration: none;
- border-bottom: 1px solid #cecece;
- border-top: 2px solid #8a8a8a;
- border-right: 1px solid #cecece;
- border-left: 2px solid #8a8a8a;
+ text-decoration: none;
+ border-bottom: 1px solid #cecece;
+ border-top: 2px solid #8a8a8a;
+ border-right: 1px solid #cecece;
+ border-left: 2px solid #8a8a8a;
}
/**
***/
html, body {
- font-family:Arial, Verdana, Helvetica, sans-serif;
- margin:0;
- padding:0;
- background-color:#EFEFEF;
- font-size:13px;
+ font-family:Arial, Verdana, Helvetica, sans-serif;
+ margin:0;
+ padding:0;
+ background-color:#EFEFEF;
+ font-size:13px;
}
a:link {text-decoration:none;}
h3 {font-size:1.2em;}
h4 {font-weight:bold;}
-/*#page-header{}*/
-/* if (displaylogo) { */
- #headerlogo {margin:0.3em;float:left;top:1em;z-index:1;}
-/* } else { */
- h1.headerheading {margin:14px 11px 8px 11px;float:left;font-size:2em;z-index:1;}
-/* } */
+#headerlogo {margin:0.3em;float:left;top:1em;z-index:1;}
+h1.headerheading {margin:14px 11px 8px 11px;float:left;font-size:2em;z-index:1;}
/* headermenu */
.headermenu {float:right;top:1em;z-index:2;}
tr.rolecap {border-top:1px #F30 dashed;}
tr.rolecapheading + tr.rolecap {border-top:none;}
-
/* course */
ul.topics .section span.commands {margin-left:2em;} /* distanza dei comandi dagli elementi del corso */
+.mform fieldset {border:1px #DDD solid;}
+
/* block */
.block {border:1px #C6BDA8 solid;margin-bottom:0.5em;}
.block .header h2 {margin:0;padding-left:0.3em;}
/* page-footer */
#page-footer {text-align:center;width:100%;padding:0;}
-#page-footer_noframe {background-color:#FFF;clear: both;float: left;width:100%;}
-#page-footer_noframe-content {text-align:center;border:7px #E3DFD4 double;margin:0;}
+.noframefooter {background-color:#FFF;clear: both;float: left;width:100%;}
+#page-footer-content {text-align:center;border:7px #E3DFD4 double;margin:0;padding:0.5em;}
#page-footer .logininfo {padding:0.3em 0 0.7em 0;}
-
-.mform fieldset {border:1px #DDD solid;}
+#page-footer .moodledocs {text-align:center;background-color:#EFEFEF;padding:0.7em 0 0.8em 0;}
/** Custom CSS **/
[[setting:customcss]]
\ No newline at end of file
margin:15px 15px 0;
background-position:0 0;
background-repeat:repeat-x;
- min-width:934px;
+ min-width:934px;
}
#frametopright,
#footerframeright { /* Frame background right */
background-image:url([[pix:theme|roundcorner/body_r]]);
background-repeat:repeat-y;
- background-position:100% 0;
+ background-position:100% 0;
background-color:transparent;
/*margin-left:17px;*/
/*padding-right:17px;*/
/*******************************************************************/
#footerwrapper {
- background-color:white;
- margin:0 17px 0 17px;
+ background-color:white;
+ margin:0 17px 0 17px;
}
#footerframetop {
- margin-top:0;
+ margin-top:0;
}
#footerwrapper p,
#footerwrapper div {
- margin:0;
+ margin:0;
}
/*******************************************************************/
.yui3-skin-sam .yui3-menu-content,
.yui3-skin-sam .yui3-menu .yui3-menu .yui3-menu-content,
.yui3-skin-sam .yui3-menu-horizontal .yui3-menu-label,.yui3-skin-sam .yui3-menu-horizontal .yui3-menuitem-content{
- border:0px none;
+ border:0px none;
}
/*.yui3-menu ul{
- background:url([[pix:theme|sprite]]) repeat-x 0 0;
+ background:url([[pix:theme|sprite]]) repeat-x 0 0;
}*/
.yui3-menu ul li ul{
- background:#fff;
+ background:#fff;
}
.yui3-menu ul li{
- border-right:1px solid #ccc;
+ border-right:1px solid #ccc;
}
.yui3-menu ul li ul li{
- border-right:none;
- /*border-bottom:1px dashed #ccc;*/
- padding:3px;
+ border-right:none;
+ /*border-bottom:1px dashed #ccc;*/
+ padding:3px;
}
div.yui3-menu-content {
- border:none !important;
+ border:none !important;
}
ul.first-of-type li a {
- border-top:none !important;
- border-bottom:none !important;
+ border-top:none !important;
+ border-bottom:none !important;
}
ul.first-of-type li a:hover {
- color:#003466;
+ color:#003466;
}
\ No newline at end of file
****/
#page-header {
- background-color:#E3DFD4;
+ background-color:[[setting:headerbgc]];
/* arrotonadamento angoli in alto dell'header */
-moz-border-radius:6px 6px 0px 0px; /* Firefox */
-webkit-border-radius:6px 6px 0px 0px; /* Safari, Chrome */
font-weight: normal;
}
.tabtree .tabrow0 li.here .empty {
- display: block;
- height: 1px;
- overflow: hidden;
- padding: 0px;
- position: absolute;
- width: 100%;
- bottom: -4px;
+ display: block;
+ height: 1px;
+ overflow: hidden;
+ padding: 0px;
+ position: absolute;
+ width: 100%;
+ bottom: -4px;
}
.tabtree .tabrow0 li.here a {
position:relative;
}
.ie7 .tabtree .tabrow0 li {
- margin-left: 0;
+ margin-left: 0;
}
.ie7 .tabtree .tabrow0 li.first {
- margin-right: -4px;
+ margin-right: -4px;
}
.ie7 .tabtree .tabrow0 li.onerow {
- margin-right: 0;
+ margin-right: 0;
}
.ie7 .tabtree .tabrow0 a {
- display: inline-block;
- padding: 8px 0 0.35em 13px;
- line-height: 1.5em;
+ display: inline-block;
+ padding: 8px 0 0.35em 13px;
+ line-height: 1.5em;
}
.ie7 .tabtree .tabrow0 a span {
- padding: 10px 1em 10px 0;
+ padding: 10px 1em 10px 0;
}
.ie7 .tabtree .tabrow0 div {
- top: 2.6em;
- padding: 0.2em 0;
+ top: 2.6em;
+ padding: 0.2em 0;
}
.ie7 .tabtree .tabrow0 div.empty {
- margin-right: 0;
+ margin-right: 0;
}
.ie7.mod-quiz div.tabtree a span img.iconsmall {
- margin: 0;
- vertical-align: baseline;
- position: relative;
- top: 2px;
+ margin: 0;
+ vertical-align: baseline;
+ position: relative;
+ top: 2px;
}
.ie6 .tabtree {
- height: 100%;
+ height: 100%;
}
.ie6 .tabtree .tabrow0 {
- padding-top: 10px;
+ padding-top: 10px;
}
.ie6 .tabtree .tabrow0 li {
- margin-left: 0;
+ margin-left: 0;
}
.ie6 .tabtree .tabrow0 li.first {
- margin-left: -4px;
- margin-right: -4px;
+ margin-left: -4px;
+ margin-right: -4px;
}
.ie6 .tabtree .tabrow0 li.last a {
- margin-right: 0;
+ margin-right: 0;
}
.ie6 .tabtree .tabrow0 li.onerow {
- margin-right: 0;
+ margin-right: 0;
}
.ie6 .tabtree .tabrow0 a {
- padding: 0 0 0 13px;
+ padding: 0 0 0 13px;
}
.ie6 .tabtree .tabrow0 a span {
- padding: 12px 1em 4px 0;
+ padding: 12px 1em 4px 0;
}
.ie6 .tabtree .tabrow0 div {
- top: 3.5em;
- padding: 0.2em 0;
+ top: 3.5em;
+ padding: 0.2em 0;
}
\ No newline at end of file