You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-commits@incubator.apache.org by mt...@apache.org on 2006/11/17 03:49:55 UTC

svn commit: r476041 - in /incubator/xap/trunk/css: xapDefault.css xap_button.gif xap_button_disabled.gif xap_button_hover.gif xap_button_pressed.gif xap_header.gif xap_header_hover.gif xap_header_pressed.gif

Author: mturyn
Date: Thu Nov 16 19:49:54 2006
New Revision: 476041

URL: http://svn.apache.org/viewvc?view=rev&rev=476041
Log:
For: Rob Gagne

Updated styles for button, header, table, checkbox, radiobutton.

Added:
    incubator/xap/trunk/css/xap_button.gif   (with props)
    incubator/xap/trunk/css/xap_button_disabled.gif   (with props)
    incubator/xap/trunk/css/xap_button_hover.gif   (with props)
    incubator/xap/trunk/css/xap_button_pressed.gif   (with props)
    incubator/xap/trunk/css/xap_header.gif   (with props)
    incubator/xap/trunk/css/xap_header_hover.gif   (with props)
    incubator/xap/trunk/css/xap_header_pressed.gif   (with props)
Modified:
    incubator/xap/trunk/css/xapDefault.css

Modified: incubator/xap/trunk/css/xapDefault.css
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/css/xapDefault.css?view=diff&rev=476041&r1=476040&r2=476041
==============================================================================
--- incubator/xap/trunk/css/xapDefault.css (original)
+++ incubator/xap/trunk/css/xapDefault.css Thu Nov 16 19:49:54 2006
@@ -4,54 +4,47 @@
 
 
 /* BUTTON */
-
 .xapButton{
-	border-top : 2px outset #ccc;
-	border-right: 2px outset #ccc;
-	border-bottom: 2px outset #ccc;
-	border-left: 2px outset #ccc;
-	padding: 2px 2px 2px 2px;
-	cursor: pointer;
-	
+	border: 1px solid #999;
+	padding: 5px 5px 5px 5px;
+	cursor: default;
+	background-image: url(./xap_button.gif);
+	background-position: top center;
+	background-repeat: repeat-x;
+	font-size: 8pt;
 }
 
 .xapButtonMouseOver{
-	background-color: #EEEEFF;
-	color:orange;
+	border: 1px solid #99d;
+	background-image: url(./xap_button_hover.gif);
 }
 
 .xapButtonMouseDown{
-	border-top : 2px inset #ccc;
-	border-right: 2px inset #ccc;
-	border-bottom: 2px inset #ccc;
-	border-left: 2px inset #ccc;	
-	padding: 4px 0px 0px 4px;
-	color : red;
+	background-image: url(./xap_button_pressed.gif);
+	padding: 6px 4px 4px 6px;
 }
 
 .xapButtonDisabled{
 	color : gray;
-	border-top : 2px solid gray;
-	border-right: 2px solid gray;
-	border-bottom: 2px solid gray;
-	border-left: 2px solid gray;
+	border: 1px solid #aaa;
+	background-image: url(./xap_button_disabled.gif);
 	cursor: default;
 }
 
 
 /* CHECKBOX */
 .xapCheckBox{
-	padding: 2px 2px 2px 2px;
-	cursor: pointer;
-	
+	padding: 4px;
+	cursor: default;
+	border: 1px transparent solid;
+	font-size: 8pt;
 }
 
 .xapCheckBoxMouseOver{
-	color:orange;
+	border: 1px #99d solid;
 }
 
 .xapCheckBoxMouseDown{
-	color : red;
 }
 
 .xapCheckBoxDisabled{
@@ -61,17 +54,17 @@
 
 /* RADIO BUTTON */
 .xapRadioButton{
-	padding: 2px 2px 2px 2px;
-	cursor: pointer;
-	
+	padding: 4px;
+	cursor: default;
+	border: 1px transparent solid;
+	font-size: 8pt;
 }
 
 .xapRadioButtonMouseOver{
-	color:orange;
+	border: 1px #99d solid;
 }
 
 .xapRadioButtonMouseDown{
-	color : red;
 }
 
 .xapRadioButtonDisabled{
@@ -83,27 +76,26 @@
 /* HEADER (table) */
 
 .xapHeader{
-	border-top : 2px outset #ccc;
-	border-right: 2px outset #ccc;
-	border-bottom: 2px outset #ccc;
-	border-left: 2px outset #ccc;
-	padding: 2px 2px 2px 2px;
-	cursor: pointer;
+	font-size: 8pt;
+	border-bottom: 1px solid #999;
+	border-right: 1px solid #999;
+	padding: 5px;
+	cursor: default;
+	background-image: url(./xap_header.gif);
+	background-position: top center;
+	background-repeat: repeat-x;
 	
 }
 
 .xapHeaderMouseOver{
-	background-color: #EEEEFF;
-	color:orange;
+	border-bottom: 1px solid #99d;
+	border-right: 1px solid #99d;
+	background-image: url(./xap_header_hover.gif);
 }
 
 .xapHeaderMouseDown{
-	border-top : 2px inset #ccc;
-	border-right: 2px inset #ccc;
-	border-bottom: 2px inset #ccc;
-	border-left: 2px inset #ccc;	
-	padding: 4px 0px 0px 4px;
-	color : red;
+	padding: 6px 4px 4px 6px;
+	background-image: url(./xap_header_pressed.gif);
 }
 
 .xapHeaderDisabled{
@@ -119,31 +111,16 @@
 /* TABLE */
 
 .xapTable{
-	border-top : 1px solid black;
-	border-right: 1px solid black;
-	border-bottom : 1px solid black;
-	border-left : 1px solid black;	
+	border: 1px solid #999;
 }
 
 /* TREE */
 
 .xapTree{
-	border-top : 1px solid black;
-	border-right: 1px solid black;
-	border-bottom : 1px solid black;
-	border-left : 1px solid black;	
-}
-
-/* TREETABLE */
-
-.xapTreeTable{
-	border-top : 1px solid black;
-	border-right: 1px solid black;
-	border-bottom : 1px solid black;
-	border-left : 1px solid black;	
+	border: 1px solid #999;
+	font-size: 8pt;
 }
 
-
 /* TABLE SORT ARROWS */
 
 .xapSortAscendingImage{
@@ -164,23 +141,28 @@
 	padding: 8px;
 }
 
+/* TREETABLE */
 
-BODY {
+.xapTreeTable{
+	border: 1px solid #999;
+	font-size: 8pt;
+}
+
+body {
 	width: 100%;
 	height: 100%;
 	margin: 0px;
 	position: absolute;
+	font-family: Verdana, Arial; 
 }
 
-FORM {
+form {
 	margin: 0;
 	padding: 0;
 }
 
 
 
-
-
 /** TreeTable stuff */
 
 
@@ -202,9 +184,9 @@
 	cursor: pointer;
 }
 
-
-
 .tableCell{
+	font-size: 8pt;
+	padding: 3px;
 	border-right-width: 1px;
 	border-right-style: solid;
 	border-right-color: white;

Added: incubator/xap/trunk/css/xap_button.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/css/xap_button.gif?view=auto&rev=476041
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/css/xap_button.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/css/xap_button_disabled.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/css/xap_button_disabled.gif?view=auto&rev=476041
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/css/xap_button_disabled.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/css/xap_button_hover.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/css/xap_button_hover.gif?view=auto&rev=476041
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/css/xap_button_hover.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/css/xap_button_pressed.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/css/xap_button_pressed.gif?view=auto&rev=476041
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/css/xap_button_pressed.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/css/xap_header.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/css/xap_header.gif?view=auto&rev=476041
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/css/xap_header.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/css/xap_header_hover.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/css/xap_header_hover.gif?view=auto&rev=476041
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/css/xap_header_hover.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/css/xap_header_pressed.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/css/xap_header_pressed.gif?view=auto&rev=476041
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/css/xap_header_pressed.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream