unfortunately LESS doesn't work with hex triplets

This commit is contained in:
Owen Versteeg 2014-01-08 21:41:58 -05:00
parent 54a153678e
commit 4eabd88cec

View file

@ -1,7 +1,3 @@
@btn-a-bg: #0AE;
@btn-b-bg: #3C5;
@btn-c-bg: #D33;
i, button {
font-family: Lucida Sans Unicode, Lucida Grande, sans-serif;
}
@ -17,7 +13,7 @@ button {
cursor: pointer;
border: none;
&.btn-a {
background: @btn-a-bg;
background: #0AE;
&:hover {
background: #09d; /* darken(@btn-a-bg, 5%) */
}
@ -26,7 +22,7 @@ button {
}
}
&.btn-b {
background: @btn-b-bg;
background: #3C5;
&:hover {
background: #2b4; /* darken(@btn-b-bg, 5%) */
}
@ -35,7 +31,7 @@ button {
}
}
&.btn-c {
background: @btn-c-bg;
background: #D33;
&:hover {
background: #d22; /* darken(@btn-c-bg, 5%) */
}