pedagogy: wrap all css inside a class named pedagogy to avoid name clashes

This commit is contained in:
Antoine Bartuccio 2019-07-08 15:25:28 +02:00
parent c15ea345dd
commit fd1f89de1d
Signed by: klmp200
GPG Key ID: E7245548C53F904B
3 changed files with 422 additions and 420 deletions

View File

@ -1683,6 +1683,8 @@ $pedagogy-light-blue: #caf0ff;
$pedagogy-white-text: #f0f0f0; $pedagogy-white-text: #f0f0f0;
.pedagogy { .pedagogy {
font-family: "Fira Sans";
&.star-not-checked { &.star-not-checked {
color : #f7f7f7; color : #f7f7f7;
margin-bottom: 0px; margin-bottom: 0px;
@ -1704,10 +1706,8 @@ $pedagogy-white-text: #f0f0f0;
margin-right: 5px; margin-right: 5px;
} }
} }
}
#dynamic_view { #dynamic_view {
font-family: "Fira Sans";
font-size: 1.1em; font-size: 1.1em;
table { table {
@ -1721,7 +1721,6 @@ $pedagogy-white-text: #f0f0f0;
} }
#search_form { #search_form {
font-family: "Fira Sans";
margin: 0px; margin: 0px;
width: 100%; width: 100%;
@ -1766,8 +1765,7 @@ $pedagogy-white-text: #f0f0f0;
} }
} }
#pedagogy { #uv_detail {
font-family: "Fira Sans";
color: #062f38; color: #062f38;
.uv-quick-info-container { .uv-quick-info-container {
@ -2074,3 +2072,4 @@ $pedagogy-white-text: #f0f0f0;
} }
} }
} }
}

View File

@ -6,6 +6,7 @@
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<div class="pedagogy">
<form id="search_form" action="{{ url('pedagogy:guide') }}" method="get"> <form id="search_form" action="{{ url('pedagogy:guide') }}" method="get">
{% if can_create_uv(user) %} {% if can_create_uv(user) %}
<p> <p>
@ -77,7 +78,7 @@
{% endfor %} {% endfor %}
</tbody> </tbody>
</table> </table>
</div>
<script> <script>
function autofillCheckboxRadio(name){ function autofillCheckboxRadio(name){
if (urlParams.has(name)){ $("input[name='" + name + "']").each(function(){ if (urlParams.has(name)){ $("input[name='" + name + "']").each(function(){

View File

@ -7,7 +7,8 @@
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<div id="pedagogy"> <div class="pedagogy">
<div id="uv_detail">
<p id="return_noscript"><a href="{{ url('pedagogy:guide') }}">{% trans %}Back{% endtrans %}</a></p> <p id="return_noscript"><a href="{{ url('pedagogy:guide') }}">{% trans %}Back{% endtrans %}</a></p>
<button id="return_js" onclick='(function(){ <button id="return_js" onclick='(function(){
// If comes from the guide page, go back with history // If comes from the guide page, go back with history
@ -192,6 +193,7 @@
{% endif %} {% endif %}
</div> </div>
</div>
<script type="text/javascript"> <script type="text/javascript">
$("#return_noscript").hide(); $("#return_noscript").hide();