Commit 9935d844effd1cfafa58b0ce90b06ecac486fde7
1 parent
fb20835c
Exists in
master
and in
2 other branches
Hiding pendencies breadcrumbs when mobile
Showing
2 changed files
with
15 additions
and
4 deletions
Show diff stats
amadeus/static/css/base/amadeus_responsive.css
| ... | ... | @@ -91,6 +91,17 @@ |
| 91 | 91 | } |
| 92 | 92 | |
| 93 | 93 | @media(max-width: 768px) { |
| 94 | + /* Buttons */ | |
| 95 | + .visible-xs-block { | |
| 96 | + margin: 0 auto; | |
| 97 | + } | |
| 98 | + | |
| 99 | + .btn-mobile { | |
| 100 | + padding: 5px 20px; | |
| 101 | + font-size: 12px; | |
| 102 | + } | |
| 103 | + /* End Buttons */ | |
| 104 | + | |
| 94 | 105 | .navbar .project_name{ |
| 95 | 106 | display: block !important; |
| 96 | 107 | } | ... | ... |
notifications/templates/notifications/_view.html
| ... | ... | @@ -7,7 +7,7 @@ |
| 7 | 7 | <div class="col-md-12"> |
| 8 | 8 | <div class="panel panel-default"> |
| 9 | 9 | <div class="pendency panel-body"> |
| 10 | - <ul class="breadcrumb pend-card"> | |
| 10 | + <ul class="breadcrumb pend-card hidden-sm hidden-xs"> | |
| 11 | 11 | <li> |
| 12 | 12 | <a href="{% url 'subjects:home' %}">{% trans 'Home' %}</a> |
| 13 | 13 | </li> |
| ... | ... | @@ -48,7 +48,7 @@ |
| 48 | 48 | </div> |
| 49 | 49 | {% if not has_subject_permissions %} |
| 50 | 50 | <div class="row text-center"> |
| 51 | - <a href="{{ notification.task.resource.access_link }}" class="btn btn-success btn-raised" {% if notification.task.resource.show_window %}target="_blank"{% endif %}> | |
| 51 | + <a href="{{ notification.task.resource.access_link }}" class="btn btn-success btn-mobile btn-raised" {% if notification.task.resource.show_window %}target="_blank"{% endif %}> | |
| 52 | 52 | {% if notification.level == 4 %} |
| 53 | 53 | {% trans 'Access the task' %} |
| 54 | 54 | {% else %} |
| ... | ... | @@ -57,8 +57,8 @@ |
| 57 | 57 | </a> |
| 58 | 58 | |
| 59 | 59 | {% if notification.level < 3 %} |
| 60 | - <button class="btn btn-default no_button">{% trans 'or' %}</button> | |
| 61 | - <button class="btn btn-default btn-raised" data-toggle="popover" data-placement="right"> | |
| 60 | + <button class="btn btn-default no_button btn-mobile visible-xs-block visible-sm-block">{% trans 'or' %}</button> | |
| 61 | + <button class="btn btn-default btn-raised btn-mobile" data-toggle="popover" data-placement="right"> | |
| 62 | 62 | {% if notification.level == 1 %} |
| 63 | 63 | {% trans 'Define goal to realization' %} |
| 64 | 64 | {% else %} | ... | ... |