/** * admin.css * * CSS for the Strangecode administration sites. */ /*_____________________ GLOBAL ____________________*/ body { background: #fff; margin: 0; padding: 0; font-family: verdana,geneva,arial,sans-serif; color: #000; } a:link, a:visited { color: #336; text-decoration: underline; } a:hover { color: #C30; text-decoration: none; } a:active { color: #336; } pre { margin: 0; } /*_____________________ MISC ____________________*/ /* The following are here in addition to in utilities.inc.css only because I want the font size 70%. Is there a more general way to do this? There currently are NO font-size specifications in utilities.inc.css or codebase.inc.css. That seems safest, but requires that they are redefined anyways (like here for eg). Have you figured out how to do font sizes correctly? */ /* Why does having a form change the presentation of the page? Don't do that. */ form { margin: 0; } form label { font-size: 70%; max-width: 25em; font-weight: bold; } .help, .sc-help, .commandtext, .commanditem { font-size: 70%; } /* For fv err applied to tds. */ td.sc-msg-warning, td.sc-msg-error, td.sc-msg-success, td.sc-msg-notice { background: #fff; color: #f00; border: none; } /*_____________________ HEADER ____________________*/ #userinfo { width: 98%; margin: 4px auto 2px; background-color: #fff; color: #333; text-align: right; } #userinfo p { margin: 0; padding: 0; } #container { width: 98%; margin: 0 auto 10px; background-color: #EEE; border: 1px solid gray; } #top { border-bottom: 1px solid gray; background-color: #CCC; padding: .5em; } #top h1 { margin: 0; padding: 0; font-size: 150%; color: #000; } /*_____________________ NAVIGATION ____________________*/ #leftnav { float: left; width: 9em; margin: 0 0 10px 0; border-right: 1px solid gray; padding: 0; background-color: #EEE; } #leftnav ul { padding: 0; margin: 0; width: 9em; } #leftnav #navlist li { list-style: none; margin: 0; border-bottom: 1px solid #ccc; margin-left: 0em; padding: 1px 0 2px 6px; font-size: 70%; font-weight: bold; } #leftnav #navlist li a { text-decoration: none; padding: 1px; } #leftnav #navlist li.label { color: #999; padding-top: 15px; font-size: 90%; font-weight: bold; } #leftnav a.addlink { margin-left: 0.5em; font-weight: normal; } #leftnav #navlist li a:link, #navlist li a:visited { color: #336; } #leftnav #navlist li a:hover, #navlist li a:active { color: #C00; } /*_____________________ CONTENT ____________________*/ #content { margin-left: 9em; border-left: 1px solid gray; padding: 0.75em 0.5em 2em 0.5em; background-color: #FFF; } #content h1, #content h2, #content h3, #content h4, #content h5 { margin: 0 0 .5em 0; } #content h1 { font-size: 130%; } #content h2 { font-size: 110%; } #content h3 { font-size: 90%; } #content h4 { font-size: 75%; } #content p { margin: 0 0 .5em 0; font-size: 70%; line-height: 130%; } #content li { margin: 0 0 0 0; font-size: 70%; line-height: 100%; } /*_____________________ TABLES ____________________*/ /* BEAU: I copied this from NEXT. Please help! */ table { border-size: 1px; border-collapse: collapse; border-spacing: 0; } th { padding: 2px; text-align: left; vertical-align: middle; white-space: nowrap; } td { vertical-align: top; padding: 8px 6px 0 0; } table.list { border-size: 1px; width: 100%; margin: 4px 0; } table.list th { padding: 0 6px 1px 2px; font-size: 70%; border-top: 2px solid #eee; border-bottom: 2px solid #eee; background-color: #ddd; /* border-bottom: 1px solid #000; */ } table.list td, #commandbox table td { font-size: 70%; padding: 2px 6px 2px 2px; border-bottom: 1px dotted #ccc; vertical-align: top; } table.list tr:hover, #commandbox table tr:hover { background: #FAF8C7; } /* BEAU: The old stuff that was here... #content table { background-color: #FFF; } #content th { padding: 2px; text-align: left; vertical-align: middle; white-space: nowrap; } #content td { vertical-align: top; } #content table.list { width: 99%; margin: 4px 0; background-color: #FFF; } #content table.list th { padding-right: 6px; font-size: 70%; background-color: #CCC; border-bottom: 1px solid #000; } #content table.list td { font-size: 70%; padding: 2px; border-bottom: 1px dotted #000; } */ /*_____________________ COMMANDS ____________________*/ /* Should this be an ID??? */ #commandbox { padding: 3px 5px 5px 5px; margin: 0 0 10px 0; border: 2px solid #eee; background-color: #ddd; color: inherit; } .commanditem { padding: 0 10px 5px 0; white-space: nowrap; } #commandbox .form { margin-top: 8px; } /* I replaced all instances of commandtext with commanditem on the SC admin, but leave it here for sites I didn't. */ .commandtext { padding-right: 1em; } .command_left { float: left; white-space: nowrap; } .command_right { position: relative; visibility: visible; white-space: nowrap; float: right; } /*_____________________ FOOTER ____________________*/ #footer { clear: both; margin: 0; padding: 6px; color: #333; background-color: #DDD; border-top: 1px solid gray; font-size: 70%; line-height: 100%; } #footer a:link, #footer a:visited { color: #333; text-decoration: none; } #footer a:active, #footer a:hover { color: #333; text-decoration: underline; }