Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

css: Add missing vendor prefixed properties.

XhmikosRebf298095558
diff --git a/example/mocha.css b/example/mocha.css
index 274b9776..5f0d8c1b 100644
--- a/example/mocha.css
+++ b/example/mocha.css
@@ -9,7 +9,8 @@ body {
margin: 60px 50px;
}
-#mocha ul, #mocha li {
+#mocha ul,
+#mocha li {
margin: 0;
padding: 0;
}
@@ -18,7 +19,8 @@ body {
list-style: none;
}
-#mocha h1, #mocha h2 {
+#mocha h1,
+#mocha h2 {
margin: 0;
}
@@ -93,7 +95,6 @@ body {
box-shadow: inset 0 1px 1px rgba(0,0,0,.2);
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
- -ms-border-radius: 5px;
-o-border-radius: 5px;
border-radius: 5px;
}
@@ -144,10 +145,12 @@ body {
border: 1px solid #eee;
border-bottom-color: #ddd;
-webkit-border-radius: 3px;
- -webkit-box-shadow: 0 1px 3px #eee;
-moz-border-radius: 3px;
- -moz-box-shadow: 0 1px 3px #eee;
+ -o-border-radius: 3px;
border-radius: 3px;
+ -webkit-box-shadow: 0 1px 3px #eee;
+ -moz-box-shadow: 0 1px 3px #eee;
+ box-shadow: 0 1px 3px #eee;
}
#mocha .test h2 {
@@ -167,10 +170,13 @@ body {
text-align: center;
background: #eee;
font-size: 15px;
+ -webkit-border-radius: 15px;
-moz-border-radius: 15px;
+ -o-border-radius: 15px;
border-radius: 15px;
-webkit-transition: opacity 200ms;
-moz-transition: opacity 200ms;
+ -o-transition: opacity 200ms;
transition: opacity 200ms;
opacity: 0.3;
color: #888;
diff --git a/style.css b/style.css
index fb13d244..287f5406 100644
--- a/style.css
+++ b/style.css
@@ -24,10 +24,12 @@ h1 {
opacity: 0;
-webkit-border-radius: 100px;
-moz-border-radius: 100px;
+ -o-border-radius: 100px;
border-radius: 100px;
-webkit-transition: opacity 1s, background-color 200ms;
-moz-transition: opacity 1s, background-color 200ms;
-o-transition: opacity 1s, background-color 200ms;
+ transition: opacity 1s, background-color 200ms;
}
h1:hover {
@@ -66,6 +68,7 @@ h2 {
-webkit-transition: opacity 1s, margin-top 200ms, margin-bottom 200ms, margin-left 1s;
-moz-transition: opacity 1s, margin-top 200ms, margin-bottom 200ms, margin-left 1s;
-o-transition: opacity 1s, margin-top 200ms, margin-bottom 200ms, margin-left 1s;
+ transition: opacity 1s, margin-top 200ms, margin-bottom 200ms, margin-left 1s;
}
#tag em {
@@ -133,6 +136,7 @@ pre {
border-bottom-color: #ddd;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
+ -o-border-radius: 2px;
border-radius: 2px;
-webkit-box-shadow: inset 0 0 10px #eee;
-moz-box-shadow: inset 0 0 10px #eee;
@@ -145,6 +149,7 @@ img {
padding: 1px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
+ -o-border-radius: 3px;
border-radius: 3px;
-webkit-box-shadow: 0 3px 10px #dedede, 0 1px 5px #888;
-moz-box-shadow: 0 3px 10px #dedede, 0 1px 5px #888;