Sha256: d888a10d37e7231db09685cb7a159eb2fc96cdea14796e9fe8a3309fa1ba6b4c

Contents?: true

Size: 852 Bytes

Versions: 9

Compression:

Stored size: 852 Bytes

Contents

.sidebar {
  width: 300px;
  background: red;

  .box {
    background: #FFF;
    border: 1px solid #000;
    margin: 10px 0;
  }
}

.sidebar2 {
  &:extend(.sidebar all);
  background: blue;
}

.type1 {
    .sidebar3 {
      &:extend(.sidebar all);
      background: green;
    }
}

.type2 {
  &.sidebar4 {
    &:extend(.sidebar all);
    background: red;
  }
}

.button {
  color: black;
  &:hover {
    color: white;
  }
}
.submit {
  &:extend(.button);
  &:hover:extend(.button:hover) {}
}

.nomatch {
  &:hover:extend(.button :hover) {}
}

.button2 {
  :hover {
    nested: white;
  }
}
.button2 :hover {
  notnested: black;
}

.nomatch :extend(.button2:hover) {}

.amp-test-a,
.amp-test-b {
  .amp-test-c &.amp-test-d&.amp-test-e {
    .amp-test-f&+&.amp-test-g:extend(.amp-test-h) {}
  }
}
.amp-test-h {
  test: extended by masses of selectors;
}

Version data entries

9 entries across 9 versions & 3 rubygems

Version Path
ilog-0.4.1 node_modules/less/test/less/extend-nest.less
ilog-0.4.0 node_modules/less/test/less/extend-nest.less
ilog-0.3.3 node_modules/less/test/less/extend-nest.less
less-execjs-2.6.0.4 lib/less/js/less/test/less/extend-nest.less
less-execjs-2.6.0.3 lib/less/js/less/test/less/extend-nest.less
less-2.6.0 lib/less/js/test/less/extend-nest.less
less-2.5.1 lib/less/js/test/less/extend-nest.less
less-2.5.0 lib/less/js/test/less/extend-nest.less
less-2.4.0 lib/less/js/test/less/extend-nest.less