Mercurial > hg > ltpdarepo
view src/ltpdarepo/static/style.css @ 64:f3ed8e9abf4a
More HTML cleanup and CSS tweaks.
author | Daniele Nicolodi <daniele@grinta.net> |
---|---|
date | Sat, 13 Aug 2011 23:56:30 +0200 |
parents | 59ad887c794b |
children | f2d3c99d6052 |
line wrap: on
line source
/* color palette inspired by http://www.colourlovers.com/palette/1133393/Green_Shades */ html, body { height: 100%; margin: 0; padding: 0; } body { font-family: lucida grande, verdana, sans-serif; font-size: 13px; color: #000; } pre { font-family: andale mono, monospace; } input, select { font-size: 100%; } :focus { outline: none; } a { color: #0F67A1; } /* structure */ .discrete { color: #888; } .content { margin: 0px 10em; } .footer { margin: 0px 9.5em; } .header { padding: 1em 0 0.75em 0; background: #CFF09E; border-bottom: #BFE08E solid 5px; } .header div { display: block; margin: 0px 10em; color: #555; } .header span { font-size: 90%; } h1, h2, h3 { font-weight: normal; } h1 { margin: 0; } h1 a { text-decoration: none; color: inherit; } h2 { margin: 1em 0em 0em; padding: 0; font-size: 20px; } p { margin: 0; padding: 0; line-height: 1.4; } ul { margin: 0.75em 0em 1.5em; padding: 0; line-height: 1.5; list-style: none; } ul li:before { content: "\00BB"; color: #BFBFBF; position: absolute; margin-left: -17px; } ul li:hover:before { color: #000; } ol { margin: 15px 0 15px 30px; padding: 0; line-height: 1.4; } div.breadcrumbs, div.user { padding-top: 0.4em; font-size: 90%; color: #888; } div.breadcrumbs { float: left; } div.user { float: right; } div.breadcrumbs a, div.user a { color: inherit; text-decoration: none; } div.breadcrumbs a:hover, div.user a:hover { border-bottom: 1px solid #888; } /* data display styling */ p.field { padding: 0; margin: 0.2em 0; } span.label { color: #888; } /* tables styling */ th { text-align: left; font-weight: normal; padding: 0.2em 1em; border-bottom: 1px solid #BFBFBF; text-transform: lowercase; color: #888; } td { text-align: center; } /* footer */ div.footer { padding: 10em 0 2em 0; color: #AAAAAA; } div.footer hr { border: none; height: 1px; background-color: #BFBFBF; padding: 0; margin: 5px 0; width: 100%; } div.footer p { font-size: 70%; padding: 0; margin: 0 5px; } /* flash messages styling */ .flash { padding: 0.5em 0em 0em; } .message { color: #466719; } .error { color: #DC143C; } /* forms styling */ form { margin: 0.75em 0em; } fieldset { margin: 0; padding: 0; border: none; } div.help { color: #888; font-size: 90%; } div.widget { padding-top: 0.2em; } div.field { margin-top: 0.7em; } input[type=submit], input[type=button] { display: inline-block; background: #E6E6E6; border: 1px solid #BFBFBF; padding: 4px 10px; font-family: lucida grande, verdana, sans-serif; outline: none; line-height: 18px; box-shadow: 0px 0px 2px #DDD; -moz-box-shadow: 0px 0px 2px #DDD; -webkit-box-shadow: 0px 0px 2px #DDD; } input[type=submit]:hover, input[type=button]:hover { background: #CFF09E; } /* data table */ .listing { border-collapse: collapse; font-size: 90%; width: 100%; padding: 0; box-shadow: 0px 0px 2px #DDD; -moz-box-shadow: 0px 0px 2px #DDD; -webkit-box-shadow: 0px 0px 2px #DDD; } .listing td, .listing th { padding: 0.3em 0.5em; margin: 0; white-space: nowrap; border: 1px solid #CCC; text-align: center; } .listing tr:hover > td { border-bottom: 1px solid #DC143C; } td.id { color: #DC143C; } td.id, td.name { font-family: andale mono, monospace; } td.name, td.title, td.description { text-align: left; } td.description { width: 100%; } tbody tr.odd { background-color: #F7F7F7; } tbody tr.even { background-color: #FCFCFC; } td a { text-decoration: none; color: inherit; } tbody td a:hover { border-bottom: 1px solid #666; } /* pagination */ .pagination { float: right; font-size: 90%; } .pagination a, .pagination span { text-align: center; text-decoration: none; color: #888; display: inline-block; float: left; padding: 0px; margin: 5px; width: 2em; border-bottom: 1px solid white; } .pagination a:hover { border-bottom: 1px solid #888; } .pagination .current { color: #DC143C; } /* activity view */ .activity { margin: 1em; } .activity table { width: 100%; border-collapse: collapse; } .activity td { margin: 0; padding: 0.3em; border: none; font-size: 90%; } .activity td.bars { padding: 0 2px; vertical-align: bottom; } .activity td div { background: #DDD; border-bottom: 2px solid #DDD; width: 100%; } /* search form */ .search { margin: 1.25em 0; } .search form { margin: 0; padding: 0; } .search input[type=text] { border: 1px solid #BFBFBF; font-size: 100%; width: 20em; padding: 5px 10px; line-height: 1.3em; box-shadow: 0px 0px 2px #DDD; -moz-box-shadow: 0px 0px 2px #DDD; -webkit-box-shadow: 0px 0px 2px #DDD; } .search input[type=text]:hover, .search input[type=text]:focus { box-shadow: 0px 0px 2px #BFBFBF; -moz-box-shadow: 0px 0px 2px #AAAAAA; -webkit-box-shadow: 0px 0px 2px #AAAAAA; } .wrapper { display: block; } .wrapper:after { clear: both; content: " "; display: block; height: 0; overflow: hidden; visibility: hidden; } /* query builder */ .query { font-size: 90%; margin: 0.5em 0; } /* select elements are replaced with js equivalents. avoid jumpiness */ .query select { display: none; } #add-dropdown { width: 12em; margin: 5px 0px; box-shadow: 0px 0px 2px #DDD; -moz-box-shadow: 0px 0px 2px #DDD; -webkit-box-shadow: 0px 0px 2px #DDD; } .criteria .dropdown { border: none; } .criteria { margin: 5px 0; box-shadow: 0px 0px 2px #DDD; -moz-box-shadow: 0px 0px 2px #DDD; -webkit-box-shadow: 0px 0px 2px #DDD; float: left; clear: both; height: 27px; } .criteria > * { border: 1px solid #BFBFBF; margin: 0; float: left; } .criteria .field { padding: 5px 10px; width: 12em; border-right: none; } .criteria .operator { width: 5em; border: none; } .criteria .value { margin: 0px -1px; width: 300px; } .criteria input.value { padding: 5px 10px; line-height: 13px; vertical-align: bottom; width: 278px; } .criteria .remove { height: 100%; width: 28px; padding: 0; margin: 0; outline: none; } /* permisions display */ .permissions { border-collapse: collapse; margin: 1em 0em 1em; } .permissions th { margin: 0px; padding: 3px 10px; border-bottom: 1px solid #BFBFBF; } .permissions td { margin: 0px; padding: 3px 10px; border-bottom: 1px solid #DDD; } .toggle { text-decoration: none; color: inherit; } .toggle:hover { border-bottom: 1px solid black; } /* actions */ .actions { padding: 0.75em 0em; } .actions li:before { content: ''; } .actions li { display: inline-block; } .actions a { color: black; padding: 5px 10px; text-transform: lowercase; text-decoration: none; border: 1px solid #CCC; background: #EEE; box-shadow: 0px 0px 2px #DDD; -moz-box-shadow: 0px 0px 2px #DDD; -webkit-box-shadow: 0px 0px 2px #DDD; } .actions a:hover { border: 1px solid #CCC; background: #CFF09E; } /* timespan selector */ .timespan-lo { width: 197px; padding: 5px 10px; vertical-align: bottom; } .timespan-hi { width: 197px; padding: 5px 10px; vertical-align: bottom; } .timespan-label { padding: 5px 10px; width: 60px; border-right: none; border-left: none; text-align: center; } /* object display */ .obj { margin: 1.25em 0em; border-collapse: collapse; } .obj th { text-align: right; white-space: nowrap; border-bottom: 1px solid #DDD; padding: 0.2em 0.4em; } .obj td { text-align: left; border-bottom: 1px solid #DDD; padding: 0.2em 0.4em; }