Commit
This commit is contained in:
parent
3755d9b644
commit
50a319e1a6
2 changed files with 6 additions and 6 deletions
|
@ -266,18 +266,18 @@ button:hover, button:focus {
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn.btn-tertiary {
|
.btn.btn-primary {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background: var(--green);
|
background: var(--green);
|
||||||
border-color: var(--green);
|
border-color: var(--green);
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn.btn-tertiary:hover, .btn.btn-tertiary:focus {
|
.btn.btn-primary:hover, .btn.btn-primary:focus {
|
||||||
border-color: green !important;
|
border-color: green !important;
|
||||||
background: green !important;
|
background: green !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn.btn-tertiary .icon i {
|
.btn.btn-primary .icon i {
|
||||||
color: var(--green);
|
color: var(--green);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -144,7 +144,7 @@
|
||||||
{% block info_float %}
|
{% block info_float %}
|
||||||
{% if request.user.is_authenticated and request.in_contest_mode and submission_limit %}
|
{% if request.user.is_authenticated and request.in_contest_mode and submission_limit %}
|
||||||
{% if submissions_left > 0 %}
|
{% if submissions_left > 0 %}
|
||||||
<button onclick="redirectTo('{{ url('problem_submit', problem.code) }}')" class="btn btn-tertiary btn-block btn-round">
|
<button onclick="redirectTo('{{ url('problem_submit', problem.code) }}')" class="btn btn-primary btn-block btn-round">
|
||||||
<span>{{ _('Submit') }}</span>
|
<span>{{ _('Submit') }}</span>
|
||||||
<div class="icon icon-round d-flex align-items-center justify-content-center">
|
<div class="icon icon-round d-flex align-items-center justify-content-center">
|
||||||
<i class="fa fa-send"></i>
|
<i class="fa fa-send"></i>
|
||||||
|
@ -158,7 +158,7 @@
|
||||||
{% endtrans %}
|
{% endtrans %}
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
<button onclick="redirectTo('{{ url('problem_submit', problem.code) }}')" class="btn btn-tertiary btn-block btn-round">
|
<button onclick="redirectTo('{{ url('problem_submit', problem.code) }}')" class="btn btn-primary btn-block btn-round">
|
||||||
<span>{{ _('Submit') }}</span>
|
<span>{{ _('Submit') }}</span>
|
||||||
<div class="icon icon-round d-flex align-items-center justify-content-center">
|
<div class="icon icon-round d-flex align-items-center justify-content-center">
|
||||||
<i class="fa fa-send"></i>
|
<i class="fa fa-send"></i>
|
||||||
|
@ -167,7 +167,7 @@
|
||||||
<div class="no-submissions-left submissions-left">{{ _('0 submissions left') }}</div>
|
<div class="no-submissions-left submissions-left">{{ _('0 submissions left') }}</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<button onclick="redirectTo('{{ url('problem_submit', problem.code) }}')" class="btn btn-tertiary btn-block btn-round">
|
<button onclick="redirectTo('{{ url('problem_submit', problem.code) }}')" class="btn btn-primary btn-block btn-round">
|
||||||
<span>{{ _('Submit') }}</span>
|
<span>{{ _('Submit') }}</span>
|
||||||
<div class="icon icon-round d-flex align-items-center justify-content-center">
|
<div class="icon icon-round d-flex align-items-center justify-content-center">
|
||||||
<i class="fa fa-send"></i>
|
<i class="fa fa-send"></i>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue