Commit 3df73f4d authored by Sli's avatar Sli

pedagogy: css class name consistency

parent 7165a63e
Pipeline #1877 passed with stage
in 41 minutes and 17 seconds
......@@ -1683,23 +1683,23 @@ $pedagogy-light-blue: #caf0ff;
$pedagogy-white-text: #f0f0f0;
.pedagogy {
&.star_not_checked {
&.star-not-checked {
color : #f7f7f7;
}
&.star_checked {
&.star-checked {
color: $pedagogy-orange;
}
&.stars_grade {
&.stars-grade {
display: none;
}
@media screen and (max-width: $large-devices) {
&.stars_grade {
&.stars-grade {
display: block;
}
&.star_checked {
&.star-checked {
display: none;
}
&.star_not_checked {
&.star-not-checked {
display: none;
}
}
......@@ -1724,25 +1724,25 @@ $pedagogy-white-text: #f0f0f0;
margin: 0px;
width: 100%;
.input_search {
.input-search {
background: $pedagogy-light-blue;
width: 300px;
height: 21px;
}
.button_search {
.button-search {
background: $pedagogy-orange;
color: white;
font-weight: bold;
margin-left: 20px;
}
.radio_guide input[type="radio"],input[type="checkbox"] {
.radio-guide input[type="radio"],input[type="checkbox"] {
display:none;
}
.radio_guide {
.radio-guide {
margin-top: 10px;
color: white;
}
.radio_guide label {
.radio-guide label {
display:inline-block;
background-color: $pedagogy-blue;
padding: 10px 20px;
......@@ -1750,13 +1750,13 @@ $pedagogy-white-text: #f0f0f0;
font-size:16px;
border-radius: 4px;
}
.radio_guide input[type="radio"]:checked + label {
.radio-guide input[type="radio"]:checked + label {
background-color:$pedagogy-orange;
}
.radio_guide input[type="checkbox"]:checked + label {
.radio-guide input[type="checkbox"]:checked + label {
background-color:$pedagogy-orange;
}
.radio_guide label:hover {
.radio-guide label:hover {
background-color: $pedagogy-hover-blue;
}
......
......@@ -15,10 +15,10 @@
<a href="{{ url('pedagogy:moderation') }}">{% trans %}Moderate comments{% endtrans %}</a>
</p>
<p>
<input class="input_search" type="text" name="search">
<button class="button_search">{% trans %}Search{% endtrans %}</button>
<input class="input-search" type="text" name="search">
<button class="button-search">{% trans %}Search{% endtrans %}</button>
</p>
<div class="radio_guide">
<div class="radio-guide">
<input type="radio" name="department" id="radioEDIM" value="EDIM"><label for="radioEDIM">{% trans %}EDIM{% endtrans %}</label>
<input type="radio" name="department" id="radioEE" value="EE"><label for="radioEE">{% trans %}ENERGIE{% endtrans %}</label>
<input type="radio" name="department" id="radioIMSI" value="IMSI"><label for="radioIMSI">{% trans %}IMSI{% endtrans %}</label>
......@@ -27,7 +27,7 @@
<input type="radio" name="department" id="radioHUMA" value="HUMA"><label for="radioHUMA">{% trans %}HUMA{% endtrans %}</label>
<input type="radio" name="department" id="radioTC" value="TC"><label for="radioTC">{% trans %}TC{% endtrans %}</label>
</div>
<div class="radio_guide">
<div class="radio-guide">
<input type="radio" name="credit_type" id="radioCS" value="CS"><label for="radioCS">{% trans %}CS{% endtrans %}</label>
<input type="radio" name="credit_type" id="radioTM" value="TM"><label for="radioTM">{% trans %}TM{% endtrans %}</label>
<input type="radio" name="credit_type" id="radioEC" value="EC"><label for="radioEC">{% trans %}EC{% endtrans %}</label>
......
......@@ -3,12 +3,12 @@
{% if grade >= 0 %}
{% for i in range(5) %}
{% if i <= grade %}
<span class="fa fa-star pedagogy star_checked"></span>
<span class="fa fa-star pedagogy star-checked"></span>
{% else %}
<span class="fa fa-star pedagogy star_not_checked"></span>
<span class="fa fa-star pedagogy star-not-checked"></span>
{% endif %}
{% endfor %}
<span class="pedagogy stars_grade grade-text">{{ grade + 1 }}/5</span>
<span class="pedagogy stars-grade grade-text">{{ grade + 1 }}/5</span>
{% else %}
<span class="grade-text"> {% trans %} not rated {% endtrans %} </span>
{% endif %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment