summaryrefslogtreecommitdiff
path: root/test/indent/scss-mode.scss
blob: e1ec90a529985b6fd7ba5de04b529ac84cb448c8 (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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
// 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;
    $var-with-default: 300 !default;
    float: left !important;
    width: 600px / 888px * 100%;
    height: 100px / 888px * 100%;
}

%placeholder {
    color: #f0f0f0;
}

button {
    @extend %placeholder !optional;
}

@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); }

// bug:21230
$list: (
   ('a', #000000, #fff)
   ('b', #000000, #fff)
   ('c', #000000, #fff)
   ('d', #000000, #fff)
   ('e', #000000, #fff)
   ('f', #000000, #fff)
);