You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by gr...@apache.org on 2003/07/07 19:55:37 UTC

cvs commit: cocoon-lenya/src/webapp/lenya/resources/misc/menu menu.css

gregor      2003/07/07 10:55:37

  Modified:    src/webapp/lenya/resources/css tables.css navigation.css
                        boxes.css tabs.css forms.css antlog.css default.css
                        scheduler.css
               src/webapp/lenya/xslt/menu menu.xsl root.xsl
               src/webapp/lenya/resources/misc/menu menu.css
  Log:
  - made CSS valid
  - simplified menu code
  - added breadcrumb in title
  - removed legacy javascript
  
  Revision  Changes    Path
  1.4       +2 -0      cocoon-lenya/src/webapp/lenya/resources/css/tables.css
  
  Index: tables.css
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/resources/css/tables.css,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- tables.css	2 Jul 2003 17:57:47 -0000	1.3
  +++ tables.css	7 Jul 2003 17:55:36 -0000	1.4
  @@ -1,5 +1,6 @@
   
   table.lenya-table {
  +	color: Black;
   	background-color: White;
   	border-spacing: 0px;
   	border-collapse: collapse;
  @@ -24,6 +25,7 @@
   	border: solid 1px #CCCCCC;
   	padding: 3px 10px;
   	font-size: small;
  +	color: Black;
   }
   
   table.lenya-table-noborder td {
  
  
  
  1.3       +9 -7      cocoon-lenya/src/webapp/lenya/resources/css/navigation.css
  
  Index: navigation.css
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/resources/css/navigation.css,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- navigation.css	3 Jul 2003 14:43:01 -0000	1.2
  +++ navigation.css	7 Jul 2003 17:55:36 -0000	1.3
  @@ -9,7 +9,7 @@
   /* tabs */
   
   #tabs {
  -    font-family: Verdana, Arial, Sans-serif;
  +    font-family: Verdana, Arial, sans-serif;
       font-size: 80%;
       border-bottom: solid 5px #AAAAFF;
       margin-bottom: 10px;
  @@ -19,8 +19,8 @@
       text-decoration: none;
   }
   
  -.tab { padding-left: .5em; padding-right: .5em; background-color: #CCCCFF; }
  -.tab-selected { padding-left: .5em; padding-right: .5em; background-color: #AAAAFF; font-weight: bold; }
  +.tab { padding-left: .5em; padding-right: .5em; background-color: #CCCCFF; color: black; }
  +.tab-selected { padding-left: .5em; padding-right: .5em; background-color: #AAAAFF; font-weight: bold; color: black;}
   
   /* menu */
   
  @@ -46,7 +46,7 @@
       list-style: none;
   }
   
  -.menublock-1 a { color: #909090; }
  +.menublock-1 a { color: #909090; background-color: transparent;}
   .menublock-1 a:visited { }
   
   .menublock-1 .menublock-2 { display: none; }
  @@ -60,7 +60,7 @@
   }
   
   .menuitem-2 { padding-left: 20px; padding-top: 2px; padding-bottom: 2px; font-size: 70%; }
  -.menuitem-2 a { color: #9090C0; }
  +.menuitem-2 a { color: #9090C0; background-color: transparent;}
   .menuitem-3 { padding-left: 30px; padding-right: .5em; padding-top: .2em; padding-bottom: .2em; font-size: 60%; }
   
   .menuitem-selected-1 {
  @@ -76,10 +76,11 @@
   /* breadcrumb */
   
   #breadcrumb {
  +    color: black;
       background-color: #E0E0E0;
       padding: .3em;
       margin-left: 10px;
  -    font-family: Verdana, Arial, Sans-serif;
  +    font-family: Verdana, Arial, sans-serif;
       font-size: 80%;
   }
   
  @@ -89,7 +90,7 @@
       border: none;
       padding: 1em;
       margin-left: 10px;
  -    font-family: Verdana, Arial, Sans-serif;
  +    font-family: Verdana, Arial, sans-serif;
   }
   
   #main {
  @@ -122,6 +123,7 @@
       background-color: White;
       border: solid 1px Navy;
       vertical-align: top;
  +    color: black;
   }
   
   img.simple {
  
  
  
  1.4       +1 -1      cocoon-lenya/src/webapp/lenya/resources/css/boxes.css
  
  Index: boxes.css
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/resources/css/boxes.css,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- boxes.css	2 Jul 2003 17:57:47 -0000	1.3
  +++ boxes.css	7 Jul 2003 17:55:36 -0000	1.4
  @@ -1,7 +1,6 @@
   div.lenya-box {
   	border: solid 1px #CCCCCC;
   	width: auto;
  -	min-width: auto;
   	max-width: 100%;
   	font-size: small;
   	margin-bottom: 10px;
  @@ -18,4 +17,5 @@
   div.lenya-box-body {
       padding: 10px;
       background-color: #F5F4E9;
  +	color: Black;
   }
  
  
  
  1.4       +1 -1      cocoon-lenya/src/webapp/lenya/resources/css/tabs.css
  
  Index: tabs.css
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/resources/css/tabs.css,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- tabs.css	13 Jun 2003 18:15:04 -0000	1.3
  +++ tabs.css	7 Jul 2003 17:55:36 -0000	1.4
  @@ -2,7 +2,7 @@
   
   .lenya-tab {
   	width: auto;
  -	font-family: verdana, sans serif;
  +	font-family: verdana, sans-serif;
   	font-size: small;
   	background-color: #F5F4E9; 
   	padding: 20px;
  
  
  
  1.5       +4 -1      cocoon-lenya/src/webapp/lenya/resources/css/forms.css
  
  Index: forms.css
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/resources/css/forms.css,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- forms.css	2 Jul 2003 17:57:47 -0000	1.4
  +++ forms.css	7 Jul 2003 17:55:36 -0000	1.5
  @@ -6,7 +6,8 @@
   
   td.lenya-entry-caption {
   	text-align: right;
  -	color: 606060;
  +	color: #606060;
  +	background-color: transparent;
   }
   
   .lenya-form-element {
  @@ -22,9 +23,11 @@
   .lenya-form-message-error {
       font-weight: bold;
       color: red;
  +	background-color: transparent;
   }
   
   .lenya-form-message-success {
       font-weight: bold;
       color: navy;
  +	background-color: transparent;
   }
  
  
  
  1.4       +8 -2      cocoon-lenya/src/webapp/lenya/resources/css/antlog.css
  
  Index: antlog.css
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/resources/css/antlog.css,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- antlog.css	12 Jun 2003 15:59:31 -0000	1.3
  +++ antlog.css	7 Jul 2003 17:55:36 -0000	1.4
  @@ -12,7 +12,7 @@
       }
       
       table.lenya-ant-status {
  -      font:bold 80% arial,helvetica,sanserif;
  +      font:bold 80% arial,helvetica,sans-serif;
         background-color:#525D76;
         color:#ffffff;
       }
  @@ -23,15 +23,19 @@
       }
       .lenya-ant-error {
         color:red;
  +      background-color: transparent;
       }
       .lenya-ant-warn {
  -      color:brown;
  +      color:maroon;
  +      background-color: transparent;
       }
       .lenya-ant-info {
         color:gray;
  +      background-color: transparent;
       }
       .lenya-ant-debug{
         color:gray;
  +      background-color: transparent;
       }
       .lenya-ant-failed {
         font-size:80%;
  @@ -48,9 +52,11 @@
       
       .lenya-ant-a td { 
         background: #efefef;
  +      color: black;
       }
       
       .lenya-ant-b td { 
         background: #fff;
  +      color: black;
       }
       
  
  
  
  1.10      +5 -0      cocoon-lenya/src/webapp/lenya/resources/css/default.css
  
  Index: default.css
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/resources/css/default.css,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- default.css	3 Jul 2003 12:43:35 -0000	1.9
  +++ default.css	7 Jul 2003 17:55:36 -0000	1.10
  @@ -31,12 +31,14 @@
       padding-left: 20px;
       background-color: White;
       border-bottom: solid 1px #B1B1B1;
  +    color: black;
   }
   
   .lenya-body {
       width: 100%;
       height: 100%;
       background-color: #F5F4E9;
  +    color: black;
   }
   
   .lenya-project-logo {
  @@ -49,6 +51,7 @@
       background-color: White;
       padding: 30px;
       vertical-align: top;
  +    color: black;
   }
   
   td.lenya-sidebar {
  @@ -60,6 +63,7 @@
       background-color: White;
       padding: 30px;
       vertical-align: top;
  +    color: black;
   }
   
   .lenya-page-title {
  @@ -74,6 +78,7 @@
       font-weight: bold;
       text-align: right;
       padding: 5px;
  +    color: black;
   }
   
   .lenya-publication-item {
  
  
  
  1.3       +2 -0      cocoon-lenya/src/webapp/lenya/resources/css/scheduler.css
  
  Index: scheduler.css
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/resources/css/scheduler.css,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- scheduler.css	13 Jun 2003 13:32:11 -0000	1.2
  +++ scheduler.css	7 Jul 2003 17:55:36 -0000	1.3
  @@ -20,9 +20,11 @@
       background-color: #C0C0C0;
       border-bottom: solid 1px #909090;
       padding: 3px 10px;
  +    color: Black;
   }
   
   table.scheduler-job td.scheduler-empty {
  +    color: Black;
       background-color: White;
       border: 0;
   }
  
  
  
  1.16      +1 -3      cocoon-lenya/src/webapp/lenya/xslt/menu/menu.xsl
  
  Index: menu.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/xslt/menu/menu.xsl,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- menu.xsl	7 Jul 2003 15:38:33 -0000	1.15
  +++ menu.xsl	7 Jul 2003 17:55:37 -0000	1.16
  @@ -8,13 +8,11 @@
   <html>
   
   <head>
  -<title>Lenya</title>
  +<title>Lenya > <xsl:value-of select="url-info/publication-id"/> > <xsl:value-of select="url-info/area"/> > <xsl:value-of select="url-info/document-id"/></title>
   <script type="text/javascript" src="/lenya/lenya/menu/menu.js">
   </script>
   
   <link type="text/css" rel="stylesheet" href="/lenya/lenya/menu/menu.css" />
  -<script type="text/javascript" src="/lenya/lenya/menu/netscape.js">
  -</script>
   </head>
   
   <body bgcolor="#ffffff" leftmargin="0" marginwidth="0" topmargin="0" marginheight="0">
  
  
  
  1.4       +0 -22     cocoon-lenya/src/webapp/lenya/xslt/menu/root.xsl
  
  Index: root.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/xslt/menu/root.xsl,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- root.xsl	31 Mar 2003 16:18:11 -0000	1.3
  +++ root.xsl	7 Jul 2003 17:55:37 -0000	1.4
  @@ -12,30 +12,8 @@
   
   <xsl:template match="lenya">
     <div style="position:absolute;top:0px;left:0px;z-index:2">
  -  <html>
  -    <head>
  -      <title>Authoring</title>
  -    <style type="text/css">
  -      <xsl:comment>
  -        .alenya {
  -            color: #0066FF;
  -            text-decoration: none;
  -        }
  -
  -        .alenya:visited {
  -            <!--color: #669999;-->
  -            color: #0066FF;
  -            text-decoration: none;
  -        }
  -      </xsl:comment>
  -    </style>
  -    </head>
  -    <body bgcolor="#ffffff">
         <xsl:apply-templates select="menu"/>
  -    </body>
  -  </html>
     </div>
  -
   
     <div style="position:absolute;top:60px;left:0px;z-index:1">
         <xsl:apply-templates select="cmsbody"/>
  
  
  
  1.6       +30 -17    cocoon-lenya/src/webapp/lenya/resources/misc/menu/menu.css
  
  Index: menu.css
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/resources/misc/menu/menu.css,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- menu.css	11 Jun 2003 14:36:06 -0000	1.5
  +++ menu.css	7 Jul 2003 17:55:37 -0000	1.6
  @@ -1,12 +1,9 @@
  +a {color: #3360AA; text-decoration:none; background-color: transparent;}
  +a:hover {color: #FF3333; background-color: transparent;}
  +a:visited{color: #6688AA; background-color: transparent;} 
  +a:visited:hover {color: #FF3333; background-color: transparent;} 
   
  -
  -A {color: #3360AA; text-decoration:none;} /* 3366AA */
  -	A:hover {color: #FF3333;}
  -	A:visited{color: #6688AA} 
  -	A:visited:hover {color: #FF3333} 
  -
  -
  -IMG {border:0px}
  +img {border:0px}
   
   
   #navTopBG    { height: 21px; background-image: 
  @@ -22,18 +19,34 @@
   	#menuDebug {left:323px;}
   
   
  -.menuOutline {border:1px #999999 solid; border-bottom:2px #999999 solid; background:#EEEEEE;}
  +.menuOutline {border:1px #999999 solid; border-bottom:2px #999999 solid; background:#EEEEEE; color: black;}
   .menuBg      { background-color: #EEEEEE; background-repeat: repeat; background-attachment: 
                  scroll; background-image: 
                  url('/lenya/lenya/menu/images/bottombg.gif'); 
  -               border: 1px solid #FFFFFF; background-position: 0% }
  -.mI, .mI:visited {display:block; padding:4px; font:11px verdana, arial, san-serif; color:#444444; padding-top:2px; padding-bottom:2px;} /*50555A*/
  -	.mI:hover {background:#FFFFFF}
  -
  -span.mI { color: #AAAAAA;}
  -
  -/* Misc */
  -.click {cursor:hand}
  +               border: 1px solid #FFFFFF; background-position: 0%; color: black;}
  +.mI, .mI:visited {
  +display:block; 
  +padding:4px;
  +font:11px verdana, arial, sans-serif; 
  +color:#444444; 
  +padding-top:2px; 
  +padding-bottom:2px; 
  +background-color: transparent;}
  +	.mI:hover {background:#FFFFFF; color: black;}
  +
  +span.mI { color: #AAAAAA; background-color: transparent;}
  +
  +.click {cursor:pointer}
  +        .alenya {
  +            color: #0066FF;
  +            text-decoration: none;
  +background-color: transparent;        }
  +
  +        .alenya:visited {
  +            color: #0066FF;
  +        text-decoration: none;
  +        background-color: transparent;
  +        }
   
   
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org