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