1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-12-29 11:30:31 +00:00

- Changed link color on download button to white

- removed file icons on download button
- removed shadow style on download button
This commit is contained in:
OzzieIsaacs 2017-07-08 10:57:40 +02:00
parent 6b71e77436
commit b876a03f26
4 changed files with 18 additions and 82 deletions

View File

@ -22,17 +22,7 @@ a{color: #45b29d}a:hover{color: #444;}
.container-fluid .book .meta .rating{margin-top:5px}.rating .glyphicon-star{color:#999}.rating .glyphicon-star.good{color:#45b29d}
.navbar-brand{font-family: 'Grand Hotel', cursive; font-size: 35px; color: #45b29d !important;}
.more-stuff{margin-top: 20px; padding-top: 20px;border-top: 1px solid #ccc}
@media all and (min-height: 100vh){
.more-stuff{
position: fixed;
bottom: 2em;
height: 20vh;
filter:drop-shadow(1em 1em 1em black);
}
body {
padding-bottom: 20vh;
}
}
.more-stuff>li{margin-bottom: 10px;}
.navbar-collapse.in .navbar-nav{margin: 0;}
span.glyphicon.glyphicon-tags {padding-right: 5px;color: #999;vertical-align: text-top;}
@ -41,7 +31,6 @@ span.glyphicon.glyphicon-tags {padding-right: 5px;color: #999;vertical-align: te
.book-meta .identifiers a {display: inline;}
.container-fluid .single .cover img {
border: 1px solid #fff;
/*border-radius: 7px;*/
box-sizeing: border-box;
-webkit-box-shadow: 0 5px 8px -6px #777;
-moz-box-shadow: 0 5px 8px -6px #777;
@ -55,7 +44,7 @@ span.glyphicon.glyphicon-tags {padding-right: 5px;color: #999;vertical-align: te
.btn-file input[type=file] {position: absolute; top: 0; right: 0; min-width: 100%; min-height: 100%; font-size: 100px; text-align: right; filter: alpha(opacity=0); opacity: 0; outline: none; background: white; cursor: inherit; display: block;}
.btn-toolbar .btn,.discover .btn { margin-bottom: 5px; }
.button-link {color:#fff;}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open .dropdown-toggle.btn-primary{ background-color: #1C5484; }
.btn-primary.disabled, .btn-primary[disabled], fieldset[disabled] .btn-primary, .btn-primary.disabled:hover, .btn-primary[disabled]:hover, fieldset[disabled] .btn-primary:hover, .btn-primary.disabled:focus, .btn-primary[disabled]:focus, fieldset[disabled] .btn-primary:focus, .btn-primary.disabled:active, .btn-primary[disabled]:active, fieldset[disabled] .btn-primary:active, .btn-primary.disabled.active, .btn-primary[disabled].active, fieldset[disabled] .btn-primary.active { background-color: #89B9E2; }
.btn-toolbar>.btn+.btn, .btn-toolbar>.btn-group+.btn, .btn-toolbar>.btn+.btn-group, .btn-toolbar>.btn-group+.btn-group { margin-left:0px; }
@ -63,56 +52,4 @@ span.glyphicon.glyphicon-tags {padding-right: 5px;color: #999;vertical-align: te
.spinner {margin:0 41%;}
.spinner2 {margin:0 41%;}
* .ebook-icon{
background-size: contain;
background-repeat: no-repeat;
background-position: center;
}
.ebook-icon.ebook-epub{
background-image:
url(
data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDEyOCAxMjgiIGlkPSLQodC70L7QuV8xIiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCAxMjggMTI4IiB4bWw6c3BhY2U9InByZXNlcnZlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48Zz48Zz48cGF0aCBkPSJNMTA5LDM0djc1YzAsOC4zLTYuNywxNS0xNSwxNUgzNGMtOC4zLDAtMTUtNi43LTE1LTE1VjE5YzAtOC4zLDYuNy0xNSwxNS0xNWg0NUwxMDksMzR6IiBmaWxsPSIjRjZGM0UwIi8+PC9nPjxnPjxwYXRoIGQ9Ik05NCwxMjUuMkg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PSIjMkQyRTJEIiBzdHJva2U9IiMyRDJFMkQiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIi8+PHBhdGggZD0iTTkwLjQsNzAuNSAgICBjMCwwLjYtMC40LDEtMS4yLDFjLTAuOCwwLTEuMy0wLjQtMS4zLTEuMVY1MC40YzAtMC44LDAuNS0xLjEsMS4zLTEuMWMwLjcsMCwxLjIsMC40LDEuMiwxLjF2Ni4yYzAsMC42LTAuMSwxLjQtMC4xLDIuMSAgICBjMS0yLDIuNy0zLjIsNS4zLTMuMmM0LjIsMCw2LjcsMy4xLDYuNyw4LjFjMCw1LTIuNiw4LjMtNi44LDguM2MtMi42LDAtNC4zLTEuMy01LjItMy4yYzAuMSwwLjQsMC4xLDEsMC4xLDEuNFY3MC41eiBNOTAuMyw2My42ICAgIGMwLDMuNSwxLjgsNiw0LjgsNmMyLjksMCw0LjUtMi40LDQuNS02LjFjMC0zLjctMS42LTYtNC40LTZDOTIuMSw1Ny42LDkwLjMsNjAuMSw5MC4zLDYzLjZ6IiBmaWxsPSIjMkQyRTJEIiBzdHJva2U9IiMyRDJFMkQiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIi8+PC9nPjwvZz48L3N2Zz4=
)
;
padding: 1em;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
}
.ebook-icon.ebook-pdf{
background-image:
url(
data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGVuYWJsZS1iYWNrZ3JvdW5kPSJu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HJva2U9IiMyRDJFMkQiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIi8+PHBhdGggZD0iTTgxLjcsNTMuNyAgICBjMC0zLjYsMi4yLTQuNiw0LjQtNC42YzAuOSwwLDEuNiwwLjEsMi40LDAuM2MwLjUsMC4yLDAuOCwwLjYsMC44LDFjMCwwLjIsMCwwLjQtMC4xLDAuNWMtMC4yLDAuNS0wLjYsMC44LTEuMSwwLjggICAgYy0wLjEsMC0wLjMsMC0wLjUtMC4xYy0wLjUtMC4yLTEtMC4zLTEuNi0wLjNjLTEsMC0xLjgsMC42LTEuOCwyLjZ2MS43aDMuNGMwLjcsMCwxLDAuNSwxLDEuMmMwLDAuNi0wLjQsMS4xLTEsMS4xaC0zLjR2MTIuNSAgICBjMCwwLjgtMC41LDEuMS0xLjMsMS4xYy0wLjgsMC0xLjMtMC40LTEuMy0xLjFWNThoLTIuNGMtMC43LDAtMS0wLjQtMS0xLjFzMC4zLTEuMiwxLTEuMmgyLjRWNTMuN3oiIGZpbGw9IiMyRDJFMkQiIHN0cm9rZT0iIzJEMkUyRCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiLz48L2c+PC9nPjwvc3ZnPg==
)
;
padding: 1em;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
}
.ebook-icon.ebook-fb2{
background-image:
url(
data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDEyOC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MC41LDEsMS4ycy0wLjQsMS4zLTEsMS4zSDgwLjJjLTEuMSwwLTEuNy0wLjYtMS43LTEuN2MwLTEsMC42LTIuNCwxLjEtMy4yYzEtMS45LDIuNy0zLjcsNS40LTUuNGwxLjktMS4zICAgIGMyLjgtMS44LDQtMi45LDQtNS4xYzAtMi4xLTEuOC0zLjQtNC40LTMuNGMtMy4zLDAtNC40LDEuOS00LjksMy45Yy0wLjIsMC42LTAuNywwLjktMS4yLDAuOWMtMC4xLDAtMC4zLDAtMC40LDAgICAgYy0wLjYtMC4xLTEuMS0wLjUtMS4xLTEuMmMwLTAuMSwwLTAuMywwLjEtMC40YzAuMy0xLjIsMC45LTIuNSwxLjktMy40YzEuMy0xLjIsMy4xLTIsNS44LTJjNC4zLDAsNywyLjIsNyw1LjggICAgYzAsMy40LTIuMiw1LTQuNyw2LjZsLTEuOSwxLjFjLTMuMSwyLTQuOSwzLjgtNS42LDYuNEg5My4xeiIgZmlsbD0iIzJEMkUyRCIgc3Ryb2tlPSIjMkQyRTJEIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIvPjwvZz48L2c+PC9zdmc+
)
;
padding: 1em;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
}
.ebook-icon.ebook-mobi{
background-image:
url(
data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDEyOCAxMjgiIGlkPSLQodC70L7QuV8xIiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCAxMjggMTI4IiB4bWw6c3BhY2U9InByZXNlcnZ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repeat: no-repeat;
background-position: center;
}

View File

@ -130,18 +130,29 @@
<div class="btn-group" role="group" aria-label="Download, send to Kindle, reading">
{% if g.user.role_download() %}
<div class="btn-group" role="group">
{% if entry.data|length < 3 %}
<button id="btnGroupDrop1" type="button" class="btn btn-primary">
{{_('Download')}} :
</button>
{% for format in entry.data %}
<button id="btnGroupDrop1{{format.format|lower}}" type="button" class="btn btn-primary">
<a href="{{ url_for('get_download_link_ext', book_id=entry.id, book_format=format.format|lower, anyname=entry.id|string+'.'+format.format) }}">
<a class="button-link" href="{{ url_for('get_download_link_ext', book_id=entry.id, book_format=format.format|lower, anyname=entry.id|string+'.'+format.format) }}">
<span class="glyphicon glyphicon-download"></span>
{{format.format}}
<span class="ebook-icon ebook-{{format.format|lower}}"></span>
</a>
</button>
{%endfor%}
{% endfor %}
{% else %}
<button id="btnGroupDrop1" type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="glyphicon glyphicon-download"></span> {{_('Download')}}
<span class="caret"></span>
</button>
<ul class="dropdown-menu" aria-labelledby="btnGroupDrop1">
{% for format in entry.data %}
<li><a href="{{ url_for('get_download_link_ext', book_id=entry.id, book_format=format.format|lower, anyname=entry.id|string+'.'+format.format) }}">{{format.format}}</a></li>
{% endfor %}
</ul>
{% endif %}
</div>
{% endif %}

View File

@ -22,7 +22,9 @@
</div>
<div class="meta">
<p class="title">{{entry.title|shortentitle}}</p>
{% if entry.authors|length > 0 %}
<p class="author"><a href="{{url_for('author', book_id=entry.authors[0].id) }}">{{entry.authors[0].name}}</a></p>
{% endif %}
{% if entry.ratings.__len__() > 0 %}
<div class="rating">
{% for number in range((entry.ratings[0].rating/2)|int(2)) %}

View File

@ -88,18 +88,4 @@
</tr>
</tbody>
</table>
<table id="libs" class="table">
<thead>
<tr>
<th>{{_('File License')}}</th>
<th>{{_('License Type')}}</th>
</tr>
</thead>
<tbody>
<tr>
<th><a href="//www.iconfinder.com/iconsets/document-file">File Document Icon</a> By <a href="//www.iconfinder.com/Zerg">Sergei Kokota</a></th>
<td><a href="//creativecommons.org/licenses/by/3.0/">Creative Commons (Attribution 3.0 Unported)</a></td>
</tr>
</tbody>
</table>
{% endblock %}