]> code.delx.au - gnu-emacs/blob - test/indent/scss-mode.scss
; Auto-commit of loaddefs files.
[gnu-emacs] / test / indent / scss-mode.scss
1 // Comment!
2
3 nav {
4 ul {
5 margin: 0; /* More comment */
6 padding: 0;
7 list-style: none;
8 }
9
10 li { display: inline-block; }
11
12 a {
13 display: block;
14 padding: 6px 12px;
15 text-decoration: none;
16 }
17 }
18 nav ul {
19 margin: 0;
20 padding: 0;
21 list-style: none;
22 }
23
24 nav li {
25 display: inline-block;
26 }
27
28 nav a var
29 {
30 display: block;
31 padding: 6px 12px;
32 text-decoration: none;
33 }
34
35 $name: foo;
36 $attr: border;
37 p.#{$name} var
38 {
39 x#{$attr}-color: blue;
40 }
41 article[role="main"] {
42 $toto: 500 !global;
43 $var-with-default: 300 !default;
44 float: left !important;
45 width: 600px / 888px * 100%;
46 height: 100px / 888px * 100%;
47 }
48
49 %placeholder {
50 color: #f0f0f0;
51 }
52
53 button {
54 @extend %placeholder !optional;
55 }
56
57 @import 'reset';
58
59 @mixin border-radius($radius) {
60 -webkit-border-radius: $radius;
61 -moz-border-radius: $radius;
62 -ms-border-radius: $radius;
63 border-radius: $radius;
64 }
65
66 .box { @include border-radius(10px); }
67
68 // bug:21230
69 $list: (
70 ('a', #000000, #fff)
71 ('b', #000000, #fff)
72 ('c', #000000, #fff)
73 ('d', #000000, #fff)
74 ('e', #000000, #fff)
75 ('f', #000000, #fff)
76 );