Applied patch from Adrian Crum in Jira #OFBIZ-605 to combine the maincss.css and tabstyles.css files; part of a larger effort to clean up the css and related style/formatting stuff in the OFBiz HTML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@497718 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -38,7 +38,6 @@ under the License.
|
||||
</#list>
|
||||
<#else>
|
||||
<link rel="stylesheet" href="<@ofbizContentUrl>/images/maincss.css</@ofbizContentUrl>" type="text/css"/>
|
||||
<link rel="stylesheet" href="<@ofbizContentUrl>/images/tabstyles.css</@ofbizContentUrl>" type="text/css"/>
|
||||
</#if>
|
||||
${layoutSettings.extraHead?if_exists}
|
||||
</head>
|
||||
|
||||
@@ -23,7 +23,6 @@ under the License.
|
||||
<script language="javascript" src="<@ofbizContentUrl>/images/calendar1.js</@ofbizContentUrl>" type="text/javascript"></script>
|
||||
<script language="javascript" src="<@ofbizContentUrl>/images/fieldlookup.js</@ofbizContentUrl>" type="text/javascript"></script>
|
||||
<link rel="stylesheet" href="<@ofbizContentUrl>/images/maincss.css</@ofbizContentUrl>" type="text/css"/>
|
||||
<link rel="stylesheet" href="<@ofbizContentUrl>/images/tabstyles.css</@ofbizContentUrl>" type="text/css"/>
|
||||
|
||||
<script language="JavaScript" type="text/javascript">
|
||||
// This code inserts the value lookedup by a popup window back into the associated form element
|
||||
|
||||
@@ -30,7 +30,6 @@ under the License.
|
||||
</#list>
|
||||
<#else>
|
||||
<link rel="stylesheet" href="<@ofbizContentUrl>/images/maincss.css</@ofbizContentUrl>" type="text/css"/>
|
||||
<link rel="stylesheet" href="<@ofbizContentUrl>/images/tabstyles.css</@ofbizContentUrl>" type="text/css"/>
|
||||
</#if>
|
||||
${layoutSettings.extraHead?if_exists}
|
||||
</head>
|
||||
|
||||
@@ -90,10 +90,8 @@ under the License.
|
||||
<screen name="GlobalDecorator">
|
||||
<section>
|
||||
<actions>
|
||||
<!-- The two default (global) stylesheets are added to the list
|
||||
of stylesheets to the first and second position -->
|
||||
<!-- The default (global) stylesheet is added to the list of stylesheets to the first position -->
|
||||
<set field="layoutSettings.styleSheets[+0]" value="/images/maincss.css" global="true"/>
|
||||
<set field="layoutSettings.styleSheets[+1]" value="/images/tabstyles.css" global="true"/>
|
||||
</actions>
|
||||
<widgets>
|
||||
<!-- render header -->
|
||||
@@ -179,10 +177,8 @@ under the License.
|
||||
<screen name="SimpleDecorator">
|
||||
<section>
|
||||
<actions>
|
||||
<!-- The two default (global) stylesheets are added to the list
|
||||
of stylesheets to the first and second position -->
|
||||
<!-- The default (global) stylesheet -->
|
||||
<set field="layoutSettings.styleSheets[+0]" value="/images/maincss.css" global="true"/>
|
||||
<set field="layoutSettings.styleSheets[+1]" value="/images/tabstyles.css" global="true"/>
|
||||
</actions>
|
||||
<widgets>
|
||||
<!-- render header -->
|
||||
|
||||
@@ -1129,3 +1129,218 @@ font-weight: bold;
|
||||
color: red;
|
||||
border: 2px solid red;
|
||||
}
|
||||
|
||||
/* ==== Styles Copied From tabstyles.css === */
|
||||
|
||||
.treewrapper {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.treeitem {
|
||||
color: blue;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-size: 10pt;
|
||||
font-weight: bold;
|
||||
border: #888888 solid 1px;
|
||||
}
|
||||
|
||||
DIV.centerarea {
|
||||
margin-left: 10px;
|
||||
margin-right: 10px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.whitearea {
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
.blackarea {
|
||||
background-color: #000000;
|
||||
}
|
||||
|
||||
.mainblock {
|
||||
background-color: #D4D0C8;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.tabdownblock {
|
||||
background-color: #B4B0AA;
|
||||
}
|
||||
|
||||
.tabdowncenter {
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
background-image: url(/images/tabs/tab_down_fill.gif);
|
||||
background-color: #B4B0AA;
|
||||
font-size: 15pt;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.tabdownleft {
|
||||
background-image: url(/images/tabs/tab_down_left.gif);
|
||||
background-color: #B4B0AA;
|
||||
|
||||
}
|
||||
|
||||
.tabdownright {
|
||||
background-image: url(/images/tabs/tab_down_right.gif);
|
||||
background-color: #B4B0AA;
|
||||
}
|
||||
|
||||
.tabupcenter {
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
background-image: url(/images/tabs/tab_up_fill.gif);
|
||||
background-color: #D4D0C8;
|
||||
font-size: 15pt;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.tabupleft {
|
||||
background-image: url(/images/tabs/tab_up_left.gif);
|
||||
background-color: #D4D0C8;
|
||||
border-width: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.tabupright {
|
||||
background-image: url(/images/tabs/tab_up_right.gif);
|
||||
background-color: #D4D0C8;
|
||||
}
|
||||
|
||||
A.tablink,A.tablink:hover,A.tablinkselected,A.tablinkselected:hover {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
font-size: 8pt;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
A.tablink:hover,A.tablink:active,A.tablinkselected {
|
||||
color: #000099;
|
||||
}
|
||||
|
||||
.apptitle {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
background-color: #000099;
|
||||
line-height: 2;
|
||||
font-size: 10pt;
|
||||
font-weight: bold;
|
||||
color: #FFFFFF;
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
DIV.row {
|
||||
background-color: #B4B0AA;
|
||||
margin-top: 0; margin-right: auto; margin-bottom: 0; margin-left: auto;
|
||||
padding: 0; text-align: center;
|
||||
}
|
||||
|
||||
DIV.col {
|
||||
border: none; float: left; margin: 0; padding: 0; width: auto;
|
||||
}
|
||||
|
||||
DIV.col-fill {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
font-size: 10px; font-weight: bold; text-decoration: none;
|
||||
background-color: #B4B0AA; color: #000099;
|
||||
margin: 0; padding: 0; border: none; text-align: center; width: 0;
|
||||
}
|
||||
|
||||
DIV.col-right {
|
||||
border: none; float: right; margin: 0; padding: 0; width: auto;
|
||||
}
|
||||
|
||||
DIV.contentarea {
|
||||
background-color: #FFFFFF;
|
||||
border: solid black 1px;
|
||||
margin-top: 10px;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
DIV.endcolumns {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
DIV.simple-right-small {
|
||||
float: right;
|
||||
width: 20px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
DIV.simple-right-half {
|
||||
float: right;
|
||||
width: 50%;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
DIV.screenlet {
|
||||
background-color: #FFFFFF;
|
||||
border: 1px solid #999999;
|
||||
margin-bottom: 10px;
|
||||
height:auto !important;
|
||||
height:1%
|
||||
}
|
||||
DIV.screenlet-header {
|
||||
background-color: #000099;
|
||||
padding-top: 1px;
|
||||
padding-bottom: 3px;
|
||||
padding-right: 4px;
|
||||
padding-left: 4px;
|
||||
height:auto !important;
|
||||
height:1%
|
||||
}
|
||||
DIV.screenlet-body {
|
||||
background-color: #FFFFFF;
|
||||
padding: 4px;
|
||||
height:auto !important;
|
||||
height:1%
|
||||
}
|
||||
|
||||
#column-container {
|
||||
position: relative;
|
||||
background-color: #FFFFFF;
|
||||
margin: auto;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#column-container .left {
|
||||
float: left; margin-right: 10px;
|
||||
/* alt: position: absolute; top: 0px; left: 0px; */
|
||||
width: 220px;
|
||||
}
|
||||
#column-container .right {
|
||||
float: right; margin-left: 10px;
|
||||
width: 220px;
|
||||
}
|
||||
|
||||
#column-container .leftonly {
|
||||
margin-left: 230px;
|
||||
width: auto;
|
||||
}
|
||||
#column-container .rightonly {
|
||||
margin-right: 230px;
|
||||
width: auto;
|
||||
}
|
||||
#column-container .center {
|
||||
margin-left: 230px;
|
||||
margin-right: 230px;
|
||||
width: auto;
|
||||
}
|
||||
#column-container .nocolumns {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
DIV.column-left-wide {
|
||||
float: left;
|
||||
width: 300px;
|
||||
background-color: #CCCCCC;
|
||||
border: black solid 2px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,228 +0,0 @@
|
||||
/*
|
||||
* Copyright 2001-2006 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.
|
||||
*/
|
||||
|
||||
.treewrapper {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.treeitem {
|
||||
color: blue;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-size: 10pt;
|
||||
font-weight: bold;
|
||||
border: #888888 solid 1px;
|
||||
}
|
||||
|
||||
DIV.centerarea {
|
||||
margin-left: 10px;
|
||||
margin-right: 10px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.whitearea {
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
.blackarea {
|
||||
background-color: #000000;
|
||||
}
|
||||
|
||||
.mainblock {
|
||||
background-color: #D4D0C8;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.tabdownblock {
|
||||
background-color: #B4B0AA;
|
||||
}
|
||||
|
||||
.tabdowncenter {
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
background-image: url(/images/tabs/tab_down_fill.gif);
|
||||
background-color: #B4B0AA;
|
||||
font-size: 15pt;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.tabdownleft {
|
||||
background-image: url(/images/tabs/tab_down_left.gif);
|
||||
background-color: #B4B0AA;
|
||||
|
||||
}
|
||||
|
||||
.tabdownright {
|
||||
background-image: url(/images/tabs/tab_down_right.gif);
|
||||
background-color: #B4B0AA;
|
||||
}
|
||||
|
||||
.tabupcenter {
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
background-image: url(/images/tabs/tab_up_fill.gif);
|
||||
background-color: #D4D0C8;
|
||||
font-size: 15pt;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.tabupleft {
|
||||
background-image: url(/images/tabs/tab_up_left.gif);
|
||||
background-color: #D4D0C8;
|
||||
border-width: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.tabupright {
|
||||
background-image: url(/images/tabs/tab_up_right.gif);
|
||||
background-color: #D4D0C8;
|
||||
}
|
||||
|
||||
A.tablink,A.tablink:hover,A.tablinkselected,A.tablinkselected:hover {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
font-size: 8pt;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
A.tablink:hover,A.tablink:active,A.tablinkselected {
|
||||
color: #000099;
|
||||
}
|
||||
|
||||
.apptitle {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
background-color: #000099;
|
||||
line-height: 2;
|
||||
font-size: 10pt;
|
||||
font-weight: bold;
|
||||
color: #FFFFFF;
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
DIV.row {
|
||||
background-color: #B4B0AA;
|
||||
margin-top: 0; margin-right: auto; margin-bottom: 0; margin-left: auto;
|
||||
padding: 0; text-align: center;
|
||||
}
|
||||
|
||||
DIV.col {
|
||||
border: none; float: left; margin: 0; padding: 0; width: auto;
|
||||
}
|
||||
|
||||
DIV.col-fill {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
font-size: 10px; font-weight: bold; text-decoration: none;
|
||||
background-color: #B4B0AA; color: #000099;
|
||||
margin: 0; padding: 0; border: none; text-align: center; width: 0;
|
||||
}
|
||||
|
||||
DIV.col-right {
|
||||
border: none; float: right; margin: 0; padding: 0; width: auto;
|
||||
}
|
||||
|
||||
DIV.contentarea {
|
||||
background-color: #FFFFFF;
|
||||
border: solid black 1px;
|
||||
margin-top: 10px;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
DIV.endcolumns {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
DIV.simple-right-small {
|
||||
float: right;
|
||||
width: 20px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
DIV.simple-right-half {
|
||||
float: right;
|
||||
width: 50%;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
DIV.screenlet {
|
||||
background-color: #FFFFFF;
|
||||
border: 1px solid #999999;
|
||||
margin-bottom: 10px;
|
||||
height:auto !important;
|
||||
height:1%
|
||||
}
|
||||
DIV.screenlet-header {
|
||||
background-color: #000099;
|
||||
padding-top: 1px;
|
||||
padding-bottom: 3px;
|
||||
padding-right: 4px;
|
||||
padding-left: 4px;
|
||||
height:auto !important;
|
||||
height:1%
|
||||
}
|
||||
DIV.screenlet-body {
|
||||
background-color: #FFFFFF;
|
||||
padding: 4px;
|
||||
height:auto !important;
|
||||
height:1%
|
||||
}
|
||||
|
||||
#column-container {
|
||||
position: relative;
|
||||
background-color: #FFFFFF;
|
||||
margin: auto;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#column-container .left {
|
||||
float: left; margin-right: 10px;
|
||||
/* alt: position: absolute; top: 0px; left: 0px; */
|
||||
width: 220px;
|
||||
}
|
||||
#column-container .right {
|
||||
float: right; margin-left: 10px;
|
||||
width: 220px;
|
||||
}
|
||||
|
||||
#column-container .leftonly {
|
||||
margin-left: 230px;
|
||||
width: auto;
|
||||
}
|
||||
#column-container .rightonly {
|
||||
margin-right: 230px;
|
||||
width: auto;
|
||||
}
|
||||
#column-container .center {
|
||||
margin-left: 230px;
|
||||
margin-right: 230px;
|
||||
width: auto;
|
||||
}
|
||||
#column-container .nocolumns {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
DIV.column-left-wide {
|
||||
float: left;
|
||||
width: 300px;
|
||||
background-color: #CCCCCC;
|
||||
border: black solid 2px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -30,7 +30,6 @@ under the License.
|
||||
<script language="javascript" src="<@ofbizContentUrl>/images/selectall.js</@ofbizContentUrl>" type="text/javascript"></script>
|
||||
<script language="javascript" src="<@ofbizContentUrl>/images/fieldlookup.js</@ofbizContentUrl>" type="text/javascript"></script>
|
||||
<link rel="stylesheet" href="<@ofbizContentUrl>/images/maincss.css</@ofbizContentUrl>" type="text/css">
|
||||
<link rel="stylesheet" href="<@ofbizContentUrl>/images/tabstyles.css</@ofbizContentUrl>" type="text/css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user