View Single Post
Old Jan 23, 2011 | 04:04 PM
  #46 (permalink)  
Zate's Avatar
Zate
TR Balla Donor Supreme
 
Joined: Dec 1969
Posts: 20,192
Likes: 0
Default

nah not like that.

They have stylesheets (as templates) and they have things like
.stuff {
border: {vb:stylevar really_fucking_weird_name_border};
}

but when someone requests the page, it's calculated (and stored on disk as a css file and cached) and output as border: #FFFFFF or what ever really_fucking_weird_name_broder was set too.

the real problem comes when they just use something like "border_color" and use it in eleventy billion places. when I change "border_color" all kinds of weird shit happens.

then there is the reverse. I see something on the page I want to change. I need to find the exact css value that modifies that, and we know css can be nested as deep as your mom, so then I need to take that css value, search through all the damn templates and work out which one of the 6 places it's listed is the one affecting that specific widget or what ever I am trying to edit. Then I look at the stylevar and go modify that.

all in all it's a really fucking stupid idea. But style is lookin much better so once it's done, it's done.
__________________
Stuff.
Reply