Commits

Olemis Lang committed fa6e674

TracMac: Further styles for TracBrowser.

  • Participants
  • Parent commits 23f8110

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.
 

File 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;
+}
+

File 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>