summaryrefslogtreecommitdiffstats
path: root/theme-compiler/tests/resources/scss/parent-selector.scss
blob: ee02f8bf769bc5522257563db2532d819856be49 (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
a {
  font-weight: bold;
  text-decoration: none;
  &:hover { text-decoration: underline; }
  body.firefox & { font-weight: normal; }
}

#main {
  color: black;
  a {
    font-weight: bold;
    &:hover { color: red; }
  }
}

@mixin parent {
	&:hover {
		color: blue;
	}
}

.mixin-parent {
	@include parent;
}

.part {
	&.one, &.two {
		color: blue;
	}
}