/* ---------------- */ /* ! General Styles */ /* ---------------- */ * { vertical-align:middle; } html, body { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight:200; max-width:800px; margin: 0 auto; color:#312; } button { color:#312; padding:0.25em; border:1px solid #888; border-radius:5px; box-shadow:1px 1px #aaa; min-width:65px; vertical-align:middle; } a, a:visited { text-decoration:none; color:#558BFF; } a:hover { text-decoration:underline; } legend { display:block; } legend:hover { cursor:pointer; } h1,h2 { display:inline-block; vertical-align:middle; width:25%; } ul { /*padding:auto;*/ padding-left:2.5em; margin:0; } li { padding:0.5em 0; } dd { /*margin:auto;*/ margin-left:0.5em; } /* Hide forms by default */ fieldset dl { display:none; } #edit_form dl { display:block; } /* form styles */ form dt, form dd { display:inline-block; vertical-align:top; padding:0.25em 0; } form dt { width:40%; text-align:right; } form dd { width:58%; text-align:left; margin-left:0; padding-left:.25em; } /* ! Edit buttons */ .modify { position:absolute; display:none; margin-left:1em; vertical-align:middle; } li:hover > .modify, dt:hover > .modify { display:inline-block; vertical-align:middle; } button.save { background:#797; background:-o-linear-gradient(#797, #595); background:-moz-linear-gradient(#797, #595); background:-webkit-linear-gradient(#797, #595); background:linear-gradient(#797, #595); color:#fff; } button.save:hover { background:#595; background:-o-linear-gradient(#595, #797); background:-moz-linear-gradient(#595, #797); background:-webkit-linear-gradient(#595, #797); background:linear-gradient(#595, #797); } button.edit { background:#fff; background:-o-linear-gradient(#fff, #ddd); background:-moz-linear-gradient(#fff, #ddd); background:-webkit-linear-gradient(#fff, #ddd); background:linear-gradient(#fff, #ddd); } button.edit:hover { background:#ddd; background:-o-linear-gradient(#ddd, #fff); background:-moz-linear-gradient(#ddd, #fff); background:-webkit-linear-gradient(#ddd, #fff); background:linear-gradient(#ddd, #fff); } button.delete { background:#f55; background:-o-linear-gradient(#f55, #955); background:-moz-linear-gradient(#f55, #955); background:-webkit-linear-gradient(#f55, #955); background:linear-gradient(#f55, #955); color:#fff; } button.delete:hover { background:#955; background:-o-linear-gradient(#955, #f55); background:-moz-linear-gradient(#955, #f55); background:-webkit-linear-gradient(#955, #f55); background:linear-gradient(#955, #f55); } /* ! Outline styles */ .list { padding:0; margin:0; } .list dl { margin-left:0.5em; } dl.outline dd { border-bottom:1px dotted #555; margin-bottom:0.5em; } dl.outline dd:last-child { border:0; } dl.outline dt { display:list-item; list-style:square inside; } .list li { list-style:none; } li h4 { display:inline; } /* ! Data listing styles */ dl.multiline, dl.pair { border-bottom:1px dotted #312; } dl.multiline dt { font-weight:bold; line-height:1.5; font-size:1em; margin:0; } dl.multiline dd { margin:1em; margin-right:0; } dl.pair dt, dl.pair dd { display:inline-block; padding:0.25em 0; } dl.pair dt { width:35%; } dl.pair dd { width:64%; margin-left:0; padding-left:0; } /* ! Form overlay styles */ #overlay_bg { background:#777; background:rgba(105,105,220,0.85); position:fixed; display:none; width:900%; height:900%; z-index:5; left:0; top:0; } #overlay { position:absolute; background:#ddd; /*background:rgba(255,255,255,0.85); top:25%; left:25%; width:600px; height:auto;*/ min-width:700px; padding:0.5em; border-radius:5px; display:none; z-index:25; }