diff --git a/themes/bizznesstime/data/bizznessTimeThemeData.xml b/themes/bizznesstime/data/bizznessTimeThemeData.xml new file mode 100644 index 0000000000..9991f6f858 --- /dev/null +++ b/themes/bizznesstime/data/bizznessTimeThemeData.xml @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + diff --git a/themes/bizznesstime/includes/appbar.ftl b/themes/bizznesstime/includes/appbar.ftl new file mode 100644 index 0000000000..0eaf151a16 --- /dev/null +++ b/themes/bizznesstime/includes/appbar.ftl @@ -0,0 +1,60 @@ +<#-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you 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. +--> +<#if (requestAttributes.externalLoginKey)?exists><#assign externalKeyParam = "?externalLoginKey=" + requestAttributes.externalLoginKey?if_exists> +<#if (externalLoginKey)?exists><#assign externalKeyParam = "?externalLoginKey=" + requestAttributes.externalLoginKey?if_exists> +<#assign ofbizServerName = application.getAttribute("_serverId")?default("default-server")> +<#assign contextPath = request.getContextPath()> +<#assign displayApps = Static["org.ofbiz.base.component.ComponentConfig"].getAppBarWebInfos(ofbizServerName, "main")> + +<#if userLogin?has_content> + + + + diff --git a/themes/bizznesstime/includes/footer.ftl b/themes/bizznesstime/includes/footer.ftl new file mode 100644 index 0000000000..d6ffc692b9 --- /dev/null +++ b/themes/bizznesstime/includes/footer.ftl @@ -0,0 +1,34 @@ +<#-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you 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. +--> +<#if layoutSettings.VT_FTR_JAVASCRIPT?has_content> + <#list layoutSettings.VT_FTR_JAVASCRIPT as javaScript> + + + + + + + + + + + diff --git a/themes/bizznesstime/includes/header.ftl b/themes/bizznesstime/includes/header.ftl new file mode 100644 index 0000000000..5ca306cb93 --- /dev/null +++ b/themes/bizznesstime/includes/header.ftl @@ -0,0 +1,129 @@ +<#-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you 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. +--> +<#if (requestAttributes.person)?exists><#assign person = requestAttributes.person> +<#if (requestAttributes.partyGroup)?exists><#assign partyGroup = requestAttributes.partyGroup> +<#assign docLangAttr = locale.toString()?replace("_", "-")> +<#assign langDir = "ltr"> +<#if "ar.iw"?contains(docLangAttr?substring(0, 2))> + <#assign langDir = "rtl"> + + + + + + + + + + + + + + ${layoutSettings.companyName}: <#if (page.titleProperty)?has_content>${uiLabelMap[page.titleProperty]}<#else>${(page.title)?if_exists}</#if> + + + + + + + + + + + <#if layoutSettings.shortcutIcon?has_content> + <#assign shortcutIcon = layoutSettings.shortcutIcon/> + <#elseif layoutSettings.VT_SHORTCUT_ICON?has_content> + <#assign shortcutIcon = layoutSettings.VT_SHORTCUT_ICON.get(0)/> + + <#if shortcutIcon?has_content> + + + <#if layoutSettings.styleSheets?has_content> + <#list layoutSettings.styleSheets as styleSheet> + + + + <#if userLogin?has_content> + <#if layoutSettings.VT_STYLESHEET?has_content> + <#list layoutSettings.VT_STYLESHEET as styleSheet> + + + + <#else> + + + <#if layoutSettings.rtlStyleSheets?has_content && langDir == "rtl"> + <#--layoutSettings.rtlStyleSheets is a list of rtl style sheets.--> + <#list layoutSettings.rtlStyleSheets as styleSheet> + + + + <#if layoutSettings.VT_RTL_STYLESHEET?has_content && langDir == "rtl"> + <#list layoutSettings.VT_RTL_STYLESHEET as styleSheet> + + + + ${layoutSettings.extraHead?if_exists} + <#if layoutSettings.VT_EXTRA_HEAD?has_content> + <#list layoutSettings.VT_EXTRA_HEAD as extraHead> + ${extraHead} + + + + <#if layoutSettings.javaScripts?has_content> + <#assign javaScriptsSet = Static["org.ofbiz.base.util.UtilMisc"].toSet(layoutSettings.javaScripts)/> + <#list layoutSettings.javaScripts as javaScript> + <#if javaScriptsSet.contains(javaScript)> + <#assign nothing = javaScriptsSet.remove(javaScript)/> + + + + + <#if layoutSettings.VT_HDR_JAVASCRIPT?has_content> + <#list layoutSettings.VT_HDR_JAVASCRIPT as javaScript> + + + + + +
+ \ No newline at end of file diff --git a/themes/bizznesstime/includes/messages.ftl b/themes/bizznesstime/includes/messages.ftl new file mode 100644 index 0000000000..77b2440d0e --- /dev/null +++ b/themes/bizznesstime/includes/messages.ftl @@ -0,0 +1,55 @@ +<#-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you 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. +--> +<#if requestAttributes.errorMessageList?has_content><#assign errorMessageList=requestAttributes.errorMessageList> +<#if requestAttributes.eventMessageList?has_content><#assign eventMessageList=requestAttributes.eventMessageList> +<#if requestAttributes.serviceValidationException?exists><#assign serviceValidationException = requestAttributes.serviceValidationException> +<#if requestAttributes.uiLabelMap?has_content><#assign uiLabelMap = requestAttributes.uiLabelMap> + +<#if !errorMessage?has_content> + <#assign errorMessage = requestAttributes._ERROR_MESSAGE_?if_exists> + +<#if !errorMessageList?has_content> + <#assign errorMessageList = requestAttributes._ERROR_MESSAGE_LIST_?if_exists> + +<#if !eventMessage?has_content> + <#assign eventMessage = requestAttributes._EVENT_MESSAGE_?if_exists> + +<#if !eventMessageList?has_content> + <#assign eventMessageList = requestAttributes._EVENT_MESSAGE_LIST_?if_exists> + + +<#-- display the error messages --> +<#if (errorMessage?has_content || errorMessageList?has_content)> + + + +<#-- display the event messages --> +<#if (eventMessage?has_content || eventMessageList?has_content)> + + diff --git a/themes/bizznesstime/includes/secondary-appbar.ftl b/themes/bizznesstime/includes/secondary-appbar.ftl new file mode 100644 index 0000000000..c4c80cb2d3 --- /dev/null +++ b/themes/bizznesstime/includes/secondary-appbar.ftl @@ -0,0 +1,53 @@ +<#-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you 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. +--> +<#assign nowTimestamp = Static["org.ofbiz.base.util.UtilDateTime"].nowTimestamp()> + +<#if (requestAttributes.externalLoginKey)?exists><#assign externalKeyParam = "?externalLoginKey=" + requestAttributes.externalLoginKey?if_exists> +<#if (externalLoginKey)?exists><#assign externalKeyParam = "?externalLoginKey=" + requestAttributes.externalLoginKey?if_exists> +<#assign ofbizServerName = application.getAttribute("_serverId")?default("default-server")> +<#assign contextPath = request.getContextPath()> +<#assign displayApps = Static["org.ofbiz.base.component.ComponentConfig"].getAppBarWebInfos(ofbizServerName, "secondary")> + +<#if userLogin?has_content> + + \ No newline at end of file diff --git a/themes/bizznesstime/ofbiz-component.xml b/themes/bizznesstime/ofbiz-component.xml new file mode 100644 index 0000000000..38c870d0ff --- /dev/null +++ b/themes/bizznesstime/ofbiz-component.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + diff --git a/themes/bizznesstime/webapp/bizznesstime/WEB-INF/web.xml b/themes/bizznesstime/webapp/bizznesstime/WEB-INF/web.xml new file mode 100644 index 0000000000..3b84c03408 --- /dev/null +++ b/themes/bizznesstime/webapp/bizznesstime/WEB-INF/web.xml @@ -0,0 +1,34 @@ + + + + + + Open For Business - It's Bizzness Time Visual Theme + It's bizzness, it's bizzness time. I couldn't have said it better myself. This theme gets down + + + 1 + + + + index.jsp + main.jsp + + diff --git a/themes/bizznesstime/webapp/bizznesstime/css/forms.css b/themes/bizznesstime/webapp/bizznesstime/css/forms.css new file mode 100644 index 0000000000..6ac84bc97a --- /dev/null +++ b/themes/bizznesstime/webapp/bizznesstime/css/forms.css @@ -0,0 +1,108 @@ +/*********************************************** +APACHE OPEN FOR BUSINESS +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you 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. +***********************************************/ + +form { + border: 0; + margin: 0; + text-align: left; +} + +form label { + font-size: 11px; + color: #5d5644; + margin-top: 5px; + text-transform:uppercase; +} + +form a img { + float:none; + margin:0px 5px 10px 5px; +} + +form tbody { + border:none; +} +form tbody tr { + border:0px; +} + +input[type="radio"],input[type="checkbox"] { + font-size: 1.1em; + margin: 5px 5px 10px 5px; +} + +input[type="text"],input[type="password"] { + border: #ddd solid 2px; + font-weight:bold; + font-size: 1.1em; + margin:5px 5px 5px 5px; + padding:2px 4px; +} + +input[type="submit"],input[type="button"],input[type="reset"] { + background:url(../images/btn-bg.gif) center left repeat-x; + border: #ddd solid 2px; + color: #444; + font-weight:bold; + line-height:1.8em; + margin:5px 5px 2px 5px; + padding:2px 4px; + text-transform:uppercase; +} + +input[type="submit"]:hover, +input[type="button"], +input[type="reset"] { + color: #1c334d; + cursor: pointer; + text-decoration: none; +} + +input[type="file"] { + font-size: 1.1em; + height: 1.9em; /* force ctrl to scale with text */ + background-color: #ffffff; + border: #ddd solid 2px; + color: #444; +} + +select { + background-color: #ffffff; + border: #ddd solid 2px; + font-size: 1.1em; + height: 1.6em; /* force ctrl to scale with text */ + margin:5px 5px 2px 5px; +} + +textarea { + border: #ddd solid 2px; + font-weight:bold; + font-size: 1.1em; + margin:5px 5px 5px 5px; + padding:2px 4px; +} + +input:focus,.contentarea textarea:focus { + border: 2px solid #6E2723; +} + +input.focused, textarea.focused { + border: 2px solid #6E2723; +} diff --git a/themes/bizznesstime/webapp/bizznesstime/css/ie.css b/themes/bizznesstime/webapp/bizznesstime/css/ie.css new file mode 100644 index 0000000000..904abdbc3b --- /dev/null +++ b/themes/bizznesstime/webapp/bizznesstime/css/ie.css @@ -0,0 +1,39 @@ +/*********************************************** +APACHE OPEN FOR BUSINESS +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you 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. +***********************************************/ + +/* Make sure the layout is centered in IE5 */ +body { text-align: center; } +.container { text-align: left; } + +/* Fixes IE margin bugs */ +* html .column { overflow-x: hidden; } + +/* Fixes incorrect styling of legend in IE6. */ +* html legend { margin:-18px -8px 16px 0; padding:0; } + +/* Fixes incorrect placement of ol numbers in IE6/7. */ +ol { margin-left:2em; } + +/* Fixes wrong line-height on sup/sub in IE. */ +sup { vertical-align: text-top; } +sub { vertical-align: text-bottom; } + +/* Fixes IE7 missing wrapping of code elements. */ +html>body p code { *white-space: normal; } diff --git a/themes/bizznesstime/webapp/bizznesstime/css/legacy.css b/themes/bizznesstime/webapp/bizznesstime/css/legacy.css new file mode 100644 index 0000000000..8d98ca3b5a --- /dev/null +++ b/themes/bizznesstime/webapp/bizznesstime/css/legacy.css @@ -0,0 +1,816 @@ +/*********************************************** +APACHE OPEN FOR BUSINESS +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you 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. +***********************************************/ + +.tooltip { /* tooltip style */ + background-color: #ffffbb; + border: 0.1em solid #999999; + color: #000000; + font-style: italic; + margin: 0.4em; + padding: 0.1em; +} + +.page-container { + background-color: #B8DFFC; +} + +/*********************************************** +Boxes +***********************************************/ +.boxhead { + color: #FFFFFF; + font-size: 1.1em; + font-weight: bold; +} + +.boxlink { + float: right; +} + +div.boxtop { + background-color: #333; + border-color: #999999; + border-style: solid; + margin: 0 auto 0 auto; + padding: 0.1em 0.4em 0.1em 0.4em; + text-align: center; +} + +div.boxhead-left { + border: none; + color: #FFFFFF; + float: left; + font-size: 1.1em; + font-weight: bold; + width: auto; +} + +div.boxhead-fill { + border: none; + color: #FFFFFF; + font-size: 1.1em; + font-weight: bold; + text-align: center; + width: 0; +} + +div.boxhead-right { + border: none; + color: #FFFFFF; + float: right; + font-size: 1.1em; + font-weight: bold; + width: auto; +} + +.boxoutside { + background-color: #FFFFFF; + border: 0.1em solid #999999; +} + +.boxtop { + background-color: #333; + border: 0 solid #999999; + padding: 0.1em 0.4em 0.1em 0.4em; +} + +.boxbottom { + background-color: #FFFFFF; + border: 0 solid #999999; + padding: 0.4em; +} + +/*********************************************** +Submenu +***********************************************/ +.submenutextinfo { + border-right: 0.1em solid #5886C6; + color: #ffffff; + font-size: 0.9em; + font-weight: bold; + padding-left: 0.5em; + padding-right: 0.5em; +} + +.submenutext,a.submenutext,a.submenutext:visited { + color: #333; + font-size: 0.9em; + font-weight: bold; + padding-left: 0.2em; + padding-right: 0.5em; +} + +a.submenutext:hover { + color: #1c334d; +} + +.submenutextdisabled, +a.submenutextdisabled { + color: #ccc; + font-size: 0.9em; + font-weight: bold; + padding-left: 0.2em; + padding-right: 0.5em; +} + +a.submenutextdisabled:hover { + color: #ccc; +} + +.submenutextinforight { + color: #ffffff; + font-size: 0.9em; + font-weight: bold; + padding-left: 0.2em; +} + +.submenutextright, +a.submenutextright { + color: #333; + font-size: 0.9em; + font-weight: bold; + padding-left: 0.2em; +} + +a.submenutextright:hover { + color: #1c334d; +} + +.submenutextrightdisabled, +a.submenutextrightdisabled { + color: #ccc; + font-size: 0.9em; + font-weight: bold; + padding-left: 0.2em; +} + +a.submenutextrightdisabled:hover { + color: #ccc; +} + +a img.imageborder { + border: 2px solid #ddd; +} + +/*********************************************** +Trees +***********************************************/ +.treeWrapper { + background-color: #ffffff; + border-top: 0.1em solid #eee; + border-left: 0.1em solid #eee; + color: #444; + font-size: 1.6em; + font-weight: normal; + margin-left: 1.2em; + margin-top: 0.2em; + text-align: left; + text-decoration: none; +} + +.treewrapper { + margin-left: 1em; +} + +.treeitem { + border: #888888 solid 0.1em; + color: #333; + font-size: 1.4em; + font-weight: bold; +} + +.basic-tree ul { + padding-left: 1em; +} + +.basic-tree li { + padding-left: 1em; + white-space: nowrap; +} + +.basic-tree li .expanded { + background: url(/images/collapse.gif) no-repeat left center; + padding-right: 1em; +} + +.basic-tree li .collapsed { + background: url(/images/expand.gif) no-repeat left center; + padding-right: 1em; +} + +.basic-tree li .leafnode { + background: url(/images/expand-collapse-placeholder.gif) no-repeat left center; + padding-right: 1em; +} + +.basic-tree li .treeitem { + border-style: none; + color: #333; + font-size: 1em; +} + +.basic-tree li a:hover { + color: #333; +} + +/*********************************************** +Navigation Bars +***********************************************/ +.basic-nav { + padding-left: 1em; +} + +.basic-nav ul a { + color: #333; + font-size: 1.1em; +} + +.basic-nav ul .selected, +.basic-nav ul .selected a { + color: #1c334d; +} + +.basic-nav ul a:hover { + color: #1c334d; +} + +.basic-nav ul .disabled, +.basic-nav ul .disabled a { + color: #ccc; +} + +.tool-bar { + background-color: #D4D0C8; + border: 0.1em solid #333; + padding: 0.2em; +} + +.tool-bar ul li { + background-color: #D4D0C8; + padding: 0.1em; +} + +.nav-pager { + padding:0.08em 0 0.5em 0; + clear:both; + display:block; + position:relative; + margin:0px 0 10px 0; +} + +.nav-pager ul { + display: inline; /* IE Fix */ +} + +.nav-pager ul li { + background-color: #ffffff; + float: left; + font-weight: bold; + line-height: 1.8em; + margin: 0.2em; +} + +.nav-pager ul li a { + display: block; + color:#444444; + font-weight: bold; +} + +.nav-pager ul .nav-first, +.nav-pager ul .nav-previous, +.nav-pager ul .nav-next, +.nav-pager ul .nav-last { + background-color:#fff; + border:2px solid #ddd; + color:#444; + padding: 0 0.5em 0 0.5em; +} + +.nav-pager ul .nav-first-disabled, +.nav-pager ul .nav-previous-disabled, +.nav-pager ul .nav-next-disabled, +.nav-pager ul .nav-last-disabled { + background-color:#fff; + border:2px solid #ddd; + color:#ccc; + padding: 0 0.5em 0 0.5em; +} + +.nav-pager select { + margin: 0; +} + +/*********************************************** +Legacy Table Styles +***********************************************/ +.formTableBordered { + border: 2px solid #eee; + width: 100%; +} + +.basic-table { + margin-bottom: 1em; + width: 100%; +} + +form .basic-table, +.screenlet-body .basic-table { + margin-bottom: 0; +} + +.basic-table tr th,.basic-table .header-row { + font-weight: bold; + text-align: left; +} + +.basic-table .header-row td { + border-bottom: 1px solid #999; +} + +.basic-table .header-row td a { + color: #000000; +} + +.basic-table .alternate-row { + background-color: #f5f6eb; +} + +.basic-table .selected { + background: #FFFCCF; +} + +.basic-table .alternate-rowSelected { + background: #FFF55F; +} + +.basic-table .Validate { + background: #A0D5F7; +} + +.basic-table .alternate-rowValidate { + background: #72A8F2; +} + +.basic-table .Warn { + background: #f55C5C; +} + +.basic-table .alternate-rowWarn { + background: #FC7455; +} + +.basic-table tr .button-col { + vertical-align: top; +} + +.basic-table tr .button-col a { + background:url(../images/btn-bg.gif) center left repeat-x; + border: 2px solid #ddd; + color: #333; + float: left; + font-weight:bold; + margin: 0 0.1em 0 0.1em; + padding: 0.1em 0.4em 0.1em 0.4em; + text-transform:uppercase; + white-space: nowrap; +} + +.basic-table tr .smallSubmit,.basic-table tr .smallSubmit:visited { + background:url(../images/btn-bg.gif) center left repeat-x; + border:2px solid #ddd; + color:#444; + font-weight:bold; + line-height:1.8em; + margin:5px 5px 2px; + padding:2px 4px; + text-transform:uppercase; +} + +.basic-table tr .button-col a:hover, +.basic-table tr .button-col a:active { + color: #1c334d; + margin: 0 0.1em 0 0.1em; + padding: 0.1em 0.4em 0.1em 0.4em; +} + +.basic-table .collapsed { + visibility: collapse; +} + +.basic-table .header-row-2 th, +.basic-table .header-row-2 td { + background:#D14B1F url(../images/tableheader-bg.jpg) repeat-x scroll 0 -100px; + border-bottom:2px solid #FFFFFF; + border-left:1px solid #D14B1F; + color: #fff; + font-weight: bold; + text-align: left; +} + +.basic-table .header-row-2 th a, +.basic-table .header-row-2 td a { + color:#fff; +} + +.basic-table .header-row-2 th .sort-order-asc, +.basic-table .header-row-2 td .sort-order-asc { + background: url(/images/arrow-gr-up.png) no-repeat right; + padding-right: 20px; +} + +.basic-table .header-row-2 th .sort-order-desc, +.basic-table .header-row-2 td .sort-order-desc { + background: url(/images/arrow-gr-dw.png) no-repeat right; + padding-right: 20px; +} + +.basic-table .header-row-2 th .sort-order, +.basic-table .header-row-2 td .sort-order { + background: url(/images/arrow-gr.png) no-repeat right; + padding-right: 20px; +} + +.dark-grid { + border-right: 0.1em solid #000000; + border-top: 0.1em solid #000000; +} + +.dark-grid td, +.dark-grid .header-row-2 th, +.dark-grid .header-row-2 td { + border-bottom: 0.1em solid #000000; + border-left: 0.1em solid #000000; +} + +.light-grid { + border-right: 0.1em solid #cccccc; + border-top: 0.1em solid #cccccc; +} + +.light-grid td, +.light-grid .header-row td { + border-bottom: 0.1em solid #cccccc; + border-left: 0.1em solid #cccccc; +} + +.form-widget table tr .label, +.form-widget-table tr .label { + /* Added for backward compatibility */ + width: 20%; +} + +.form-widget table,.form-widget-table { + width: auto; +} + +.form-widget-table { + margin-bottom: 1em; +} + +/*********************************************** +Calendar +***********************************************/ +.field-lookup { + background: url(/images/fieldlookup.gif) no-repeat; +} + +.view-calendar { + background: url(/images/cal.gif) no-repeat; +} + +.calendar { + border-right: 0.1em solid #cccccc; +} + +.calendar tr td { + border-bottom: 0.1em solid #cccccc; + border-left: 0.1em solid #cccccc; + vertical-align: top; + padding: 0.5em; +} + +.calendar .header-row td { + background-color: #69a9d9; + border-bottom: 0.1em solid #cccccc; + border-left: 0.1em solid #cccccc; + color: #ffffff; + height: auto; + text-align: center; +} + +.calendar tr td .add-new { + float: right; +} + +.calendar tr td .h1 { + color: #333; + float: left; +} + +.calendar .current-period { + background-color: #ffffcc; +} + +.calendar .active-period { + background-color: #eeeeee; +} + +.calendar_date_select { + color: #fff; + border: #bbb 2px solid; + display: block; + width: 300px; + z-index: 1000; +} + +.calendar_date_select thead th { + font-weight: bold; + background-color: #666; + border-top: 1px solid #777; + border-bottom: 2px solid #777; + color: white !important; +} + +.calendar_date_select .cds_buttons { + text-align: center; + padding: 5px 0px; + background-color: #666; +} + +.calendar_date_select .cds_footer { + background-color: #fff; + padding: 3px; + font-size: 12px; + text-align: center; + color:#333; +} + +.calendar_date_select .cds_footer span { + display:none +} + +.calendar_date_select table { + margin: 0px; + padding: 0px; +} + +.calendar_date_select .cds_header { + background-color: #fff; + border-bottom: 2px solid #777; + text-align: center; +} + +.calendar_date_select .cds_header span { + font-size: 15px; + color: #000; + font-weight: bold; +} + +.calendar_date_select select { + font-size: 11px; +} + +.calendar_date_select .cds_header a:hover { + color: #1c334d; +} + +.calendar_date_select .cds_header a { + width: 22px; + height: 20px; + text-decoration: none; + font-size: 14px; + color: #000 !important; +} + +.calendar_date_select .cds_header a.prev { + float: left; +} + +.calendar_date_select .cds_header a.next { + float: right; +} + +.calendar_date_select .cds_header a.close { + float: right; + display: none; +} + +.calendar_date_select .cds_header select.month { + width: 90px; +} + +.calendar_date_select .cds_header select.year { + width: 61px; +} + +.calendar_date_select .cds_buttons a { + color: #ccc; + font-size: 11px; +} + +.calendar_date_select td { + font-size: 12px; + width: 24px; + height: 21px; + text-align: center; + vertical-align: middle; + background-color: #f2f2f2; +} + +.calendar_date_select td.weekend { + background-color: #f6f6f6; +} + +.calendar_date_select td div { + color: #333; +} + +.calendar_date_select td div.other { + color: #888; +} + +.calendar_date_select td.selected div { + color: #000; +} + +.calendar_date_select tbody td { + border-bottom: 1px solid #555; +} + +.calendar_date_select td.selected { + background-color: #fff; +} + +.calendar_date_select td.today { + border: 1px dashed #222; +} + +.calendar_date_select td.disabled div { + color: #454545; +} + +/* this is a fun ie6 hack to get drop downs to stay behind the popup window. This should always be just underneath .calendar_date_select */ +iframe.ie6_blocker { + position: absolute; + z-index: 999; +} + +.fieldWithErrors .calendar_date_select { + border: 2px solid #FF0000; +} + +/*********************************************** +Legacy Forms + +*development note: instead of using class names + we should just be using actual + symantic form structure for + forms such as: +
+ +
+