CVS: tmda-cgi/display/themes/TMDA-X styles.css, 1.1, 1.2 theme.ini, 1.1, 1.2

Jim Ramsay <[email protected]> Thu, 18 Mar 2004 09:54:19 -0800
Newsgroups gmane.mail.spam.tmda.cvs
Message-ID <[email protected]>
Update of /cvsroot/tmda/tmda-cgi/display/themes/TMDA-X
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26497/display/themes/TMDA-X

Modified Files:
	styles.css theme.ini 
Log Message:
Made the text size in the TMDA-X theme user-configurable.

As a side effect, themability overall improves:
- Theme designers can set any value in the "Theme" section of theme.ini
- This value can be altered by the "theme.html" page
- This value is also available in any HTML Template.

For an example, see how I use "SidebarSize" in the TMDA-X theme.


Index: styles.css
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/display/themes/TMDA-X/styles.css,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- styles.css	18 Feb 2004 18:26:30 -0000	1.1
+++ styles.css	18 Mar 2004 17:54:17 -0000	1.2
@@ -113,7 +113,7 @@
   -moz-border-radius: 10px
 }
 
-a.sidebarMainLink:link
+a.sidebarMainLinkLarge:link
 {
   font-family: Impact, Lucida, sans-serif;
   font-size: 24pt;
@@ -122,7 +122,7 @@
   background: #000000;
   text-decoration: none;
 }
-a.sidebarMainLink:visited
+a.sidebarMainLinkLarge:visited
 {
   font-family: Impact, Lucida, sans-serif;
   font-size: 24pt;
@@ -131,7 +131,7 @@
   background: #000000;
   text-decoration: none;
 }
-a.sidebarMainLink:active
+a.sidebarMainLinkLarge:active
 {
   font-family: Impact, Lucida, sans-serif;
   font-size: 24pt;
@@ -140,7 +140,7 @@
   background: #000000;
   text-decoration: none;
 }
-a.sidebarMainLink:hover
+a.sidebarMainLinkLarge:hover
 {
   font-family: Impact, Lucida, sans-serif;
   font-size: 24pt;
@@ -150,6 +150,45 @@
   text-decoration: none;
 }
 
+a.sidebarMainLinkSmall:link
+{
+  font-family: Impact, Lucida, sans-serif;
+  font-size: 20pt;
+  font-weight: normal;
+  color: #FFFFFF;
+  background: #000000;
+  text-decoration: none;
+}
+a.sidebarMainLinkSmall:visited
+{
+  font-family: Impact, Lucida, sans-serif;
+  font-size: 20pt;
+  font-weight: normal;
+  color: #FFFFFF;
+  background: #000000;
+  text-decoration: none;
+}
+a.sidebarMainLinkSmall:active
+{
+  font-family: Impact, Lucida, sans-serif;
+  font-size: 20pt;
+  font-weight: normal;
+  color: #76B2F6;
+  background: #000000;
+  text-decoration: none;
+}
+a.sidebarMainLinkSmall:hover
+{
+  font-family: Impact, Lucida, sans-serif;
+  font-size: 20pt;
+  font-weight: normal;
+  color: #F6FE02;
+  background: #000000;
+  text-decoration: none;
+}
+
+
+
 a.sidebarSubLink:link
 {
   font-family: Impact, Lucida, sans-serif;

Index: theme.ini
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/display/themes/TMDA-X/theme.ini,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- theme.ini	18 Feb 2004 18:26:30 -0000	1.1
+++ theme.ini	18 Mar 2004 17:54:17 -0000	1.2
@@ -1,5 +1,6 @@
 [Theme]
 Info = &copy;2003 Jim Ramsay, based on the Official TMDA Logo
+SidebarSize = Large
 
 [ViewPending]
 EmailClass = sans