You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by ti...@apache.org on 2005/01/18 18:08:12 UTC

svn commit: r125517 - /cocoon/whiteboard/forms/samples/swan/resources/css/swan_sections.css

Author: tim
Date: Tue Jan 18 09:08:10 2005
New Revision: 125517

URL: http://svn.apache.org/viewcvs?view=rev&rev=125517
Log:
Add missing swan_sections.css file
Added:
   cocoon/whiteboard/forms/samples/swan/resources/css/swan_sections.css   (contents, props changed)

Added: cocoon/whiteboard/forms/samples/swan/resources/css/swan_sections.css
Url: http://svn.apache.org/viewcvs/cocoon/whiteboard/forms/samples/swan/resources/css/swan_sections.css?view=auto&rev=125517
==============================================================================
--- (empty file)
+++ cocoon/whiteboard/forms/samples/swan/resources/css/swan_sections.css	Tue Jan 18 09:08:10 2005
@@ -0,0 +1,49 @@
+/*
+* Copyright 1999-2004 The Apache Software Foundation
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*     http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+li {
+  list-style-type: none
+}
+
+/* The actions buttons, placed on the right */
+.actions {
+  float: right;
+  padding-top: 0.2em;
+}
+
+/* A "section" contains stuff, related actions and substuff */
+div.section {
+  padding-top: 0.4em;
+  padding-bottom: 0.4em;
+  padding-left: 0.4em;
+  border: 1px dotted black;
+  mmargin-top: 0.4em;
+  margin-bottom: -1px;
+}
+
+/* Indent sub-sections (recursively) */
+div.section div.section {
+  margin-left: 1em;
+  border-right: none;
+}
+
+/* Change bg color depending on nesting depth */
+div.section div.section { background-color: #F0F0F0; }
+div.section div.section div.section { background-color: #E0E0E0; }
+div.section div.section div.section div.section { background-color: #D0D0D0; }
+div.section div.section div.section div.section div.section { background-color: #C0C0C0; }
+div.section div.section div.section div.section div.section div.section { background-color: #D0D0D0; }
+div.section div.section div.section div.section div.section div.section div.section { background-color: #E0E0E0; }
+div.section div.section div.section div.section div.section div.section div.section div.section { background-color: #F0F0F0; }