Commits

Anonymous committed 122f94f

switched out icons, added :visited purple for tree based nav, other small CSS changes

Comments (0)

Files changed (7)

src/main/resources/kevin/images/icons/attach_16.png

Added
New image

src/main/resources/kevin/images/icons/mail.png

Added
New image

src/main/resources/kevin/images/icons/print_16.gif

Added
New image

src/main/resources/kevin/main.vmd

     <div id="leftbar">
 
 	##text to hide the sidebar, handled in kevtheme.js
-	<a href="#" class="hidesidebar">hide sidebar</a>
+	<a href="#" class="hidesidebar">hide</a>
 	
 	##breadcrumbs. indent is in jquery
 	<span class="title firs">You are here:</span>
 		<ul class="ajs-menu-bar">
 		    <li class="ajs-button links normal">
 			<span class="page-link">
-			    <a href="$req.contextPath/spaces/flyingpdf/pdfpageexport.action?pageId=$!sitemeshPage.getProperty('page.pageId')">Print</a>
+			    <a id="print-link" href="$req.contextPath/spaces/flyingpdf/pdfpageexport.action?pageId=$!sitemeshPage.getProperty('page.pageId')">Print</a>
 			</span>
 		    </li>
 		    <li class="ajs-button links normal">
 		    <span class="page-link">
-			<a href="$req.contextPath/pages/viewpageattachments.action?pageId=$!sitemeshPage.getProperty('page.pageId')">View Attachments</a>
+			<a id="attachment-link" href="$req.contextPath/pages/viewpageattachments.action?pageId=$!sitemeshPage.getProperty('page.pageId')">Attachments</a>
 		    </span>
 		    </li>
 		    <li class="ajs-button links normal">
 			<span class="page-link">
-			    <a href="$req.contextPath/pages/viewinfo.action?pageId=$!sitemeshPage.getProperty('page.pageId')">Link to this page</a>
+			    <a id="share-link" href="$req.contextPath/pages/viewinfo.action?pageId=$!sitemeshPage.getProperty('page.pageId')">Share</a>
 			</span>
 		    </li>
 		</ul>
         <!--</div>-->
     ## end
 
-    ## we have our own sidebar
+    ## we have our own sidebar, don't want to load this
     ## #parse ("/template/includes/personal-sidebar.vm")
     
+    ##############################################################
+    ##$body loads everything in page.vmd
     $body
+    ##############################################################
 
     ##custom theme footer text   
     #if($sitemeshPage.getProperty("page.tree"))

src/main/resources/kevin/page.vmd

 #if ($mode != "edit" && $mode != "edit-preview")
     #parse ("/decorators/includes/content-navigation.vm")
 #end
+
 ##pass these to main.vmd, user's customizations for the theme header & footer
 #if ($!kevThemeHelper.getThemeHeader($helper)!="")
     <content tag="theme-header">
 
 <content tag="mode">$mode</content>
 
+## end kevin's custom content tags
+
 #if ($infoPanelRequired)
 <content tag="sidebar">
     #infoPanel(true true true true)
 
         #trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
         
+        ##feedback bar - need to add functionality here but currently actions are being tracked in helpful.js
         <div style="margin-top:40px;">
         <h2>Questions/Feedback</h2>
         <div id="feedback">
             <div id="ask">
                 Was this page helpful?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#" onclick="displayHelpfulMessage(); return false;">Yes</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#" onclick="displayUnhelpfulMessage(); return false;">No</a>
             </div>
+            ##this doesn't show up until user clicks
             <div id="unhelp">
                 Sorry to hear that. You could try:
                 <ul>
                     <li>Browsing <a href="confluence.atlassian.com">all Atlassian documentation</a></li>
                 </ul>
             </div>
+            ##this doesn't either
             <div id="help">Thanks for your feedback!</div>
         </div>
         </div>

src/main/resources/kevin/theme.css

 	padding:0;
 }
 
-#rightbar .wiki-content a:visited,#leftbar #page-children a:visited,#breadcrumbs a:visited, .plugin-pagetree a:visited
+#rightbar .wiki-content a:visited,#leftbar #page-children a:visited, #breadcrumbs a:visited, #leftbar .plugin_pagetree a:visited, #leftbar .plugin_pagetree_children a:visited
 {
 	color:purple;
 }
 	float:right;
 }
 
-.show
-{
-	height:15px;
-}
-
 #leftbar .title
 {
 	color:#111;
 #page-children span.icon-page{
     background:none;
     width:0;
+    margin-left:-2px;
 }
 
 #labelsList a.label
 {
 	width:70%;
 	background-color:#fff;
+        margin-bottom:10px;
 }
 
 #navigation .ajs-menu-bar
 {
-	margin-top:10px;
-	margin-bottom:30px;
+    margin:0;
+}
+
+#navigation .ajs-menu-bar a#print-link{
+    background-image:url("images/icons/print_16.gif");
+}
+#navigation .ajs-menu-bar a#share-link{
+    background-image:url("images/icons/mail.png");
+}
+#navigation .ajs-menu-bar a#attachment-link{
+    background-image:url("images/icons/attach_16.png");
+}
+
+/*make image appear correctly, no text overlap, vertical centered & padded left by 3px*/
+#navigation .ajs-menu-bar a#print-link, #navigation .ajs-menu-bar a#attachment-link, #navigation .ajs-menu-bar a#share-link{
+    background-repeat:no-repeat;
+    background-position: 4px 50%;
+    padding-left:24px;
 }
 
 #rightbar h1,#rightbar h1 a
 	margin-top:10px;
 }
 
+/*make page title big*/
+#rightbar h1#title-heading a{
+    font-size:30px;
+}
+
+h1#title-heading{
+    margin-bottom:30px;
+}
+
 #rightbar h2
 {
 	font-size:18px;
 	font-family:bold Courier New, Courier, monospace;
 	color:#AB5603;
 }
-
 #content
 {
 	clear:none;

target/kev-0.2.jar

Binary file modified.