Update base.css with various things from other projects.

Also update "progress" template accordingly.
This commit is contained in:
Lance Edgar 2014-12-17 14:50:47 -06:00
parent 23013c954d
commit 78b09cacd0
2 changed files with 70 additions and 4 deletions

View file

@ -3,9 +3,13 @@
* General * General
******************************/ ******************************/
* {
margin: 0px;
}
body { body {
font-family: Verdana, Arial, sans-serif; font-family: Verdana, Arial, sans-serif;
font-size: 82%; font-size: 11pt;
} }
a { a {
@ -17,6 +21,52 @@ a:hover {
text-decoration: underline; 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 { div.flash-messages div.ui-state-highlight {
padding: .3em; padding: .3em;
margin-bottom: 8px; margin-bottom: 8px;
@ -26,3 +76,19 @@ div.error-messages div.ui-state-error {
padding: .3em; padding: .3em;
margin-bottom: 8px; 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;
}

View file

@ -10,7 +10,7 @@
${h.stylesheet_link(request.static_url('tailbone:static/css/layout.css'))} ${h.stylesheet_link(request.static_url('tailbone:static/css/layout.css'))}
<style type="text/css"> <style type="text/css">
#container { #body-wrapper {
position: relative; position: relative;
} }
@ -114,7 +114,7 @@
</script> </script>
</head> </head>
<body> <body>
<div id="container"> <div id="body-wrapper">
<div id="wrapper"> <div id="wrapper">
@ -139,6 +139,6 @@
</div><!-- #wrapper --> </div><!-- #wrapper -->
</div><!-- #container --> </div><!-- #body-wrapper -->
</body> </body>
</html> </html>