Olemis Lang avatar Olemis Lang committed fa6e674

TracMac: Further styles for TracBrowser.

Comments (0)

Files changed (3)

 - Hide & show main toolbar.
 - Change style of toolbar mainnav items on hover.
 - Design further docknav icons.
+- Specify all images using config options.
 

tracmacos/htdocs/mac.css

   color: #0000CC;
   font-size: 10px;
   margin-bottom: 35px;
+  margin-left: 50px;
 }
 
 #footer :link, #footer :visited {
   padding-left: 21px;
 }
 
+#tb_searchbtn  {
+  cursor: pointer;
+  float: right;
+  padding: 10px;
+}
+
 /* Dock Navigation */
 
 #docknav {
   white-space: nowrap;
 }
 
+/* Source browser */
+.browser :link,
+.browser :visited {
+  background-color: transparent;
+  color: #0000CC;
+}
+

tracmacos/templates/mac_theme.html

       </py:for>
               align: 'left',
               size: 34
-              }
-     jQuery('#docknav').jqDock(opts)
+              };
+     jQuery('#docknav').jqDock(opts);
+     jQuery('#tb_searchbtn').click(function() {
+                                      jQuery('#tb_search_form').submit();
+                                    });
     </script>
   </body></py:match>
 </html>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.