From 78b09cacd0c124b80c380ba8c67af943fd751b92 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Wed, 17 Dec 2014 14:50:47 -0600 Subject: [PATCH] Update `base.css` with various things from other projects. Also update "progress" template accordingly. --- tailbone/static/css/base.css | 68 +++++++++++++++++++++++++++++++- tailbone/templates/progress.mako | 6 +-- 2 files changed, 70 insertions(+), 4 deletions(-) diff --git a/tailbone/static/css/base.css b/tailbone/static/css/base.css index 6e006ab7..b596d96b 100644 --- a/tailbone/static/css/base.css +++ b/tailbone/static/css/base.css @@ -3,9 +3,13 @@ * General ******************************/ +* { + margin: 0px; +} + body { font-family: Verdana, Arial, sans-serif; - font-size: 82%; + font-size: 11pt; } a { @@ -17,6 +21,52 @@ a:hover { text-decoration: underline; } +h1 { + margin-bottom: 15px; +} + +h2 { + font-size: 12pt; + margin: 20px auto 10px auto; +} + +li { + line-height: 2em; +} + +p { + margin-bottom: 5px; +} + +.left { + float: left; + text-align: left; +} + +.right { + float: right; + text-align: right; +} + +.wrapper { + overflow: auto; +} + +div.buttons { + clear: both; + margin-top: 10px; +} + +div.dialog { + display: none; +} + +div.flash-message { + background-color: #dddddd; + margin-bottom: 8px; + padding: 3px; +} + div.flash-messages div.ui-state-highlight { padding: .3em; margin-bottom: 8px; @@ -26,3 +76,19 @@ div.error-messages div.ui-state-error { padding: .3em; margin-bottom: 8px; } + +div.error { + color: #dd6666; + font-weight: bold; + margin-bottom: 10px; +} + +ul.error { + color: #dd6666; + font-weight: bold; + padding: 0px; +} + +ul.error li { + list-style-type: none; +} diff --git a/tailbone/templates/progress.mako b/tailbone/templates/progress.mako index 017b1535..afbaafa7 100644 --- a/tailbone/templates/progress.mako +++ b/tailbone/templates/progress.mako @@ -10,7 +10,7 @@ ${h.stylesheet_link(request.static_url('tailbone:static/css/layout.css'))}