Olemis Lang avatar Olemis Lang committed c971c4e

TracMac: CSS for admin panels & PyDoc. Dock icon for downloads manager.

Comments (0)

Files changed (4)

Add a comment to this file

tracmacos/htdocs/dk_downl.png

Added
New image

tracmacos/htdocs/mac.css

 Trac custom stylesheet for Example theme 
 */
 
-#tabs {
-  background: #E0ECFF none repeat scroll 0% 0%;
-}
-
 .nav ul {
   display: inline-block;
 }
   color: #006633;
 }
 
+/* Admin panels */
+
+#tabs {
+  background: #E0ECFF none repeat scroll 0% 0%;
+}
+
+h1 :link, h1 :visited, 
+h2 :link, h2 :visited, 
+h3 :link, h3 :visited, 
+h4 :link, h4 :visited, 
+h5 :link, h5 :visited, 
+h6 :link, h6 :visited {
+  color: #0000CC;
+}
+
+#tabs :link, #tabs :visited {
+  background-color: transparent;
+}
+
+#tabs li {
+  color: #333333;
+}
+
+/* Styles for PyDoc macro */
+
+tr.pydocheading, font.pydocheading {
+  background-color: #999999;
+  padding-left: 5px;
+}
+
+tr.pydocheading a, font.pydocheading a,
+tr.pydocheading td, font.pydocheading td {
+  color: #FFFFFF;
+}
+
+tr.pydocheading>td {
+  /* border-top: 1px solid #009900;  */
+}
+
+tr.pydocsection, td.pydocsection, font.pydocsection {
+  background-color: #EEEEEE;
+}
+
+tbody>tr.pydocsection:first-child>td:first-child {
+  border-top: 1px solid #666666; 
+}
+
+tr.pydocsection>td:first-child {
+  border-left: 1px solid #666666;
+}
+
+font.pydocgrey {
+  background-color: #FFFFCC;
+  color:#006633;
+  font-style:italic;
+}
+
+tr.pydocsection+tr>td+td+td>dl:first-child font {
+  background-color: #FFFFCC;
+}
+

tracmacos/templates/mac_theme.html

     </li>
   </ul>
 
-  <py:match path="body" once="true" buffer="false"><body py:with="macos=getattr(req, 'macos') or macos">
+  <py:match path="body" once="true" buffer="false"><body py:with="macos=getattr(req, 'macos')">
     <div id="fixed-wrapper">
       <div id="mainpanel" class="nav">
         <span> 
             </a> 
           </div>
           <div id="pname"> ${project.name} </div>
-          <div id="psum"> ${project.descr} </div>
+          <div id="psum"> ${project.descr or project.description} </div>
         </div>
         <h1 py:otherwise="">
           <a href="${chrome.logo.link or href.wiki('TracIni')+'#header_logo-section'}">

tracmacos/theme.py

                                 'pydoc:/chrome/theme/dk_pydoc.png,'
                                 'newticket:/chrome/theme/dk_bug.png,'
                                 'tickets:/chrome/theme/dk_tickets.png,'
+                                'downloader:/chrome/theme/dk_downl.png,'
                                 'roadmap:/chrome/theme/dk_milestone.png',
                                 doc="Images rendered in dock menu.")
     dock_default = Option('docknav', 'default', '/chrome/theme/dk_default.png',
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.