Author: jmorliaguet
Date: Sun Jan  1 16:18:25 2006
New Revision: 2106

Modified:
   cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.css
   cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js
   
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/contextualmenus.css
   
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_tooltip.html
   cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/tooltip.css
Log:

- cleaned up css



Modified: cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.css
==============================================================================
--- cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.css        
(original)
+++ cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.css        Sun Jan 
 1 16:18:25 2006
@@ -1,8 +1,19 @@
 
+/* tooltip */
+
+.tooltip {
+  font: 13px verdana, arial, sans-serif;
+  padding: 0.7em;
+  background-color: #ffc;
+  border-color: #666;
+  border-width: 1px 2px 2px 1px;
+  border-style: solid;
+}
+
+
 /* Contextual menu */
 
 .contextMenu {
-  white-space: nowrap;
   font: 11px Verdana, Arial, Helvetica, sans-serif;
   border-width: 1px 2px 2px 1px;
   border-style: solid;

Modified: cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js
==============================================================================
--- cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js (original)
+++ cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js Sun Jan  1 
16:18:25 2006
@@ -253,7 +253,8 @@
     var widget = Canvas.addNode(document.body, {
       tag: "div",
       class: ["contextMenu", view.getAttribute("class")],
-      style: {position:"absolute", display:"none", cursor:"default"}
+      style: {position:"absolute", display:"none", cursor:"default",
+              whitespace:"nowrap"}
     });
     new CPSSkins.ContextualMenu(widget, view);
   },

Modified: 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/contextualmenus.css
==============================================================================
--- 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/contextualmenus.css
        (original)
+++ 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/contextualmenus.css
        Sun Jan  1 16:18:25 2006
@@ -42,82 +42,3 @@
   background-color: #dce;
 }
 
-/* Contextual menu */
-
-.contextMenu {
-  position: absolute;
-  cursor: default;
-  z-index: 2000;
-  display: table;
-  white-space: nowrap;
-}
-
-.contextMenu a {
-  text-decoration: none;
-  vertical-align: top;
-  cursor: default;
-  display: block;
-  background-repeat: no-repeat;
-  background-position: 6px center;
-}
-
-.contextMenu .submenu { 
-  position: absolute;
-  border-width: 1px 2px 2px 1px;
-  border-style: solid;
-  border-color: #333;
-  margin-top: -2px;
-}
-
-.contextMenu .submenu a {
-  background: #f6f3f3;
-}
-
-.contextMenu .submenu a:hover {
-  background-color: #326ab7;
-  color: #fff;
-}
-
-
-.large {
-  font: 11px Verdana, Arial, Helvetica, sans-serif;
-  border-width: 1px 2px 2px 1px;
-  border-style: solid;
-  border-color: #666;
-  background: #eeeeec;
-  color: #000;
-  width: 120px;
-}
-
-.large a {
-  color: #000;
-  padding: 4px 5px 4px 29px;
-  width: 86px;
-}
-
-.large a:hover {
-  background-color: #3465a4;
-  color: #fff;
-}
-
-.small {
-  font: italic 9px Arial, Helvetica, sans-serif;
-  border-width: 1px;
-  border-style: solid;
-  border-color: #999;
-  background: #ffe;
-  color: #000;
-  width: 100px;
-}
-
-.small a {
-  color: #000;
-  padding: 2px 5px 2px 29px;
-  width: 66px;
-}
-
-.small a:hover {
-  background-color: #909;
-  color: #fff;
-}
-

Modified: 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_tooltip.html
==============================================================================
--- 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_tooltip.html
      (original)
+++ 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_tooltip.html
      Sun Jan  1 16:18:25 2006
@@ -10,6 +10,7 @@
   <script src="../../prototype.js" type="text/javascript"></script>
   <script src="../../json.js" type="text/javascript"></script>
   <script src="../../cpsskins.js" type="text/javascript"></script>
+  <link rel="stylesheet" href="../../cpsskins.css" type="text/css" />
   <link rel="stylesheet" href="tooltip.css" type="text/css" />
 </head>
 <body>

Modified: 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/tooltip.css
==============================================================================
--- 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/tooltip.css    
    (original)
+++ 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/tooltip.css    
    Sun Jan  1 16:18:25 2006
@@ -1,13 +1,4 @@
 
-.tooltip {
-  padding: 0.7em;
-  background-color: #ffc;
-  border-color: #666;
-  border-width: 1px 2px 2px 1px;
-  border-style: solid;
-  font: 13px verdana, arial, sans-serif;
-}
-
 #area1 {
   margin: 1em;
   padding: 2em;
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to