Changeset 1251


Ignore:
Timestamp:
12/10/08 22:37:01 (3 years ago)
Author:
ArthurClemens
Message:

Item264: fixing various minor styling issues

Location:
trunk/PatternSkin
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/PatternSkin/data/System/PatternSkinColorSettings.txt

    r1206 r1251  
    128128   * Local DIFF_HEADER_BACKGROUND = #ccc 
    129129---++++ NOTIFICATION_BACKGROUND Info, broadcast message and notifications 
    130    * Local NOTIFICATION_BACKGROUND = #ffe67b 
     130   * Local NOTIFICATION_BACKGROUND = #fff0c4 
    131131---++++ INFO_BACKGROUND 
    132132   * Local INFO_BACKGROUND = #f5fbfe 
     
    149149---++++ FORM_STEP_BORDER Form step border 
    150150   * Local FORM_STEP_BORDER = %SEPARATOR_BORDER% 
    151 ---++++ NOTIFICATION_BORDER Broadcast message 
     151---++++ NOTIFICATION_BORDER Notification messages 
    152152   * Local NOTIFICATION_BORDER = #ffdf4c 
    153153 
     
    545545   background-color:%NOTIFICATION_BACKGROUND%; 
    546546} 
     547.foswikiNotification { 
     548   border-color:%NOTIFICATION_BORDER%; 
     549} 
    547550#foswikiLogin .patternLoginNotification { 
    548551   background-color:%MAIN_TEXT_BACKGROUND%; 
     
    984987} 
    985988 
     989.foswikiBroadcastMessage { 
     990   background-image:url(background_alert.gif); 
     991   background-repeat:repeat-x; 
     992} 
     993 
    986994/* common settings */ 
    987995.patternLeftBarPersonal li, 
  • trunk/PatternSkin/data/System/PatternSkinElements.txt

    r1206 r1251  
    11%META:TOPICINFO{author="ProjectContributor" date="1165884692" format="1.1" reprev="1.1" version="1.1"}% 
    22%META:TOPICPARENT{name="PatternSkin"}% 
    3 <!-- 
    43<div class="foswikiBroadcastMessage"> <strong>NOTE:</strong> Edit and Attach will be disabled today between 05:00 PM and 06:00 PM PDT (00:00 to 01:00 GMT) for a scheduled Foswiki maintenance.</div> 
    5 --> 
    64 
    75<div class="foswikiNotification">This is a notification.  
  • trunk/PatternSkin/lib/Foswiki/Contrib/PatternSkin/MANIFEST

    r1156 r1251  
    9494templates/searchbookview.pattern.tmpl 0444 
    9595templates/searchformat.pattern.tmpl 0444 
    96 templates/searchmeta.pattern.tmpl 0444 
    9796templates/settings.pattern.tmpl 0444 
    9897templates/view.pattern.tmpl 0444 
  • trunk/PatternSkin/pub/System/PatternSkin/colors.css

    r1206 r1251  
    294294   border-color:#fff; 
    295295} 
    296 .foswikiAttachments .foswikiButton h3, 
    297 .foswikiForm .foswikiButton h3 { 
     296.patternTwistyButton h3 { 
    298297        color:#d1400e; 
    299298} 
     
    340339.foswikiBroadcastMessage, 
    341340.foswikiNotification { 
    342    background-color:#ffe67b; 
     341   background-color:#fff0c4; 
     342} 
     343.foswikiNotification { 
     344   border:2px solid #ffdf4c; 
    343345} 
    344346#foswikiLogin .patternLoginNotification { 
     
    461463   color:#fff; 
    462464} 
    463 .patternTopicAction .foswikiAccessKey { 
     465.patternTopicAction a:link .foswikiAccessKey, 
     466.patternTopicAction a:visited .foswikiAccessKey { 
    464467   color:#fff; 
    465468   border-color:#fff; 
     
    780783   background-position:16px -84px; 
    781784} 
    782 .foswikiBroadcastMessage, 
    783 .foswikiNotification { 
     785.foswikiBroadcastMessage { 
    784786   background-image:url(background_alert.gif); 
    785787   background-repeat:repeat-x; 
  • trunk/PatternSkin/pub/System/PatternSkin/pattern.js

    r1206 r1251  
    2222                var showElem = document.getElementById('topicattachmentslistshow'); 
    2323                if (showElem != undefined) { 
    24                         var elems = foswiki.getElementsByClassName(showElem, 'patternToggleHeader'); 
     24                        var elems = foswiki.getElementsByClassName(showElem, 'patternAtachmentHeader'); 
    2525                        if (elems && elems[0]) { 
    2626                                elems[0].innerHTML += countStr; 
     
    2929                var hideElem = document.getElementById('topicattachmentslisthide'); 
    3030                if (hideElem != undefined) { 
    31                         var elems = foswiki.getElementsByClassName(hideElem, 'patternToggleHeader'); 
     31                        var elems = foswiki.getElementsByClassName(hideElem, 'patternAtachmentHeader'); 
    3232                        if (elems && elems[0]) { 
    3333                                elems[0].innerHTML += countStr; 
  • trunk/PatternSkin/pub/System/PatternSkin/style.css

    r1206 r1251  
    3030        font-size:small;         
    3131} 
    32 p { 
    33         margin:1em 0 0 0; 
    34 } 
    35 table { 
    36 } 
    3732th { 
    3833        line-height:1.15em; 
     
    4035label { 
    4136        padding:.15em .3em .15em 0; /* same vertical padding as foswikiInputField */ 
    42 } 
    43 strong, b { 
    44         font-weight:bold; 
    4537} 
    4638hr { 
     
    6860ol, ul { 
    6961        margin-top:0; 
    70 } 
    71 ol li, ul li {} 
     62        margin-bottom:1em; 
     63} 
    7264blockquote { 
    7365        padding:.5em 1.25em; 
     
    8072        padding:0.25em 0 0 0; 
    8173        margin:0 0 .5em 0; 
    82 } 
    83 h2, h3, h4, h5, h6 { 
    84         padding:0; 
    85         margin:1em 0 .1em 0; 
    8674} 
    8775h1, h2, h3, h4, h5, h6 { 
     
    9987        /* give header a background color for easy scanning:*/ 
    10088        padding:.25em 10px; 
    101         margin:1.25em -10px .35em -10px; 
     89        margin:1em -10px .35em -10px; 
    10290        height:auto;     
    10391} 
     
    185173a.foswikiButton, 
    186174a.foswikiSubmit, 
     175a.foswikiButtonCancel, 
    187176.foswikiCheckbox { 
    188177        border-width:1px; 
     
    211200a.foswikiButton:link:active, 
    212201a.foswikiButton:visited:active, 
     202a.foswikiButtonCancel, 
     203a.foswikiButtonCancel:hover, 
     204a.foswikiButtonCancel:link:active, 
     205a.foswikiButtonCancel:visited:active, 
    213206a.foswikiSubmit, 
    214207a.foswikiSubmit:hover, 
     
    344337        margin:1em 0; 
    345338        padding:1px; /* fixes disappearing borders because of overflow:auto; in foswikiForm */ 
    346         border-width:2px 0 0 0; 
    347         border-style:solid; 
    348339        height:1%; /* for IE */ 
    349340} 
     
    378369        padding:1em 20px; /*S5*/ /* top:use less padding for the toggle link; bottom:use less space in case the table is folded in  */ 
    379370        margin:0; 
     371        border-width:2px 0 0 0; 
     372        border-style:solid; 
    380373} 
    381374.foswikiAttachments .foswikiTable, 
     
    429422} 
    430423.foswikiAttachments h3, 
    431 .foswikiForm h3 { 
    432         font-size:115%; 
     424.foswikiForm h3, 
     425.patternTwistyButton h3 { 
     426        font-size:1.15em; 
    433427        font-weight:bold; 
    434428        display:inline; 
     
    436430        padding:0; 
    437431} 
    438 .foswikiAttachments .foswikiButton h3, 
    439 .foswikiForm .foswikiButton h3 { 
     432.patternTwistyButton h3 { 
     433        /* always add class foswikiButton as well */ 
    440434        padding:.1em .2em; 
    441435} 
    442 .patternToggleHeader {} 
     436.patternAtachmentHeader { 
     437        /* behaviour class */ 
     438} 
    443439.foswikiForm h3 a:link, 
    444440.foswikiForm h3 a:visited { 
     
    549545.foswikiBroadcastMessage, 
    550546.foswikiNotification { 
    551         padding:.5em 20px; /*S5*/ 
     547        padding:1em 20px; /*S5*/ 
    552548} 
    553549.foswikiNotification { 
    554550        margin:1em 0; 
     551        border-style:solid; 
     552        border-width:2px; 
    555553} 
    556554.foswikiBroadcastMessage { 
     
    560558        height:1%; /* for IE */ 
    561559        padding:1em; 
    562         margin:0; 
     560        margin:.25em 0 0 0; 
    563561        border-style:solid; 
    564562        border-width:2px; 
     
    569567} 
    570568.foswikiAccessKey { 
     569        border:none; 
     570} 
     571a:hover .foswikiAccessKey { 
    571572        text-decoration:none; 
    572573        border-width:0 0 1px 0; 
     
    659660 
    660661/* bottom paddings */ 
    661 #patternMainContents, 
     662#patternMainContents { 
     663        padding-bottom:4em; 
     664} 
    662665#patternBottomBarContents { 
    663666        padding-bottom:2em; 
     
    806809        outline:none; 
    807810} 
    808 .patternToolBar span.foswikiAccessKey { 
    809         padding:0; 
    810         margin:0; 
    811         float:none; 
    812 } 
    813 .patternToolBar a:hover .foswikiAccessKey { 
    814         border-width:0 0 1px 0; 
    815         border-style:solid; 
    816 } 
    817811.patternToolBar span s, 
    818812.patternToolBar span strike { 
     
    849843.patternTopicAction .patternActionButtons span strike { 
    850844        text-decoration:none; 
     845} 
     846.patternActionButtons a.foswikiButton, 
     847.patternActionButtons a.foswikiSubmit, 
     848.patternActionButtons a.foswikiButtonCancel { 
     849        padding:.1em .2em; 
    851850} 
    852851.patternNoViewPage .patternTopicAction { 
     
    994993        padding:0 0 2em 0; 
    995994} 
     995.patternEditPage .patternTop { 
     996        font-size:94%; 
     997} 
     998.patternEditPage .patternEditTopic { 
     999        margin:.25em 0 0 0; 
     1000} 
    9961001.patternEditPage .foswikiForm { 
    9971002        margin:2.25em 0 0 0; 
  • trunk/PatternSkin/templates/attachtables.pattern.tmpl

    r1206 r1251  
    55%TMPL:DEF{"commonattachtableattributes"}%valign="middle" dataalign="center,left,left,right,left,left,left,center" datavalign="top" headercolor="#0066cc" databg="#ffffff" headerbg="#ffffff" headerbgsorted="#eeeeee" databgsorted="#f5f5f5" tablerules="rows" %TMPL:END% 
    66 
    7 %TMPL:DEF{"topicattachmentwisty"}%%TWISTY{id="topicattachmentslist" mode="div" remember="on" showlink="<h3 class='patternToggleHeader'>&#9658; %MAKETEXT{"Attachments"}%</h3>" hidelink="<h3 class='patternToggleHeader'>&#9660; %MAKETEXT{"Attachments"}%</h3>" linkclass="foswikiButton"}%%TMPL:END% 
     7%TMPL:DEF{"topicattachmentwisty"}%%TWISTY{id="topicattachmentslist" mode="div" remember="on" showlink="<h3 class='patternAtachmentHeader'>&#9658; %MAKETEXT{"Attachments"}%</h3>" hidelink="<h3 class='patternAtachmentHeader'>&#9660; %MAKETEXT{"Attachments"}%</h3>" linkclass="foswikiButton patternTwistyButton"}%%TMPL:END% 
    88 
    99%{ Header definition for topic attachments and top table in attach screen }% 
  • trunk/PatternSkin/templates/edit.pattern.tmpl

    r1206 r1251  
    1515 
    1616 
    17 %TMPL:DEF{"toolbar"}%<div class="patternTop">%TWISTYBUTTON{id="edithelp" mode="div" remember="on" link="%MAKETEXT{"Edit help"}%" showimgleft="%ICONURLPATH{toggleopen}%" 
    18 hideimgleft="%ICONURLPATH{toggleclose}%"}%</div><!--//patternTop-->%TMPL:END% 
     17%TMPL:DEF{"toolbar"}%<div class="patternTop">%TWISTYBUTTON{id="edithelp" mode="div" remember="on" showlink="<h3>&#9658; %MAKETEXT{"Edit help"}%</h3>" hidelink="<h3>&#9660; %MAKETEXT{"Edit help"}%</h3>" linkclass="foswikiButton patternTwistyButton"}%</div><!--//patternTop-->%TMPL:END% 
    1918 
    2019 
     
    4645%TMPL:DEF{"button_preview"}%<input type="submit" class="foswikiButton" name="action_preview" id="preview" %MAKETEXT{"value='Preview' accesskey='p'"}% onclick="enableTWikiMandatoryChecks()" />%TMPL:END% 
    4746 
    48 %TMPL:DEF{"button_cancel"}%<input type="submit" class="foswikiButton foswikiButtonCancel" name="action_cancel" id="cancel" title='%MAKETEXT{"Cancel editing and discard changes"}%' %MAKETEXT{"value='Cancel' accesskey='c'"}% onclick="suppressSaveValidation()" />%TMPL:END% 
     47%TMPL:DEF{"button_cancel"}%<input type="submit" class="foswikiButtonCancel" name="action_cancel" id="cancel" title='%MAKETEXT{"Cancel editing and discard changes"}%' %MAKETEXT{"value='Cancel' accesskey='c'"}% onclick="suppressSaveValidation()" />%TMPL:END% 
    4948 
    5049 
     
    6362 
    6463 
    65 %TMPL:DEF{"textarea"}%<textarea class="foswikiTextarea foswikiEditboxStyleProportional" id="topic" name="text" rows="%EDITBOXHEIGHT%" cols="%EDITBOXWIDTH%" style='%EDITBOXSTYLE%' onkeydown='handleKeyDown(event)'>%TEXT%</textarea> 
     64%TMPL:DEF{"textarea"}%<div class="patternEditTopic"><textarea class="foswikiTextarea foswikiEditboxStyleProportional" id="topic" name="text" rows="%EDITBOXHEIGHT%" cols="%EDITBOXWIDTH%" style='%EDITBOXSTYLE%' onkeydown='handleKeyDown(event)'>%TEXT%</textarea></div><!--/patternEditTopic--> 
    6665%TMPL:P{"sig_textareabuttons"}%%TMPL:END% 
    6766 
  • trunk/PatternSkin/templates/login.pattern.tmpl

    r1206 r1251  
    33%TMPL:DEF{"bodyclassname"}%patternNoViewPage patternLoginPage%TMPL:END% 
    44 
    5 %TMPL:DEF{"bottombar"}%%TMPL:END% 
     5%TMPL:DEF{"bottombarcontents"}%%TMPL:END% 
    66 
    77%TMPL:DEF{"form"}%<div id="foswikiLogin"> 
  • trunk/PatternSkin/templates/preview.pattern.tmpl

    r1206 r1251  
    11%TMPL:INCLUDE{"preview"}% 
     2%TMPL:INCLUDE{"viewbottombar"}% 
    23 
    3  
     4%TMPL:DEF{"bottombarcontents"}%%TMPL:END% 
    45%TMPL:DEF{"bodyclassname"}%patternNoViewPage patternPreviewPage%TMPL:END% 
    56 
     
    1011%TMPL:DEF{"action_buttons"}%%TMPL:P{"button_save"}%&nbsp;%TMPL:P{"button_quietsave"}%&nbsp;%TMPL:P{"button_checkpoint"}% %MAKETEXT{"or"}% %TMPL:P{"button_discard"}%%TMPL:END% 
    1112 
    12 %TMPL:DEF{"button_discard"}%<input id="discard" type="submit" class="foswikiButton foswikiButtonCancel" name="action_cancel" %MAKETEXT{"value='Discard' accesskey='d'"}% />%TMPL:END% 
     13%TMPL:DEF{"button_discard"}%<input id="discard" type="submit" class="foswikiButtonCancel" name="action_cancel" %MAKETEXT{"value='Discard' accesskey='d'"}% />%TMPL:END% 
    1314 
    1415%TMPL:DEF{"accesskeys_help"}%%ICON{info}% <a class="foswikiPopUp" target="AccessKeys" href="%SCRIPTURL{"view"}%/%SYSTEMWEB%/AccessKeys">%MAKETEXT{"Access keys"}%</a>: %MAKETEXT{"S = Save, Q = Quiet save, K = Save and Continue, D = Discard"}%%TMPL:END% 
  • trunk/PatternSkin/templates/settings.pattern.tmpl

    r1206 r1251  
    2020%TMPL:DEF{"sig"}%%TMPL:END% 
    2121 
    22 %TMPL:DEF{"action_buttons"}%%TMPL:P{"button_save"}% %MAKETEXT{"or"}% %TMPL:P{"canceltopicaction"}%%TMPL:END% 
     22%TMPL:DEF{"action_buttons"}%%TMPL:P{"button_save"}%&nbsp; %MAKETEXT{"or"}% %TMPL:P{"button_cancel"}%%TMPL:END% 
    2323 
    2424 
  • trunk/PatternSkin/templates/viewbottombar.pattern.tmpl

    r1137 r1251  
    1 %{ to include a bottom bar on a page, just include this template in the page template }%%TMPL:DEF{"bottombar"}%<div id="patternBottomBar"><div id="patternBottomBarContents"><div id="patternWebBottomBar">%IF{"istopic '%SYSTEMWEB%.WebBottomBar'" then="$percntINCLUDE{$quot%SYSTEMWEB%.WebBottomBar$quot}$percnt" else="$percntINCLUDE{$quot%SYSTEMWEB%.WebBottomBarExample$quot}$percnt"}%</div><!--/patternWebBottomBar--></div><!-- /patternBottomBarContents--></div><!-- /patternBottomBar-->%TMPL:END% 
     1%{ to include a bottom bar on a page, just include this template in the page template }%%TMPL:DEF{"bottombar"}%<div id="patternBottomBar">%TMPL:P{"bottombarcontents"}%</div><!-- /patternBottomBar-->%TMPL:END% 
     2 
     3 
     4%TMPL:DEF{"bottombarcontents"}%<div id="patternBottomBarContents"><div id="patternWebBottomBar">%IF{"istopic '%SYSTEMWEB%.WebBottomBar'" then="$percntINCLUDE{$quot%SYSTEMWEB%.WebBottomBar$quot}$percnt" else="$percntINCLUDE{$quot%SYSTEMWEB%.WebBottomBarExample$quot}$percnt"}%</div><!--/patternWebBottomBar--></div><!-- /patternBottomBarContents-->%TMPL:END% 
Note: See TracChangeset for help on using the changeset viewer.