PluginProbe
Responsive Menu – Create Mobile-Friendly Menu / 3.0.6
Responsive Menu – Create Mobile-Friendly Menu v3.0.6
4.7.3 3.1.5 3.1.6 3.1.7 3.1.8 3.1.9 4.0.0 4.0.1 4.0.2 4.0.3 4.0.4 4.1.0 4.1.1 4.1.10 4.1.11 4.1.12 4.1.2 4.1.3 4.1.4 4.1.5 4.1.6 4.1.7 4.1.8 4.1.9 4.2.0 All 90 releases
responsive-menu / src / app / Mappers / scssphp / tests / inputs / content.scss

content.scss in Responsive Menu – Create Mobile-Friendly Menu 3.0.6, at src/app/Mappers/scssphp/tests/inputs/content.scss

62 lines 885 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1
2 @mixin apply-to-ie6-only {
3 * html {
4 @content;
5 }
6 }
7 @include apply-to-ie6-only {
8 #logo {
9 background-image: url(/logo.gif);
10 }
11 }
12
13
14 $color: white;
15 @mixin colors($color: blue) {
16 background-color: $color;
17 @content;
18 border-color: $color;
19 }
20 .colors {
21 @include colors { color: $color; }
22 }
23
24
25 @mixin iphone {
26 @media only screen and (max-width: 480px) {
27 @content;
28 }
29 }
30
31 @include iphone {
32 body { color: red }
33 }
34
35
36 #sidebar {
37 $sidebar-width: 300px;
38 width: $sidebar-width;
39 @include iphone {
40 width: $sidebar-width / 3;
41 }
42 }
43
44
45 @mixin respond-to($width) {
46 @media only screen and (min-width: $width) { @content; }
47 }
48
49 @include respond-to(40em) {
50 @for $i from 1 through 2 {
51 .grid-#{$i} { width: 100%; }
52 }
53 }
54
55 @include respond-to(40em) {
56 $i: 1;
57 @while $i <= 2 {
58 .grid-#{$i} { width: 100%; }
59 $i: $i + 1;
60 }
61 }
62