Merge remote-tracking branch 'origin/PR-16'

remotes/origin/PR-39
PekopT 9 years ago
commit b2be27b58f
  1. 13
      assets/css/main.css
  2. 25
      wallets/templates/score-detail.html

@ -534,6 +534,19 @@ a, a:hover, a:focus, a:active {
letter-spacing: 1px;
}
.print-score {
float: right;
height: 40px;
background-color: #ffffc8;
width: 182px;
border: 2px solid #ff0000;
color: #0000ff;
font-size: 16px;
-webkit-box-shadow: 2px 2px 10px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 2px 2px 10px 0px rgba(0,0,0,0.75);
box-shadow: 2px 2px 10px 0px rgba(0,0,0,0.75);
}
.triangle1 {
position: absolute;
border: 30px solid transparent;

@ -2,6 +2,29 @@
{% load staticfiles %}
{% load thumbnail %}
{% block head_css %}
<style>
@media print {
footer, button, a, p, .wrTop, .titleScore, .triangle1 {
display: none !important;
}
.row {
border: 0 !important;
}
.col-lg-12 {
padding: 0;
}
.scoreButtons table {
width: 94% !important;
}
}
</style>
{% endblock %}
{% block content %}
@ -113,7 +136,7 @@
</div>
</div>
<button type="button" class="print-score" onClick="window.print()">Распечатать</button>
<table>
<tr>
<th>Дата</th>

Loading…
Cancel
Save