mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-22 14:13:21 +00:00
pedagogy: css class name consistency
This commit is contained in:
parent
7165a63e97
commit
3df73f4d1f
@ -1683,23 +1683,23 @@ $pedagogy-light-blue: #caf0ff;
|
|||||||
$pedagogy-white-text: #f0f0f0;
|
$pedagogy-white-text: #f0f0f0;
|
||||||
|
|
||||||
.pedagogy {
|
.pedagogy {
|
||||||
&.star_not_checked {
|
&.star-not-checked {
|
||||||
color : #f7f7f7;
|
color : #f7f7f7;
|
||||||
}
|
}
|
||||||
&.star_checked {
|
&.star-checked {
|
||||||
color: $pedagogy-orange;
|
color: $pedagogy-orange;
|
||||||
}
|
}
|
||||||
&.stars_grade {
|
&.stars-grade {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
@media screen and (max-width: $large-devices) {
|
@media screen and (max-width: $large-devices) {
|
||||||
&.stars_grade {
|
&.stars-grade {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
&.star_checked {
|
&.star-checked {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
&.star_not_checked {
|
&.star-not-checked {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1724,25 +1724,25 @@ $pedagogy-white-text: #f0f0f0;
|
|||||||
margin: 0px;
|
margin: 0px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
.input_search {
|
.input-search {
|
||||||
background: $pedagogy-light-blue;
|
background: $pedagogy-light-blue;
|
||||||
width: 300px;
|
width: 300px;
|
||||||
height: 21px;
|
height: 21px;
|
||||||
}
|
}
|
||||||
.button_search {
|
.button-search {
|
||||||
background: $pedagogy-orange;
|
background: $pedagogy-orange;
|
||||||
color: white;
|
color: white;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
}
|
}
|
||||||
.radio_guide input[type="radio"],input[type="checkbox"] {
|
.radio-guide input[type="radio"],input[type="checkbox"] {
|
||||||
display:none;
|
display:none;
|
||||||
}
|
}
|
||||||
.radio_guide {
|
.radio-guide {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
.radio_guide label {
|
.radio-guide label {
|
||||||
display:inline-block;
|
display:inline-block;
|
||||||
background-color: $pedagogy-blue;
|
background-color: $pedagogy-blue;
|
||||||
padding: 10px 20px;
|
padding: 10px 20px;
|
||||||
@ -1750,13 +1750,13 @@ $pedagogy-white-text: #f0f0f0;
|
|||||||
font-size:16px;
|
font-size:16px;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
.radio_guide input[type="radio"]:checked + label {
|
.radio-guide input[type="radio"]:checked + label {
|
||||||
background-color:$pedagogy-orange;
|
background-color:$pedagogy-orange;
|
||||||
}
|
}
|
||||||
.radio_guide input[type="checkbox"]:checked + label {
|
.radio-guide input[type="checkbox"]:checked + label {
|
||||||
background-color:$pedagogy-orange;
|
background-color:$pedagogy-orange;
|
||||||
}
|
}
|
||||||
.radio_guide label:hover {
|
.radio-guide label:hover {
|
||||||
background-color: $pedagogy-hover-blue;
|
background-color: $pedagogy-hover-blue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -15,10 +15,10 @@
|
|||||||
<a href="{{ url('pedagogy:moderation') }}">{% trans %}Moderate comments{% endtrans %}</a>
|
<a href="{{ url('pedagogy:moderation') }}">{% trans %}Moderate comments{% endtrans %}</a>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<input class="input_search" type="text" name="search">
|
<input class="input-search" type="text" name="search">
|
||||||
<button class="button_search">{% trans %}Search{% endtrans %}</button>
|
<button class="button-search">{% trans %}Search{% endtrans %}</button>
|
||||||
</p>
|
</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="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="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>
|
<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="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>
|
<input type="radio" name="department" id="radioTC" value="TC"><label for="radioTC">{% trans %}TC{% endtrans %}</label>
|
||||||
</div>
|
</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="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="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>
|
<input type="radio" name="credit_type" id="radioEC" value="EC"><label for="radioEC">{% trans %}EC{% endtrans %}</label>
|
||||||
|
@ -3,12 +3,12 @@
|
|||||||
{% if grade >= 0 %}
|
{% if grade >= 0 %}
|
||||||
{% for i in range(5) %}
|
{% for i in range(5) %}
|
||||||
{% if i <= grade %}
|
{% if i <= grade %}
|
||||||
<span class="fa fa-star pedagogy star_checked"></span>
|
<span class="fa fa-star pedagogy star-checked"></span>
|
||||||
{% else %}
|
{% else %}
|
||||||
<span class="fa fa-star pedagogy star_not_checked"></span>
|
<span class="fa fa-star pedagogy star-not-checked"></span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<span class="pedagogy stars_grade grade-text">{{ grade + 1 }}/5</span>
|
<span class="pedagogy stars-grade grade-text">{{ grade + 1 }}/5</span>
|
||||||
{% else %}
|
{% else %}
|
||||||
<span class="grade-text"> {% trans %} not rated {% endtrans %} </span>
|
<span class="grade-text"> {% trans %} not rated {% endtrans %} </span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user