Scarab commit: svn commit: r10680 - trunk/src/webapp: WEB-INF/templates/email/notification WEB-INF/templates/layouts skins
Hussayn Dabbous <[email protected]>
| Newsgroups | gmane.comp.java.scarab.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: dabbous
Date: 2009-01-14 17:06:16-0800
New Revision: 10680
Modified:
trunk/src/webapp/WEB-INF/templates/email/notification/IssueActivityHtml.vm
trunk/src/webapp/WEB-INF/templates/layouts/Default.vm
trunk/src/webapp/skins/classic.css
Log:
refer to SCB2793
- added a calendar style
- collected all banner styles (separated style definitions)
- marked banner is refactored (scb_banner)
Modified: trunk/src/webapp/WEB-INF/templates/email/notification/IssueActivityHtml.vm
Url: http://scarab.tigris.org/source/browse/scarab/trunk/src/webapp/WEB-INF/templates/email/notification/IssueActivityHtml.vm?view=diff&pathrev=10680&r1=10679&r2=10680
==============================================================================
--- trunk/src/webapp/WEB-INF/templates/email/notification/IssueActivityHtml.vm (original)
+++ trunk/src/webapp/WEB-INF/templates/email/notification/IssueActivityHtml.vm 2009-01-14 17:06:16-0800
@@ -61,7 +61,7 @@
<body>
-<div id="banner">
+<div id="scb_banner">
<table border="0" cellspacing="0" cellpadding="8" width="100%">
<tr>
<td>
Modified: trunk/src/webapp/WEB-INF/templates/layouts/Default.vm
Url: http://scarab.tigris.org/source/browse/scarab/trunk/src/webapp/WEB-INF/templates/layouts/Default.vm?view=diff&pathrev=10680&r1=10679&r2=10680
==============================================================================
--- trunk/src/webapp/WEB-INF/templates/layouts/Default.vm (original)
+++ trunk/src/webapp/WEB-INF/templates/layouts/Default.vm 2009-01-14 17:06:16-0800
@@ -75,9 +75,9 @@
################################################################
## Top row
################################################################
- <body marginwidth="0" marginheight="0" class="composite" #if($hide_bars || $autoresize) onload="initializeAll()" #else onload="initializeTreeview()" #end>
- <div id="datePopupDiv" STYLE="position:absolute;visibility:hidden;background-color:white;layer-background-color:white;"></div>
- <div id="banner" #if($hide_bars) ondblclick="hideBanner()" #end>
+ <body marginwidth="0" marginheight="0" class="scb_page" #if($hide_bars || $autoresize) onload="initializeAll()" #else onload="initializeTreeview()" #end>
+ <div id="datePopupDiv" class="scb_calendar"></div>
+ <div id="scb_banner" #if($hide_bars) ondblclick="hideBanner()" #end>
<table border="0" cellspacing="0" cellpadding="8" width="100%">
<tr>
<td>
Modified: trunk/src/webapp/skins/classic.css
Url: http://scarab.tigris.org/source/browse/scarab/trunk/src/webapp/skins/classic.css?view=diff&pathrev=10680&r1=10679&r2=10680
==============================================================================
--- trunk/src/webapp/skins/classic.css (original)
+++ trunk/src/webapp/skins/classic.css 2009-01-14 17:06:16-0800
@@ -9,7 +9,114 @@
The declarations are now less redundant and commented out declarations have
been removed for sanity.
+
+ I will now work from 2 sides in parallel:
+
+ 1.) I will remove embedded style definitions from the velocity files
+ and place them into this css sheet.
+
+ 2.) I will rework the allready existing style definitions using the
+ structure in the file "generalLayoutStructure.png" (in this folder here)
+ following styles are currently identified:
+
+ page overall page definitions (class of body)
+
+ header page header section
+ breadcrumb
+ authentification
+
+ banner banner section
+ aplication-logo
+ application-description
+
+ application-functions functionbar section (valid for the entire application)
+ home-button
+ module-button
+
+ canvas Here we will find the application pages
+ toolbox-canvas
+ application-canvas
+
+ footer page footer section
+ atom-button
+ rss-button
+ url-button
+ footer-description (new, used for additional text in the footer section)
+
+ button generic button
+ input generic input field
+ selector generic selector box
+
+ IMPORTANT NOTES:
+ ================
+
+ 1.) During the migration i will use the prependix "scb-" as a temporary name
+ convention in order to distinguish the existing style definitions from
+ the new definitions. Once the GUI refactoring is done, i will remove the
+ prependix and we end with the names declared above!
+
+ 2.) I will use plain HTML-markup wherever it is possible. So i will not mention
+ styles related to HTML-markup in the list above
+
+ 3.) The list above is a work in progress. It may change over time and it will
+ certainly grow.
+
*/
+
+
+/* =========================================== */
+/* The top level page style (attached to body) */
+/* =========================================== */
+
+.scb_page {
+ margin: 0;
+ padding: 0;
+}
+
+
+/* =========================================== */
+/* The banner section ======================== */
+/* =========================================== */
+
+#scb_banner h1 {
+ font-size: 1.25em;
+ margin: 0;
+}
+
+#scb_banner, #scb_banner td {
+ background-color: #036;
+ color: #fff;
+}
+
+body #scb_banner td a {
+ color: #fff !important;
+}
+
+#scb_banner {
+ border-top: 1px solid #369;
+}
+
+#scb_banner a:active,#scb_banner a:hover {
+ color: #f90 !important;
+}
+
+
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+/* ==== From here on downwards the refactoring must still take place. ==== */
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
+
+/* ====================================================== */
+/* Style for a java script calendar */
+/* NOTE: The calendar visibility MUST be set to invisible */
+/* ====================================================== */
+.scb_calendar {
+ position:absolute;
+ visibility:hidden;
+ background-color:white;
+ layer-background-color:white;
+}
+
/* ============================================================== */
/* tigris.css */
@@ -324,10 +431,6 @@
font-size: 1em;
}
-#banner h1 {
- font-size: 1.25em;
- margin: 0;
-}
/* box properties (exclusive of borders), positioning, alignments, list types, text-indent */
p,ul,ol,dl,.bars table {
@@ -601,19 +704,17 @@
background-image: url("../images/nw_min_036.gif");
}
-#banner,#banner td,#toptabs {
- background-color: #036;
- color: #fff;
+#toptabs {
+ background-color: #036;
+ color: #fff;
}
-body #banner td a,.app h3 a,.app h4 a {
- color: #fff !important;
-}
-#banner {
- border-top: 1px solid #369;
+.app h3 a,.app h4 a {
+ color: #fff !important;
}
+
#mytools .body,#projecttools .body,#admintools .body,#communitytools .body
{
background-color: #ddd;
@@ -657,10 +758,6 @@
text-decoration: underline;
}
-#banner a:active,#banner a:hover {
- color: #f90 !important;
-}
-
#toptabs td {
border-bottom: 1px solid #666;
border-right: 1px solid #333;
------------------------------------------------------
http://scarab.tigris.org/ds/viewMessage.do?dsForumId=3577&dsMessageId=1025405