Skip to content

Commit 6f044e8

Browse files

40 files changed

+361
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@media (min-width: 640px) { /* comment */ }
2+
@media (min-width: 320px) { div { /* comment */ } }

spec/libsass-todo-issues/issue_1889/expected.compressed.css

Whitespace-only changes.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
@media (min-width: 640px) {
2+
/* comment */
3+
}
4+
@media (min-width: 320px) {
5+
div {
6+
/* comment */
7+
}
8+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
@media (min-width: 640px) {
2+
/* comment */ }
3+
@media (min-width: 320px) {
4+
div {
5+
/* comment */ } }
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
@media (min-width: 640px) {
2+
/* comment */
3+
}
4+
5+
div {
6+
@media (min-width: 320px) {
7+
/* comment */
8+
}
9+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@media (min-width: 480px) { .wrap { display: block; } }
2+
.wrap .box { display: inline-block; }
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@media (min-width: 480px){.wrap{display:block}}.wrap .box{display:inline-block}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
@media (min-width: 480px) {
2+
.wrap {
3+
display: block;
4+
}
5+
}
6+
.wrap .box {
7+
display: inline-block;
8+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
@media (min-width: 480px) {
2+
.wrap {
3+
display: block; } }
4+
.wrap .box {
5+
display: inline-block; }
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
.wrap {
2+
@media (min-width: 480px) {
3+
display: block;
4+
@at-root (without: media){
5+
.box {
6+
display: inline-block;
7+
}
8+
}
9+
}
10+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@media (min-width: 640px) { /* comment */ }
2+
@media (min-width: 320px) { div { /* comment */ } }

spec/libsass-todo-issues/issue_1898/expected.compressed.css

Whitespace-only changes.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
@media (min-width: 640px) {
2+
/* comment */
3+
}
4+
@media (min-width: 320px) {
5+
div {
6+
/* comment */
7+
}
8+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
@media (min-width: 640px) {
2+
/* comment */ }
3+
@media (min-width: 320px) {
4+
div {
5+
/* comment */ } }
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
@media (min-width: 640px) {
2+
/* comment */
3+
}
4+
5+
div {
6+
@media (min-width: 320px) {
7+
/* comment */
8+
}
9+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
.grid [class*="one wide"] { width: 6.25%; }
2+
.grid[class*="one column"] > .column:not(.row), .grid .row[class*="one column"] > .column:not(.row) { width: 6.25% !important; }
3+
.grid [class*="two wide"] { width: 12.5%; }
4+
.grid[class*="two column"] > .column:not(.row), .grid .row[class*="two column"] > .column:not(.row) { width: 12.5% !important; }
5+
.grid [class*="three wide"] { width: 18.75%; }
6+
.grid[class*="three column"] > .column:not(.row), .grid .row[class*="three column"] > .column:not(.row) { width: 18.75% !important; }
7+
.grid [class*="four wide"] { width: 25%; }
8+
.grid[class*="four column"] > .column:not(.row), .grid .row[class*="four column"] > .column:not(.row) { width: 25% !important; }
9+
.grid [class*="five wide"] { width: 31.25%; }
10+
.grid[class*="five column"] > .column:not(.row), .grid .row[class*="five column"] > .column:not(.row) { width: 31.25% !important; }
11+
.grid [class*="six wide"] { width: 37.5%; }
12+
.grid[class*="six column"] > .column:not(.row), .grid .row[class*="six column"] > .column:not(.row) { width: 37.5% !important; }
13+
.grid [class*="seven wide"] { width: 43.75%; }
14+
.grid[class*="seven column"] > .column:not(.row), .grid .row[class*="seven column"] > .column:not(.row) { width: 43.75% !important; }
15+
.grid [class*="eight wide"] { width: 50%; }
16+
.grid[class*="eight column"] > .column:not(.row), .grid .row[class*="eight column"] > .column:not(.row) { width: 50% !important; }
17+
.grid [class*="nine wide"] { width: 56.25%; }
18+
.grid[class*="nine column"] > .column:not(.row), .grid .row[class*="nine column"] > .column:not(.row) { width: 56.25% !important; }
19+
.grid [class*="ten wide"] { width: 62.5%; }
20+
.grid[class*="ten column"] > .column:not(.row), .grid .row[class*="ten column"] > .column:not(.row) { width: 62.5% !important; }
21+
.grid [class*="eleven wide"] { width: 68.75%; }
22+
.grid[class*="eleven column"] > .column:not(.row), .grid .row[class*="eleven column"] > .column:not(.row) { width: 68.75% !important; }
23+
.grid [class*="twelve wide"] { width: 75%; }
24+
.grid[class*="twelve column"] > .column:not(.row), .grid .row[class*="twelve column"] > .column:not(.row) { width: 75% !important; }
25+
.grid [class*="thirteen wide"] { width: 81.25%; }
26+
.grid[class*="thirteen column"] > .column:not(.row), .grid .row[class*="thirteen column"] > .column:not(.row) { width: 81.25% !important; }
27+
.grid [class*="fourteen wide"] { width: 87.5%; }
28+
.grid[class*="fourteen column"] > .column:not(.row), .grid .row[class*="fourteen column"] > .column:not(.row) { width: 87.5% !important; }
29+
.grid [class*="fifteen wide"] { width: 93.75%; }
30+
.grid[class*="fifteen column"] > .column:not(.row), .grid .row[class*="fifteen column"] > .column:not(.row) { width: 93.75% !important; }
31+
.grid [class*="sixteen wide"] { width: 100%; }
32+
.grid[class*="sixteen column"] > .column:not(.row), .grid .row[class*="sixteen column"] > .column:not(.row) { width: 100% !important; }

spec/libsass-todo-issues/issue_1926/expected.compressed.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
.grid [class*="one wide"] {
2+
width: 6.25%;
3+
}
4+
.grid[class*="one column"] > .column:not(.row), .grid .row[class*="one column"] > .column:not(.row) {
5+
width: 6.25% !important;
6+
}
7+
.grid [class*="two wide"] {
8+
width: 12.5%;
9+
}
10+
.grid[class*="two column"] > .column:not(.row), .grid .row[class*="two column"] > .column:not(.row) {
11+
width: 12.5% !important;
12+
}
13+
.grid [class*="three wide"] {
14+
width: 18.75%;
15+
}
16+
.grid[class*="three column"] > .column:not(.row), .grid .row[class*="three column"] > .column:not(.row) {
17+
width: 18.75% !important;
18+
}
19+
.grid [class*="four wide"] {
20+
width: 25%;
21+
}
22+
.grid[class*="four column"] > .column:not(.row), .grid .row[class*="four column"] > .column:not(.row) {
23+
width: 25% !important;
24+
}
25+
.grid [class*="five wide"] {
26+
width: 31.25%;
27+
}
28+
.grid[class*="five column"] > .column:not(.row), .grid .row[class*="five column"] > .column:not(.row) {
29+
width: 31.25% !important;
30+
}
31+
.grid [class*="six wide"] {
32+
width: 37.5%;
33+
}
34+
.grid[class*="six column"] > .column:not(.row), .grid .row[class*="six column"] > .column:not(.row) {
35+
width: 37.5% !important;
36+
}
37+
.grid [class*="seven wide"] {
38+
width: 43.75%;
39+
}
40+
.grid[class*="seven column"] > .column:not(.row), .grid .row[class*="seven column"] > .column:not(.row) {
41+
width: 43.75% !important;
42+
}
43+
.grid [class*="eight wide"] {
44+
width: 50%;
45+
}
46+
.grid[class*="eight column"] > .column:not(.row), .grid .row[class*="eight column"] > .column:not(.row) {
47+
width: 50% !important;
48+
}
49+
.grid [class*="nine wide"] {
50+
width: 56.25%;
51+
}
52+
.grid[class*="nine column"] > .column:not(.row), .grid .row[class*="nine column"] > .column:not(.row) {
53+
width: 56.25% !important;
54+
}
55+
.grid [class*="ten wide"] {
56+
width: 62.5%;
57+
}
58+
.grid[class*="ten column"] > .column:not(.row), .grid .row[class*="ten column"] > .column:not(.row) {
59+
width: 62.5% !important;
60+
}
61+
.grid [class*="eleven wide"] {
62+
width: 68.75%;
63+
}
64+
.grid[class*="eleven column"] > .column:not(.row), .grid .row[class*="eleven column"] > .column:not(.row) {
65+
width: 68.75% !important;
66+
}
67+
.grid [class*="twelve wide"] {
68+
width: 75%;
69+
}
70+
.grid[class*="twelve column"] > .column:not(.row), .grid .row[class*="twelve column"] > .column:not(.row) {
71+
width: 75% !important;
72+
}
73+
.grid [class*="thirteen wide"] {
74+
width: 81.25%;
75+
}
76+
.grid[class*="thirteen column"] > .column:not(.row), .grid .row[class*="thirteen column"] > .column:not(.row) {
77+
width: 81.25% !important;
78+
}
79+
.grid [class*="fourteen wide"] {
80+
width: 87.5%;
81+
}
82+
.grid[class*="fourteen column"] > .column:not(.row), .grid .row[class*="fourteen column"] > .column:not(.row) {
83+
width: 87.5% !important;
84+
}
85+
.grid [class*="fifteen wide"] {
86+
width: 93.75%;
87+
}
88+
.grid[class*="fifteen column"] > .column:not(.row), .grid .row[class*="fifteen column"] > .column:not(.row) {
89+
width: 93.75% !important;
90+
}
91+
.grid [class*="sixteen wide"] {
92+
width: 100%;
93+
}
94+
.grid[class*="sixteen column"] > .column:not(.row), .grid .row[class*="sixteen column"] > .column:not(.row) {
95+
width: 100% !important;
96+
}
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
.grid [class*="one wide"] {
2+
width: 6.25%; }
3+
.grid[class*="one column"] > .column:not(.row), .grid .row[class*="one column"] > .column:not(.row) {
4+
width: 6.25% !important; }
5+
.grid [class*="two wide"] {
6+
width: 12.5%; }
7+
.grid[class*="two column"] > .column:not(.row), .grid .row[class*="two column"] > .column:not(.row) {
8+
width: 12.5% !important; }
9+
.grid [class*="three wide"] {
10+
width: 18.75%; }
11+
.grid[class*="three column"] > .column:not(.row), .grid .row[class*="three column"] > .column:not(.row) {
12+
width: 18.75% !important; }
13+
.grid [class*="four wide"] {
14+
width: 25%; }
15+
.grid[class*="four column"] > .column:not(.row), .grid .row[class*="four column"] > .column:not(.row) {
16+
width: 25% !important; }
17+
.grid [class*="five wide"] {
18+
width: 31.25%; }
19+
.grid[class*="five column"] > .column:not(.row), .grid .row[class*="five column"] > .column:not(.row) {
20+
width: 31.25% !important; }
21+
.grid [class*="six wide"] {
22+
width: 37.5%; }
23+
.grid[class*="six column"] > .column:not(.row), .grid .row[class*="six column"] > .column:not(.row) {
24+
width: 37.5% !important; }
25+
.grid [class*="seven wide"] {
26+
width: 43.75%; }
27+
.grid[class*="seven column"] > .column:not(.row), .grid .row[class*="seven column"] > .column:not(.row) {
28+
width: 43.75% !important; }
29+
.grid [class*="eight wide"] {
30+
width: 50%; }
31+
.grid[class*="eight column"] > .column:not(.row), .grid .row[class*="eight column"] > .column:not(.row) {
32+
width: 50% !important; }
33+
.grid [class*="nine wide"] {
34+
width: 56.25%; }
35+
.grid[class*="nine column"] > .column:not(.row), .grid .row[class*="nine column"] > .column:not(.row) {
36+
width: 56.25% !important; }
37+
.grid [class*="ten wide"] {
38+
width: 62.5%; }
39+
.grid[class*="ten column"] > .column:not(.row), .grid .row[class*="ten column"] > .column:not(.row) {
40+
width: 62.5% !important; }
41+
.grid [class*="eleven wide"] {
42+
width: 68.75%; }
43+
.grid[class*="eleven column"] > .column:not(.row), .grid .row[class*="eleven column"] > .column:not(.row) {
44+
width: 68.75% !important; }
45+
.grid [class*="twelve wide"] {
46+
width: 75%; }
47+
.grid[class*="twelve column"] > .column:not(.row), .grid .row[class*="twelve column"] > .column:not(.row) {
48+
width: 75% !important; }
49+
.grid [class*="thirteen wide"] {
50+
width: 81.25%; }
51+
.grid[class*="thirteen column"] > .column:not(.row), .grid .row[class*="thirteen column"] > .column:not(.row) {
52+
width: 81.25% !important; }
53+
.grid [class*="fourteen wide"] {
54+
width: 87.5%; }
55+
.grid[class*="fourteen column"] > .column:not(.row), .grid .row[class*="fourteen column"] > .column:not(.row) {
56+
width: 87.5% !important; }
57+
.grid [class*="fifteen wide"] {
58+
width: 93.75%; }
59+
.grid[class*="fifteen column"] > .column:not(.row), .grid .row[class*="fifteen column"] > .column:not(.row) {
60+
width: 93.75% !important; }
61+
.grid [class*="sixteen wide"] {
62+
width: 100%; }
63+
.grid[class*="sixteen column"] > .column:not(.row), .grid .row[class*="sixteen column"] > .column:not(.row) {
64+
width: 100% !important; }
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// The amount of the column of a single row.
2+
$columnAmount: 16
3+
4+
// The name of the each column size.
5+
$columnName : one two three four five six seven eight nine ten eleven twelve thirteen fourteen fifteen sixteen
6+
7+
=column-generator
8+
@for $i from 1 through $columnAmount
9+
[class*="#{nth($columnName, $i)} wide"]
10+
width: 100% / $columnAmount * $i
11+
12+
&[class*="#{nth($columnName, $i)} column"], & .row[class*="#{nth($columnName, $i)} column"]
13+
> .column:not(.row)
14+
width : 100% / $columnAmount * $i !important
15+
16+
.grid
17+
+column-generator
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
body { background-image: url(http://test.com); }
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
body{background-image:url(http://test.com)}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
body {
2+
background-image: url(http://test.com);
3+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
body {
2+
background-image: url(http://test.com); }
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
$var: 'http://test.com';
2+
body {
3+
background-image: url( #{$var});
4+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
foo:not(.missing):not(bar) { a: b; }
2+
foo:not(.missing):not(bar):hover { c: d; }
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
foo:not(.missing):not(bar){a:b}foo:not(.missing):not(bar):hover{c:d}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
foo:not(.missing):not(bar) {
2+
a: b;
3+
}
4+
foo:not(.missing):not(bar):hover {
5+
c: d;
6+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
foo:not(.missing):not(bar) {
2+
a: b; }
3+
foo:not(.missing):not(bar):hover {
4+
c: d; }
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
foo:not(.missing) {
2+
a: b;
3+
4+
&:hover { c: d; }
5+
}
6+
7+
bar {
8+
@extend .missing;
9+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.test_class { color: #999999; }
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.test_class{color:#999}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.test_class {
2+
color: #999999;
3+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.test_class {
2+
color: #999999; }
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
$base-text-color: #666;
2+
3+
@function calcNavbarTextColor ($base-text-color) {
4+
@return $base-text-color;
5+
}
6+
7+
$header-text-color: calcNavbarTextColor($base-text-color);
8+
9+
.test_class {
10+
color: lighten($header-text-color, 20%);
11+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
@charset "UTF-8";
2+
body#some-\(selector\) { color: red; }
3+
4+
#äöü { color: reds; }
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
body#some-\(selector\){color:red}#äöü{color:reds}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
@charset "UTF-8";
2+
body#some-\(selector\) {
3+
color: red;
4+
}
5+
6+
#äöü {
7+
color: reds;
8+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
@charset "UTF-8";
2+
body#some-\(selector\) {
3+
color: red; }
4+
5+
#äöü {
6+
color: reds; }

0 commit comments

Comments
 (0)