From ab844d2a3ca486f2dc612421347e976b4d6f6e52 Mon Sep 17 00:00:00 2001 From: Eric Fredricksen Date: Tue, 22 Jun 2010 22:18:08 -0700 Subject: [PATCH] Remove old XUL cruft. CSS is for the HTML. --- pq.css | 223 ++++++++++++++++++++++++++++++++++++++++++++++++++++- pq.js | 0 pq.xbl | 15 ---- pq.xul | 171 ---------------------------------------- swords.bmp | Bin swords.gif | Bin 6 files changed, 219 insertions(+), 190 deletions(-) mode change 100755 => 100644 pq.css mode change 100755 => 100644 pq.js delete mode 100755 pq.xbl delete mode 100755 pq.xul mode change 100755 => 100644 swords.bmp mode change 100755 => 100644 swords.gif diff --git a/pq.css b/pq.css old mode 100755 new mode 100644 index 3a10f5f..49455d4 --- a/pq.css +++ b/pq.css @@ -1,7 +1,222 @@ -progressbar { - -moz-binding: url("progressbar.xbl#progressbar"); +/* RESET (via Boilerplate via Eric Meyer) */ + +html, body, div, span, applet, object, iframe, h1, h2, h3, h4, +h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, +code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, +strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, +ol, ul, li, fieldset, form, label, legend, table, caption, tbody, +tfoot, thead, tr, th, td { + margin: 0; + padding: 0; + border: 0; + outline: 0; + font-size: 100%; + vertical-align: baseline; + background: transparent; +} +body { line-height: 1; } +ol, ul { list-style: none; } +blockquote, q { quotes: none; } +blockquote:before, blockquote:after, q:before, q:after { + content: ''; content: none; +} +:focus { outline: 0; } +ins { text-decoration: none; } +del { text-decoration: line-through; } +table { border-collapse: collapse; border-spacing: 0; } + +/* XULish */ + +.hbox > * { + vertical-align: middle; } -label.head { +.vbox > * { + display: block; +} + +.groupbox { + display: -moz-groupbox; + margin: 6px; + padding: 1ex; + border: solid 1px #462712; + -moz-border-radius: 3px; + -moz-appearance: none; + background: url(vellum-faded.jpg); +} + +.hbox > *, .horizontal > *, td > * { + display: inline-block; +} + +.deck1 > * { + display: block; +} +.deck1 > *:first-child { + display: none; +} + +.deck0 > * { + display: none; +} +.deck0 > *:first-child { + display: block; +} + + + +.vbox { + vertical-align: top; + } + +td, th, .label, tr input, #titlebar { + font-family: Helvetica; + font-size: 8pt; + } + +td, th { + padding-left: 1ex; +} + +th { + border-bottom: solid 1px grey; + background-color: #eee; + text-align: left; + font-weight: normal; +} + +th:first-child { + border-right: solid 1px grey; +} + +table { + border: solid 1px black; + width: 250px; +} + + +.head { font-weight: bold; -} \ No newline at end of file + font-size: 9pt; +} + + + + +body { + -moz-appearance: none; + color: #462712; + background: url(vellum.jpg); +} + +.groupbox { + border-color: #462712; +} + +.groupbox, .caption { + background: url(vellum-faded.jpg); +} + + + + +#loading { + font: 24pt monotype corsiva; + padding: 5ex; + background: none; +} + + +.progress-bar { + -moz-appearance: none !important; + background-color: /*#8be*/ #ffda68 !important; +} + +.lit > .progress-bar { + -moz-appearance: none !important; + background-color: #FFD490 !important; +} + + +.slider { + height: 2ex; + border: inset 1px silver; +} + +row[onclick] { + border: solid 1px transparent; +} +row[onclick]:hover { + color: #00a; +} +row[qty]:hover { + border: outset 1px #462712; +} +row[qty]:active { + border: solid 1px #866752; +} + + + + + +div.progress-container { + border: 1px solid #ccc; + width: 250px; + margin: 2px 5px 2px 0; + padding: 1px; + background: white; +} + +div.progress-container > div.bar { + background-color: #ACE97C; + height: 12px; + width: 50%; +} + +/* + z-index: 10; + position: relative; + +div.progress-container > div.label { + z-index: 20; + position: absolute; + text-align: center; + width: 250px; +} +*/ + + +#titlebar { + background-color: blue; + color: white; + font-weight: bold; + font-size: 9pt; + padding-bottom: 4px; + margin-bottom: 1ex; + } + + +.window { + margin: 1em; +} + +div { + background-color: #eee; + } + +table { + background-color: white; + } + + +.window { + background-color: #eee; + width:800px; + border: outset 2px silver; + padding: 2px; +} + +#taskbar { + width: 99%; + } \ No newline at end of file diff --git a/pq.js b/pq.js old mode 100755 new mode 100644 diff --git a/pq.xbl b/pq.xbl deleted file mode 100755 index 82a5b2c..0000000 --- a/pq.xbl +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/pq.xul b/pq.xul deleted file mode 100755 index a431e56..0000000 --- a/pq.xul +++ /dev/null @@ -1,171 +0,0 @@ - - - - - - - - - - - - -