From: Marcin Koziej Date: Thu, 2 Feb 2012 14:39:23 +0000 (+0100) Subject: autocomplete style X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/ba08b7b1c9b48ce1d0ebde7d259dc777ff98162a autocomplete style --- diff --git a/scripts/drop-tables b/scripts/drop-tables new file mode 100755 index 000000000..dba22eb62 --- /dev/null +++ b/scripts/drop-tables @@ -0,0 +1,5 @@ +#!/bin/bash +DATABASE=$1 +USERNAME=$2 +PASSWORD=$3 +mysqldump -u$USERNAME -p$PASSWORD --add-drop-table --no-data $DATABASE | grep ^DROP | mysql -u$USERNAME -p$PASSWORD $DATABASE diff --git a/wolnelektury/static/css/base.css b/wolnelektury/static/css/base.css index 70bf83d38..70aa172de 100755 --- a/wolnelektury/static/css/base.css +++ b/wolnelektury/static/css/base.css @@ -26,11 +26,29 @@ body { a img { border: 0; } + a { color: #0d7e85; /*#1199a2;*/ /* #01adba; */ text-decoration: none; } +/* jquery UI overrides us */ +.ui-menu .ui-menu-item a { + color: #0d7e85 !important; + line-height: 1.636em !important; +} + +.ui-widget { + font-family: Georgia !important; + font-size: 1em !important; +} + +.ui-widget-content { + background: #EEEEEE !important; /* #E2E2E2 ? */ + border-radius: 0px !important; +} + + h1 { font-size: 3.5em; font-weight: normal; diff --git a/wolnelektury/static/css/header.css b/wolnelektury/static/css/header.css index feac00fc6..cdb74f84d 100755 --- a/wolnelektury/static/css/header.css +++ b/wolnelektury/static/css/header.css @@ -231,3 +231,16 @@ a.menu span { #lang-menu .active { color: #000; } + +.search-hint-label { + display: inline-block; + width: 25em; + font-size: 1.1em; + line-height: 1.636em; +} + +.search-hint-category { + font-size: 1.1em; + line-height: 1.636em; + +} \ No newline at end of file diff --git a/wolnelektury/static/js/search.js b/wolnelektury/static/js/search.js index ee4cc51b5..e81024603 100644 --- a/wolnelektury/static/js/search.js +++ b/wolnelektury/static/js/search.js @@ -29,7 +29,8 @@ var __bind = function (self, fn) { render_item: function (ul, item) { return $("
  • ").data('item.autocomplete', item) - .append(''+item.label+ ' ('+item.category+')') + .append(''+item.label+''+ + ''+item.category+'') .appendTo(ul); },