From: <Art...@nt...> - 2005-04-22 21:44:10
|
Author: ArthurClemens Date: 2005-04-22 14:42:53 -0700 (Fri, 22 Apr 2005) New Revision: 4080 Modified: twiki/branches/DEVELOP/lib/TWiki/Render.pm twiki/branches/DEVELOP/pub/TWiki/PatternSkin/style.css twiki/branches/DEVELOP/templates/twiki.tmpl Log: RemoveNewTopicLinkStyleFromRenderDotPm: font background color and color are no longer set in Render.pm but in stylesheet only; classic skin has new basic style tag in twiki.tmpl to continue to support NEWTOPICFONTCOLOR and NEWTOPICBGCOLOR; added a title tag to "new link" link Modified: twiki/branches/DEVELOP/lib/TWiki/Render.pm =================================================================== --- twiki/branches/DEVELOP/lib/TWiki/Render.pm 2005-04-22 20:46:29 UTC (rev 4079) +++ twiki/branches/DEVELOP/lib/TWiki/Render.pm 2005-04-22 21:42:53 UTC (rev 4080) @@ -522,7 +522,8 @@ ($theWeb, $theTopic, 'edit', topicparent => $this->{session}->{webName}.'.'. $this->{session}->{topicName} ), - rel => 'nofollow' + rel => 'nofollow', + title=>'Create this topic' }, $this->{NEWLINKSYMBOL} ); } Modified: twiki/branches/DEVELOP/pub/TWiki/PatternSkin/style.css =================================================================== --- twiki/branches/DEVELOP/pub/TWiki/PatternSkin/style.css 2005-04-22 20:46:29 UTC (rev 4079) +++ twiki/branches/DEVELOP/pub/TWiki/PatternSkin/style.css 2005-04-22 21:42:53 UTC (rev 4080) @@ -11,6 +11,7 @@ C2 hover link background color #b4d5ff C3 link label hover color #0F47A3 C4 topic action background; left bar top thick border #22638C + C5 color H2, code text #900 ----------------------------------------------------------- */ @@ -77,22 +78,37 @@ color:#e24628; margin:0 0 0.1em 0; } +h2, h3, h4, h5, h6 {color:#900;} /*C5*/ h2 { font-size:145%; display:block; background-color:#F3EDE7; - color:#900; padding:0.2em 0.7em; margin:1em -0.7em 0.15em -0.7em; height:auto; } -h3 { font-size:140%; color:#900;} -h4 { font-size:125%; color:#900;} -h5 { font-size:110%; color:#900;} -h6 { font-size:95%; color:#900;} +h3 { font-size:140%;} +h4 { font-size:125%;} +h5 { font-size:110%;} +h6 { font-size:95%;} /* Links */ +/* somehow the twikiNewLink style have to be before the general link styles */ +/* no good visual solution for twikiNewLink yet */ +.twikiNewLink a:link sup, +.twikiNewLink a:visited sup { + vertical-align:baseline; + font-size:100%; + background-color:pink; + text-decoration:none; +} +.twikiNewLink a:hover sup, +.twikiNewLink a:visited:hover sup { + color:#0F47A3; /*C3*/ + background-color:#b4d5ff; /*C2*/ +} + :link:focus, :visited:focus, :link, @@ -118,6 +134,7 @@ color:#0F47A3; /*C3*/ } + /* sorting of table columns */ /* not yet finalized for tables in topic text */ @@ -224,6 +241,9 @@ margin:0; padding:5px 2em 5px 1em; /* right padding same as .twikiViewPage .twikiMain */ } +.twikiTopBarContents p { + display:inline; +} /* Left bar */ @@ -239,9 +259,11 @@ border-bottom:1px solid transparent; } .twikiLeftBar a:hover, +.twikiLeftBar a:visited:hover, .twikiLeftBar a:active { text-decoration:none; border-bottom:1px solid #1559B3; /*C1*/ + color:#0F47A3; /*C3*/ } .twikiWebIndicator { font-size:95%; @@ -884,7 +906,7 @@ line-height:1.3em; } .twikiNewLink { - background-color:transparent; + border-bottom:1px solid pink; /* dotted red would be nicer, but not in Win/IE */ } /* ----------------------------------------------------------- @@ -925,7 +947,7 @@ font-weight:bold; } .twikiSearchResults .twikiSummary .twikiAlert { - color:#900; + color:#900; /*C5*/ font-weight:normal; } .twikiSearchResults .twikiNew { @@ -1073,7 +1095,7 @@ border-top:1px solid #ccc; } .twikiEditPage .twikiHelp code { - color:#900; + color:#900; /*C5*/ } .twikiEditPage table.twikiChangeFormButtonHolder { margin-bottom:0.5em; @@ -1339,7 +1361,7 @@ padding-top:2em; } .twikiPrintPage h2 { - border-bottom:1px solid #900; + border-bottom:1px solid #900; /*C5*/ } .twikiPrintPage .twikiAttachments, .twikiPrintPage .twikiForm { Modified: twiki/branches/DEVELOP/templates/twiki.tmpl =================================================================== --- twiki/branches/DEVELOP/templates/twiki.tmpl 2005-04-22 20:46:29 UTC (rev 4079) +++ twiki/branches/DEVELOP/templates/twiki.tmpl 2005-04-22 21:42:53 UTC (rev 4080) @@ -7,6 +7,7 @@ <head> <title>%TMPL:P{"titleaction"}%%TOPIC% < %WEB% < %WIKITOOLNAME%</title> <meta http-equiv="Content-Type" content="text/html; charset=%CHARSET%" /> <meta name="robots" content="noindex" /> %HTTP_EQUIV_ON_VIEW% + <style type="text/css">.twikiNewLink {color:%NEWTOPICFONTCOLOR%; background-color:%NEWTOPICBGCOLOR%;}</style> <link rel="icon" href="%FAVICON%" type="image/x-icon" /> <link rel="shortcut icon" href="%FAVICON%" type="image/x-icon" /> <base href="%SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%" /> %TMPL:P{"script"}% |