diff --git a/examples/nested-jsbeautifyrc/less/expected/test.less b/examples/nested-jsbeautifyrc/less/expected/test.less
index e951265..4470dbd 100644
--- a/examples/nested-jsbeautifyrc/less/expected/test.less
+++ b/examples/nested-jsbeautifyrc/less/expected/test.less
@@ -3,27 +3,21 @@ a {
display: block;
padding: 0 15px;
font-size: 16px;
-
button {
font-size: 16px;
}
-
&:link {
color: @white;
text-decoration: none;
}
-
&:visited {
color: @white;
}
-
&:hover {
color: @orange;
}
-
&.green {
color: @green;
-
&:hover {
color: @white;
background-color: @green;
diff --git a/examples/nested-jsbeautifyrc/less/expected/test2.less b/examples/nested-jsbeautifyrc/less/expected/test2.less
index e5fc805..f5badc5 100644
--- a/examples/nested-jsbeautifyrc/less/expected/test2.less
+++ b/examples/nested-jsbeautifyrc/less/expected/test2.less
@@ -1,7 +1,6 @@
// main: style.less
@import (reference)"variables.less";
@import (reference)"mixins.less";
-
.modal {
position: fixed;
height: 100%;
@@ -10,7 +9,6 @@
z-index: 10;
opacity: 0;
display: none;
-
.innerModal {
margin: auto;
background-color: @white;
@@ -20,25 +18,21 @@
-ms-transform: translateY(-100%);
-o-transform: translateY(-100%);
transform: translateY(-100%);
-
.fa {
float: right;
color: @white;
background-color: firebrick;
padding: 5px 7px;
border-radius: 20px;
-
&:hover {
background-color: lighten(@black, 50%);
cursor: pointer;
}
-
&:active {
background-color: lighten(@black, 25%);
}
}
}
-
&.modal-2text {
.innerModal {
width: @container-width;
@@ -47,11 +41,9 @@
padding: 10px 25px;
background-color: gainsboro;
border-radius: 4px;
-
h2 {
margin: 0 0 7px;
}
-
div {
height: 70%;
overflow-y: scroll;
@@ -59,21 +51,18 @@
padding: 15px;
border-radius: 4px;
}
-
.large-cta {
margin-top: 25px;
}
}
}
}
-
#modal-video {
.innerModal {
left: 10%;
margin-top: 30px;
width: 1000px;
background-color: lighten(@black, 25%);
-
iframe {
width: 600px;
height: 340px;
@@ -83,86 +72,69 @@
//container
> div {
text-align: center;
-
a {
.styleLinks(@white, darken(@white, 10%));
padding: 5px;
text-transform: uppercase;
-
&:hover {
background-color: fade(@white, 15%);
}
-
&:active {
background-color: fade(@white, 30%);
}
}
-
h3 {
color: @white;
font-size: 3em;
margin: 20px auto;
}
-
button {
margin-bottom: 50px;
}
}
}
}
-
.slideIn {
.animation(SlideIn, 0.5s);
}
-
@-webkit-keyframes SlideIn {
0% {
.transform(translateY(-100%));
}
-
100% {
.transform(translateY(0px));
}
}
-
.fadeIn {
display: block;
.animation(FadeIn, 0.5s);
}
-
@-webkit-keyframes FadeIn {
0% {
opacity: 0;
}
-
100% {
opacity: 1;
}
}
-
.slideOut {
.animation(SlideOut, 0.5s);
}
-
@-webkit-keyframes SlideOut {
0% {
.transform(translateY(0%));
}
-
100% {
.transform(translateY(-100%));
}
}
-
.fadeOut {
.animation(FadeOut, 0.5s);
}
-
@-webkit-keyframes FadeOut {
0% {
opacity: 1;
}
-
100% {
opacity: 0;
display: none;
diff --git a/examples/nested-jsbeautifyrc/less/expected/test4.less b/examples/nested-jsbeautifyrc/less/expected/test4.less
index d9083c5..49cc128 100644
--- a/examples/nested-jsbeautifyrc/less/expected/test4.less
+++ b/examples/nested-jsbeautifyrc/less/expected/test4.less
@@ -2,16 +2,13 @@ section#photo-details {
width: 1140px;
margin: 60px auto 70px;
}
-
div.photo-view {
text-align: center;
-
figure {
box-shadow: 0 0 3px 1px rgba(0,0,0,0.75);
display: inline-block;
margin: 0 0 60px;
padding: 0;
-
img {
display: block;
}
diff --git a/examples/nested-jsbeautifyrc/less/expected/test5.less b/examples/nested-jsbeautifyrc/less/expected/test5.less
index a556e49..14bbf87 100644
--- a/examples/nested-jsbeautifyrc/less/expected/test5.less
+++ b/examples/nested-jsbeautifyrc/less/expected/test5.less
@@ -1,10 +1,8 @@
.animal {
color: red;
}
-
.dog {
&:extend(.animal);
-
&:hover {
color: green;
}
diff --git a/examples/nested-jsbeautifyrc/sass/expected/interpolated-text-vars.scss b/examples/nested-jsbeautifyrc/sass/expected/interpolated-text-vars.scss
index 17c1ea2..bd5209d 100644
--- a/examples/nested-jsbeautifyrc/sass/expected/interpolated-text-vars.scss
+++ b/examples/nested-jsbeautifyrc/sass/expected/interpolated-text-vars.scss
@@ -2,7 +2,6 @@
#{$parent} {
color: $color;
}
-
a#{$parent}:hover {
color: darken($color, 10%);
}
diff --git a/examples/nested-jsbeautifyrc/sass/expected/kendo_ui.scss b/examples/nested-jsbeautifyrc/sass/expected/kendo_ui.scss
index 3860ed2..8ce6390 100644
--- a/examples/nested-jsbeautifyrc/sass/expected/kendo_ui.scss
+++ b/examples/nested-jsbeautifyrc/sass/expected/kendo_ui.scss
@@ -6,16 +6,13 @@
background-color: $gray-light;
box-shadow: none;
}
-
.k-slider-selection {
background-color: $brand-primary;
}
-
.k-button {
border: 1px solid $brand-primary;
background-color: transparent;
color: $brand-primary;
-
&:hover {
border-color: $brand-primary;
background-color: $brand-primary;
diff --git a/examples/nested-jsbeautifyrc/sass/expected/test.sass b/examples/nested-jsbeautifyrc/sass/expected/test.sass
index 62d2baf..2e46de6 100644
--- a/examples/nested-jsbeautifyrc/sass/expected/test.sass
+++ b/examples/nested-jsbeautifyrc/sass/expected/test.sass
@@ -1,6 +1,5 @@
a {
line-height: 56px;
-
&:hover {
color: blue;
}
diff --git a/examples/nested-jsbeautifyrc/sass/expected/test.scss b/examples/nested-jsbeautifyrc/sass/expected/test.scss
index 4502c56..8435874 100644
--- a/examples/nested-jsbeautifyrc/sass/expected/test.scss
+++ b/examples/nested-jsbeautifyrc/sass/expected/test.scss
@@ -5,7 +5,6 @@
//whatever
}
-
&::before {
//whatever
diff --git a/examples/nested-jsbeautifyrc/xml/expected b/examples/nested-jsbeautifyrc/xml/expected
deleted file mode 100644
index 56cb8c4..0000000
--- a/examples/nested-jsbeautifyrc/xml/expected
+++ /dev/null
@@ -1,29 +0,0 @@
-
- ">]>
-
-
-
-
-
-
-
-
- Sample xml transformation
-
-
-
-
-
-
-
-
-
-
diff --git a/examples/nested-jsbeautifyrc/xml/expected/test.xml b/examples/nested-jsbeautifyrc/xml/expected/test.xml
new file mode 100644
index 0000000..02e8986
--- /dev/null
+++ b/examples/nested-jsbeautifyrc/xml/expected/test.xml
@@ -0,0 +1,28 @@
+
+ ">]>
+
+
+
+
+
+
+
+
+ Sample xml transformation
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/examples/nested-jsbeautifyrc/xml/original b/examples/nested-jsbeautifyrc/xml/original/test.xml
similarity index 97%
rename from examples/nested-jsbeautifyrc/xml/original
rename to examples/nested-jsbeautifyrc/xml/original/test.xml
index 9870b32..10845f3 100644
--- a/examples/nested-jsbeautifyrc/xml/original
+++ b/examples/nested-jsbeautifyrc/xml/original/test.xml
@@ -19,4 +19,4 @@