no more accessors.. they aren't very useful it turns out, with mixins

This commit is contained in:
cloudhead
2010-03-18 14:50:50 -04:00
parent 8812c45c77
commit 47ab7a96f3
2 changed files with 0 additions and 38 deletions

View File

@@ -1,18 +0,0 @@
.magic-box {
content: "gold";
width: 60cm;
height: 40cm;
}
.magic-box #lock { color: silver; }
#accessors {
content: "gold";
width: 60cm;
}
.unlock {
content: "gold";
width: 60cm;
height: 40cm;
color: silver;
border-color: orange;
}
.unlock #lock { color: silver; }

View File

@@ -1,20 +0,0 @@
.magic-box {
@trim: orange;
content: "gold";
width: 60cm;
height: 40cm;
#lock {
color: silver;
}
}
#accessors {
content: .magic-box['content']; // "gold"
width: .magic-box['width']; // 60cm
}
.unlock {
.magic-box;
color: #lock['color']; // silver
border-color: .magic-box[@trim]; // orange
}