fix tools css - refs #2681

pull/2715/head
Alex Aragón 7 years ago
parent 67afc2ca98
commit 7f619b6b33
  1. 16
      assets/css/scss/_base.scss
  2. 9
      main/template/default/course_progress/progress.html.twig

@ -359,19 +359,25 @@ footer {
display: block; display: block;
float: left; float: left;
text-align: center; text-align: center;
border: 1px solid rgba(0, 0, 0, 0.125) ;
cursor: pointer; cursor: pointer;
position: relative; position: relative;
background-color: transparent; background-color: transparent;
.big_icon{ .big_icon{
position: absolute; position: absolute;
width: 64px; width: 84px;
height: 64px; height: 84px;
top: 50%; top: 40%;
margin-top: -50px; margin-top: -50px;
left: 50%; left: 40%;
margin-left: -32px; margin-left: -32px;
text-align: center; text-align: center;
border: 1px solid rgba(0, 0, 0, 0.125) ;
border-radius: 50%;
a{
display: block;
padding-top: 10px;
overflow: hidden;
}
} }
.content{ .content{
position: absolute; position: absolute;

@ -1,8 +1,9 @@
{% autoescape false %}
{{ actions }} {{ actions }}
{{ message }} {{ message }}
{{ flash_messages }} {{ flash_messages }}
{% if data is not empty %} {% if data is not empty %}
{% set tutor = false|api_is_allowed_to_edit(true) %} {# set tutor = false|api_is_allowed_to_edit(true) #}
<div id="course-progress" class="thematic"> <div id="course-progress" class="thematic">
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">
@ -34,13 +35,14 @@
</div> </div>
</td> </td>
<td> <td>
{#
{% if tutor %} {% if tutor %}
<div class="pull-right"> <div class="pull-right">
<a title="{{ 'EditThematicPlan' | get_lang }}" href="index.php?{{ _p.web_cid_query }}&origin=thematic_details&action=thematic_plan_list&thematic_id={{ item.id }}&width=700&height=500'" class="btn btn-default"> <a title="{{ 'EditThematicPlan' | get_lang }}" href="index.php?{{ _p.web_cid_query }}&origin=thematic_details&action=thematic_plan_list&thematic_id={{ item.id }}&width=700&height=500'" class="btn btn-default">
<i class="fa fa-pencil" aria-hidden="true"></i> <i class="fa fa-pencil" aria-hidden="true"></i>
</a> </a>
</div> </div>
{% endif %} {% endif %} #}
<div class="thematic_plan_{{ item.id }}"> <div class="thematic_plan_{{ item.id }}">
{% if item.thematic_plan is empty %} {% if item.thematic_plan is empty %}
<div class="alert-thematic"> <div class="alert-thematic">
@ -123,4 +125,5 @@
</div> </div>
{% else %} {% else %}
<div class="alert alert-info" role="alert">{{ 'ThereIsNoAThematicSection' | get_lang }}</div> <div class="alert alert-info" role="alert">{{ 'ThereIsNoAThematicSection' | get_lang }}</div>
{% endif %} {% endif %}
{% endautoescape %}
Loading…
Cancel
Save