diff options
author | Yorhel <git@yorhel.nl> | 2008-12-23 15:19:44 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2008-12-23 15:19:44 +0100 |
commit | faa541ec2040538f2cb86710c6a1e4f98f27a0ac (patch) | |
tree | 54ed015632f006fdb2aea951f5364f5574a8df85 /static | |
parent | c59111e989844e670aea7a1e6af3bdd134e6cebc (diff) |
CSS + skin generator fixes
The skin generator itself is now pretty much finished. Unless people
want more control over what they can change, that is.
Diffstat (limited to 'static')
-rw-r--r-- | static/f/forms.js | 2 | ||||
-rw-r--r-- | static/s/angel/conf | 56 | ||||
-rw-r--r-- | static/s/test/conf | 56 |
3 files changed, 79 insertions, 35 deletions
diff --git a/static/f/forms.js b/static/f/forms.js index 8832e2c1..603aaafc 100644 --- a/static/f/forms.js +++ b/static/f/forms.js @@ -75,7 +75,7 @@ function catLoad() { } function catSet(id, rnk) { - x('cat_'+id).className = 'catsel_'+rnk; + x('cat_'+id).className = 'catlvl_'+rnk; x('b_'+id).innerHTML = rnk; } diff --git a/static/s/angel/conf b/static/s/angel/conf index 0e8dbaed..280e0424 100644 --- a/static/s/angel/conf +++ b/static/s/angel/conf @@ -1,17 +1,39 @@ -name Angelic Serenade -bodybg #000 // main background color -maintext #ddd // primary text color -alttitle #fff // alternative title + menu link color -link #7bd // primary link color -tabbg #012 // background color of inactive tabs -maintitle #123 // text color of the site title -footer #123 // text color of the footer -border #258 // primary border color -standout #e44 // color of 'stand-out' text -secbg #135 // secondary background color (used on input fields and table headers) -secborder #35A // secondary border color (used on input fields) -statok #0c0 // generic 'ok' text color (used for vnlist statuses & category browser) -statnok #c00 // generoc 'not ok' text color (used for above, and as border for NSFW screenshots) -boxbg #112233BC // RGBA, background color of the boxes. -imglefttop bg.jpg -imgrighttop bgright.jpg +name Angelic Serenade + +// text +maintext #ddd // primary text color (also used for the menu links) +grayedout #258 // color used for grayed-out/non-important things +standout #e44 // color of 'stand-out' text +link #7bd // primary link color (not used for the menu links) +statok #0c0 // generic 'ok' text color (used for vnlist statuses & category browser) +statnok #c00 // generoc 'not ok' text color (used for above, and as border for NSFW screenshots) +footer #123 // text color of the footer + +// titles +maintitle #123 // text color of the site title +boxtitle #258 // box titles +alttitle #fff // alternative title + +// bg colors +bodybg #000 // main background color +tabbg #012 // background color of inactive tabs +secbg #135 // secondary background color (used on input fields and table headers) +secborder #35A // secondary border color (used on input fields) +border #258 // primary border color +boxbg #112233BC // RGBA, background color of the boxes, stacked for menu box titles and odd row numers + +// images (0 = no image) +imglefttop bg.jpg +imgrighttop bgright.jpg + +// misc colors +catlevel1 #444 // category levels +catlevel2 #777 +catlevel3 #fff +diffadd #354 // background color of changes in the diff viewer +diffdel #534 +warnbg #534 // background color of a warning box +warnborder #c00 // ..border +noticebg #354 // notice box +noticeborder #0c0 // ...and border + diff --git a/static/s/test/conf b/static/s/test/conf index 7e76a634..baa62a62 100644 --- a/static/s/test/conf +++ b/static/s/test/conf @@ -1,17 +1,39 @@ -name Testlayout -bodybg #fff // main background color -maintext #333 // primary text color -alttitle #000 // alternative title + menu link color -link #000 // primary link color -tabbg #ddd // background color of inactive tabs -maintitle #ccc // text color of the site title -footer #bbb // text color of the footer -border #666 // primary border color -standout #c00 // color of 'stand-out' text -secbg #666 // secondary background color (used on input fields and table headers) -secborder #000 // secondary border color (used on input fields) -statok #050 // generic 'ok' text color (used for vnlist statuses & category browser) -statnok #500 // generoc 'not ok' text color (used for above, and as border for NSFW screenshots) -boxbg #ccccccbb // RGBA, background color of the boxes. -imglefttop bg.jpg -imgrighttop bgright.jpg +name Testlayout + +// text +maintext #222 +grayedout #666 +standout #500 +link #005 +statok #050 +statnok #500 +footer #bbb + +// titles +maintitle #ccc +boxtitle #444 +alttitle #000 + +// bg colors +bodybg #fff +tabbg #ddd +secbg #bbb +secborder #000 +border #666 +boxbg #dddddddd + +// images (0 = no image) +imglefttop bg.jpg +imgrighttop bgright.jpg + +// misc colors +catlevel1 #555 +catlevel2 #333 +catlevel3 #000 +diffadd #cfc +diffdel #fcc +warnbg #fcc +warnborder #c00 +noticebg #cfc +noticeborder #0c0 + |