File: 040-complex-sequence-extend.scss

package info (click to toggle)
python-pyscss 1.3.7-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 6,312 kB
  • sloc: python: 12,633; ansic: 1,545; makefile: 146; sh: 6
file content (14 lines) | stat: -rw-r--r-- 782 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
@option style:legacy;

// From the docs:
// Sometimes a selector sequence extends another selector that appears in
// another sequence. In this case, the two sequences need to be merged.  While
// it would technically be possible to generate all selectors that could
// possibly match either sequence, this would make the stylesheet far too
// large.  The simple example above, for instance, would require ten selectors.
// Instead, Sass generates only selectors that are likely to be useful.
// When the two sequences being merged have no selectors in common, then two
// new selectors are generated: one with the first sequence before the second,
// and one with the second sequence before the first.
#admin .tabbar a { font-weight: bold }
#demo .overview .fakelink { @extend a }