Files
deb-python-lesscpy/lesscpy/test/less/mixin-blocks.less
2012-03-18 10:08:36 +00:00

94 lines
1.0 KiB
Plaintext

/*
Mixins
*/
.mixin {
direction: rtl;
}
#mixin {
unicode-bidi: embed;
}
.bible-quote {
.mixin;
#mixin;
}
/*
Nested
*/
.nested_mixin_1 {
letter-spacing: -1px;
#mixin {
white-space: pre;
}
}
.nested {
.nested_mixin_1;
}
#nested_mixin_1 {
color: red;
.mixin {
color: yellow;
}
}
pre {
#nested_mixin_1;
}
div.nest {
a {
&:hover, &:focus {
.deep p {
widows: 3;
}
}
}
}
.nest_deep {
div.nest;
}
/*
*/
.mixout {
border-color: orange;
}
.borders {
border-style: dashed;
}
#namespace {
.borders {
border-style: dotted;
}
.biohazard {
content: "death";
.man {
color: transparent;
}
}
}
#theme {
> .mixin {
background-color: grey;
}
}
#container {
color: black;
.mixout;
#theme > .mixin;
}
#header {
.milk {
color: white;
#theme > .mixin;
}
#cookie {
.chips {
#namespace .borders;
.calories {
#container;
}
}
.borders;
}
}
.secure-zone {
#namespace .biohazard .man;
}