From c295e15a0547cc6a9dc0ddc2bb616451a785c6e2 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Tue, 4 Jun 2013 01:28:46 -0400 Subject: [PATCH] Copy over some CSS files used in greenfield. --- admin/templates/css/admin.css | 264 ++++++++++++++++++++++++++++++++++ admin/templates/css/reset.css | 53 +++++++ 2 files changed, 317 insertions(+) create mode 100644 admin/templates/css/admin.css create mode 100644 admin/templates/css/reset.css diff --git a/admin/templates/css/admin.css b/admin/templates/css/admin.css new file mode 100644 index 0000000..9ffad66 --- /dev/null +++ b/admin/templates/css/admin.css @@ -0,0 +1,264 @@ +/** Basic elements */ +body, input, textarea { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 12pt; +} + +#header { + background-color: lightgray; + margin-bottom: 10px; + padding: 3px; +} + +#header h1 { + font-size: 18pt; + display: inline; + margin-right: 20px; +} + +#navigation { + display: inline-block; + list-style: none; +} + +#navigation li { + display: inline-block; + margin: 0px 20px 0px 20px; +} + +#userinfo { + float: right; +} + +#wrapper { + padding: 7px; +} + +#no-wrapper { + margin-top: -10px; + border-top: 1px solid black; +} + +#footer { + font-size: 9pt; + text-align: center; + margin-top: 20px; +} + +input[type="submit"], input[type="reset"], input[type="button"] { + background: -webkit-gradient( + linear, + left bottom, + left top, + color-stop(0, rgb(179,179,179)), + color-stop(1, rgb(230, 230, 230)) + ); + background: -moz-linear-gradient( + center bottom, + rgb(179,179,179) 0% + rgb(230, 230, 230) 100%, + ); + + color: rgb(77, 77, 77); + font-size: 10pt; + font-weight: bold; + + padding: 3px 15px 3px 15px; + + border-style: solid; + border-color: rgb(128, 128, 128); + border-width: 1px; + border-radius: 12pt; +} + + input[type="submit"]:active, input[type="reset"]:active, input[type="button"]:active { + background: -webkit-gradient( + linear, + left bottom, + left top, + color-stop(1, rgb(179,179,179)), + color-stop(0, rgb(230, 230, 230)) + ); + background: -moz-linear-gradient( + center bottom, + rgb(179,179,179) 100% + rgb(230, 230, 230) 0%, + ); + } + +.clear { + clear: both; +} + +/** Main bug list */ +#bug-list { + width: 100%; + + background-color: rgb(204, 204, 204); + border-spacing: 1px; + border-collapse: separate; +} + +#bug-list th { + background-color: rgb(83, 132, 187); + padding: 3px; + text-align: left; +} + +#bug-list tr td { + padding: 3px; +} + +#bug-list tr:nth-child(odd) { + background-color: rgb(220, 231, 251); +} +#bug-list tr:nth-child(even) { + background-color: rgb(242, 242, 242); +} + +/** Bug display */ +#bug-content { + background: -webkit-gradient( + linear, + left bottom, + left top, + color-stop(0.5, rgb(255,255,255)), + color-stop(1, #BBBDE3) + ); + background: -moz-linear-gradient( + center bottom, + rgb(255,255,255) 50%, + #BBBDE3 100% + ); +} + +#bug-title input { + width: 99%; + margin: 3px; +} + +#bug-comments { + width: 69%; + padding: 5px; + + display: inline-block; + + background-color: white; + + border-color: black; + border-style: solid; + border-width: 1px 1px 0px 0px; +} + +#bug-comments .comment { + background: -webkit-gradient( + linear, + left bottom, + left top, + color-stop(1, rgb(220,231,255)), + color-stop(0.02, rgb(255,255,255)) + ); + background: -moz-linear-gradient( + center bottom, + rgb(220,231,255) 100%, + rgb(255,255,255) 25% + ); + + padding: 5px; + margin-bottom: 20px; +} + +#bug-comments .comment .author-line { + color: rgb(23, 90, 170); + font-size: 11pt; + margin-bottom: 10px; +} + +#metadata { + width: 29%; + display: inline-block; + vertical-align: top; +} + +#attributes { + padding: 5px; +} + +#attributes input { + width: 90%; + padding: 3px; +} + +#attributes dt { + display: inline-block; + width: 48%; + font-weight: bold; + clear: both; +} + + #attributes dt input { + background-color: #8BACD0; + border: 1px solid black; + } + +#attributes dd { +/* width: 20%;*/ + display: inline-block; + width: 48%; +} + + #attributes dd input { + background-color: #C5D6E8; + border: 1px solid black; + } + +/** Admin navigation */ +#admin-navigation { + float: left; + background-color: rgb(200, 255, 255); + padding: 3px; + list-style: none; +} + + #admin-navigation li { + margin: 10px; + } + +/** System Options */ +#settings { + width: 75%; + margin: auto; + + background-color: rgb(204, 204, 204); + border-spacing: 1px; + border-collapse: separate; +} + +#settings tr { + background-color: white; +} + +#settings th { + text-align: left; + width: 35%; + padding: 3px; +} + +#settings th label { + display: block; +} + +#settings th dfn { + font-size: 10pt; + font-weight: normal; +} + +#settings td { + vertical-align: middle; + text-align: center; + padding: 3px; +} + +#settings td input[type="text"] { + width: 80%; +} diff --git a/admin/templates/css/reset.css b/admin/templates/css/reset.css new file mode 100644 index 0000000..51bff53 --- /dev/null +++ b/admin/templates/css/reset.css @@ -0,0 +1,53 @@ +/* + html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline) + v1.4 2009-07-27 | Authors: Eric Meyer & Richard Clark + html5doctor.com/html-5-reset-stylesheet/ +*/ + +html, body, div, span, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +abbr, address, cite, code, +del, dfn, em, img, ins, kbd, q, samp, +small, strong, sub, sup, var, +b, i, +dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td, +article, aside, figure, footer, header, +hgroup, menu, nav, section, menu, +time, mark, audio, video { + margin:0; + padding:0; + border:0; + outline:0; + font-size:100%; + vertical-align:baseline; + background:transparent; +} + +article, aside, figure, footer, header, +hgroup, nav, section { display:block; } + +nav ul { list-style:none; } + +blockquote, q { quotes:none; } + +blockquote:before, blockquote:after, +q:before, q:after { content:''; content:none; } + +a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; } + +ins { background-color:#ff9; color:#000; text-decoration:none; } + +mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; } + +del { text-decoration: line-through; } + +abbr[title], dfn[title] { border-bottom:1px dotted #000; cursor:help; } + +/* tables still need cellspacing="0" in the markup */ +table { border-collapse:collapse; border-spacing:0; } + +hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; } + +input, select { vertical-align:middle; } -- 2.22.5