[jboss-cvs] jboss-seam/examples/seampay/view ...

Norman Richards norman.richards at jboss.com
Thu Dec 7 19:38:15 EST 2006


  User: nrichards
  Date: 06/12/07 19:38:15

  Modified:    examples/seampay/view  date.css
  Log:
  selectDate css
  
  Revision  Changes    Path
  1.2       +39 -77    jboss-seam/examples/seampay/view/date.css
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: date.css
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/seampay/view/date.css,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- date.css	7 Dec 2006 00:24:19 -0000	1.1
  +++ date.css	8 Dec 2006 00:38:15 -0000	1.2
  @@ -1,13 +1,13 @@
  -/* Date Picker 
  ------------------------------------------------ */
  +/* Seam Date Picker */
   
   /* the div that holds the date picker calendar */
  -.dpDiv {
  +.seam-date {
  +
   }
   
   
   /* the table (within the div) that holds the date picker calendar */
  -.dpTable {
  +.seam-date table {
       font-family: Tahoma, Arial, Helvetica, sans-serif;
       font-size: 12px;
       text-align: center;
  @@ -19,105 +19,67 @@
   }
   
   
  -/* 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;
  -}
  -
  -
  -/* 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;
  +.seam-date-title div {
  +    font-size: 12px;
  +    color: gray;
  +    font-weight: bold;
   }
   
   
  -/* 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;
  +/* the forward/backward buttons at the top */
  +.seam-date-title button{
  +    font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
  +    font-size: 10px;
  +    color: gray;
  +    background: #FFFFFF;
  +    font-weight: bold;
  +    padding: 0px;
       border: 1px solid #AAAAAA;
  -    cursor: pointer;
  -    color: red;
   }
   
   
  -/* the table cell that holds the name of the month and the year */
  -.dpTitleTD {
  +/* the "This Month" and "Close" buttons at the bottom */
  +.seam-date-footer {
  +	display: none;
   }
   
  -
  -/* a table cell that holds one of the forward/backward buttons */
  -.dpButtonTD {
  +.seam-date-footer button {
  +    font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
  +    font-size: 10px;
  +    color: gray;
  +    background: #FFFFFF;
  +    font-weight: bold;
  +    border: 1px solid #AAAAAA;
   }
   
   
  -/* 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 {
  +.seam-date-header td {
       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;
  +/* a table cell that holds a date number (either blank or 1-31) */
  +.seam-date-week td.seam-date-day {
  +    border: 1px solid #ece9d8;	
   }
   
  -
  -/* 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;
  +/* 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) */
  +.seam-date-week td.seam-date-hover  {
  +    background-color: #CCCCCC;
       border: 1px solid #AAAAAA;
  +    cursor: pointer;
  +    color: red;
   }
   
   
  -/* 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;
  +/* additional style information for the cell that holds a highlighted day (usually either today's date or the current date field value) */ 
  +.seam-date-week td.seam-date-selected {
  +    background-color: #CCCCCC;        
       border: 1px solid #AAAAAA;
  -    display:none;
  +    font-weight: bold;
   }
  -
  
  
  



More information about the jboss-cvs-commits mailing list