From 4c2319b7597870cfb7f930e69cc80f1a3ac8830c Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Sat, 14 Jul 2012 02:51:04 -0500 Subject: [PATCH] tweak styles --- edbob/pyramid/static/css/crud.css | 34 ++++++++++++++++-------------- edbob/pyramid/static/css/index.css | 2 +- 2 files changed, 19 insertions(+), 17 deletions(-) diff --git a/edbob/pyramid/static/css/crud.css b/edbob/pyramid/static/css/crud.css index b64c346..ccb9dd3 100644 --- a/edbob/pyramid/static/css/crud.css +++ b/edbob/pyramid/static/css/crud.css @@ -109,22 +109,24 @@ div.crud div.buttons * { * Autocomplete ******************************/ -/* div.crud div.autocomplete { */ -/* border: 1px solid #000000; */ -/* margin-top: 5px; */ -/* } */ +/* Note that these are not prefixed with 'div.crud '. */ -/* div.crud div.autocomplete div { */ -/* background-color: #dddddd; */ -/* margin: 0px; */ -/* padding: 2px 5px; */ -/* } */ +div.autocomplete { + border: 1px solid #000000; + margin-top: 5px; +} -/* div.crud div.autocomplete strong { */ -/* margin: 0px 1px; */ -/* } */ +div.autocomplete div { + background-color: #dddddd; + margin: 0px; + padding: 2px 5px; +} -/* div.crud div.autocomplete .selected { */ -/* cursor: pointer; */ -/* background-color: #aaaaaa; */ -/* } */ +div.autocomplete strong { + margin: 0px 1px; +} + +div.autocomplete .selected { + cursor: pointer; + background-color: #aaaaaa; +} diff --git a/edbob/pyramid/static/css/index.css b/edbob/pyramid/static/css/index.css index c450b38..45ca9df 100644 --- a/edbob/pyramid/static/css/index.css +++ b/edbob/pyramid/static/css/index.css @@ -13,7 +13,6 @@ div.object-index { font-size: 10pt; margin: auto; - width: 950px; } div.object-index div.wrapper { @@ -29,6 +28,7 @@ div.object-index div.wrapper { div.object-index #context-menu { float: right; list-style-type: none; + text-align: right; }