锴 angry fishtrap 狗 (
kaigou) wrote in
dreamscapes2009-10-19 09:44 pm
Entry tags:
Tranquility III / Gradiance
Theme name/layout: Gradiance
Author: Kaigou
Layout info: Tranquility III*
Image info: 1 image (faux icon)** http://i385.photobucket.com/albums/oo292/solnull/other/openid-navy.jpg
Source: http://www.karinoyo.com/media/gradiance.css
[NOTE: if considering claiming, hold off for a bit: I'm prepping S2 code, so it's less of a major project for anyone to convert. At least, that's the plan.]
Style goals: low-contrast but colorful, with interaction/management links offset to the side (instead of at bottom), and icons replaced with text.
* I used TIII as base, but have the the layout's style sheet turned off, and using only the custom CSS. I can't recall; does that make this a theme or a layout? is new layout!
** currently only an icon for the navy version (what I'm using on my journal right now), but easy enough to do one for each gradiant-version.
The code is set up to have the colors set aside for easier cut/paste replace etc, but generally every version has eight colors. As long as the contrast between the 4th color and the 8th color is enough to make text legible, the gradiant range can go from darkest-dark to lightest-light, or from medium-dark to medium-light, depending on the amount of contrast required. I went ahead and set up 12 versions, and did two of them as reverse (light-on-dark), since all that's needed to reverse is to flip the order of the eight colors.
If you're on a page-read page (not page-reply!), and you click on "reply", the comment form is part of the entry content footer, which means you end up with this RESOLVED
"top of page" footer bar wants to leap up. It's inconsistent, though, so naturally it behaved when I tried to grab a screenshot. This could just be Firefox 2, though. I can't get it to do it in Firefox 3. now I can't get it to do it at all. hrmm.
last thing on the wishlist for the layout is to turn the four sidebar icons into text RESOLVED
min-width of 62em, which is temporary -- in Safari the sidebar isn't behaving fixed: set at 860px min-width, and now Safari behaves
In the meantime, if anyone's got super-CSS insights, much appreciated in advance.
Author: Kaigou
Layout info: Tranquility III*
Image info: 1 image (faux icon)** http://i385.photobucket.com/albums/oo292/solnull/other/openid-navy.jpg
Source: http://www.karinoyo.com/media/gradiance.css
[NOTE: if considering claiming, hold off for a bit: I'm prepping S2 code, so it's less of a major project for anyone to convert. At least, that's the plan.]
Style goals: low-contrast but colorful, with interaction/management links offset to the side (instead of at bottom), and icons replaced with text.
*
** currently only an icon for the navy version (what I'm using on my journal right now), but easy enough to do one for each gradiant-version.
The code is set up to have the colors set aside for easier cut/paste replace etc, but generally every version has eight colors. As long as the contrast between the 4th color and the 8th color is enough to make text legible, the gradiant range can go from darkest-dark to lightest-light, or from medium-dark to medium-light, depending on the amount of contrast required. I went ahead and set up 12 versions, and did two of them as reverse (light-on-dark), since all that's needed to reverse is to flip the order of the eight colors.
In the meantime, if anyone's got super-CSS insights, much appreciated in advance.

no subject
I don't have any answers for the rest yet, but this is a new layout! Themes pretty much only change the colours/background images, or slightly tweak CSS. Entirely custom CSS is a new layout. :)
Looks cool, by the way!
no subject
I don't think I'm capable of only mildly tweaking things. As evidenced by my kitchen. heh.
no subject
no subject
On the other hand, so many variations might increase significantly the chances are that Afuna will throttle me if we ever meet in person. Hrm. Maybe I should rethink this while there's still time...
no subject
no subject
no subject
no subject
no subject
The quick reply thing does not bring instant solutions to my mind, though playing with float and position on #qrdiv might get you somewhere.
no subject
set userlite_interaction_links = "text";
no subject
WAH. it worked! excellence. once again you rock, woman!
no subject
(Yes, I'm sure I could do all CSS changes in the S2 screen, but then I have no colors for the syntax, and I do rely on those colors to keep it all from blending together and making stupid changes in the wrong places.)
no subject
no subject
no subject
However, I suspect that's above my grade when it comes to what I can control via CSS, and it looks like this style won't work unless that specific issue can be addressed. Sigh.
no subject
no subject
Erm. It's the page-entry page, where 'reply' triggers a bout of javascript, not the page-reply, which has no link to 'reply' and thus no javascript, and the reply box is separate. What gets me is that the URL visible on the page-entry page (?mode=reply) and the actual URL for the page-reply page are the same. If it's possible to turn off the js and just make the 'reply' link a straight-up html link, that would probably solve the entire issue, b/c it would send the user to the version that's working properly. ... and here ends the extent of what I can figure out. Heh.
no subject
no subject
no subject
ETA: There we go. Yeah, looks like it just needs to go outside of .entry.
no subject
It's one of those days, looks like.
no subject
no subject
function Page::print_entry(Entry e)
"The meat of each new layout. Describes how each page will look. In nearly all cases, the logic and decision-making processes should come from pre-existing functions in core2, and should not get written here. If you limit the structure of the page to HTML, function calls, and attached CSS, then you will be able to pick up all of the enhancements and accessibility requirements managed by core2."
{ $e->print_wrapper_start(); """<div class="header">\n"""; $e->print_subject(); $e->print_metatypes(); $e->print_time(); """</div>\n"""; """<div>\n"""; """<div class="contents">\n"""; """<div class="inner">\n"""; $e->print_userpic(); $e->print_poster(); $e->print_text(); $e->print_metadata(); """</div>\n"""; """</div>\n"""; """</div>\n"""; """<div class="footer">\n"""; """<div class="inner">\n"""; $e->print_tags(); $e->print_management_links(); if ($this isa EntryPage) { """<hr class="above-entry-interaction-links" />"""; $e->print_interaction_links("topcomment"); } else { $e->print_interaction_links(); } "</div>\n</div>\n"; $e->print_wrapper_end(); $this->print_reply_container({ "target" => "topcomment" }); }That function prints out the entry div and everything in it. If you want the QR within the entry div still, just not hiding in the sidebar, then reverse the order of
$e->print_wrapper_end();
$this->print_reply_container({ "target" => "topcomment" });
You just need to copy and paste that into one of your layers. Hmm, if you copy and paste a function into a user layer, it gets wiped out next time you save in the wizard, so let me just walk you through setting up another layer, where you can put code that will be in no danger of being wiped out.
1.) Go to http://www.dreamwidth.org/customize/advanced/layers. Create a new layout-specific layer. Type: Theme, Layout: Tranquility III.
2.) Look at the list of layers; note the number for the theme layer that's under Tranquility III
3.) Go to http://www.dreamwidth.org/customize/advanced/styles. Look for a style that's named something like wizard-tranquilityiii/(something). It's the one you're currently using so it will be in bold.
4.) Edit the style. Change theme to the number you noted above and save your changes.
That above creates a new theme layer where you can put code (which won't be modified or wiped out by the wizard), and sets up your style to use this layer.
Now just head back to http://www.dreamwidth.org/customize/advanced/layers, edit that theme, and paste in the code snippet I gave you. You can copy the set icons to text thing into the theme layer, too, and that won't be wiped out, too :-)
Once you hit compile, the changes will be reflected on your journal.
no subject
The original code I gave, where print_wrapper_end comes before print_reply_container should mean that print_reply_container is outside the entry entirely. Is this somewhere else? *peeks*
no subject
no subject
no subject
no subject
no subject
no subject
no subject
which still leaves open the question of style is hard-coded in there at all, but I guess that's also above my grade.
regardless, if I could just get Safari to behave, life would be grand!
no subject
It's probably hardcoded, so that people don't have to code it into each layout. It would be nice if it were a class though, and we did the CSS not-inline. Hmmm....
o/
Re: o/
Re: o/
Re: o/
no subject
no subject
no subject
One bit of warning: my journal may have quote-unquote the most recent code but that doesn't mean it's necessarily the final code (or even the correct code). I tend to mess around with it a great deal, fiddling here and there and sometimes setting things at unusual values to see what kind of downstream effect it has on a style. That means I tend to run two sets of CSS at a time, one locally that has the correct values, and one on my actual journal that may be correct, or it may have some funky values. (Unexpected and jarring color contrasts such as fuschia and lime borders or backgrounds are sometimes a tip-off.)
However, not had a chance to sit down at the computer this morning so not sure where I left off, or if I left anything undone before calling it a night -- so not sure exactly the state it's in right this minute, but it seems to be (mostly) working on Ffx and Safari. Hrm.
no subject
I'm using Firefox 3.5.3 and a 1440px wide resolution.
no subject
So I put back up a test post. Just tell me the text that's in whatever area you're talking about, that'd be a lot easier for me, much appreciated. Feel free to add replies and whatnot if you want to see the moving parts. It's currently at the top: http://kaigou.dreamwidth.org/320334.html -- although the color scheme right now is severely monochrome, which means some of the differentiation is harder to tell (like on the shading for entry-author comments versus visitor comments).
I gots stuffs to do in the next few hours, but I'll be back fiddling with it again this afternoon. Btw, I use Ffx 2, mostly (and only really pull out Ffx 3 when testing is paramount and I don't have help), with Safari 4 as backup. Screen is 1920x1280, hrm, the usual widescreen iMac. (Great for everything except remembering what the world looks like to laptops, sigh.)
no subject
http://img34.imageshack.us/img34/1/kaigou1.png
http://img9.imageshack.us/img9/9389/kaigou2.png
http://img10.imageshack.us/img10/2331/kaigou3.png
no subject
Anyway, it's because the footer and its content follows the content area, and I'm trying to get them to reverse order, with footer ostensibly coming first (in a manner of speaking) rather than after. I mean, if I had the positions reversed, with content on left and footer-box on right, then no problem... which, unfortunately, I don't. Being one who reads left-to-right, summaries work better on outside than inside. Hrm.
Then again, it occurs to me that if I'm doing layout from scratch, instead of having to work within constraints of someone else's layout, couldn't I just set up the page's basic layout so what's in the footer comes before the content?
no subject
Sorry for the edit. Firefox was being stupid.
no subject
In addition, some things like page elements order, or entry elements order are meant to be overriden. Just make sure that the entry wrapper is being printed, etc, and you're good to go :-)
no subject
So...to be clear, when I apply this I use Tabula Rasa as a base, and turn off the base style sheet?Edited I took a closer look at the screenshots. Curses to my dialup!! I used TIII
no subject
My problem comes in that the graphics are really heavy on dialup, and on those Mobile high-speed USB thingies telephone companies have been selling. I borrowed my sister's to try out, and this layout slowed down the browser.
I can surf images off, no problem.
no subject
(forgot to also note: the current graphics are like ridiculous compared to size needed -- like 100x150, frex, when 4x150 would do, or 2x100, whatever. that's just because I wasn't doing 'final' graphics but testing, so not stressing about the finish details -- and the # of graphics + sizes probably isn't helping.)
no subject