Update disabled button
This commit is contained in:
parent
28a913aee8
commit
cf2e3fba11
2 changed files with 7 additions and 1 deletions
|
@ -152,6 +152,12 @@ button:hover, button:focus {
|
||||||
border-color: var(--green);
|
border-color: var(--green);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.btn.btn-disabled {
|
||||||
|
color: #fff;
|
||||||
|
background: gray;
|
||||||
|
border-color: gray;
|
||||||
|
}
|
||||||
|
|
||||||
.btn.btn-primary:hover, .btn.btn-primary:focus {
|
.btn.btn-primary:hover, .btn.btn-primary:focus {
|
||||||
border-color: green !important;
|
border-color: green !important;
|
||||||
background: green !important;
|
background: green !important;
|
||||||
|
|
|
@ -157,7 +157,7 @@
|
||||||
{% endtrans %}
|
{% endtrans %}
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
<button onclick="redirectTo('{{ url('problem_submit', problem.code) }}')" class="btn btn-primary btn-block btn-round">
|
<button class="btn btn-disabled 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