Browse Source

Merge branch #706 into #738

pull/752/head
LeandroRoberto 8 years ago
parent
commit
fa3caee414
  1. 29
      sapl/static/styles/app.scss
  2. 1
      sapl/templates/base.html
  3. 1
      sapl/templates/base/autor_form.html

29
sapl/static/styles/app.scss

@ -50,7 +50,6 @@ nav {
font-size: 24px;
img.img-responsive {
height: 95px;
width: 95px;
margin-right: $navbar-padding-horizontal;
}
small {
@ -415,35 +414,31 @@ p {
/* FIM TEMPLATE AJUDA */
@media (max-width: 1199px) {
/*.nav > li > a {
padding: $grid-gutter-width $grid-gutter-width / 3;
}*/
.masthead {
.vcenter {
padding: 10px;
}
.nav {
margin-top: 65px;
}
.navbar-brand {
color: $headings-color;
font-size: 20px;
font-size: 22px;
img.img-responsive {
height: 60px;
width: 60px;
margin-right: $navbar-padding-horizontal / 2;
}
small {
color: #93A4AA;
font-size: 75%;
line-height: 25px;
}
}
.navbar-nav > li > a {
padding-left: $grid-gutter-width / 2.8;
padding-right: $grid-gutter-width / 2.8;
}
}
@media (max-width: 1091px) {
.navbar-nav > li > a {
padding-left: $grid-gutter-width / 4;
padding-right: $grid-gutter-width / 4;
}
}
@media (min-width: 1092px) and (max-width: 1199px) {
.container {
width: 1070px;

1
sapl/templates/base.html

@ -278,7 +278,6 @@
<script type="text/javascript" src="{% static 'jquery/dist/jquery.min.js' %}"></script>
<script type="text/javascript" src="{% static 'bootstrap-sass/assets/javascripts/bootstrap.min.js' %}"></script>
<script type="text/javascript" src="{% static 'jquery-ui/jquery-ui.min.js' %}"></script>
<script type="text/javascript" src="{% static 'jquery-ui/ui/i18n/datepicker-pt-BR.js' %}"></script>

1
sapl/templates/base/autor_form.html

@ -40,6 +40,7 @@ $(document).ready(function(){
if (atualizar) {
var radios = $("#div_id_autor_related .controls").html('');
data.results.forEach(function (val, index) {
var html_radio = '<div class="radio"><label><span class="icons"><span class="first-icon"></span><span class="second-icon"></span></span><input type="radio" name="autor_related" id="id_autor_related_'+index+'" value="'+val.value+'" style="display:none;">'+val.text+'</label></div>';
radios.append(html_radio);
});

Loading…
Cancel
Save