From 8dbd79c0615ce896df0c3d3c7a37a16a1b495ef9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 17 May 2016 22:03:14 +0200 Subject: [PATCH] add styles for thesaurus popup autocomplete --- plonetheme/pcfweb/static/css/style.css | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/plonetheme/pcfweb/static/css/style.css b/plonetheme/pcfweb/static/css/style.css index a2cf4a1..67cc817 100644 --- a/plonetheme/pcfweb/static/css/style.css +++ b/plonetheme/pcfweb/static/css/style.css @@ -2750,14 +2750,34 @@ div.droppedcheckboxes input{ background: none; } -div#entry-points ul, div#term-content ul { +div.thesaurus-search-results ul, div#entry-points ul, div#term-content ul { list-style: circle; } -div#entry-points ul li, div#term-content ul li { +div.thesaurus-search-results ul li, div#entry-points ul li, div#term-content ul li { display: block; line-height: 1.5em; padding-left: 1em; + padding-right: 1em; +} + +div.thesaurus-search-results ul { + position: absolute; + background: white; + border: 1px solid #aaa; + padding: 1ex 0 1ex 0; +} + +div.thesaurus-search-results ul li:nth-child(2n) { + background: #eee; +} + +div.thesaurus-search-results ul li a { + display: block; +} + +div#term-content h2 { + padding-bottom: 1ex; } div#term-content table {