[Compass Core] Use the elements_of_type() helper function to enumerate the elements of a particular display type. No functional change.
This commit is contained in:
parent
6870d21814
commit
d7636bae4d
@ -7,16 +7,10 @@
|
|||||||
.noprint,
|
.noprint,
|
||||||
.no-print
|
.no-print
|
||||||
:display none
|
:display none
|
||||||
address, blockquote, center, dir, div, dd, dl, dt,
|
#{elements_of_type("block")}
|
||||||
fieldset, form, frameset, h1, h2, h3, h4, h5, h6, hr,
|
|
||||||
isindex, li, menu, noframes, noscript, ol, p, pre,
|
|
||||||
table, tbody, td, tfoot, th, thead, tr, ul
|
|
||||||
&.print-only
|
&.print-only
|
||||||
:display block
|
:display block
|
||||||
a, abbr, acronym, b, basefont, bdo, big, br, cite,
|
#{elements_of_type("inline")}
|
||||||
code, dfn, em, font, i, img, input, kbd, label, q, s,
|
|
||||||
samp, select, small, span, strike, strong, sub, sup,
|
|
||||||
textarea, tt, u, var
|
|
||||||
&.print-only
|
&.print-only
|
||||||
:display inline
|
:display inline
|
||||||
@else
|
@else
|
||||||
|
Loading…
Reference in New Issue
Block a user