Skip to content

Commit

Permalink
fix menu scorm - refs #2577
Browse files Browse the repository at this point in the history
  • Loading branch information
aragonc committed Mar 5, 2019
1 parent b09f10e commit 36d39ec
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 17 deletions.
31 changes: 16 additions & 15 deletions app/Resources/public/css/scorm.css
Expand Up @@ -520,15 +520,17 @@ See https://support.chamilo.org/issues/6976
}

.circle {
width: 100%;
height: 40px;
opacity: 0;
margin-top: 0;
padding-top: 50px;
margin-left: 50px;
margin-top: 5px;
padding: 2px;
border-radius: 20px;
background-color: #ffffff;
border: 2px solid #8dcbf3;

-webkit-transform: scale(0);
-moz-transform: scale(0);
-transform: scale(0);
-webkit-transform: translate(-100%);
-moz-transform: translate(-100%);
-transform: translate(-100%);

-webkit-transition: all 0.4s ease-out;
-moz-transition: all 0.4s ease-out;
Expand All @@ -538,21 +540,20 @@ See https://support.chamilo.org/issues/6976
.open.circle {
opacity: 1;

-webkit-transform: scale(1);
-moz-transform: scale(1);
-transform: scale(1);
-webkit-transform: translate(0%);
-moz-transform: translate(0%);
-transform: translate(0%);
}

.circle a {
text-decoration: none;
color: #fff;
display: block;
height: 40px;
width: 40px;
line-height: 40px;
display: inline-block;
height: 35px;
width: 35px;
line-height: 35px;
text-align: center;
border-radius: 100%;
margin-left: 5px;
}

.circle a:hover {
Expand Down
4 changes: 2 additions & 2 deletions main/template/default/learnpath/view.tpl
@@ -1,4 +1,4 @@
<div id="learning_path_main" class="{{ is_allowed_to_edit ? 'lp-view-include-breadcrumb' }} {{ lp_mode == 'embedframe' ? 'lp-view-collapsed' : 'lp-view-collapsed' }}">
<div id="learning_path_main" class="{{ is_allowed_to_edit ? 'lp-view-include-breadcrumb' }} {{ lp_mode == 'embedframe' ? 'lp-view-collapsed' : '' }}">
{% if show_left_column == 1 %}
<div id="learning_path_left_zone" class="sidebar-scorm">
<div class="lp-view-zone-container">
Expand Down Expand Up @@ -176,7 +176,7 @@
<nav id="btn-menu-float" class="circular-menu">
<div class="circle open">
<div class="circle">
{% if show_left_column == 1 %}
<a href="#" title = "{{ 'Expand'|get_lang }}" id="lp-view-expand-toggle" class="icon-toolbar expand" role="button">
Expand Down

1 comment on commit 36d39ec

@ywarnier
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you meant #2755

Please sign in to comment.