From a3154ebf45fa879bd840c97f0488acbf7a257f0e Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Thu, 9 Aug 2012 09:40:40 -0700 Subject: [PATCH] style tweaks --- edbob/pyramid/static/css/edbob.css | 48 +++++++++++++++++++++++++----- 1 file changed, 40 insertions(+), 8 deletions(-) diff --git a/edbob/pyramid/static/css/edbob.css b/edbob/pyramid/static/css/edbob.css index c17d99a..a545efc 100644 --- a/edbob/pyramid/static/css/edbob.css +++ b/edbob/pyramid/static/css/edbob.css @@ -128,6 +128,7 @@ h1 { } h2 { + font-size: 12pt; margin: 20px auto 10px auto; } @@ -167,6 +168,31 @@ div.controls label { width: 120px; } + +/****************************** + * Header Table + ******************************/ + +table.header { + padding-bottom: 5px; + width: 100%; +} + +table.header td.context-menu { + vertical-align: top; +} + +table.header td.context-menu ul { + list-style-type: none; + text-align: right; +} + +table.header td.tools { + text-align: right; + vertical-align: bottom; +} + + /****************************** * Dialogs ******************************/ @@ -205,7 +231,10 @@ div.grid table { font-size: 9pt; line-height: normal; white-space: nowrap; - /* width: 100%; */ +} + +div.grid.full table { + width: 100%; } div.grid table th, @@ -237,6 +266,10 @@ div.grid table tbody td { text-align: left; } +div.grid table tbody td.right { + text-align: right; +} + div.grid table tr.odd { background-color: #e0e0e0; } @@ -323,14 +356,13 @@ div.pager p.page-links { * Fieldsets ******************************/ -div.field-couple { +div.fieldset div.field-wrapper { clear: both; overflow: auto; min-height: 30px; } -/* div.field-couple div.label, */ -div.field-couple label { +div.fieldset div.field-wrapper label { display: block; float: left; width: 140px; @@ -345,16 +377,16 @@ div.field-couple label { /* font-weight: bold; */ /* } */ -div.field-couple div.field { +div.fieldset div.field-wrapper div.field { display: block; float: left; margin-bottom: 5px; line-height: 25px; } -div.field-couple div.field input[type=text], -div.field-couple div.field input[type=password], -div.field-couple div.field select { +div.fieldset div.field-wrapper div.field input[type=text], +div.fieldset div.field-wrapper div.field input[type=password], +div.fieldset div.field-wrapper div.field select { width: 320px; }