Merge branch 'newfoundation' into jk/ansible-mysql-connector

jk/ansible-mysql-connector
John Kelly 2018-05-15 20:42:17 -04:00 committed by GitHub
commit 08bff0440e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
43 changed files with 365 additions and 271 deletions

1
.gitignore vendored
View File

@ -15,6 +15,5 @@ cache/*
celerybeat.pid celerybeat.pid
celerybeat-schedule celerybeat-schedule
.gitignore~ .gitignore~
static/scss/**/*.css
static/scss/**/*.css.map static/scss/**/*.css.map
*.retry *.retry

View File

@ -9,7 +9,6 @@
<link type="text/css" rel="stylesheet" href="{% sass_src 'scss/landingpage4.scss' %}" /> <link type="text/css" rel="stylesheet" href="{% sass_src 'scss/landingpage4.scss' %}" />
<link type="text/css" rel="stylesheet" href="{% sass_src 'scss/book_panel2.scss' %}" /> <link type="text/css" rel="stylesheet" href="{% sass_src 'scss/book_panel2.scss' %}" />
<link type="text/css" rel="stylesheet" href="{% sass_src 'scss/faq.scss' %}" /> <link type="text/css" rel="stylesheet" href="{% sass_src 'scss/faq.scss' %}" />
<script type="text/javascript" src="/static/js/greenpanel.js"></script>
{% endblock %} {% endblock %}

View File

@ -17,7 +17,6 @@ location.hash = "#2";
</script> </script>
<script type="text/javascript" src="/static/js/wishlist.js"></script> <script type="text/javascript" src="/static/js/wishlist.js"></script>
<script type="text/javascript" src="{{ jquery_ui_home }}"></script> <script type="text/javascript" src="{{ jquery_ui_home }}"></script>
<script type="text/javascript" src="/static/js/greenpanel.js"></script>
<script type="text/javascript" src="/static/js/toggle.js"></script> <script type="text/javascript" src="/static/js/toggle.js"></script>
{% endblock %} {% endblock %}
{% block topsection %} {% block topsection %}

View File

@ -14,7 +14,6 @@
{% block extra_head %} {% block extra_head %}
<script type="text/javascript" src="/static/js/wishlist.js"></script> <script type="text/javascript" src="/static/js/wishlist.js"></script>
<script type="text/javascript" src="{{ jquery_ui_home }}"></script> <script type="text/javascript" src="{{ jquery_ui_home }}"></script>
<script type="text/javascript" src="/static/js/greenpanel.js"></script>
<script type="text/javascript" src="/static/js/toggle.js"></script> <script type="text/javascript" src="/static/js/toggle.js"></script>
<script type="text/javascript" src="/static/js/hijax_unglued.js"></script> <script type="text/javascript" src="/static/js/hijax_unglued.js"></script>
<script type="text/javascript" src="/static/js/tabs.js"></script> <script type="text/javascript" src="/static/js/tabs.js"></script>

View File

@ -10,7 +10,6 @@
{% block extra_head %} {% block extra_head %}
<script type="text/javascript" src="/static/js/wishlist.js"></script> <script type="text/javascript" src="/static/js/wishlist.js"></script>
<script type="text/javascript" src="{{ jquery_ui_home }}"></script> <script type="text/javascript" src="{{ jquery_ui_home }}"></script>
<script type="text/javascript" src="/static/js/greenpanel.js"></script>
<script type="text/javascript" src="/static/js/toggle.js"></script> <script type="text/javascript" src="/static/js/toggle.js"></script>
<script type="text/javascript" src="/static/js/tabs.js"></script> <script type="text/javascript" src="/static/js/tabs.js"></script>
{% endblock %} {% endblock %}

View File

@ -14,7 +14,6 @@
{% block extra_head %} {% block extra_head %}
<script type="text/javascript" src="/static/js/wishlist.js"></script> <script type="text/javascript" src="/static/js/wishlist.js"></script>
<script type="text/javascript" src="{{ jquery_ui_home }}"></script> <script type="text/javascript" src="{{ jquery_ui_home }}"></script>
<script type="text/javascript" src="/static/js/greenpanel.js"></script>
<script type="text/javascript" src="/static/js/toggle.js"></script> <script type="text/javascript" src="/static/js/toggle.js"></script>
<script type="text/javascript" src="/static/js/hijax_unglued.js"></script> <script type="text/javascript" src="/static/js/hijax_unglued.js"></script>
<script type="text/javascript" src="/static/js/tabs.js"></script> <script type="text/javascript" src="/static/js/tabs.js"></script>

View File

@ -13,8 +13,11 @@
{% block extra_css %} {% block extra_css %}
<link type="text/css" rel="stylesheet" href="{% sass_src 'scss/home.scss' %}" />
<!--
<link type="text/css" rel="stylesheet" href="{% sass_src 'scss/landingpage4.scss' %}" /> <link type="text/css" rel="stylesheet" href="{% sass_src 'scss/landingpage4.scss' %}" />
<link type="text/css" rel="stylesheet" href="{% sass_src 'scss/searchandbrowse2.scss' %}" /> <link type="text/css" rel="stylesheet" href="{% sass_src 'scss/searchandbrowse2.scss' %}" /> -->
<link type="text/css" rel="stylesheet" href="{% sass_src 'scss/book_panel2.scss' %}" /> <link type="text/css" rel="stylesheet" href="{% sass_src 'scss/book_panel2.scss' %}" />
{% endblock %} {% endblock %}
{% block extra_js %} {% block extra_js %}
@ -35,7 +38,6 @@ function put_un_in_cookie2(){
<script type="text/javascript" src="/static/js/definitions.js"></script> <script type="text/javascript" src="/static/js/definitions.js"></script>
<script type="text/javascript" src="/static/js/wishlist.js"></script> <script type="text/javascript" src="/static/js/wishlist.js"></script>
<script type="text/javascript" src="/static/js/greenpanel.js"></script>
<script type="text/javascript" src="/static/js/highlight_signup.js"></script> <script type="text/javascript" src="/static/js/highlight_signup.js"></script>
<script type="text/javascript" src="/static/js/expand.js"></script> <script type="text/javascript" src="/static/js/expand.js"></script>
<meta name="google-site-verification" content="wFZncBw5tNpwRVyR08NZFNr7WXqv5X1BkEga2fpUNOo" /> <meta name="google-site-verification" content="wFZncBw5tNpwRVyR08NZFNr7WXqv5X1BkEga2fpUNOo" />
@ -47,7 +49,7 @@ function put_un_in_cookie2(){
{% block content %} {% block content %}
<div id="main-container" class="main-container-fl"> <div id="main-container" class="main-container-fl">
<div class="js-main" id="content-block"> <div class="js-main-container" id="content-block">
<div id="js-maincol-fl"> <div id="js-maincol-fl">
<div id="js-main-container"> <div id="js-main-container">
<h3 class="featured_books">Today's Featured Free eBook</h3> <h3 class="featured_books">Today's Featured Free eBook</h3>
@ -68,7 +70,7 @@ function put_un_in_cookie2(){
</div> </div>
</div> </div>
<div class="book-detail-info" style="float:left;"> <div class="book-detail-info" style="float:left;">
<div style="width: 520px;float: left;"> <div style="float: left;">
<div class="book-name" style="font-size:larger; margin-bottom:10px"><a href="{% url 'work' featured.id %}">{{ work.title }}</a></div> <div class="book-name" style="font-size:larger; margin-bottom:10px"><a href="{% url 'work' featured.id %}">{{ work.title }}</a></div>
<div> <div>
<div class="pubinfo"> <div class="pubinfo">
@ -84,7 +86,7 @@ function put_un_in_cookie2(){
{% endif %} {% endif %}
<span>{{ work.publication_date }}</span> <span>{{ work.publication_date }}</span>
</div> </div>
<div class="book-description" style="max-height:200px;overflow:scroll"> {{ work.description|safe }}</div> <div class="book-description" style="max-height:200px;"> {{ work.description|safe }}</div>
</div> </div>
</div> </div>
</div> </div>
@ -95,74 +97,92 @@ function put_un_in_cookie2(){
<div class="spacer"></div> <div class="spacer"></div>
<h3 class="featured_books">Your Recent Faves</h3> <h3 class="featured_books">Your Recent Faves</h3>
<div> <div>
{% for work in faves %} <div class="book_container">
{% with work.googlebooks_id as googlebooks_id %} {% for work in faves %}
{% include "book_panel.html" %} {% with work.googlebooks_id as googlebooks_id %}
{% endwith %} {% include "book_panel.html" %}
{% endfor %} {% endwith %}
<a class="more_featured_books" href="{% url 'supporter' request.user %}"><i class="fa fa-arrow-circle-o-right fa-3x"></i></a> {% endfor %}
<a class="more_featured_books" href="{% url 'supporter' request.user %}"><i class="fa fa-arrow-circle-o-right fa-3x"></i></a>
</div>
<a class="more_featured_books_mobile button success" href="{% url 'supporter' request.user %}">See More</a>
</div> </div>
{% endif %} {% endif %}
{% if top_pledge %} {% if top_pledge %}
<div class="spacer"></div> <div class="spacer"></div>
<h3 class="featured_books">Pledge to Make These eBooks Free</h3> <h3 class="featured_books">Pledge to Make These eBooks Free</h3>
<div> <div class="book-list">
{% for campaign in top_pledge %} <div class="book_container">
{% with campaign.work as work %} {% for campaign in top_pledge %}
{% with work.googlebooks_id as googlebooks_id %} {% with campaign.work as work %}
{% include "book_panel.html" %} {% with work.googlebooks_id as googlebooks_id %}
{% endwith %}{% endwith %} {% include "book_panel.html" %}
{% endfor %} {% endwith %}{% endwith %}
<a class="more_featured_books" href="{% url 'campaign_list' 'pledge' %}"><i class="fa fa-arrow-circle-o-right fa-3x"></i></a> {% endfor %}
<a class="more_featured_books" href="{% url 'campaign_list' 'pledge' %}"><i class="fa fa-arrow-circle-o-right fa-3x"></i></a>
</div>
</div> </div>
<a class="more_featured_books_mobile button success" href="{% url 'campaign_list' 'pledge' %}">See More</a>
{% endif %} {% endif %}
<div class="spacer"></div> <div class="spacer"></div>
<h3 class="featured_books">Read These Free Licensed eBooks</h3> <h3 class="featured_books">Read These Free Licensed eBooks</h3>
<div> <div class="book-list">
{% for work in cc_books %} <div class="book_container">
{% with work.googlebooks_id as googlebooks_id %} {% for work in cc_books %}
{% include "book_panel.html" %} {% with work.googlebooks_id as googlebooks_id %}
{% endwith %} {% include "book_panel.html" %}
{% endfor %} {% endwith %}
<a class="more_featured_books" href="{% url 'cc_list' %}"><i class="fa fa-arrow-circle-o-right fa-3x"></i></a> {% endfor %}
<a class="more_featured_books" href="{% url 'cc_list' %}"><i class="fa fa-arrow-circle-o-right fa-3x"></i></a>
</div>
<a class="button success more_featured_books_mobile" href="{% url 'cc_list' %}">See More</a>
</div> </div>
<div class="spacer"></div> <div class="spacer"></div>
{% if top_b2u %} {% if top_b2u %}
<h3 class="featured_books">Buy and Read These eBooks to Make Them Free</h3> <h3 class="featured_books">Buy and Read These eBooks to Make Them Free</h3>
<div> <div class="book-list">
{% for campaign in top_b2u %} <div class="book_container">
{% with campaign.work as work %} {% for campaign in top_b2u %}
{% with work.googlebooks_id as googlebooks_id %} {% with campaign.work as work %}
{% include "book_panel.html" %} {% with work.googlebooks_id as googlebooks_id %}
{% endwith %}{% endwith %} {% include "book_panel.html" %}
{% endfor %} {% endwith %}{% endwith %}
<a class="more_featured_books" href="{% url 'campaign_list' 'b2u' %}"><i class="fa fa-arrow-circle-o-right fa-3x"></i></a> {% endfor %}
<a class="more_featured_books" href="{% url 'campaign_list' 'b2u' %}"><i class="fa fa-arrow-circle-o-right fa-3x"></i></a>
</div>
</div> </div>
<a class="more_featured_books_mobile button success" href="{% url 'campaign_list' 'b2u' %}">See More</a>
{% endif %} {% endif %}
<div class="spacer"></div> <div class="spacer"></div>
{% if top_t4u %} {% if top_t4u %}
<h3 class="featured_books">Read These Free eBooks and Thank the Creators</h3> <h3 class="featured_books">Read These Free eBooks and Thank the Creators</h3>
<div> <div class="book-list">
{% for campaign in top_t4u %} <div class="book_container">
{% with campaign.work as work %} {% for campaign in top_t4u %}
{% with work.googlebooks_id as googlebooks_id %} {% with campaign.work as work %}
{% include "book_panel.html" %} {% with work.googlebooks_id as googlebooks_id %}
{% endwith %}{% endwith %} {% include "book_panel.html" %}
{% endfor %} {% endwith %}{% endwith %}
<a class="more_featured_books" href="{% url 'campaign_list' 't4u' %}"><i class="fa fa-arrow-circle-o-right fa-3x"></i></a> {% endfor %}
<a class="more_featured_books" href="{% url 'campaign_list' 't4u' %}"><i class="fa fa-arrow-circle-o-right fa-3x"></i></a>
</div>
</div> </div>
<a class="more_featured_books_mobile button success" href="{% url 'campaign_list' 't4u' %}">See More</a>
{% endif %} {% endif %}
<div class="spacer"></div> <div class="spacer"></div>
<h3 class="featured_books">Read These Unglued eBooks - You've Made Them Free</h3> <h3 class="featured_books">Read These Unglued eBooks - You've Made Them Free</h3>
<div> <div class="book-list">
{% for work in unglued_books %} <div class="book_container">
{% with work.googlebooks_id as googlebooks_id %} {% for work in unglued_books %}
{% include "book_panel.html" %} {% with work.googlebooks_id as googlebooks_id %}
{% endwith %} {% include "book_panel.html" %}
{% endfor %} {% endwith %}
<a class="more_featured_books" href="{% url 'campaign_list' 'unglued' %}"><i class="fa fa-arrow-circle-o-right fa-3x"></i></a> {% endfor %}
<a class="more_featured_books" href="{% url 'campaign_list' 'unglued' %}"><i class="fa fa-arrow-circle-o-right fa-3x"></i></a>
</div>
</div> </div>
<a class="more_featured_books_mobile button success" href="{% url 'campaign_list' 'unglued' %}">See More</a>
<div class="spacer"></div> <div class="spacer"></div>
</div> </div>
@ -189,7 +209,7 @@ function put_un_in_cookie2(){
<label>Password (again):</label> <label>Password (again):</label>
<input id="id_password2_main" type="password" class="required" name="password2" size="30" /> <input id="id_password2_main" type="password" class="required" name="password2" size="30" />
</div> </div>
<div class="button"> <div class="sidebar_button">
<input type="submit" class="signup" value="Sign Up Now" onclick="this.disabled=true,this.form.submit();" /> <input type="submit" class="signup" value="Sign Up Now" onclick="this.disabled=true,this.form.submit();" />
</div> </div>
<div class="google_signup" style="padding-bottom: 10px;"> <div class="google_signup" style="padding-bottom: 10px;">
@ -202,32 +222,25 @@ function put_un_in_cookie2(){
</div> </div>
</div> </div>
{% endif %} {% endif %}
<div class="jsmodule"> <div class="jsmodule">
<h3 class="module-title">Donate!</h3> <h3 class="module-title">Donate!</h3>
<div class="jsmod-content"> <div class="jsmod-content">
<div>Please help support Unglue.it by making a tax-deductible donation to the Free Ebook Foundation.</div> <div>Please help support Unglue.it by making a tax-deductible donation to the Free Ebook Foundation.</div>
<form class="askform" method="POST" action="{% url 'newdonation' %}"> <form class="askform" method="POST" action="{% url 'newdonation' %}">
<div class="donate_amount"> <div class="donate_amount">
<label>Amount ($): </label><input id="amount" max="20000.00" min="1.00" name="amount" step="0.01" type="number" value="10.00" class="donate"></div> <label>Amount ($): </label><input id="amount" max="20000.00" min="1.00" name="amount" step="0.01" type="number" value="10.00" class="donate"></div>
<div class="button"> <div class="sidebar_button">
<input name="pledge" type="submit" value="Donate" id="donatesubmit" class="donate" /> <input name="pledge" type="submit" value="Donate" id="donatesubmit" class="donate" />
</div> </div>
</form>
</form>
</div> </div>
</div> </div>
<div class="jsmodule"> <div class="jsmodule latest-ungluing">
<h3 class="module-title">News</h3> <h3 class="module-title">Latest Ungluing</h3>
<div class="jsmod-content"> <div class="jsmod-content">
<a href="https://blog.unglue.it/2018/01/24/unglue-it-has-resumed-crowdfunding/">Unglue.it has resumed crowdfunding</a> <ul class="ungluingwhat">
</div> {% for event in events %}
</div>
<div class="jsmodule">
<h3 class="module-title">Latest Ungluing</h3>
<div class="jsmod-content">
<ul class="ungluingwhat">
{% for event in events %}
{% comment %} {% comment %}
events are tuples of date, object, and string representing object type events are tuples of date, object, and string representing object type
{% endcomment %} {% endcomment %}
@ -236,7 +249,7 @@ function put_un_in_cookie2(){
{% if event.2 == "pledge" %} {% if event.2 == "pledge" %}
{% if object.user%} {% if object.user%}
<span class="user-avatar"> <span class="user-avatar">
<a href="{% url 'supporter' object.user.username %}"><img src="{{ object.user.profile.avatar_url }}" width="43" height="43" title="{{ object.user.username }}" alt="Avatar for {{ object.user.username }}" /></a> <a href="{% url 'supporter' object.user.username %}"><img src="{{ object.user.profile.avatar_url }}" title="{{ object.user.username }}" alt="Avatar for {{ object.user.username }}" /></a>
</span> </span>
<span class="user-book-info"> <span class="user-book-info">
<a href="{% url 'supporter' object.user.username %}">{{ object.user.username }}</a><br /> <a href="{% url 'supporter' object.user.username %}">{{ object.user.username }}</a><br />
@ -251,7 +264,7 @@ function put_un_in_cookie2(){
</span> </span>
{% else %} {% else %}
<span class="user-avatar"> <span class="user-avatar">
<img src="/static/images/header/anonuser.png" width="43" height="43" title="Anonymous User" alt="Avatar for Anonymous User" /> <img src="/static/images/header/anonuser.png" title="Anonymous User" alt="Avatar for Anonymous User" />
</span> </span>
<span class="user-book-info"> <span class="user-book-info">
Anonymous User<br /> Anonymous User<br />
@ -261,7 +274,7 @@ function put_un_in_cookie2(){
{% endif %} {% endif %}
{% elif event.2 == "comment" %} {% elif event.2 == "comment" %}
<span class="user-avatar"> <span class="user-avatar">
<a href="{% url 'supporter' object.user.username %}"><img src="{{ object.user.profile.avatar_url }}" width="43" height="43" title="{{ object.user.username }}" alt="Avatar for {{ object.user.username }}" /></a> <a href="{% url 'supporter' object.user.username %}"><img src="{{ object.user.profile.avatar_url }}" title="{{ object.user.username }}" alt="Avatar for {{ object.user.username }}" /></a>
</span> </span>
<span class="user-book-info"> <span class="user-book-info">
<a href="{% url 'supporter' object.user.username %}">{{ object.user.username }}</a><br /> <a href="{% url 'supporter' object.user.username %}">{{ object.user.username }}</a><br />
@ -270,7 +283,7 @@ function put_un_in_cookie2(){
</span> </span>
{% elif event.2 == "wish" %} {% elif event.2 == "wish" %}
<span class="user-avatar"> <span class="user-avatar">
<a href="{% url 'supporter' object.wishlist.user.username %}"><img src="{{ object.wishlist.user.profile.avatar_url }}" width="43" height="43" title="{{ object.wishlist.user.username }}" alt="Avatar for {{ object.wishlist.user.username }}" /></a> <a href="{% url 'supporter' object.wishlist.user.username %}"><img src="{{ object.wishlist.user.profile.avatar_url }}" title="{{ object.wishlist.user.username }}" alt="Avatar for {{ object.wishlist.user.username }}" /></a>
</span> </span>
<span class="user-book-info"> <span class="user-book-info">
<a href="{% url 'supporter' object.wishlist.user.username %}">{{ object.wishlist.user.username }}</a><br /> <a href="{% url 'supporter' object.wishlist.user.username %}">{{ object.wishlist.user.username }}</a><br />
@ -285,25 +298,12 @@ function put_un_in_cookie2(){
</div> </div>
</div> </div>
<div class="jsmodule"> <div class="jsmodule">
<h3 class="module-title">Questions?</h3> <h3 class="module-title">Questions?</h3>
<div id="jsmod-content"> <div id="jsmod-content">
Read our <a href="/faq/">general FAQ</a> or <a href="/faq/rightsholders/">Author/Publisher FAQ</a>. Read our <a href="/faq/">general FAQ</a> or <a href="/faq/rightsholders/">Author/Publisher FAQ</a>.
</div> </div>
</div> </div>
</div> </div>
</div>
<h3 class="featured_books">As seen on</h3>
<ul id="as_seen_on">
<li><a href="http://boingboing.net/2012/06/28/release-a-deadly-monster-a-dr.html"><img alt="boingboing" src="{{ STATIC_URL }}images/press_logos/boingboing_logo.png"></a></li>
<li><a href="http://www.zeit.de/digital/internet/2012-07/unglue-ebook-creative-commons"><img alt="die zeit" src="{{ STATIC_URL }}images/press_logos/die_zeit_logo.png"></a></li>
<li><a href="http://www.huffingtonpost.com/2012/05/21/unglueit-free-ebooks-crowdfunding_n_1532644.html"><img alt="huffington post" src="{{ STATIC_URL }}images/press_logos/huffington_post_logo.png"></a></li>
<li><a href="http://techcrunch.com/2014/05/06/unglue-it-sets-books-free-after-authors-get-paid/"><img alt="techcrunch" src="{{ STATIC_URL }}images/press_logos/techcrunch_logo.png"></a></li>
<li><a href="http://www.thedigitalshift.com/2014/02/ebooks/buy-unglue-ebook-crowdfunding-model-goes-beta/"><img alt="library journal" src="{{ STATIC_URL }}images/press_logos/library_journal_logo.png"></a></li>
<li><a href="http://www.networkworld.com/community/node/85329"><img alt="networkworld" src="{{ STATIC_URL }}images/press_logos/networkworld_logo.png"></a></li>
</ul>
<div class="speech_bubble"><span>For readers its a gold mine of great books they can have a say in bringing to market.</span></div>
</div> </div>
</div> </div>
</div> </div>

View File

@ -16,131 +16,6 @@
</div> </div>
</div> </div>
</div> </div>
<div {%if request.user.is_authenticated or hide_learn_more %}id="user-block-hide" {% endif %}class="user-block-hide learnmore_block "> </div>
<h1 style="text-align: center;padding-top: 1em;width: 70%; line-height: 1.2em;">Find over 10,000 <i>free</i> ebooks here.<br />Help us make more ebooks <i>free</i>!</h1>
<div class="quicktour panelview" >
<div class="panelview panelfront side1" >
<span style="color: #8ac3d7; " class="makeaskgive">MAKE</span>
<div class="qtbutton make"><i class="fa fa-heart-o"></i>&nbsp;<i class="fa fa-heart-o"></i>&nbsp;<i class="fa fa-heart-o"></i></div>
</div>
<div class="panelview panelback side2" >
<span class="highlight">Creators</span> make ebooks in EPUB, MOBI, and PDF.<br />
<span class="highlight">Ungluers</span> love them for doing it.<br />
</div>
</div>
<div class="arrow"><i class="fa fa-arrow-right"></i></div>
<div class="quicktour panelview" >
<div class="panelview panelfront side1">
<span style="color: #8dc63f; " class="makeaskgive">GIVE</span>
<a title="Download this work" class="qtbutton qtreadittext"><div class="read_itbutton qtreadit"><span>Read it Now</span></div></a>
</div>
<div class="panelview panelback side2" >
<span class="highlight">Creators</span> apply <a href="https://creativecommons.org/">Creative Commons</a> licenses to ebooks.<br />
<span class="highlight">Ungluers</span> read them at home, at a library, anywhere.<br />
</div>
</div>
<div class="arrow"><i class="fa fa-arrow-right"></i></div>
<div class="quicktour panelview" >
<div class="panelview panelfront side1">
<span style="color: #e18551; " class="makeaskgive">ASK</span>
<input name="pledge" type="submit" value="Say Thank You" class="qtbutton" style="
left: 42px;
">
</div>
<div class="panelview panelback side2" >
<span class="highlight">Creators</span> ask downloaders to contribute what they choose.<br />
<span class="highlight">Ungluers</span> say thank you with their support.
</div>
</div>
<div class="quicktour last">
<div class="programlink">
<a href="{% url 'faq_sublocation' 'campaigns' 't4u' %}">"Thanks for Ungluing"</a>
</div>
</div>
<div class="learnmore_row"></div>
<div class="quicktour panelview" >
<div class="panelview panelfront side1" >
<span style="color: #8ac3d7; " class="makeaskgive">MAKE</span>
<div class="qtbutton make"><i class="fa fa-heart-o"></i>&nbsp;<i class="fa fa-heart-o"></i>&nbsp;<i class="fa fa-heart-o"></i></div>
</div>
<div class="panelview panelback side2" >
<span class="highlight">Creators</span> make ebooks in EPUB.<br />
<span class="highlight">Ungluers</span> love them for doing it.<br />
</div>
</div>
<div class="arrow"><i class="fa fa-arrow-right"></i></div>
<div class="quicktour panelview" >
<div class="panelview panelfront side1">
<span style="color: #e18551; " class="makeaskgive">ASK</span>
<input name="pledge" type="submit" value="Purchase" class="qtbutton" style="
left: 84px;
">
</div>
<div class="panelview panelback side2" >
<span class="highlight">Creators</span> set a funding goal and a per-copy price.<br />
<span class="highlight">Ungluers</span> purchase the ebook to advance the campaign.
</div>
</div>
<div class="arrow"><i class="fa fa-arrow-right"></i></div>
<div class="quicktour panelview" >
<div class="panelview panelfront side1">
<span style="color: #8dc63f; " class="makeaskgive">GIVE</span>
<a title="Download this work" class="qtbutton qtreadittext"><div class="read_itbutton qtreadit"><span>Read it Now</span></div></a>
</div>
<div class="panelview panelback side2" >
When the funding goal is met, <a href="https://creativecommons.org/">Creative Commons</a> licenses are automatically applied.<br />
</div>
</div>
<div class="quicktour last">
<div class="programlink">
<a href="{% url 'faq_sublocation' 'campaigns' 'b2u' %}">"Buy to Unglue"</a>
</div>
</div>
<div class="learnmore_row"></div>
<div class="quicktour panelview" >
<div class="panelview panelfront side1">
<span style="color: #e18551; " class="makeaskgive">ASK</span>
<input name="pledge" type="submit" value="Pledge" class="qtbutton" style="
left: 100px;
">
</div>
<div class="panelview panelback side2" >
<span class="highlight">Creators</span> set a funding goal and rewards for supporters.<br />
<span class="highlight">Ungluers</span> pledge to support the campaign.
</div>
</div>
<div class="arrow"><i class="fa fa-arrow-right"></i></div>
<div class="quicktour panelview" >
<div class="panelview panelfront side1" >
<span style="color: #8ac3d7; " class="makeaskgive">MAKE</span>
<div class="qtbutton make"><i class="fa fa-heart-o"></i>&nbsp;<i class="fa fa-heart-o"></i>&nbsp;<i class="fa fa-heart-o"></i></div>
</div>
<div class="panelview panelback side2" >
When the campaign succeeds, We collect <span class="highlight">Ungluer</span> pledges.<br />
The ebook is <span class="highlight">created</span> and rewards are distributed.
</div>
</div>
<div class="arrow"><i class="fa fa-arrow-right"></i></div>
<div class="quicktour panelview" >
<div class="panelview panelfront side1">
<span style="color: #8dc63f; " class="makeaskgive">GIVE</span>
<a title="Download this work" class="qtbutton qtreadittext"><div class="read_itbutton qtreadit"><span>Read it Now</span></div></a>
</div>
<div class="panelview panelback side2" >
<a href="https://creativecommons.org/">Creative Commons</a> licenses are applied.<br />
<span class="highlight">Ungluers</span> read them at home, at a library, anywhere.<br />
</div>
</div>
<div class="quicktour last">
<div class="programlink">
<a href="{% url 'faq_sublocation' 'campaigns' 'supporting' %}">"Pledge to Unglue"</a>
</div>
</div>
</div>
</div>
</div> </div>
</div> </div>

View File

@ -14,7 +14,6 @@
{% block extra_js %} {% block extra_js %}
<script type="text/javascript" src="/static/js/wishlist.js"></script> <script type="text/javascript" src="/static/js/wishlist.js"></script>
<script type="text/javascript" src="{{ jquery_ui_home }}"></script> <script type="text/javascript" src="{{ jquery_ui_home }}"></script>
<script type="text/javascript" src="/static/js/greenpanel.js"></script>
<script type="text/javascript" src="/static/js/import_books.js"></script> <script type="text/javascript" src="/static/js/import_books.js"></script>
<script type="text/javascript" src="/static/js/counter.js"></script> <script type="text/javascript" src="/static/js/counter.js"></script>

View File

@ -12,7 +12,6 @@
<script src="/static/js/slides.min.jquery.js"></script> <script src="/static/js/slides.min.jquery.js"></script>
<script src="/static/js/slideshow.js"></script> <script src="/static/js/slideshow.js"></script>
<script src="/static/js/greenpanel.js"></script>
<!-- toggle to panelview state instead of listview default --> <!-- toggle to panelview state instead of listview default -->
<script type="text/javascript"> <script type="text/javascript">
@ -22,7 +21,6 @@
</script> </script>
<script type="text/javascript" src="/static/js/wishlist.js"></script> <script type="text/javascript" src="/static/js/wishlist.js"></script>
<script type="text/javascript" src="/static/js/greenpanel.js"></script>
<script type="text/javascript" src="/static/js/embed.js"></script> <script type="text/javascript" src="/static/js/embed.js"></script>
{% endblock %} {% endblock %}

View File

@ -13,7 +13,6 @@
{% endblock %} {% endblock %}
{% block extra_head %} {% block extra_head %}
<script type="text/javascript" src="/static/js/wishlist.js"></script> <script type="text/javascript" src="/static/js/wishlist.js"></script>
<script type="text/javascript" src="/static/js/greenpanel.js"></script>
<script type="text/javascript" src="/static/js/toggle.js"></script> <script type="text/javascript" src="/static/js/toggle.js"></script>
<script type="text/javascript"> <script type="text/javascript">
(function($){ (function($){

View File

@ -14,7 +14,6 @@
{% block extra_js %} {% block extra_js %}
<script type="text/javascript" src="/static/js/wishlist.js"></script> <script type="text/javascript" src="/static/js/wishlist.js"></script>
<script type="text/javascript" src="{{ jquery_ui_home }}"></script> <script type="text/javascript" src="{{ jquery_ui_home }}"></script>
<script type="text/javascript" src="/static/js/greenpanel.js"></script>
<script type="text/javascript" src="/static/js/import_books.js"></script> <script type="text/javascript" src="/static/js/import_books.js"></script>
<script type="text/javascript" src="/static/js/counter.js"></script> <script type="text/javascript" src="/static/js/counter.js"></script>

View File

@ -14,7 +14,6 @@
{% block extra_head %} {% block extra_head %}
<script type="text/javascript" src="/static/js/wishlist.js"></script> <script type="text/javascript" src="/static/js/wishlist.js"></script>
<script type="text/javascript" src="{{ jquery_ui_home }}"></script> <script type="text/javascript" src="{{ jquery_ui_home }}"></script>
<script type="text/javascript" src="/static/js/greenpanel.js"></script>
<script type="text/javascript" src="/static/js/toggle.js"></script> <script type="text/javascript" src="/static/js/toggle.js"></script>
<script type="text/javascript" src="/static/js/hijax_unglued.js"></script> <script type="text/javascript" src="/static/js/hijax_unglued.js"></script>
<script type="text/javascript" src="/static/js/tabs.js"></script> <script type="text/javascript" src="/static/js/tabs.js"></script>

View File

@ -14,7 +14,6 @@
{% block extra_head %} {% block extra_head %}
<script type="text/javascript" src="/static/js/wishlist.js"></script> <script type="text/javascript" src="/static/js/wishlist.js"></script>
<script type="text/javascript" src="{{ jquery_ui_home }}"></script> <script type="text/javascript" src="{{ jquery_ui_home }}"></script>
<script type="text/javascript" src="/static/js/greenpanel.js"></script>
<script type="text/javascript" src="/static/js/toggle.js"></script> <script type="text/javascript" src="/static/js/toggle.js"></script>
<script type="text/javascript" src="/static/js/tabs.js"></script> <script type="text/javascript" src="/static/js/tabs.js"></script>
{% endblock %} {% endblock %}

View File

@ -1,14 +0,0 @@
var $j = jQuery.noConflict();
$j().ready(function(){
var contentblock = $j('#content-block, .user-block-hide');
contentblock.on('mouseenter', '.panelview', function() {
$j(this).children('.panelfront').removeClass('side1').addClass('side2');
$j(this).children('.panelback').removeClass('side2').addClass('side1');
});
contentblock.on('mouseleave', '.panelview', function() {
$j(this).children('.panelback').removeClass('side1').addClass('side2');
$j(this).children('.panelfront').removeClass('side2').addClass('side1');
});
});

File diff suppressed because one or more lines are too long

View File

@ -354,7 +354,6 @@ div#libtools {
} }
#facet_block div { #facet_block div {
background:url($background-header) 100% -223px no-repeat;
padding: 7px 7px 15px 7px; padding: 7px 7px 15px 7px;
p { p {
padding: 0 10px 0 10px; padding: 0 10px 0 10px;

File diff suppressed because one or more lines are too long

View File

@ -190,15 +190,16 @@ span.grey {
} }
/* switch to/from hover state when jquery swaps class names */ /* switch to/from hover state when jquery swaps class names */
div.panelview.side1 {
display: visible;
}
div.panelview.side2 { div.panelview.side2 {
display: none; visibility: hidden;
} }
div.panelview:hover .side2 {
visibility: visible !important;
z-index: 1;
}
/* styling of hover state */ /* styling of hover state */
.panelback { .panelback {
position: relative; position: relative;

3
static/scss/bookview.css Normal file
View File

@ -0,0 +1,3 @@
.panelborders{border-width:1px 0px;border-style:solid none;border-color:#FFFFFF}.panelborders{border-width:1px 0px;border-style:solid none;border-color:#FFFFFF}@media screen and (max-width: 39.9375em){.wrapper{display:flex;flex-direction:column}.pubinfo{display:flex;flex-direction:column;align-items:center}.wrapper{margin:10px}.bookImage{order:0;display:flex;justify-content:center}.bookSidebar{order:1;flex-direction:row;flex-wrap:wrap}.book-sidebar-item{flex:auto;display:flex;justify-content:center}.book-sidebar-item span{display:none}.bookRead{flex:100%}.bookDownload{flex:100%}.bookDonate{flex:100%}.bookDescription{order:2}.bookComments{order:3;margin-top:15px}}@supports not (grid-template-rows: auto){.wrapper{display:flex;flex-direction:column}.pubinfo{display:flex;flex-direction:column;align-items:center}.wrapper{margin:10px}.bookImage{order:0;display:flex;justify-content:center}.bookSidebar{order:1;flex-direction:row;flex-wrap:wrap}.book-sidebar-item{flex:auto;display:flex;justify-content:center}.book-sidebar-item span{display:none}.bookRead{flex:100%}.bookDownload{flex:100%}.bookDonate{flex:100%}.bookDescription{order:2}.bookComments{order:3;margin-top:15px}}@supports (grid-template-rows: auto){@media print, screen and (min-width: 40em){.wrapper{display:grid;grid-template-columns:fit-content 1fr 20%;grid-template-rows:auto auto;grid-template-areas:"bookImage bookDescription bookSidebar" ". bookComments .";margin-left:auto;margin-right:auto;max-width:1000px}.bookDescription{padding-right:15px}.bookSidebar{flex-direction:column;margin-top:66px}}}.bookImage{grid-area:bookImage;padding:15px}.bookImage img{padding:5px;border:solid 5px #eee}.bookImage div{float:right}.bookDescription{grid-area:bookDescription}.bookSidebar{display:flex;grid-area:bookSidebar}.book-sidebar-item{margin-bottom:16px}.bookComments{grid-area:bookComments}.btn_wishlist span{text-align:right}.btn_wishlist div{float:none}.description-more-content{padding-top:20px}
/*# sourceMappingURL=../../../../../../../static/scss/bookview.css.map */

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

3
static/scss/download.css Normal file
View File

@ -0,0 +1,3 @@
.panelborders{border-width:1px 0px;border-style:solid none;border-color:#FFFFFF}.panelborders{border-width:1px 0px;border-style:solid none;border-color:#FFFFFF}ul.social a:hover{text-decoration:none}ul.social li{padding:5px 0 5px 30px !important;height:28px;line-height:28px !important;margin:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;border-radius:0px}ul.social li.facebook{background:url("/static/images/icons/facebook.png") 10px center no-repeat;cursor:pointer}ul.social li.facebook span{padding-left:10px}ul.social li.facebook:hover{background:#8dc63f url("/static/images/icons/facebook-hover.png") 10px center no-repeat}ul.social li.facebook:hover span{color:#fff}ul.social li.twitter{background:url("/static/images/icons/twitter.png") 10px center no-repeat;cursor:pointer}ul.social li.twitter span{padding-left:10px}ul.social li.twitter:hover{background:#8dc63f url("/static/images/icons/twitter-hover.png") 10px center no-repeat}ul.social li.twitter:hover span{color:#fff}ul.social li.email{background:url("/static/images/icons/email.png") 10px center no-repeat;cursor:pointer}ul.social li.email span{padding-left:10px}ul.social li.email:hover{background:#8dc63f url("/static/images/icons/email-hover.png") 10px center no-repeat}ul.social li.email:hover span{color:#fff}ul.social li.embed{background:url("/static/images/icons/embed.png") 10px center no-repeat;cursor:pointer}ul.social li.embed span{padding-left:10px}ul.social li.embed:hover{background:#8dc63f url("/static/images/icons/embed-hover.png") 10px center no-repeat}ul.social li.embed:hover span{color:#fff}.panelborders{border-width:1px 0px;border-style:solid none;border-color:#FFFFFF}.download-body{width:100%}.border{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;border:solid 2px #d6dde0;margin:5px auto;padding-right:5px;padding-left:5px}.sharing{float:right;padding:0.5% !important;width:23% !important;min-width:105px}.sharing ul{padding:0.5% !important}.sharing .jsmod-title{-moz-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;height:auto}.sharing .jsmod-title span{padding:5% !important;color:white !important;font-style:normal}#widgetcode2{display:none;border:1px solid #d6dde0;-moz-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;padding:10px}#widgetcode2 textarea{max-width:90%}.btn_support.kindle{height:40px}.btn_support.kindle a{width:auto;font-size:15px}.download_option.flexible{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;align-items:center;padding:7px 5px}.download_option.flexible i{vertical-align:middle}.download_option.flexible .h4{margin-bottom:0px}.ebook_download{display:flex;flex-direction:column}.flex_ul{display:flex;flex-direction:column}.askform{max-width:400px}.download_footer{padding:15px}.download_container{margin:0px 10px}.dropbox_download_option{min-width:122px}.download_option>*{flex:1}.download-centered{display:flex;justify-content:center}@media print, screen and (min-width: 40em){.download_container{width:75%;margin:auto}#download_content{display:flex;flex-direction:row;flex-wrap:wrap}#download_content .rh_ask,#download_content #askblock{padding:15px;flex:1 0 50%}.download-label{display:flex;flex-direction:row;align-items:center}}
/*# sourceMappingURL=../../../../../../../static/scss/download.css.map */

View File

@ -0,0 +1,3 @@
.buttons,.yes_js,.other_instructions_paragraph{display:inherit}.instructions>div:not(.active){display:none}.no_js{display:none !important}.active{display:inherit !important}
/*# sourceMappingURL=../../../../../../../static/scss/enhanced_download.css.map */

View File

@ -0,0 +1,3 @@
.yes_js,.other_instructions_paragraph{display:inherit}.instructions>div{display:none}.no_js{display:none !important}.active{display:inherit !important}
/*# sourceMappingURL=../../../../../../../static/scss/enhanced_download_ie.css.map */

3
static/scss/faq.css Normal file
View File

@ -0,0 +1,3 @@
.panelborders{border-width:1px 0px;border-style:solid none;border-color:#FFFFFF}.panelborders{border-width:1px 0px;border-style:solid none;border-color:#FFFFFF}.faq-container{display:flex;flex-direction:column;margin:0 auto;max-width:1024px}.faq-menu{min-width:200px}.faq-main{padding:0 25px}.faq-toplevel-nav{width:fit-content;margin:0 auto}.faq-toplevel-nav li{width:fit-content}.long-formula{white-space:pre-wrap}@media print, screen and (min-width: 40em){.faq-container{flex-direction:row}.faq-toplevel-nav>li>a,.faq-toplevel-nav>li>span{border-bottom:1px solid #edf3f4}}
/*# sourceMappingURL=../../../../../../../static/scss/faq.css.map */

3
static/scss/global.css Normal file

File diff suppressed because one or more lines are too long

3
static/scss/header.css Normal file
View File

@ -0,0 +1,3 @@
.panelborders{border-width:1px 0px;border-style:solid none;border-color:#FFFFFF}.panelborders{border-width:1px 0px;border-style:solid none;border-color:#FFFFFF}#page-wrapper{display:flex;flex-direction:column;width:100%}#header{width:100%;display:flex;flex-flow:wrap;align-items:flex-start;padding:10px}#header-logo{flex:1 0 auto;order:1;align-self:flex-start}#header-logo img{max-height:48px}#header-search-bar{margin-top:auto;margin-bottom:auto;padding-left:8px;padding-right:8px;flex:100%;order:5}#header-search-bar form{width:100%;max-width:800px;margin-right:auto;margin-left:auto;display:flex;align-items:flex-start;background:#1779ba;border-right:2px solid #1779ba;border-radius:0 6px 6px 0}#header-search-bar form i{align-self:flex-start;font-size:1.5em;margin-top:auto;margin-bottom:auto;color:white;padding:4px;background:#1779ba}#header-search-bar form input{align-self:flex-start;margin-top:auto;margin-bottom:auto}#header-login{flex:1 1 auto;display:flex;margin-top:auto;margin-bottom:auto;padding-left:8px;padding-right:8px;order:3;white-space:nowrap;align-items:center}#header-login .button{margin:0;margin-left:10px}#header-menu{flex:1;margin-top:auto;margin-bottom:auto;padding-left:8px;order:4}#header-menu i{font-size:3em;margin-top:auto;margin-bottom:auto}.wrapper{max-width:1000px;padding-top:24px}#footer{width:100%}@media print, screen and (min-width: 40em){#header{flex-flow:nowrap}#header-search-bar{order:2}}@media screen and (max-width: 21.75em){#header-login{display:none}}
/*# sourceMappingURL=../../../../../../../static/scss/header.css.map */

3
static/scss/home.css Normal file
View File

@ -0,0 +1,3 @@
.panelborders{border-width:1px 0px;border-style:solid none;border-color:#FFFFFF}.panelborders{border-width:1px 0px;border-style:solid none;border-color:#FFFFFF}.user-block{width:100%;clear:both}#user-block1{width:100%}#user-block1 a#readon{float:left}.user-block-hide .quicktour.last{background:none}.learnmore_block{float:left;width:100%;clear:both;border-top:solid 1px #8ac3d7;margin-top:20px}.learnmore_block .learnmore_row{border-bottom:dashed 2px #8ac3d7;clear:left;width:68%}.learnmore_block .arrow{font-size:24pt;color:#8ac3d7;line-height:48pt;float:left;padding-right:8px;padding-left:8px;padding-top:20px;font-size:24pt}.learnmore_block .quicktour{width:20%;float:left;font-style:italic;line-height:20px;font-size:13px;margin-top:0;text-align:center;min-height:64px}.learnmore_block .quicktour .highlight{font-weight:bold}.learnmore_block .quicktour .programlink{margin-top:20px}.learnmore_block .quicktour .panelback{margin-top:21px}.learnmore_block .quicktour .panelfront{font-size:48pt;line-height:48pt;font-style:normal}.learnmore_block .quicktour .panelfront .makeaskgive{position:relative;z-index:1;font-size:40pt;top:10px;right:10pt;text-shadow:4px 2px 4px white}.learnmore_block .quicktour .panelfront .qtbutton{position:relative;z-index:0;opacity:0.8}.learnmore_block .quicktour .panelfront .make{line-height:10pt;color:red;font-size:12pt;top:0;left:50px}.learnmore_block .quicktour .panelfront .qtreadit{line-height:0;position:relative;height:34px}.learnmore_block .quicktour .panelfront .qtreadittext{top:-15px;left:50px;line-height:10pt}.learnmore_block .quicktour .panelfront input{line-height:10pt;display:inherit;font-size:10pt;padding:.7em 1em;top:-15px}.learnmore_block .quicktour.last{padding-left:10px;font-size:20px;width:28%;padding-top:20px}.learnmore_block .quicktour.last .signup{color:#8dc63f;font-weight:bold;margin-top:10px}.learnmore_block .quicktour.last .signup img{margin-left:5px;vertical-align:middle;margin-bottom:3px}.learnmore_block .quicktour.right{float:right}input[type="submit"].qtbutton{float:none;margin:0}#block-intro-text div{display:none;line-height:25px;padding-bottom:10px}#block-intro-text div#active{display:inherit}.featured_books{margin-top:18px;font-size:19px}.module-title{font-size:19px}.js-main-container{margin-left:auto;margin-right:auto;max-width:960px}#user-block1 #block-intro-text{float:left;width:702px;font-size:19px}#user-block1 a#readon{font-size:15px}@media screen and (max-width: 39.9375em){#js-maincol-fl{display:flex;flex-direction:column}#js-topsection{visibility:hidden;height:0px}.more_featured_books{display:none}.more_featured_books_mobile{width:100%}.more_featured_books_mobile>a{width:100%}}@media screen and (min-width: 40em){#js-maincol-fl{display:flex}#js-maincol-fl #js-main-continer{flex:1 84%}#js-maincol-fl #js-rightcol{flex:1 16%}.more_featured_books{padding-left:14px}.more_featured_books>i{margin-top:150px;font-size:26px}.more_featured_books_mobile{display:none !important}}#js-main-container{display:flex;flex-direction:column}#js-rightcol .js-rightcol-padd{background-color:#edf3f4;padding:10px}.jsmodule{margin-bottom:14px}.jsmodule .google_signup a{width:100%;border-radius:0px;border:none}.sidebar_button{margin-bottom:10px}.sidebar_button input{background-color:#8dc63f;color:white;width:100%;padding:12px;border:none}.book-description{overflow:auto}.book-detail{display:flex}.book_container{display:flex;overflow-x:scroll;box-sizing:content-box}.book_container .thewholebook{border:none}.book_container::-webkit-scrollbar{display:none}
/*# sourceMappingURL=../../../../../../../static/scss/home.css.map */

182
static/scss/home.scss Normal file
View File

@ -0,0 +1,182 @@
@import "variables.scss";
@import "learnmore2.scss";
@import "foundation";
.featured_books {
margin-top: 18px;
font-size: $font-size-header;
}
.module-title {
font-size: $font-size-header;
}
.js-main-container {
margin-left: auto;
margin-right: auto;
max-width: 960px;
}
#user-block1 {
#block-intro-text {
float:left;
width:702px;
font-size: $font-size-header;
}
#readon {
font-size: $font-size-larger;
}
}
.jsmodule {
background-color: $pale-blue;
padding: 10px;
.google_signup {
a {
width: 100%;
border-radius: 0px;
border: none;
}
}
}
@include breakpoint(small only) {
#js-maincol-fl {
display: flex;
flex-direction: column;
}
#js-topsection {
visibility: hidden;
height: 0px;
}
.more_featured_books {
display:none;
}
.more_featured_books_mobile {
width:100%;
> a {
width: 100%;
}
}
.latest-ungluing {
display: none;
}
.book_container::-webkit-scrollbar {
display: none;
}
.jsmodule {
padding-bottom: 24px;
}
}
@include breakpoint(medium up) {
#js-maincol-fl {
display: flex;
#js-main-container {
flex: 1 78%;
}
#js-rightcol {
flex: 1 22%;
}
}
.book-list > div {
}
.more_featured_books {
padding-left:14px;
> i {
margin-top:150px;
font-size: 26px;
}
}
.more_featured_books_mobile{
display: none !important;
}
.jsmodule {
margin-bottom: 20px;
}
}
#js-main-container {
display: flex;
flex-direction: column;
}
.sidebar_button {
margin-bottom: 10px;
input {
background-color: $green;
color: white;
width: 100%;
padding: 12px;
border: none;
}
}
.book-description {
overflow: auto;
}
.book-detail {
display: flex;
}
.book_container {
display: flex;
overflow-x: auto;
box-sizing: content-box;
.thewholebook {
border: none;
}
}
.jsmod-content {
ul {
margin: 0;
list-style-type: none;
li {
display: flex;
margin-bottom: 10px;
.user-avatar {
padding-top: 6px;
a img {
max-width: none;
width: 34px;
border-radius: 2px;
}
}
.user-book-info {
margin-left: 10px;
.user-book-name {
font-weight: normal;
}
}
}
}
}
.signup {
cursor: pointer;
}
.donate {
cursor: pointer;
}

File diff suppressed because one or more lines are too long

View File

@ -359,3 +359,4 @@ ul#as_seen_on {
} }
} }
} }

View File

@ -0,0 +1,3 @@
.panelborders{border-width:1px 0px;border-style:solid none;border-color:#FFFFFF}.doc h2.unglueit_loves_libraries{font-size:110px;text-align:center}.doc h3{text-align:center;font-style:italic;margin-bottom:37.5px}#widgetcode{display:none}ul.social.pledge{margin:0 !important}ul.social.pledge li{margin-top:7px !important}.clearfix{margin-bottom:14px}a,dt a{color:#6994a3}
/*# sourceMappingURL=../../../../../../../static/scss/libraries.css.map */

3
static/scss/lists.css Normal file
View File

@ -0,0 +1,3 @@
.panelborders{border-width:1px 0px;border-style:solid none;border-color:#FFFFFF}.user-block2{width:48%;font-size:18px;padding-right:2%}#js-leftcol li.active_lang a{font-weight:bold}.show_langs:hover{text-decoration:underline}#lang_list{display:none}#tabs-1,#tabs-2,#tabs-3{margin-left:0}ul.tabs li a{height:41px;line-height:18px;padding-top:5px}
/*# sourceMappingURL=../../../../../../../static/scss/lists.css.map */

3
static/scss/read.css Normal file
View File

@ -0,0 +1,3 @@
.panelborders{border-width:1px 0px;border-style:solid none;border-color:#FFFFFF}
/*# sourceMappingURL=../../../../../../../static/scss/read.css.map */

View File

@ -0,0 +1,3 @@
.panelborders{border-width:1px 0px;border-style:solid none;border-color:#FFFFFF}.panelborders{border-width:1px 0px;border-style:solid none;border-color:#FFFFFF}.registration{display:flex;justify-content:center;padding:10px}.google-signup{display:flex;flex-direction:column}.google-signup>*{margin:7px 0px}.linetext-outer{display:inline-block;width:100%;text-align:center;border-bottom:1px solid #d6dde0;line-height:0.1em;margin:10px 0 20px}.linetext-inner{background:#fff;padding:0 10px}.login_box{border:solid 3px #d6dde0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;margin:10px auto;padding:9px;width:45%}.login_box .google_signup{padding:21px}.login_box input[type="text"],.login_box input[type="password"]{width:90%}@media print, screen and (min-width: 40em){.login-border{border:solid 3px #d6dde0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;padding:14px}}.actionbutton{width:auto;height:36px;line-height:36px;background:#8dc63f;border:1px solid transparent;color:white;cursor:pointer;font-size:13px;font-weight:normal;padding:0 15px;margin:5px 0;float:left}.welcomealternatives{border-top:1px solid #d6dde0;margin-top:10px;padding-top:5px}
/*# sourceMappingURL=../../../../../../../static/scss/registration.css.map */

View File

@ -0,0 +1,3 @@
.panelborders{border-width:1px 0px;border-style:solid none;border-color:#FFFFFF}#login_centerer{padding:10px;width:960px}#registration{width:960px;padding:10px;margin:0 auto;padding:10px 0;font-size:13px;line-height:19.5px}#registration .helptext{font-style:italic}#registration .helptext:before{white-space:pre;content:"\A"}.login_box{border:solid 3px #d6dde0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;margin:10px auto;padding:9px;width:45%}.login_box .google_signup{padding:21px}.login_box input[type="text"],.login_box input[type="password"]{width:90%}#login{border:solid 3px #d6dde0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;margin:10px auto;float:none;padding:10px;width:50%}#login input[type="text"],#login input[type="password"]{width:90%}.actionbutton{width:auto;height:36px;line-height:36px;background:#8dc63f;border:1px solid transparent;color:white;cursor:pointer;font-size:13px;font-weight:normal;padding:0 15px;margin:5px 0;float:left}#welcomesearch label{display:block;margin:0 auto;font-size:19px;padding-bottom:10px}#welcomesearch p{margin-bottom:5px}#welcomesearch form{margin:0 auto;width:210px;background:url("/static/images/landingpage/search-box-two.png") 0 0 no-repeat;height:36px;display:block;overflow:hidden}#welcomesearch input.inputbox{border:none;color:#66942e;height:26px;line-height:26px;font-size:13px;float:left;padding:0;margin:5px 0 5px 20px;width:149px;outline:none}#welcomesearch input.inputbox:focus{border:none}#welcomesearch input.greenbutton[type="submit"]{background:url("/static/images/landingpage/search-button-two.png") 0 0 no-repeat;width:40px;height:40px;padding:0;margin:0;border:none;display:block;float:right;text-indent:-10000px;font-size:0;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.welcomealternatives{border-top:1px solid #d6dde0;margin-top:10px;padding-top:5px}label:before{content:"\A";white-space:pre}
/*# sourceMappingURL=../../../../../../../static/scss/registration2.css.map */

3
static/scss/search.css Normal file
View File

@ -0,0 +1,3 @@
.panelborders{border-width:1px 0px;border-style:solid none;border-color:#FFFFFF}span.rounded{border:1px solid #d4d4d4;-moz-border-radius:7px;-webkit-border-radius:7px;border-radius:7px;padding:1px;color:#fff;margin:0 8px 0 0;display:inline-block}span.rounded>span{padding:7px 7px;min-width:15px;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;text-align:center;display:inline-block}span.rounded>span .hovertext{display:none}span.rounded>span:hover .hovertext{display:inline}span.grey{background:#bacfd6 url("/static/images/header-button-grey.png") left bottom repeat-x}.listview .rounded{line-height:normal;margin-right:0}
/*# sourceMappingURL=../../../../../../../static/scss/search.css.map */

View File

@ -0,0 +1,3 @@
.panelborders{border-width:1px 0px;border-style:solid none;border-color:#FFFFFF}#js-maincontainer-bot-block{clear:both;overflow:visible;margin-top:55px}#js-maincontainer-bot-block #js-search{-moz-border-radius:64px;-webkit-border-radius:64px;border-radius:64px;background-color:#8dc63f;width:652px;height:80px;overflow:hidden;clear:both;color:#fff}#js-maincontainer-bot-block #js-search label{line-height:80px;font-size:19px;float:left;padding:0;width:auto;padding:0 15px 0 30px}#js-maincontainer-bot-block #js-search form{float:left;width:210px;background:url("/static/images/landingpage/search-box-two.png") 0 0 no-repeat;height:36px;display:block;overflow:hidden;margin-top:22px}#js-slideshow{padding:0 30px;position:relative}#js-slideshow a.prev{text-indent:-10000px;font-size:0;width:15px;height:22px;display:block;position:absolute;top:45%;background:url("/static/images/landingpage/arrow-left.png") 0 0 no-repeat;left:0}#js-slideshow a.next{text-indent:-10000px;font-size:0;width:15px;height:22px;display:block;position:absolute;top:45%;background:url("/static/images/landingpage/arrow-right.png") 0 0 no-repeat;right:0}.spacer{float:left;margin:0 4px}#js-search input.inputbox{border:none;color:#66942e;height:26px;line-height:26px;font-size:13px;float:left;padding:0;margin:5px 0 5px 20px;width:149px;outline:none}#js-search input.greenbutton{background:url("/static/images/landingpage/search-button-two.png") 0 0 no-repeat;width:40px;height:40px;padding:0;margin:0;border:none;display:block;float:right;text-indent:-10000px;font-size:0}#js-slide .jsmodule>h3{background:url("/static/images/landingpage/bg-slide.png") bottom center no-repeat;padding-bottom:7px;padding-left:35px}#js-slide .jsmodule>h3 span{background:#8ac3d7;color:#fff;padding:10px 20px;-moz-border-radius:10px 10px 0 0;-webkit-border-radius:10px 10px 0 0;border-radius:10px 10px 0 0;font-size:19px;overflow:hidden;display:inline-block;font-weight:normal}
/*# sourceMappingURL=../../../../../../../static/scss/searchandbrowse2.css.map */

File diff suppressed because one or more lines are too long

View File

@ -459,7 +459,6 @@ h3 {
border-right: none; border-right: none;
@include border-radius(50px, 0, 0, 50px); @include border-radius(50px, 0, 0, 50px);
outline: none; outline: none;
// background:url($background-header) -645px -180px;
@include height(28px); @include height(28px);
width:156px; width:156px;
float: left; float: left;
@ -547,7 +546,6 @@ a#readon {
div#content-block { div#content-block {
overflow:hidden; overflow:hidden;
background:url($background-header) 100% -223px no-repeat;
padding:0 0 0 7px; padding:0 0 0 7px;
margin-bottom: 20px; margin-bottom: 20px;

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,6 @@ $alert: #e35351;
$orange: #e18551; $orange: #e18551;
$yellow: #efd45e; $yellow: #efd45e;
$image-base: "/static/images/"; $image-base: "/static/images/";
$background-header: "${image-base}bg.png";
$background-body: #fefefe; $background-body: #fefefe;
$background-booklist: "${image-base}booklist/bg.png"; $background-booklist: "${image-base}booklist/bg.png";
$font-size-default: 13px; $font-size-default: 13px;