Browse Source

Alterações Moodle

MOODLE_34_STABLE
thiagourias 6 years ago
parent
commit
f3b3b5f205
  1. 49
      style/tema.css
  2. 6
      templates/frontpage_ilb.mustache
  3. 24
      templates/header.mustache

49
style/tema.css

@ -106,7 +106,7 @@ a#portal-home-link {
padding-left: 0;
padding-right: 0;
}
.Nav--secundaria > ul > li:not(:last-child)::after {
.Nav--secundaria > ul > li:not(:last-child)::after {
line-height: 23px;
}
/* Extra small - Phone */
@ -285,7 +285,7 @@ p.busca-avancada a {
/*
==============================
==============================
Bootstrap Media Queries
==============================
*/
@ -302,7 +302,6 @@ Bootstrap Media Queries
.carousel-control .icon-prev {
top: 30%;
}
} /* @media xs */
/* Small - Tablet */
@ -317,7 +316,6 @@ Bootstrap Media Queries
/* Large - Desktop */
@media(min-width:1200px){
} /* @media lg */
.propertiesSubHeader{
@ -391,3 +389,46 @@ Bootstrap Media Queries
color: #777;
line-height: 1;
}
.tamanhoVideo{
max-width: 360px;
max-height: 228.5px;
}
@media screen and
(min-width: 361px) and
(max-width: 540px) {
.tamanhoVideo{
max-width: 100% !important;
max-height: 100% !important;
}
.heightVar{
height: 246.5px !important;
}
}
@media screen and
(min-width: 541px) and
(max-width: 660px) {
.tamanhoVideo{
max-width: 100% !important;
max-height: 100% !important;
}
.heightVar{
height: 310.5px !important;
}
}
@media screen and
(min-width: 661px) and
(max-width: 991px) {
.tamanhoVideo{
max-width: 100% !important;
max-height: 100% !important;
}
.heightVar{
height: 370.5px !important;
}
}
.propertiesVLibras{
z-index: 99999;
}
.heightVar{
height: 228.5px;
}

6
templates/frontpage_ilb.mustache

@ -714,9 +714,11 @@
<br />
</div>
<!-- video -->
<div class="col-xs-12 col-md-4">
<iframe width="360" height="215" src="https://www.youtube.com/embed/D6IMzbSh0KI" frameborder="0" allowfullscreen style="padding: 0; height: 228.5px;"></iframe>
<div class="tamanhoVideo col-xs-12 col-md-4">
<iframe width="100%" height="100%" src="https://www.youtube.com/embed/D6IMzbSh0KI" frameborder="0" allowfullscreen style="padding: 0;" class="heightVar"></iframe>
</div>
<div class="col-xs-12 hidden-md hidden-lg">
<br />
</div>

24
templates/header.mustache

@ -17,8 +17,11 @@
{{!
Page header.
}}
<meta http-equiv="cache-control" content="max-age=0" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />
<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
<meta http-equiv="pragma" content="no-cache" />
<!-- NAV SUPERIOR DO SENADO -->
<!-- Usado na página principal -->
<header>
@ -26,9 +29,6 @@
<div class="NavGlobal navbar navbar-static-top">
<div class="NavGlobal-container">
<div class="pull-right dropdown" role="navigation">
<a data-toggle="dropdown" class="NavGlobal-toggle dropdown-toggle">
<div class="Icon Icon--menu Icon--md"></div>
<span class="u-alignMiddle"> Portais</span>
@ -57,25 +57,20 @@
</div>
<div class="propertiesSubHeader">
<div class="container">
<div class="Box Box--y pull-left">
<div class="l-fork--lg clearfix Barra-menu"><span class="milli">
<span class="label label-brand">1</span> <a href="#div.principal" accesskey="1" class="text-muted">Ir
para o conteúdo</a></span>
<div class="u-verticalSeparator milli"></div>
<span class="milli"><span class="label label-brand">2</span> <a href="#s-menu" class="text-muted">Ir para o
menu</a></span>
<div class="u-verticalSeparator milli"></div>
<span class="milli"><span class="label label-brand">4</span> <a href="#footer-institucional" class="text-muted">Ir para o
rodapé</a></span>
<div class="u-verticalSeparator milli"></div>
<div class="l-fork--sm clearfix milli-h milli">
<img style="opacity: .7; margin-right: 3px;" height="17" src="https://www12.senado.leg.br/hpsenado/++resource++senado.hpsenado/img/vlibras-i.png">
<div class="dropdown">
<div class="dropdown propertiesVLibras">
<a onclick="myFunction()" class="text-muted dropbtn">VLibras</a>
<div id="myDropdown" class="dropdown-content">
<p class='text-center'><img src='https://www12.senado.leg.br/hpsenado/++resource++senado.hpsenado/img/vlibras.gif'/></p>
@ -84,25 +79,20 @@
</div>
</div>
</div>
<div class="u-verticalSeparator milli"></div>
<a href="https://www12.senado.leg.br/institucional/programas/senado-inclusivo/documentos/acessibilidade" class="text-muted">Acessibilidade</a>
</div>
</div>
</div>
</div>
</div>
</header><!-- FIM DA NAV SUPERIOR DO SENADO -->
<script>
/* When the user clicks on the button,
toggle between hiding and showing the dropdown content */
function myFunction() {
document.getElementById("myDropdown").classList.toggle("show");
}
// Close the dropdown menu if the user clicks outside of it
window.onclick = function(event) {
if (!event.target.matches('.dropbtn')) {
@ -116,4 +106,4 @@ toggle between hiding and showing the dropdown content */
}
}
}
</script>
</script>

Loading…
Cancel
Save