minor fixes
[redakcja.git] / apps / wiki / static--wiki--editor--node_modules--grunt-contrib-less--node_modules--less--test / less / extend-nest.less
1 .sidebar {
2   width: 300px;
3   background: red;
4
5   .box {
6     background: #FFF;
7     border: 1px solid #000;
8     margin: 10px 0;
9   }
10 }
11
12 .sidebar2 {
13   &:extend(.sidebar all);
14   background: blue;
15 }
16
17 .type1 {
18     .sidebar3 {
19       &:extend(.sidebar all);
20       background: green;
21     }
22 }
23
24 .type2 {
25   &.sidebar4 {
26     &:extend(.sidebar all);
27     background: red;
28   }
29 }
30
31 .button {
32   color: black;
33   &:hover {
34     color: white;
35   }
36 }
37 .submit {
38   &:extend(.button);
39   &:hover:extend(.button:hover) {}
40 }
41
42 .nomatch {
43   &:hover:extend(.button :hover) {}
44 }
45
46 .button2 {
47   :hover {
48     nested: white;
49   }
50 }
51 .button2 :hover {
52   notnested: black;
53 }
54
55 .nomatch :extend(.button2:hover) {}
56
57 .amp-test-a,
58 .amp-test-b {
59   .amp-test-c &.amp-test-d&.amp-test-e {
60     .amp-test-f&+&.amp-test-g:extend(.amp-test-h) {}
61   }
62 }
63 .amp-test-h {
64   test: extended by masses of selectors;
65 }