Fixed width setting in look & feel admin panel

View: New views
1 Messages — Rating Filter:   Alert me  

Fixed width setting in look & feel admin panel

by Marc Laporte-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi!

I think we are getting closer and closer.

Fixed width in latest 4x on clean install is very nice. and even nice
with smooth background.

Now, since it's a theme option,

1- I can't have strasa cool + fixed
2- the fixed.css needs to be duplicated/ported/maintained to feb12, etc.
3- I need to play in the css to change it

I imagine a field in admin look & feel, and by default it is 990
pixels (as recommended by SLJ Institute of Best Practices)

Thanks!

M

On Wed, Nov 4, 2009 at 9:39 PM, Gary Cunningham-Lee
<gary_c@...> wrote:

> Hi,
>
> One of things Tiki was criticized about when being evaluated by Mozilla
> was tags in the source that didn't do anything. Just to go on record
> here, I don't like adding all the empty div tags for every theme just to
> support one theme option. Most site admins won't think to turn this off
> again even though they aren't using the theme option that needs it. It'd
> be better to find another way to do Strasa Fixed without forcing the the
> unused divs for all other themes IMHO.
>
> -- Gary
>
> marclaporte@... wrote:
>> Revision: 22886
>>           http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=22886&view=rev
>> Author:   marclaporte
>> Date:     2009-11-04 23:09:00 +0000 (Wed, 04 Nov 2009)
>>
>> Log Message:
>> -----------
>> [MOD] Move Shadow layer to own tab [see, I like tabs :-)] as now that the feature is by default on to work with fixed width css options.
>>
>> Modified Paths:
>> --------------
>>     branches/4.x/templates/tiki-admin-include-look.tpl
>>
>> Modified: branches/4.x/templates/tiki-admin-include-look.tpl
>> ===================================================================
>> --- branches/4.x/templates/tiki-admin-include-look.tpl        2009-11-04 22:36:49 UTC (rev 22885)
>> +++ branches/4.x/templates/tiki-admin-include-look.tpl        2009-11-04 23:09:00 UTC (rev 22886)
>> @@ -129,55 +129,6 @@
>>       {tab name="{tr}General Layout options{/tr}"}
>>       {* --- General Layout options --- *}
>>
>> -{* --- Shadow layer --- *}
>> -<div class="adminoptionbox">
>> -     <div class="adminoption"><input class="checkbox" type="checkbox" name="feature_layoutshadows" id="feature_layoutshadows"{if $prefs.feature_layoutshadows eq 'y'} checked="checked"{/if} onclick="flip('shadowlayers');"  /></div>
>> -     <div class="adminoptionlabel"><label for="feature_layoutshadows">{tr}Shadow layer{/tr}</label>
>> -     <br /><em>{tr}Additional layers for shadows, rounded corners or other decorative styling{/tr}.</em>
>> -
>> -<div class="adminoptionboxchild" id="shadowlayers" style="display:{if $prefs.feature_layoutshadows eq 'y'}block{else}none{/if};">
>> -
>> -<div class="adminoptionbox">
>> -     <div class="adminoptionlabel"><label for="main_shadow_start">{tr}Main shadow start{/tr}:</label><br /><textarea name="main_shadow_start" id="main_shadow_start" rows="2" cols="40">{$prefs.main_shadow_start|escape}</textarea></div>
>> -</div>
>> -<div class="adminoptionbox">
>> -     <div class="adminoptionlabel"><label for="main_shadow_end">{tr}Main shadow end{/tr}:</label><br /><textarea name="main_shadow_end" id="main_shadow_end" rows="2" cols="40">{$prefs.main_shadow_end|escape}</textarea></div>
>> -</div>
>> -<div class="adminoptionbox">
>> -     <div class="adminoptionlabel"><label for="header_shadow_start">{tr}Header shadow start{/tr}</label><br /><textarea name="header_shadow_start" id="header_shadow_start" rows="2" cols="40">{$prefs.header_shadow_start|escape}</textarea></div>
>> -</div>
>> -<div class="adminoptionbox">
>> -     <div class="adminoptionlabel"><label for="header_shadow_end">{tr}Header shadow end{/tr}</label>:<br /> <textarea name="header_shadow_end" id="header_shadow_end" rows="2" cols="40">{$prefs.header_shadow_end|escape}</textarea></div>
>> -</div>
>> -<div class="adminoptionbox">
>> -     <div class="adminoptionlabel"><label for="middle_shadow_start">{tr}Middle shadow start{/tr}</label>: <br /><textarea name="middle_shadow_start" id="middle_shadow_start" rows="2" cols="40">{$prefs.middle_shadow_start|escape}</textarea></div>
>> -</div>
>> -<div class="adminoptionbox">
>> -     <div class="adminoptionlabel"><label for="middle_shadow_end">{tr}Middle shadow end{/tr}</label>: <br /><textarea name="middle_shadow_end" id="middle_shadow_end" rows="2" cols="40">{$prefs.middle_shadow_end|escape}</textarea></div>
>> -</div>
>> -<div class="adminoptionbox">
>> -     <div class="adminoptionlabel"><label for="center_shadow_start">{tr}Center shadow start{/tr}</label>: <br /><textarea name="center_shadow_start" id="center_shadow_start" rows="2" cols="40">{$prefs.center_shadow_start|escape}</textarea></div>
>> -</div>
>> -<div class="adminoptionbox">
>> -     <div class="adminoptionlabel"><label for="center_shadow_end">{tr}Center shadow end{/tr}</label>:<br /><textarea name="center_shadow_end" id="center_shadow_end" rows="2" cols="40">{$prefs.center_shadow_end|escape}</textarea></div>
>> -</div>
>> -<div class="adminoptionbox">
>> -     <div class="adminoptionlabel"><label for="footer_shadow_start">{tr}Footer shadow start{/tr}</label>:<br /><textarea name="footer_shadow_start" id="footer_shadow_start" rows="2" cols="40">{$prefs.footer_shadow_start|escape}</textarea></div>
>> -</div>
>> -<div class="adminoptionbox">
>> -     <div class="adminoptionlabel"><label for="footer_shadow_end">{tr}Footer shadow end{/tr}</label>:<br /><textarea name="footer_shadow_end" id="footer_shadow_end" rows="2" cols="40">{$prefs.footer_shadow_end|escape}</textarea></div>
>> -</div>
>> -<div class="adminoptionbox">
>> -     <div class="adminoptionlabel"><label for="box_shadow_start">{tr}Module (box) shadow start{/tr}</label>:<br /><textarea name="box_shadow_start" id="box_shadow_start" rows="2" cols="40">{$prefs.box_shadow_start|escape}</textarea></div>
>> -</div>
>> -<div class="adminoptionbox">
>> -     <div class="adminoptionlabel"><label for="box_shadow_end">{tr}Module (box) shadow end{/tr}</label>:<br /><textarea name="box_shadow_end" id="box_shadow_end" rows="2" cols="40">{$prefs.box_shadow_end|escape}</textarea></div>
>> -</div>
>> -
>> -</div>
>> -
>> -     </div>
>> -</div>
>>  {* --- Customize HTML Head Content --- *}
>>  <div class="adminoptionbox">
>>       <div class="adminoptionlabel"><label for="feature_custom_html_head_content">{tr}Custom HTML <head> Content{/tr}:</label><br /><textarea id="feature_custom_html_head_content" name="feature_custom_html_head_content" rows="6" cols="40" style="width: 90%">{$prefs.feature_custom_html_head_content|escape}</textarea>
>> @@ -452,6 +403,62 @@
>>
>>  {/tab}
>>
>> +{tab name="{tr}Shadow layer{/tr}"}
>> +
>> +{* --- Shadow layer --- *}
>> +<div class="adminoptionbox">
>> +     <div class="adminoption"><input class="checkbox" type="checkbox" name="feature_layoutshadows" id="feature_layoutshadows"{if $prefs.feature_layoutshadows eq 'y'} checked="checked"{/if} onclick="flip('shadowlayers');"  /></div>
>> +     <div class="adminoptionlabel"><label for="feature_layoutshadows">{tr}Shadow layer{/tr}</label>
>> +     <br /><em>{tr}Additional layers for shadows, rounded corners or other decorative styling{/tr}.</em>
>> +     <br /><em>{tr}Needed for fixed width styles{/tr}</em>
>> +
>> +<div class="adminoptionboxchild" id="shadowlayers" style="display:{if $prefs.feature_layoutshadows eq 'y'}block{else}none{/if};">
>> +
>> +<div class="adminoptionbox">
>> +     <div class="adminoptionlabel"><label for="main_shadow_start">{tr}Main shadow start{/tr}:</label><br /><textarea name="main_shadow_start" id="main_shadow_start" rows="2" cols="40">{$prefs.main_shadow_start|escape}</textarea></div>
>> +</div>
>> +<div class="adminoptionbox">
>> +     <div class="adminoptionlabel"><label for="main_shadow_end">{tr}Main shadow end{/tr}:</label><br /><textarea name="main_shadow_end" id="main_shadow_end" rows="2" cols="40">{$prefs.main_shadow_end|escape}</textarea></div>
>> +</div>
>> +<div class="adminoptionbox">
>> +     <div class="adminoptionlabel"><label for="header_shadow_start">{tr}Header shadow start{/tr}</label><br /><textarea name="header_shadow_start" id="header_shadow_start" rows="2" cols="40">{$prefs.header_shadow_start|escape}</textarea></div>
>> +</div>
>> +<div class="adminoptionbox">
>> +     <div class="adminoptionlabel"><label for="header_shadow_end">{tr}Header shadow end{/tr}</label>:<br /> <textarea name="header_shadow_end" id="header_shadow_end" rows="2" cols="40">{$prefs.header_shadow_end|escape}</textarea></div>
>> +</div>
>> +<div class="adminoptionbox">
>> +     <div class="adminoptionlabel"><label for="middle_shadow_start">{tr}Middle shadow start{/tr}</label>: <br /><textarea name="middle_shadow_start" id="middle_shadow_start" rows="2" cols="40">{$prefs.middle_shadow_start|escape}</textarea></div>
>> +</div>
>> +<div class="adminoptionbox">
>> +     <div class="adminoptionlabel"><label for="middle_shadow_end">{tr}Middle shadow end{/tr}</label>: <br /><textarea name="middle_shadow_end" id="middle_shadow_end" rows="2" cols="40">{$prefs.middle_shadow_end|escape}</textarea></div>
>> +</div>
>> +<div class="adminoptionbox">
>> +     <div class="adminoptionlabel"><label for="center_shadow_start">{tr}Center shadow start{/tr}</label>: <br /><textarea name="center_shadow_start" id="center_shadow_start" rows="2" cols="40">{$prefs.center_shadow_start|escape}</textarea></div>
>> +</div>
>> +<div class="adminoptionbox">
>> +     <div class="adminoptionlabel"><label for="center_shadow_end">{tr}Center shadow end{/tr}</label>:<br /><textarea name="center_shadow_end" id="center_shadow_end" rows="2" cols="40">{$prefs.center_shadow_end|escape}</textarea></div>
>> +</div>
>> +<div class="adminoptionbox">
>> +     <div class="adminoptionlabel"><label for="footer_shadow_start">{tr}Footer shadow start{/tr}</label>:<br /><textarea name="footer_shadow_start" id="footer_shadow_start" rows="2" cols="40">{$prefs.footer_shadow_start|escape}</textarea></div>
>> +</div>
>> +<div class="adminoptionbox">
>> +     <div class="adminoptionlabel"><label for="footer_shadow_end">{tr}Footer shadow end{/tr}</label>:<br /><textarea name="footer_shadow_end" id="footer_shadow_end" rows="2" cols="40">{$prefs.footer_shadow_end|escape}</textarea></div>
>> +</div>
>> +<div class="adminoptionbox">
>> +     <div class="adminoptionlabel"><label for="box_shadow_start">{tr}Module (box) shadow start{/tr}</label>:<br /><textarea name="box_shadow_start" id="box_shadow_start" rows="2" cols="40">{$prefs.box_shadow_start|escape}</textarea></div>
>> +</div>
>> +<div class="adminoptionbox">
>> +     <div class="adminoptionlabel"><label for="box_shadow_end">{tr}Module (box) shadow end{/tr}</label>:<br /><textarea name="box_shadow_end" id="box_shadow_end" rows="2" cols="40">{$prefs.box_shadow_end|escape}</textarea></div>
>> +</div>
>> +
>> +</div>
>> +
>> +     </div>
>> +</div>
>> +
>> +{/tab}
>> +
>> +
>>       {tab name="{tr}Pagination links{/tr}"}
>>
>>
>>
>>
>> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
>>
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
>> trial. Simplify your report design, integration and deployment - and focus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Tikiwiki-cvs mailing list
>> Tikiwiki-cvs@...
>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
>>
>> ------------------------------------------------------------------------
>>
>>
>> No virus found in this incoming message.
>> Checked by AVG - www.avg.com
>> Version: 8.5.424 / Virus Database: 270.14.48/2479 - Release Date: 11/03/09 19:38:00
>>
>>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Tikiwiki-cvs mailing list
> Tikiwiki-cvs@...
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
>



--
Marc Laporte

http://MarcLaporte.com
http://TikiWiki.org/MarcLaporte
http://AvanTech.net
http://OurWiki.net

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Tikiwiki-devel mailing list
Tikiwiki-devel@...
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel