Sounds reasonable to me. Who's responsibility is to to load the sheet?
> I think a user friendly and simple approach to this problem would be
> to,
> AFTER we are done with our single main.css file, to provide another
> template CSS file that only has the color information. So for
> somebody
> that only wants to change the colors of his Gallery (which I agree is
> probably a common use case), he can take the colors.css, change the
> colors and use it to override the defaults of the theme. He doesn't
> even have to clone the theme for this. And it doesn't add any
> complexity to the default theme.
>
> This would require the maintenance of the colors.css stylesheet in
> addition to the main.css stylesheet. But the effort should be
> manageable and it would not be a big breakdown if any individual
> color-style is missing in the colors.css
>
> What do people think?
>
> --Jakob
>
>
>
> Chad Kieffer wrote:
>> Hi Alec,
>>
>> We discussed the multiple CSS file approach during the code sprint.
>> Jens brings up good points that I agree with. Although G3 may likely
>> provide css file compression to collect separate css files for
>> combination, this would add an extra level of complexity.
>>
>> I think it's best for now if we stick with a single css file per
>> media
>> type and promote a standard grouping of CSS definitions in that
>> file.
>> We can use comments to identify and explain each group in the file.
>>
>> I don't see how a single file approach would hinder or complicate
>> theme or module driven color changes.
>>
>> - Chad
>>
>> On Oct 27, 2008, at 10:08 AM, "Alec Myers" <
alec@...>
>> wrote:
>>
>>> On the basis of that page, here's a wacky idea: noticing that the
>>> slowest
>>> part of loading a new gallery page is downloading (in my case) 48
>>> individiual thumbnails why not have gallery pre-build and cache the
>>> thumbnails for each page as a single jpg (sprite-like) and repeat it
>>> to show
>>> the individual images?
>>>
>>> ----- Original Message -----
>>> From: "Jens A. Tkotz" <
jens@...>
>>> To: <
gallery-devel@...>
>>> Sent: Monday, October 27, 2008 3:13 PM
>>> Subject: Re: [Gallery-devel] G3 colors
>>>
>>>
>>> Hi,
>>>
>>> the only benefit i see for splitting css files is "better"
>>> structure.
>>> The author says its easier to maintain for example three smaller
>>> file
>>> than one big file.
>>>
>>> I do not agree.
>>> For example lets say there is a color.css
>>> I have .gAdminbar {}
>>> I would have it in main.css AND in color.css
>>> So i have to switch between two files depending on what i am
>>> changing.
>>> If there will be "colorpacks" you would need to ship main.css,
>>> green_color.css and red_color.css
>>> So i don't see a simplification and the structure is not that
>>> better.
>>>
>>>
>>> And another reason is, that the client has to do more HTTP requests.
>>> See
http://developer.yahoo.com/performance/rules.html>>>
>>> - Jens
>>>
>>>
>>>
>>> Quoting Brandon Sussman <
Brandon@...>:
>>>
>>>> On Monday 27 October 2008 00:48:03 Chad Kieffer wrote:
>>>>> We'll probably opt to document how to clone a theme and alter
>>>>> it's color via CSS.
>>>> I imagine many folks feel that color adjustment is very important
>>>> to
>>>> individualization but...
>>>>
>>>> In ALA's latest article (
>>>>
http://www.alistapart.com/articles/progressiveenhancementwithcss ),
>>>> Aaron
>>>> Gustafson discusses separation of css into functional units ( e.g.
>>>> type.css,
>>>> layout.css, color.css). I think this makes good structural sense.
>>>>
>>>> Seems to me this is fine to begin with. If the correct hooks and
>>>> loops
>>>> are
>>>> there, making manipulations available in a GUI can be accomplished
>>>> if
>>>> that
>>>> ever bubbles to the top of the to-do list (which is probably
>>>> already
>>>> several
>>>> volumes long in some folks minds :)
>>>>
>>>> --
>>>> -----------------------------------------------------------------
>>>> | WRWeb Services |
http://WRWeb.net |
>>>> | 1482 Pleasant St. | (603)648-2251 |
>>>> | Webster, NH, 03303-7613 | 19TBJ8040800540 |
>>>> -----------------------------------------------------------------
>>>> | Web Sites Designed and Supported |Think Locally, Buy Locally! |
>>>> -----------------------------------------------------------------
>>>>
>>>> ---
>>>> ---
>>>> -------------------------------------------------------------------
>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>> challenge
>>>> Build the coolest Linux based applications with Moblin SDK & win
>>>> great
>>>> prizes
>>>> Grand prize is a trip for two to an Open Source event anywhere in
>>>> the
>>>> world
>>>>
http://moblin-contest.org/redirect.php?banner_id=100&url=/>>>> __[ g a l l e r y - d e v e l ]_________________________
>>>>
>>>> [ list info/archive -->
http://gallery.sf.net/lists.php ]
>>>> [ gallery info/FAQ/download -->
http://gallery.sf.net ]
>>>>
>>>
>>>
>>> --
>>>
>>> Ich sag mal .... Charisma
>>>
>>> ---
>>> ---
>>> -------------------------------------------------------------------
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win
>>> great
>>> prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in
>>> the world
>>>
http://moblin-contest.org/redirect.php?banner_id=100&url=/>>> __[ g a l l e r y - d e v e l ]_________________________
>>>
>>> [ list info/archive -->
http://gallery.sf.net/lists.php ]
>>> [ gallery info/FAQ/download -->
http://gallery.sf.net ]
>>>
>>>
>>>
>>> ---
>>> ---
>>> -------------------------------------------------------------------
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win
>>> great prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in
>>> the world
>>>
http://moblin-contest.org/redirect.php?banner_id=100&url=/>>> __[ g a l l e r y - d e v e l ]_________________________
>>>
>>> [ list info/archive -->
http://gallery.sf.net/lists.php ]
>>> [ gallery info/FAQ/download -->
http://gallery.sf.net ]
>>
>> ---
>> ---
>> -------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win
>> great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in
>> the world
>>
http://moblin-contest.org/redirect.php?banner_id=100&url=/>> __[ g a l l e r y - d e v e l ]_________________________
>>
>> [ list info/archive -->
http://gallery.sf.net/lists.php ]
>> [ gallery info/FAQ/download -->
http://gallery.sf.net ]
>
> ---
> ----------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in
> the world
>
http://moblin-contest.org/redirect.php?banner_id=100&url=/> __[ g a l l e r y - d e v e l ]_________________________
>
> [ list info/archive -->
http://gallery.sf.net/lists.php ]
> [ gallery info/FAQ/download -->
http://gallery.sf.net ]