forked from MarseyWorld/MarseyWorld
convert the last remaining 2 <a> tags without href
parent
5719688178
commit
edbbc5b672
|
@ -5034,28 +5034,25 @@ img[glow]:not([data-src]) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.awards-wrapper a {
|
.awards-wrapper > div {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
padding: 15px !important;
|
padding: 15px !important;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
text-transform: none!important;
|
text-transform: none!important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.awards-wrapper a i {
|
.awards-wrapper > div > i {
|
||||||
font-size: 25px;
|
font-size: 25px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.awards-wrapper a.disabled {
|
.awards-wrapper > div.disabled {
|
||||||
opacity: 0.6;
|
opacity: 0.6;
|
||||||
}
|
}
|
||||||
|
|
||||||
.awards-wrapper a:hover:not(.disabled), .awards-wrapper .picked {
|
.awards-wrapper > div:hover:not(.disabled), .awards-wrapper .picked {
|
||||||
background-color: var(--primary)!important;
|
background-color: var(--primary)!important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.awards-wrapper input[type="radio"]:checked+a {
|
|
||||||
background-color: var(--primary)!important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.award-columns {
|
.award-columns {
|
||||||
column-count: 2;
|
column-count: 2;
|
||||||
|
|
|
@ -12,18 +12,18 @@
|
||||||
<div id="awardModalBody" class="modal-body mb-3">
|
<div id="awardModalBody" class="modal-body mb-3">
|
||||||
<div class="card-columns award-columns awards-wrapper">
|
<div class="card-columns award-columns awards-wrapper">
|
||||||
{% for award in v.user_awards %}
|
{% for award in v.user_awards %}
|
||||||
<a data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{award.description}}" id="{{award.kind}}" class="card" onclick="pick('{{award.kind}}', {{award.price}}*{{v.discount}} <= {{v.procoins}}, {{award.price}}*{{v.discount}} <= {{v.coins}})">
|
<div data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{award.description}}" id="{{award.kind}}" class="card" onclick="pick('{{award.kind}}', {{award.price}}*{{v.discount}} <= {{v.procoins}}, {{award.price}}*{{v.discount}} <= {{v.coins}})">
|
||||||
<i class="{{award.icon}} {{award.color}}"></i>
|
<i class="{{award.icon}} {{award.color}}"></i>
|
||||||
<div class="pt-2" style="font-weight: bold; font-size: 14px; color:#E1E1E1">{{award.title}}</div>
|
<div class="pt-2" style="font-weight: bold; font-size: 14px; color:#E1E1E1">{{award.title}}</div>
|
||||||
<div class="text-muted"><span id="{{award.kind}}-owned">{{award.owned}}</span> owned</div>
|
<div class="text-muted"><span id="{{award.kind}}-owned">{{award.owned}}</span> owned</div>
|
||||||
</a>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% if v.user_awards|length % 2 %}
|
{% if v.user_awards|length % 2 %}
|
||||||
<a class="card disabled d-md-none" style="border:none">
|
<div class="card disabled d-md-none" style="border:none">
|
||||||
<i class="fas fa-volume-mute" style="opacity:0"></i>
|
<i class="fas fa-volume-mute" style="opacity:0"></i>
|
||||||
<div class="pt-2" style="font-weight: bold; font-size: 14px; color:#E1E1E1"> </div>
|
<div class="pt-2" style="font-weight: bold; font-size: 14px; color:#E1E1E1"> </div>
|
||||||
<div class="text-muted"> </div>
|
<div class="text-muted"> </div>
|
||||||
</a>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<label id="notelabel" for="note" class="pt-4">Note (optional):</label>
|
<label id="notelabel" for="note" class="pt-4">Note (optional):</label>
|
||||||
|
|
Loading…
Reference in New Issue