Adding warnings for non-standard escape sequence usage

This commit is contained in:
Jeff Avallone
2014-12-22 16:57:30 -05:00
parent a4f831bc60
commit f842b424cc
9 changed files with 71 additions and 2 deletions
+1
View File
@@ -6,6 +6,7 @@ $light-gray: tint($gray, 25%);
$tan: #cbcbba;
$red: #b3151a;
$blue: #dae9e5;
$yellow: #f8ca00;
$black: #000;
$white: #fff;
+15
View File
@@ -383,6 +383,21 @@ header {
}
}
#warnings {
@include adjust-font-size-to($base-font-size, 1);
font-weight: bold;
background-color: $yellow;
display: none;
li {
margin: rhythm(1/4);
}
body.has-results & {
display: block;
}
}
#regexp-render {
background: $white;
width: 100%;