summaryrefslogtreecommitdiff
path: root/scss/tests/files/from-sassc/tests-inheritance.css
blob: 84d37f2a096000cf6ae257c52839c18cdb077669 (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
main content a box, main content a supplemtal text b sidebar, supplemtal text b main content a sidebar {
  border: solid;
}
supplemtal text b sidebar {
  background: gray;
}
/********/
mammal, human {
  blood: warm;
}
mammal.furry.quadruped, human.furry.quadruped, dog.furry {
  fur: lots;
  legs: 4;
}
human {
  says: "hello";
}
dog {
  says: "woof";
}
/********/
region.country inhabitant.mouse, region.country citizen.mouse, region.country tax-payer.mouse {
  eats: cheddar;
}
region.city inhabitant.mouse, region.city region.country citizen.mouse, region.country region.city citizen.mouse, region.city tax-payer.mouse {
  eats: camembert;
}
region.country citizen {
  ssn: 123 45 6789;
}
region tax-payer {
  rate: 17%;
}
/********/
foo, .a.bar, hux {
  color: red;
}
.a.bar {
  background: gray;
}
/********/
foo, .a.bar, hux {
  color: red;
}
hux, .bar.a {
  background: blue;
}