mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
...
This commit is contained in:
parent
4f031e05dd
commit
dc9a3c89ef
@ -150,22 +150,20 @@ h2.library_name {
|
||||
|
||||
/* }}} */
|
||||
|
||||
/* Combobox {{{ */
|
||||
/* Widgets {{{ */
|
||||
|
||||
.ui-button { margin-left: -1px; }
|
||||
.ui-button-icon-only .ui-button-text { padding: 0.35em; }
|
||||
.ui-autocomplete-input { margin: 0; padding: 0.48em 0 0.47em 0.45em; }
|
||||
#content .ui-widget { font-size: medium }
|
||||
|
||||
#content .ui-button, #content .ui-button-text { padding: 0.2em 0.5em; line-height: 1 }
|
||||
|
||||
/* }}} */
|
||||
|
||||
|
||||
/* Sort select {{{ */
|
||||
|
||||
.sort_select {
|
||||
float: left;
|
||||
margin-left: 1em;
|
||||
margin-top: 2ex;
|
||||
font-size: small;
|
||||
max-height: 2.75em;
|
||||
overflow: hidden;
|
||||
}
|
||||
@ -176,19 +174,17 @@ h2.library_name {
|
||||
|
||||
/* }}} */
|
||||
|
||||
|
||||
/* Search bar {{{ */
|
||||
|
||||
#search_box {
|
||||
float: right;
|
||||
margin-right: 1em;
|
||||
margin-top: 2ex;
|
||||
font-size: small;
|
||||
max-height: 2.75em;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#search_box .search_input { padding: 0.35em }
|
||||
|
||||
/* }}} */
|
||||
|
||||
|
||||
@ -246,6 +242,17 @@ h2.library_name {
|
||||
.category li.category-item h4 { display: inline }
|
||||
.category li.category-item span.href { display: none }
|
||||
|
||||
/*
|
||||
.category a.navlink {
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.category a.navlink:hover {
|
||||
color: red;
|
||||
}
|
||||
*/
|
||||
|
||||
/* }}} */
|
||||
|
||||
|
||||
|
@ -2,10 +2,8 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html>
|
||||
<!--
|
||||
Base template that defines navigation/footers etc.
|
||||
-->
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>..:: calibre library ::.. {title}</title>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=100" />
|
||||
<link rel="icon" type="image/x-icon" href="http://calibre-ebook.com/favicon.ico" />
|
||||
|
@ -94,6 +94,8 @@ function category() {
|
||||
var href = $(this).children("span.href").html();
|
||||
window.location = href;
|
||||
});
|
||||
|
||||
$(".category a.navlink").button({ primary: 'ui-icon-arrow-1-n'});
|
||||
}
|
||||
// }}}
|
||||
|
||||
|
@ -272,9 +272,7 @@ class BrowseServer(object):
|
||||
main = u'''
|
||||
<div class="category">
|
||||
<h3>{0}</h3>
|
||||
<p><a class="navlink" href="/browse" title="{2}"
|
||||
>[{2} ↑]</a>
|
||||
</p>
|
||||
<a class="navlink" href="/browse" title="{2}">{2}</a>
|
||||
{1}
|
||||
</div>
|
||||
'''.format(
|
||||
|
Loading…
x
Reference in New Issue
Block a user