Scarab commit: svn commit: r10801 - trunk/src/webapp: WEB-INF/templates/macros skins skins/images

Hussayn Dabbous <[email protected]>
Newsgroups gmane.comp.java.scarab.cvs
Message-ID <[email protected]>
Author: dabbous
Date: 2009-07-16 00:53:41-0700
New Revision: 10801

Added:
   trunk/src/webapp/skins/images/date.gif   (contents, props changed)
Modified:
   trunk/src/webapp/WEB-INF/templates/macros/GlobalMacros.vm
   trunk/src/webapp/skins/classic.css

Log:
cosmethic: Replaced the explicit placement of the Calendar-popup icon 
with css-based placement. I also modified the icon slkightly so that it lines
up with the calendar input field. The icon has been moved to /skins/images

Modified: trunk/src/webapp/WEB-INF/templates/macros/GlobalMacros.vm
Url: http://scarab.tigris.org/source/browse/scarab/trunk/src/webapp/WEB-INF/templates/macros/GlobalMacros.vm?view=diff&pathrev=10801&r1=10800&r2=10801
==============================================================================
--- trunk/src/webapp/WEB-INF/templates/macros/GlobalMacros.vm	(original)
+++ trunk/src/webapp/WEB-INF/templates/macros/GlobalMacros.vm	2009-07-16 00:53:41-0700
@@ -168,13 +168,12 @@
                 $readonly 
                 value="$datevalue" 
                 size="20" />              
-           <a 
+           <a class="date"
                 id="dateAnchor$ref" 
                 name="dateAnchor$ref" 
                 href="javascript:;" 
                 onClick="calPopup.select(document.getElementById('$ref'),'dateAnchor$ref','$l10n.ShortDatePattern');return false;">
-                <img src="$staticLink.setPath('/images/date.gif')" border="0"/>
-           </a>
+              </a>
         #else
           #if ($attVal.Attribute.AttributeType.Name == "integer")
             #set ( $fieldName = $attrInput.NumericValue.Key )

Modified: trunk/src/webapp/skins/classic.css
Url: http://scarab.tigris.org/source/browse/scarab/trunk/src/webapp/skins/classic.css?view=diff&pathrev=10801&r1=10800&r2=10801
==============================================================================
--- trunk/src/webapp/skins/classic.css	(original)
+++ trunk/src/webapp/skins/classic.css	2009-07-16 00:53:41-0700
@@ -251,6 +251,14 @@
 	background: url(images/button_end_transmit_blue.png) no-repeat;
 }
 
+a.date {
+	background-image: url(images/date.gif);
+	background-repeat: no-repeat;
+	width:18px;
+	height:15px;
+	display:inline-block;
+	vertical-align:middle;
+}
 
 /* ============================================================== */
 /* Issue editor                                                   */
@@ -263,13 +271,21 @@
 	display:inline;
 	padding-bottom:10px;
 }
-#properties div.header div.group th {
+#properties div.header div.group th, span.displayValue {
 	background-color: #E9F1F9;
 }
 #properties div.header div.group td {
 	font-size:0.9em;
 }
 
+span.displayValue {
+	color:black;
+	text-align:right;
+	font-family:Verdana,Helvetica,Arial,sans-serif;
+	font-size:1em;
+	font-weight:bold;
+}
+
 
 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
 /* ==== From here on downwards the refactoring must still take place. ==== */
@@ -1006,7 +1022,18 @@
 	font-weight: bold;
 }
 
-.cpDayColumnHeader,.cpYearNavigation,.cpMonthNavigation,.cpCurrentMonthDate,.cpCurrentMonthDateDisabled,.cpOtherMonthDate,.cpOtherMonthDateDisabled,.cpCurrentDate,.cpCurrentDateDisabled,.cpTodayText,.cpTodayTextDisabled,.cpText
+.cpDayColumnHeader,
+.cpYearNavigation,
+.cpMonthNavigation,
+.cpCurrentMonthDate,
+.cpCurrentMonthDateDisabled,
+.cpOtherMonthDate,
+.cpOtherMonthDateDisabled,
+.cpCurrentDate,
+.cpCurrentDateDisabled,
+.cpTodayText,
+.cpTodayTextDisabled,
+.cpText
 	{
 	font-family: arial;
 	font-size: 8pt;

Added: trunk/src/webapp/skins/images/date.gif
Url: http://scarab.tigris.org/source/browse/scarab/trunk/src/webapp/skins/images/date.gif?view=markup&pathrev=10801
==============================================================================
Binary file. No diff available.

------------------------------------------------------
http://scarab.tigris.org/ds/viewMessage.do?dsForumId=3577&dsMessageId=2371689
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.