[jboss-cvs] jboss-seam/seam-gen/view/stylesheet ...

Gavin King gavin.king at jboss.com
Wed Dec 6 23:15:45 EST 2006


  User: gavin   
  Date: 06/12/06 23:15:45

  Modified:    seam-gen/view/stylesheet  theme.css
  Log:
  add datepicker to date fields
  fix bigdecimal conversion
  
  Revision  Changes    Path
  1.4       +126 -0    jboss-seam/seam-gen/view/stylesheet/theme.css
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: theme.css
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/seam-gen/view/stylesheet/theme.css,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- theme.css	3 Dec 2006 09:21:41 -0000	1.3
  +++ theme.css	7 Dec 2006 04:15:45 -0000	1.4
  @@ -138,3 +138,129 @@
   .errors input {
   	border: 1px solid red;
   }
  +
  +/* Date Picker 
  +----------------------------------------------- */
  +
  +/* the div that holds the date picker calendar */
  +.dpDiv {
  +	width: 300px;
  +	}
  +
  +
  +/* the table (within the div) that holds the date picker calendar */
  +.dpTable {
  +	font-family: Tahoma, Arial, Helvetica, sans-serif;
  +	font-size: 12px;
  +	text-align: center;
  +	color: #505050;
  +	background: #fff url(../img/input.bg.gif) 0 0 repeat-x;
  +	background-color: #FFFFFF;
  +	border: 1px solid #AAAAAA;
  +	margin-top: 5px;
  +	}
  +
  +
  +/* a table row that holds date numbers (either blank or 1-31) */
  +.dpTR {
  +	}
  +
  +
  +/* the top table row that holds the month, year, and forward/backward buttons */
  +.dpTitleTR {
  +	}
  +
  +
  +/* the second table row, that holds the names of days of the week (Mo, Tu, We, etc.) */
  +.dpDayTR {
  +	}
  +
  +
  +/* the bottom table row, that has the "This Month" and "Close" buttons */
  +.dpTodayButtonTR {
  +	}
  +
  +
  +/* a table cell that holds a date number (either blank or 1-31) */
  +.dpTD {
  +	border: 1px solid #ece9d8;
  +	width: 14%;
  +	}
  +
  +
  +/* a table cell that holds a highlighted day (usually either today's date or the current date field value) */
  +.dpDayHighlightTD {
  +	background-color: #CCCCCC;
  +	border: 1px solid #AAAAAA;
  +	}
  +
  +
  +/* the date number table cell that the mouse pointer is currently over (you can use contrasting colors to make it apparent which cell is being hovered over) */
  +.dpTDHover {
  +	background-color: #CCCCCC;
  +	border: 1px solid #AAAAAA;
  +	cursor: pointer;
  +	color: red;
  +	}
  +
  +
  +/* the table cell that holds the name of the month and the year */
  +.dpTitleTD {
  +	}
  +
  +
  +/* a table cell that holds one of the forward/backward buttons */
  +.dpButtonTD {
  +	}
  +
  +
  +/* the table cell that holds the "This Month" or "Close" button at the bottom */
  +.dpTodayButtonTD {
  +	}
  +
  +
  +/* a table cell that holds the names of days of the week (Mo, Tu, We, etc.) */
  +.dpDayTD {
  +	background-color: #CCCCCC;
  +	border: 1px solid #AAAAAA;
  +	color: white;
  +	}
  +
  +
  +/* additional style information for the text that indicates the month and year */
  +.dpTitleText {
  +	font-size: 12px;
  +	color: gray;
  +	font-weight: bold;
  +	}
  +
  +
  +/* additional style information for the cell that holds a highlighted day (usually either today's date or the current date field value) */ 
  +.dpDayHighlight {
  +	font-weight: bold;
  +	}
  +
  +
  +/* the forward/backward buttons at the top */
  +.dpButton {
  +	font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
  +	font-size: 10px;
  +	color: gray;
  +	background: #FFFFFF;
  +	font-weight: bold;
  +	padding: 0px;
  +	border: 1px solid #AAAAAA;
  +	}
  +
  +
  +/* the "This Month" and "Close" buttons at the bottom */
  +.dpTodayButton {
  +	font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
  +	font-size: 10px;
  +	color: gray;
  +	background: #FFFFFF;
  +	font-weight: bold;
  +	border: 1px solid #AAAAAA;
  +	display:none;
  +	}
  +
  
  
  



More information about the jboss-cvs-commits mailing list