-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update syntax for "border-radius" and "box-shadow", added vendor prefixes for calc() #2367
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91,13 +91,13 @@ body { | |
padding: 2px 5px; | ||
color: #fff; | ||
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.2); | ||
-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.2); | ||
box-shadow: inset 0 1px 1px rgba(0,0,0,.2); | ||
-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.2); | ||
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; | ||
-moz-border-radius: 5px; | ||
-ms-border-radius: 5px; | ||
-o-border-radius: 5px; | ||
border-radius: 5px; | ||
} | ||
|
||
#mocha .test.pass.fast .duration { | ||
|
@@ -148,23 +148,28 @@ body { | |
padding: 15px; | ||
border: 1px solid #eee; | ||
max-width: 85%; /*(1)*/ | ||
max-width: -webkit-calc(100% - 42px); | ||
max-width: -moz-calc(100% - 42px); | ||
max-width: calc(100% - 42px); /*(2)*/ | ||
max-height: 300px; | ||
word-wrap: break-word; | ||
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; | ||
border-radius: 3px; | ||
-moz-box-shadow: 0 1px 3px #eee; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. please revert whitespace changes and just add the two |
||
box-shadow: 0 1px 3px #eee; | ||
-webkit-border-radius: 3px; | ||
-moz-border-radius: 3px; | ||
border-radius: 3px; | ||
} | ||
|
||
#mocha .test .html-error pre.error { | ||
border: none; | ||
-webkit-border-radius: none; | ||
-webkit-box-shadow: none; | ||
-moz-border-radius: none; | ||
-moz-box-shadow: none; | ||
-webkit-border-radius: 0; | ||
-moz-border-radius: 0; | ||
border-radius: 0; | ||
-webkit-box-shadow: 0; | ||
-moz-box-shadow: 0; | ||
box-shadow: 0; | ||
padding: 0; | ||
margin: 0; | ||
margin-top: 18px; | ||
|
@@ -185,14 +190,17 @@ body { | |
padding: 15px; | ||
border: 1px solid #eee; | ||
max-width: 85%; /*(1)*/ | ||
max-width: -webkit-calc(100% - 42px); | ||
max-width: -moz-calc(100% - 42px); | ||
max-width: calc(100% - 42px); /*(2)*/ | ||
word-wrap: break-word; | ||
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; | ||
border-radius: 3px; | ||
-moz-box-shadow: 0 1px 3px #eee; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same as above |
||
box-shadow: 0 1px 3px #eee; | ||
-webkit-border-radius: 3px; | ||
-moz-border-radius: 3px; | ||
border-radius: 3px; | ||
} | ||
|
||
#mocha .test h2 { | ||
|
@@ -212,10 +220,12 @@ body { | |
text-align: center; | ||
background: #eee; | ||
font-size: 15px; | ||
-moz-border-radius: 15px; | ||
border-radius: 15px; | ||
-webkit-transition: opacity 200ms; | ||
-moz-transition: opacity 200ms; | ||
-webkit-border-radius: 15px; | ||
-moz-border-radius: 15px; | ||
border-radius: 15px; | ||
-webkit-transition:opacity 200ms; | ||
-moz-transition:opacity 200ms; | ||
-o-transition:opacity 200ms; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why opera here and nowhere else? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That's a good question; I was respecting the opera reference in another line ( I had go to cast a wide net on the settings at autoprefixer for the Opera settings to show up, using There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yeah that all went way over my head. I'm convinced! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. At first, I didn't know why the hell that one prefix was hanging out there either; I was probably as surprised as you that it wasn't my mistake.😂 |
||
transition: opacity 200ms; | ||
opacity: 0.3; | ||
color: #888; | ||
|
@@ -261,14 +271,16 @@ body { | |
#mocha-stats .progress { | ||
float: right; | ||
padding-top: 0; | ||
|
||
/** | ||
* Set safe initial values, so mochas .progress does not inherit these | ||
* properties from Bootstrap .progress (which causes .progress height to | ||
* equal line height set in Bootstrap). | ||
*/ | ||
height: auto; | ||
box-shadow: none; | ||
-webkit-box-shadow: none; | ||
-moz-box-shadow: none; | ||
box-shadow: none; | ||
background-color: initial; | ||
} | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please revert whitespace changes to keep the commit clean