Skip to content

Instantly share code, notes, and snippets.

if (!empty($page->theme->settings->logo)) {
$return->heading = html_writer::link($CFG->wwwroot, '', array('title' => get_string('home'), 'class' => 'logo'));
$return->heading .= $output->page_heading();
} else {
$return->heading = $output->page_heading();
}
@lazydaisy
lazydaisy / Experimental
Created November 29, 2015 02:03
Experimental
.editing .block-region .invisible {
opacity: 0.9;
filter: alpha(opacity=90)
}
div.navbar {
padding: .5em 0;
}
div.navbar div.breadcrumb ul li{
display:inline-block;
*displace:inline;
background-color: #DDD;
color: #BBB;
padding: .1em 5px;
@charset 'UTF-8';
@font-face {
font-family: 'Glyphicons Halflings';
font-style: normal;
font-weight: normal;
src: url([[font:theme|glyphicons-halflings-regular.eot]]);
src: url([[font:theme|glyphicons-halflings-regular.eot]]) format('embedded-opentype'),
url([[font:theme|glyphicons-halflings-regular.woff]]) format('woff'),
url([[font:theme|glyphicons-halflings-regular.ttf]]) format('truetype'),
@charset 'UTF-8';
@font-face {
font-family: 'FontAwesome';
font-weight: normal;
font-style: normal;
src: url([[font:theme|FontAwesome.eot]]);
src: url([[font:theme|fontawesome-webfont.eot]]) format('embedded-opentype'),
url([[font:theme|fontawesome-webfont.woff]]) format('woff'),
url([[font:theme|fontawesome-webfont.ttf]]) format('truetype'),