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%;
|
||||
}
|
||||
|
||||
.btn.btn-tertiary {
|
||||
.btn.btn-primary {
|
||||
color: #fff;
|
||||
background: 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;
|
||||
background: green !important;
|
||||
}
|
||||
|
||||
.btn.btn-tertiary .icon i {
|
||||
.btn.btn-primary .icon i {
|
||||
color: var(--green);
|
||||
}
|
||||
|
||||
|
|
|
@ -144,7 +144,7 @@
|
|||
{% block info_float %}
|
||||
{% if request.user.is_authenticated and request.in_contest_mode and submission_limit %}
|
||||
{% 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>
|
||||
<div class="icon icon-round d-flex align-items-center justify-content-center">
|
||||
<i class="fa fa-send"></i>
|
||||
|
@ -158,7 +158,7 @@
|
|||
{% endtrans %}
|
||||
</div>
|
||||
{% 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>
|
||||
<div class="icon icon-round d-flex align-items-center justify-content-center">
|
||||
<i class="fa fa-send"></i>
|
||||
|
@ -167,7 +167,7 @@
|
|||
<div class="no-submissions-left submissions-left">{{ _('0 submissions left') }}</div>
|
||||
{% endif %}
|
||||
{% 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>
|
||||
<div class="icon icon-round d-flex align-items-center justify-content-center">
|
||||
<i class="fa fa-send"></i>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue