[Pkg-javascript-commits] [d3-tip.js] 209/277: renamed to index.css; using base css in all examples

bhuvan krishna bhuvan-guest at moszumanska.debian.org
Thu Dec 8 06:57:31 UTC 2016


This is an automated email from the git hooks/post-receive script.

bhuvan-guest pushed a commit to branch master
in repository d3-tip.js.

commit 92916ae16414e3b6ec8d9504bad63d34115a3df2
Author: Dean Malmgren <dean.malmgren at datascopeanalytics.com>
Date:   Sat Dec 7 14:08:28 2013 -0600

    renamed to index.css; using base css in all examples
---
 examples/arrow-styles.html    |  2 +-
 examples/bars.html            | 28 +---------------------------
 examples/bulk-attr-style.html | 28 +---------------------------
 examples/circles.html         | 10 +---------
 examples/css-transitions.html | 28 +---------------------------
 examples/performance.html     | 10 +---------
 d3-tip.css => index.css       |  0
 7 files changed, 6 insertions(+), 100 deletions(-)

diff --git a/examples/arrow-styles.html b/examples/arrow-styles.html
index 8175fb2..a1ae51f 100644
--- a/examples/arrow-styles.html
+++ b/examples/arrow-styles.html
@@ -38,7 +38,7 @@
     text-anchor: middle;
   }
   </style>
-  <link rel="stylesheet" type="css" href="../d3-tip.css">
+  <link rel="stylesheet" type="css" href="../index.css">
 </head>
 <body>
   <script type="text/javascript">
diff --git a/examples/bars.html b/examples/bars.html
index 9974e01..e32813f 100644
--- a/examples/bars.html
+++ b/examples/bars.html
@@ -17,33 +17,6 @@
     height: 1000px;
   }
 
-  .d3-tip {
-    line-height: 1;
-    font-weight: bold;
-    padding: 12px;
-    background: rgba(0, 0, 0, 0.8);
-    color: #fff;
-    border-radius: 2px;
-  }
-
-  .d3-tip:after {
-    box-sizing: border-box;
-    display: inline;
-    font-size: 10px;
-    width: 100%;
-    line-height: 1;
-    color: rgba(0, 0, 0, 0.8);
-    content: "\25BC";
-    position: absolute;
-    text-align: center;
-  }
-
-  .d3-tip.n:after {
-    margin: -1px 0 0 0;
-    top: 100%;
-    left: 0;
-  }
-
   .d3-tip span {
     color: #ff00c7;
   }
@@ -71,6 +44,7 @@
     fill-opacity: 1;
   }
   </style>
+  <link rel="stylesheet" type="css" href="../index.css">
 </head>
 <body>
   <div id="graph">
diff --git a/examples/bulk-attr-style.html b/examples/bulk-attr-style.html
index 4064547..d2699ed 100644
--- a/examples/bulk-attr-style.html
+++ b/examples/bulk-attr-style.html
@@ -17,33 +17,6 @@
     height: 1000px;
   }
 
-  .d3-tip {
-    line-height: 1;
-    font-weight: bold;
-    padding: 12px;
-    background: rgba(0, 0, 0, 0.8);
-    color: #fff;
-    border-radius: 2px;
-  }
-
-  .d3-tip:after {
-    box-sizing: border-box;
-    display: inline;
-    font-size: 10px;
-    width: 100%;
-    line-height: 1;
-    color: rgba(0, 0, 0, 0.8);
-    content: "\25BC";
-    position: absolute;
-    text-align: center;
-  }
-
-  .d3-tip.n:after {
-    margin: -1px 0 0 0;
-    top: 100%;
-    left: 0;
-  }
-
   .d3-tip span {
     color: #ff00c7;
   }
@@ -71,6 +44,7 @@
     fill-opacity: 1;
   }
   </style>
+  <link rel="stylesheet" type="css" href="../index.css">
 </head>
 <body>
   <div id="graph">
diff --git a/examples/circles.html b/examples/circles.html
index d4adb8e..7d60c75 100644
--- a/examples/circles.html
+++ b/examples/circles.html
@@ -13,15 +13,6 @@
     font-size: 12px;
   }
 
-  .d3-tip {
-    line-height: 1;
-    font-weight: bold;
-    padding: 12px;
-    background: rgba(0, 0, 0, 0.8);
-    color: #fff;
-    border-radius: 2px;
-  }
-
   .d3-tip text {
     fill: #fff;
     font-size: 12px;
@@ -51,6 +42,7 @@
     shape-rendering: crispedges;
   }
   </style>
+  <link rel="stylesheet" type="css" href="../index.css">
 </head>
 <body>
   <script type="text/javascript">
diff --git a/examples/css-transitions.html b/examples/css-transitions.html
index 1036f39..ec4d8d3 100644
--- a/examples/css-transitions.html
+++ b/examples/css-transitions.html
@@ -58,38 +58,11 @@
     -webkit-backface-visibility: hidden;
   }
 
-  .d3-tip {
-    line-height: 1;
-    font-weight: bold;
-    padding: 12px;
-    background: rgba(0, 0, 0, 0.8);
-    color: #fff;
-    border-radius: 2px;
-  }
-
   .d3-tip.animate {
     animation: bounceIn 0.2s ease-out;
     -webkit-animation: bounceIn 0.2s ease-out;
   }
 
-  .d3-tip:after {
-    box-sizing: border-box;
-    display: inline;
-    font-size: 10px;
-    width: 100%;
-    line-height: 1;
-    color: rgba(0, 0, 0, 0.8);
-    content: "\25BC";
-    position: absolute;
-    text-align: center;
-  }
-
-  .d3-tip.n:after {
-    margin: -1px 0 0 0;
-    top: 100%;
-    left: 0;
-  }
-
   .d3-tip span {
     color: #ff00c7;
   }
@@ -117,6 +90,7 @@
     fill-opacity: 1;
   }
   </style>
+  <link rel="stylesheet" type="css" href="../index.css">
 </head>
 <body>
   <div id="graph">
diff --git a/examples/performance.html b/examples/performance.html
index f31a357..fe8b4f4 100644
--- a/examples/performance.html
+++ b/examples/performance.html
@@ -13,15 +13,6 @@
     font-size: 12px;
   }
 
-  .d3-tip {
-    line-height: 1;
-    font-weight: bold;
-    padding: 12px;
-    background: rgba(0, 0, 0, 0.8);
-    color: #fff;
-    border-radius: 2px;
-  }
-
   .d3-tip text {
     fill: #fff;
     font-size: 12px;
@@ -51,6 +42,7 @@
     shape-rendering: crispedges;
   }
   </style>
+  <link rel="stylesheet" type="css" href="../index.css">
 </head>
 <body>
   <script type="text/javascript">
diff --git a/d3-tip.css b/index.css
similarity index 100%
rename from d3-tip.css
rename to index.css

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/d3-tip.js.git



More information about the Pkg-javascript-commits mailing list