File tree Expand file tree Collapse file tree 4 files changed +40
-0
lines changed
spec/libsass-todo-tests/parent-selector/missing Expand file tree Collapse file tree 4 files changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ Error: Base-level rules cannot contain the parent-selector-referencing character '&'.
2
+ on line 30 of /home/saper/sw/libsass/sass-spec/spec/libsass-todo-tests/parent-selector/missing/input.scss, in `@content'
3
+ from line 22 of /home/saper/sw/libsass/sass-spec/spec/libsass-todo-tests/parent-selector/missing/input.scss, in `grid-media-query'
4
+ from line 29 of /home/saper/sw/libsass/sass-spec/spec/libsass-todo-tests/parent-selector/missing/input.scss
5
+ Use --trace for backtrace.
Original file line number Diff line number Diff line change
1
+ $tablet-portrait : 768px ;
2
+ $tablet-landscape : 980px ;
3
+ $desk-normal : 1120px ;
4
+ $desk-big : 1280px ;
5
+ $grid-breakpoints-immobile : (
6
+ ' tablet-portrait' : ' (min-width: ' + $tablet-portrait + ' ) and (max-width: ' + $tablet-landscape + ' )' ,
7
+ ' tablet-landscape' : ' (min-width: ' + $tablet-landscape + ' ) and (max-width: ' + $desk-normal + ' )' ,
8
+ ' desk-normal' : ' (min-width: ' + $desk-normal + ' ) and (max-width: ' + $desk-big + ' )' ,
9
+ ' desk-big' : ' (min-width: ' + $desk-big + ' )'
10
+ );
11
+ @mixin grid-media-query ($media-query , $breakpointDefinitions ) {
12
+ $breakpoint-found : false;
13
+
14
+ @each $breakpoint , $breakpointvalue in $breakpointDefinitions {
15
+ $name : $breakpoint ;
16
+ $declaration : $breakpointvalue ;
17
+
18
+ @if $media-query == $name and $declaration {
19
+ $breakpoint-found : true;
20
+
21
+ @media only screen and #{$declaration } {
22
+ @content ;
23
+ }
24
+ }
25
+ }
26
+ }
27
+
28
+ @each $name in map-keys ($grid-breakpoints-immobile ) {
29
+ @include grid-media-query ($name , $grid-breakpoints-immobile ) {
30
+ body .immobile & {
31
+ margin-bottom : 0 ;
32
+ }
33
+ }
34
+ }
Original file line number Diff line number Diff line change
1
+ 65
You can’t perform that action at this time.
0 commit comments