summaryrefslogtreecommitdiff
path: root/test/manual/indent/scss-mode.scss
blob: 7a29929efcac552a6a116f591c310c5885ee5f1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// Comment!

nav {
    ul {
        margin: 0;              /* More comment */
        padding: 0;
        list-style: none;
    }

    li { display: inline-block; }

    a {
        display: block;
        padding: 6px 12px;
        text-decoration: none;
    }
}
nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

nav li {
  display: inline-block;
}

nav a var
{
  display: block;
  padding: 6px 12px;
  text-decoration: none;
}

$name: foo;
$attr: border;
p.#{$name} var
{
    x#{$attr}-color: blue;
}
article[role="main"] {
    $toto: 500 !global;
    float: left;
    width: 600px / 888px * 100%;
    height: 100px / 888px * 100%;
}

@import 'reset';

@mixin border-radius($radius) {
    -webkit-border-radius: $radius;
    -moz-border-radius: $radius;
    -ms-border-radius: $radius;
    border-radius: $radius;
}

.box { @include border-radius(10px); }