From b876a03f2643cd036b47e7486ace1ae0590c77cb Mon Sep 17 00:00:00 2001 From: OzzieIsaacs Date: Sat, 8 Jul 2017 10:57:40 +0200 Subject: [PATCH] - Changed link color on download button to white - removed file icons on download button - removed shadow style on download button --- cps/static/css/style.css | 67 ++------------------------------------- cps/templates/detail.html | 17 ++++++++-- cps/templates/shelf.html | 2 ++ cps/templates/stats.html | 14 -------- 4 files changed, 18 insertions(+), 82 deletions(-) diff --git a/cps/static/css/style.css b/cps/static/css/style.css index 0d9df899..dad0d1d2 100644 --- a/cps/static/css/style.css +++ b/cps/static/css/style.css @@ -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/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDEyOCAxMjgiIGlkPSLQodC70L7QuV8xIiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCAxMjggMTI4IiB4bWw6c3BhY2U9InByZXNlcnZlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48Zz48Zz48cGF0aCBkPSJNMTA5LDM0djc1YzAsOC4zLTYuNywxNS0x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MWMtMC44LDAtMS4zLTAuMy0xLjMtMXYtMC44YzAtMC4zLDAuMS0wLjksMC4yLTEuM2MtMC45LDItMi41LDMuNC01LjMsMy40ICAgIGMtMy4zLDAtNS4yLTIuMS01LjItNS41VjU2Ljd6IiBmaWxsPSIjMkQyRTJEIiBzdHJva2U9IiMyRDJFMkQiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIi8+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/PjwhRE9DVFlQRSBzdmcgIFBVQk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E02NCw2My41YzAsMy43LDEuNiw2LjEsNC41LDYuMWMzLDAsNC44LTIuNiw0LjgtNi4xYzAtMy40LTEuNy02LTQuOC02QzY1LjcsNTcuNiw2NCw1OS45LDY0LDYzLjV6IiBmaWxsPSIjMkQyRTJEIiBzdHJva2U9IiMyRDJFMkQiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIi8+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/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8v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U9IiMyRDJFMkQiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIi8+PHBhdGggZD0iTTkzLjEsNjkgICAgYzAuNywwLDEsMC41LDEsMS4ycy0wLjQsMS4zLTEsMS4zSDgwLjJjLTEuMSwwLTEuNy0wLjYtMS43LTEuN2MwLTEsMC42LTIuNCwxLjEtMy4yYzEtMS45LDIuNy0zLjcsNS40LTUuNGwxLjktMS4zICAgIGMyLjgtMS44LDQtMi45LDQtNS4xYzAtMi4xLTEuOC0zLjQtNC40LTMuNGMtMy4zLDAtNC40LDEuOS00LjksMy45Yy0wLjIsMC42LTAuNywwLjktMS4yLDAuOWMtMC4xLDAtMC4zLDAtMC40LDAgICAgYy0wLjYtMC4xLTEuMS0wLjUtMS4xLTEuMmMwLTAuMSwwLTAuMywwLjEtMC40YzAuMy0xLjIsMC45LTIuNSwxLjktMy40YzEuMy0xLjIsMy4xLTIsNS44LTJjNC4zLDAsNywyLjIsNyw1LjggICAgYzAsMy40LTIuMiw1LTQuNyw2LjZsLTEuOSwxLjFjLTMuMSwyLTQuOSwzLjgtNS42LDYuNEg5My4xeiIgZmlsbD0iIzJEMkUyRCIgc3Ryb2tlPSIjMkQyRTJEIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIvPjwvZz48L2c+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/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZ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gc3Ryb2tlPSIjMkQyRTJEIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIvPjwvZz48L2c+PC9zdmc+ - ) - ; - padding: 1em; - background-size: contain; - background-repeat: no-repeat; - background-position: center; -} diff --git a/cps/templates/detail.html b/cps/templates/detail.html index c53c5fd3..bf9634df 100644 --- a/cps/templates/detail.html +++ b/cps/templates/detail.html @@ -130,18 +130,29 @@
{% if g.user.role_download() %}
+ {% if entry.data|length < 3 %} {% for format in entry.data %} - {%endfor%} + {% endfor %} + {% else %} + + + {% endif %}
{% endif %} diff --git a/cps/templates/shelf.html b/cps/templates/shelf.html index b6e5d854..a8c52ce8 100644 --- a/cps/templates/shelf.html +++ b/cps/templates/shelf.html @@ -22,7 +22,9 @@

{{entry.title|shortentitle}}

+ {% if entry.authors|length > 0 %}

{{entry.authors[0].name}}

+ {% endif %} {% if entry.ratings.__len__() > 0 %}
{% for number in range((entry.ratings[0].rating/2)|int(2)) %} diff --git a/cps/templates/stats.html b/cps/templates/stats.html index 6745e908..83f2fa98 100644 --- a/cps/templates/stats.html +++ b/cps/templates/stats.html @@ -88,18 +88,4 @@ - - - - - - - - - - - - - -
{{_('File License')}}{{_('License Type')}}
File Document Icon By Sergei KokotaCreative Commons (Attribution 3.0 Unported)
{% endblock %}