unfortunately LESS doesn't work with hex triplets
This commit is contained in:
parent
54a153678e
commit
4eabd88cec
1 changed files with 3 additions and 7 deletions
|
@ -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%) */
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue