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,6 +91,17 @@ | ||
91 | } | 91 | } |
92 | 92 | ||
93 | @media(max-width: 768px) { | 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 | .navbar .project_name{ | 105 | .navbar .project_name{ |
95 | display: block !important; | 106 | display: block !important; |
96 | } | 107 | } |
notifications/templates/notifications/_view.html
@@ -7,7 +7,7 @@ | @@ -7,7 +7,7 @@ | ||
7 | <div class="col-md-12"> | 7 | <div class="col-md-12"> |
8 | <div class="panel panel-default"> | 8 | <div class="panel panel-default"> |
9 | <div class="pendency panel-body"> | 9 | <div class="pendency panel-body"> |
10 | - <ul class="breadcrumb pend-card"> | 10 | + <ul class="breadcrumb pend-card hidden-sm hidden-xs"> |
11 | <li> | 11 | <li> |
12 | <a href="{% url 'subjects:home' %}">{% trans 'Home' %}</a> | 12 | <a href="{% url 'subjects:home' %}">{% trans 'Home' %}</a> |
13 | </li> | 13 | </li> |
@@ -48,7 +48,7 @@ | @@ -48,7 +48,7 @@ | ||
48 | </div> | 48 | </div> |
49 | {% if not has_subject_permissions %} | 49 | {% if not has_subject_permissions %} |
50 | <div class="row text-center"> | 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 | {% if notification.level == 4 %} | 52 | {% if notification.level == 4 %} |
53 | {% trans 'Access the task' %} | 53 | {% trans 'Access the task' %} |
54 | {% else %} | 54 | {% else %} |
@@ -57,8 +57,8 @@ | @@ -57,8 +57,8 @@ | ||
57 | </a> | 57 | </a> |
58 | 58 | ||
59 | {% if notification.level < 3 %} | 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 | {% if notification.level == 1 %} | 62 | {% if notification.level == 1 %} |
63 | {% trans 'Define goal to realization' %} | 63 | {% trans 'Define goal to realization' %} |
64 | {% else %} | 64 | {% else %} |