[Fusionforge-commits] r11360 - in trunk/src/www: include themes/css

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Wed Nov 3 20:45:15 CET 2010


Author: aljeux
Date: 2010-11-03 20:45:15 +0100 (Wed, 03 Nov 2010)
New Revision: 11360

Removed:
   trunk/src/www/themes/css/gforge-compat.css
Modified:
   trunk/src/www/include/Layout.class.php
   trunk/src/www/themes/css/fusionforge.css
Log:
Merge old css code in fusionforge.css and drop the old gforge-compat.

Modified: trunk/src/www/include/Layout.class.php
===================================================================
--- trunk/src/www/include/Layout.class.php	2010-11-03 17:06:03 UTC (rev 11359)
+++ trunk/src/www/include/Layout.class.php	2010-11-03 19:45:15 UTC (rev 11360)
@@ -205,7 +205,6 @@
 			   custom stylesheet exists. 
 			   Used for compatibility with existing stylesheets
 			 */
-			$this->cssurls[] = util_make_url('/themes/css/gforge-compat.css');
 			if (file_exists($this->cssdir . 'theme.css')) {
 				$this->cssurls[] = $this->cssbaseurl . 'theme.css';
 			}

Modified: trunk/src/www/themes/css/fusionforge.css
===================================================================
--- trunk/src/www/themes/css/fusionforge.css	2010-11-03 17:06:03 UTC (rev 11359)
+++ trunk/src/www/themes/css/fusionforge.css	2010-11-03 19:45:15 UTC (rev 11360)
@@ -34,7 +34,228 @@
  * 
 */
 
+/* From old gforge-compat */
+.altrowstyleeven {
+	background-color: #EAEAEA;
+	font-weight: normal
+}
 
+.altrowstyleodd {
+	background-color: #E0E0E0;
+	font-weight: normal
+}
+
+.error {
+	color: red;
+	font-size: medium;
+	font-weight: bold;
+	text-align: center
+}
+
+.feedback {
+	color: red;
+	font-size: medium;
+	text-align: center;
+	text-decoration: none
+}
+
+.important {
+	color: red;
+	font-weight: bold
+}
+
+.multitablerowtitle {
+	background-color: #DAD5D7
+}
+
+.next {
+	font-family: arial,helvetica, sans-serif;
+	font-size: small;
+	font-weight: bold
+}
+
+.prev {
+	font-family: arial,helvetica, sans-serif;
+	font-size: small;
+	font-weight: bold
+}
+
+.priority1 {
+	background-color: #dadada
+}
+
+.priority2 {
+	background-color: #dacaca
+}
+
+.priority3 {
+	background-color: #dababa
+}
+
+.priority4 {
+	background-color: #daaaaa
+}
+
+.priority5 {
+	background-color: #da8a8a
+}
+
+.requiredfield {
+	color: red;
+	font-weight: bold
+}
+
+.tabberlive {
+	margin-top: 1em
+}
+
+.tabberlive .tabbertab {
+	border: 1px solid #aaa;
+	border-top: 0;
+	padding: 5px
+}
+
+.tabberlive .tabbertab h2 {
+	display: none
+}
+
+.tabberlive .tabbertab h3 {
+	display: none
+}
+
+.tabberlive .tabbertabhide {
+	display: none
+}
+
+.tabberlive#tab2 .tabbertab {
+	height: 200px;
+	overflow: auto
+}
+
+.tablecontent {
+	background-color: #eeeeee;
+	font-size: 13px
+}
+
+.tablegetmore {
+	background-color: #EAEAEA
+}
+
+.tableheading {
+	background-color: #D0D0D0;
+	font-weight: bold;
+	text-align: center
+}
+
+.titlebar {
+	color: #FFFFFF;
+	font-size: 13px;
+	text-decoration: none
+}
+
+.up {
+	font-size: small;
+	font-weight: bold;
+	color: #009900
+}
+
+.down {
+	font-size: small;
+	font-weight: bold
+}
+
+.veryimportant {
+	color: red;
+	font-size: large;
+	font-weight: bold;
+	text-align: center
+}
+
+.warning {
+	color: red;
+	text-decoration: none
+}
+
+td.footer1 {
+	background-color: #E0E0E0
+}
+
+td.footer2 {
+	background-color: #E0E0E0
+}
+
+td.footer3 {
+	background-color: #ffffff
+}
+
+td.notseltab {
+	background-color: #909090
+}
+
+td.projecttab {
+	background-color: #ffffff
+}
+
+td.seltab {
+	background-color: white
+}
+
+td.toptab {
+	background-color: #E0E0E0
+}
+
+ul.tabbernav {
+	border-bottom: 1px solid #778;
+	margin: 0;
+	padding: 3px 0
+}
+
+ul.tabbernav li {
+	display: inline;
+	list-style: none;
+	margin: 0
+}
+
+ul.tabbernav li a {
+	background: #D0D0D0;
+	border: 1px solid #778;
+	border-bottom: none;
+	margin-left: 3px;
+	padding: 3px 0.5em;
+	text-decoration: none
+}
+
+ul.tabbernav li a:hover {
+	background: #AAE;
+	border-color: #227;
+	color: #000
+}
+
+ul.tabbernav li a:link {
+	color: #333333
+}
+
+ul.tabbernav li a:visited {
+	color: #667
+}
+
+ul.tabbernav li.tabberactive a {
+	background-color: #fff;
+	border-bottom: 1px solid #fff
+}
+
+ul.tabbernav li.tabberactive a:hover {
+	background: white;
+	border-bottom: 1px solid white;
+	color: #000
+}
+
+up {
+	font-family: arial,helvetica, sans-serif;
+	font-size: small;
+	font-weight: bold
+}
+
 /* generic classes
 ----------------------------------------------- */
 .align-left {text-align: left;}

Deleted: trunk/src/www/themes/css/gforge-compat.css
===================================================================
--- trunk/src/www/themes/css/gforge-compat.css	2010-11-03 17:06:03 UTC (rev 11359)
+++ trunk/src/www/themes/css/gforge-compat.css	2010-11-03 19:45:15 UTC (rev 11360)
@@ -1,376 +0,0 @@
-/**
- * Default stylesheet for gforge
- *
- * This file is part of FusionForge.
- *
- * FusionForge is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published
- * by the Free Software Foundation; either version 2 of the License,
- * or (at your option) any later version.
- * 
- * FusionForge is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with FusionForge; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
- * USA
- *
- * This stylesheet contains all style information
- * removed from the code
- */
-
-
-body {
-        font-family:arialverdana, arial, helvetica, sans-serif;
-	
-        }
-OL,UL,P,TR,TD,FORM {
-        font-family: arialverdana,arial,helvetica,sans-serif;
-        font-size:13px;
-        color: #202020;
-        text-decoration: none;
-        font-weight: normal;
-        }
-
-
-FORM {
-	font-family: arialverdana,arial,helvetica,sans-serif; 
-	font-size: x-small
-	}
-
-TEXTAREA, INPUT, SELECT, OPTION {
-	font-family: arialverdana,arial,helvetica,sans-serif; 
-	font-size: x-small
-	}
-
-
-/* end form elements */
-
-STRONG {font-weight: bold}
-
-h1, h2, h3, h4, h5, h6 { 
-	font-family: arialverdana,arial,helvetica,sans-serif; 
-	font-weight: normal;
-	padding:0;
-}
-
-H1 { 
-	font-family: arialverdana,arial,helvetica,sans-serif; 
-	font-size: x-large
-	}
-H2 { 
-	font-family: arialverdana,arial,helvetica,sans-serif; 
-	font-size: large
-	}
-H3 { 
-	font-family: arialverdana,arial,helvetica,sans-serif; 
-	font-size: medium
-	}
-
-H4 { 
-	font-family: arialverdana,arial,helvetica,sans-serif; 
-	font-size: small
-	}
-
-H5 { 
-	font-family: arialverdana,arial,helvetica,sans-serif; 
-	font-size: x-small
-	}
-
-H6 { 
-	font-family: arialverdana,arial,helvetica,sans-serif; 
-	font-size: xx-small
-	}
-
-p { 
-	font-size: 13px; 
-	font-family: arial, verdana ,helvetica,sans-serif; 
-	COLOR: #535c5f;
-	font-weight: 400;
-	padding:0;}
-
-a {
-	font-size: 13px;
-	font-family: arial, verdana ,helvetica,sans-serif; 
-
-}
-/* tab menu styles */
-td.toptab { background-color: #E0E0E0}
-td.projecttab { background-color: #ffffff}
-
-td.footer1 { background-color: #E0E0E0}
-td.footer2 { background-color: #E0E0E0}
-td.footer3 { background-color: #ffffff}
-
-td.selTab { background-color: white}
-td.notSelTab { background-color: #909090}
-
-.titlebar { 
-	FONT-SIZE:13px; 
-	color: #FFFFFF; 
-	text-decoration: none; 
-	}
-
-.develtitle {
-	FONT-SIZE: 13px; 
-	COLOR: #535c5f; 
-	font-family: arial, verdana, helvetica, sans-serif;
-	}
-
-/* priority styles */
-.priority1 { background-color: #dadada}
-.priority2 { background-color: #dacaca}
-.priority3 { background-color: #dababa}
-.priority4 { background-color: #daaaaa}
-.priority5 { background-color: #da8a8a}
-
-
-/* multiTableRow */
-.multiTableRowTitle {background-color: #DAD5D7 }
-
-
-/* definition for content table */
-.tableheading {
-	background-color:#D0D0D0; 
-	text-align: center;
-	font-weight: bold;
-	}
-
-.tablecontent {
-	font-size: 13px;
-	background-color: #eeeeee
-	
-	}
-
-.tablegetmore {
-	background-color: #EAEAEA
-	}
-
-/* styles for prev next up and down*/
-.prev, .next, up, down {
-	font-family: arial,helvetica, sans-serif; 
-	font-size: small; 
-	font-weight: bold;
-	}
-
-/* top */
-.up {
-	color: #009900
-	}
-
-.down {
-	color: #CC0000
-	}
-
-/* global styles */
-
-/* style for error messages 
-   Use this style if you need to display an error, e.g:
-     User does not exist
-*/
-.error {
-	color: red; 
-	font-size: medium; 
-	text-align: center; 
-	font-weight:  bold
-	}
-
-/* style for warning messages 
-   Use this style if you need to display a warning*/
-
-.warning {
-	color: red; 
-	text-decoration: none
-	}
-
-/* style for feedback  
-   Use this style to tell the user that the operation he
-   requested was executed successfully, e.g:
-   User was successfully registered
-*/
-.feedback {
-	color: red; 
-	font-size: medium; 
-	text-align: center; 
-	text-decoration: none
-	}
-
-/* style for attention 
-   Use this if you wish to display important messages
-   within a text.
-   Note that once registered, the project cannot be deleted
-*/
-
-.important {
-	color: red; 
-	font-weight: bold
-	}
-
-
-.veryimportant {
-	color: red; 
-	font-weight: bold; 
-	font-size: large; 
-	text-align: center
-	}
-   
-
-/* the following style are for displaying items in different states */
-
-.active {
-	background-color: #00aa00; 
-	text-decoration: none; 
-	font-weight: normal
-	}
-
-.inactive {
-	background-color: gray
-	}
-
-.deleted {
-	background-color: blue
-	}
-
-.suspended {
-	background-color: #ffaa00
-	}
-
-.pending {
-	background-color: white
-	}
-
-/* the following style is used when a word or an item should be highlighted; e.g.
-   selected release or words in the advanced search */
-
-.selected {
-	background-color: #FFCCFF;
-	}
-
-/* style for required fields */
-.requiredfield {
-	color: red; 
-	font-weight: bold
-	}
-
-
-.altRowStyleEven { 
-	background-color: #EAEAEA; 
-	font-weight: normal;
-	}
-
-.altRowStyleOdd { 
-	background-color: #E0E0E0; 
-	font-weight: normal;
-}
-
-/* tabber, currently used for my/index.php and
-   tracker/mod.php and tracker/detail.php */
-
-/*--------------------------------------------------
-  REQUIRED to hide the non-active tab content.
-  But do not hide them in the print stylesheet!
-  --------------------------------------------------*/
-.tabberlive .tabbertabhide {
- display:none;
-}
-
-/*--------------------------------------------------
-  .tabber = before the tabber interface is set up
-  .tabberlive = after the tabber interface is set up
-  --------------------------------------------------*/
-.tabber {
-}
-.tabberlive {
- margin-top:1em;
-}
-
-/*--------------------------------------------------
-  ul.tabbernav = the tab navigation list
-  li.tabberactive = the active tab
-  --------------------------------------------------*/
-ul.tabbernav
-{
- margin:0;
- padding: 3px 0;
- border-bottom: 1px solid #778;
-}
-
-ul.tabbernav li
-{
- list-style: none;
- margin: 0;
- display: inline;
-}
-
-ul.tabbernav li a
-{
- padding: 3px 0.5em;
- margin-left: 3px;
- border: 1px solid #778;
- border-bottom: none;
- background: #D0D0D0;
- text-decoration: none;
-}
-
-ul.tabbernav li a:link { color: #333333; }
-ul.tabbernav li a:visited { color: #667; }
-
-ul.tabbernav li a:hover
-{
- color: #000;
- background: #AAE;
- border-color: #227;
-}
-
-ul.tabbernav li.tabberactive a {
- background-color: #fff;
- border-bottom: 1px solid #fff;
-}
-
-ul.tabbernav li.tabberactive a:hover
-{
- color: #000;
- background: white;
- border-bottom: 1px solid white;
-}
-
-/*--------------------------------------------------
-  .tabbertab = the tab content
-  Add style only after the tabber interface is set up (.tabberlive)
-  --------------------------------------------------*/
-.tabberlive .tabbertab {
- padding:5px;
- border:1px solid #aaa;
- border-top:0;
-
- /* If you don't want the tab size changing whenever a tab is changed
-    you can set a fixed height */
-
- /* height:200px; */
-
- /* If you set a fix height set overflow to auto and you will get a
-    scrollbar when necessary */
-
- /* overflow:auto; */
-}
-
-/* If desired, hide the heading since a heading is provided by the tab */
-.tabberlive .tabbertab h2 {
- display:none;
-}
-.tabberlive .tabbertab h3 {
- display:none;
-}
-
-/* Example of using an ID to set different styles for the tabs on the page */
-.tabberlive#tab1 {
-}
-.tabberlive#tab2 {
-}
-.tabberlive#tab2 .tabbertab {
- height:200px;
- overflow:auto;
-}  




More information about the Fusionforge-commits mailing list