Summary Files Commits Branches @commit @diff @stats
path: root / src / buttons.less
diff options
context:
space:
mode:
Commit314f9ea30c3ba6083434220579f74b98ff2cd6a3 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2016-04-23 08:10:09 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2016-04-23 08:10:09 +0800
Files8c8e9e060d642ed1ad66db030ad221ce3dc7d95e /src/buttons.less
Spectre-Dark-Gruvbox-314f9ea30c3ba6083434220579f74b98ff2cd6a3.tar
Spectre-Dark-Gruvbox-314f9ea30c3ba6083434220579f74b98ff2cd6a3.tar.gz
Spectre-Dark-Gruvbox-314f9ea30c3ba6083434220579f74b98ff2cd6a3.zip
Parent189b0ffb7d94ce7532cbd4006a90429e115f84fd (diff)
change background-color to background
1 files changed, 9 insertions, 9 deletions
-rw-r--r--src/buttons.less18
diff --git a/src/buttons.less b/src/buttons.less
index 5e6c005..d8b53d8 100644
--- a/src/buttons.less
+++ b/src/buttons.less
@@ -1,7 +1,7 @@
// Buttons
.btn {
-webkit-appearance: none;
- background-color: transparent;
+ background: transparent;
border: .1rem solid @core-color;
border-radius: .3rem;
color: @core-link-color;
@@ -20,32 +20,32 @@
&:hover,
&:focus {
- background-color: @core-color;
+ background: @core-color;
border-color: darken(@core-color, 5%);
color: @core-text-color;
}
&:active,
&.active {
- background-color: darken(@core-color, 5%);
+ background: darken(@core-color, 5%);
border-color: darken(@core-color, 10%);
color: @core-text-color;
}
// Button Primary
&.btn-primary {
- background-color: @core-color;
+ background: @core-color;
border-color: darken(@core-color, 5%);
color: @core-text-color;
&:hover,
&:focus {
- background-color: darken(@core-color, 5%);
+ background: darken(@core-color, 5%);
border-color: darken(@core-color, 10%);
color: @core-text-color;
}
&:active,
&.active {
- background-color: darken(@core-color, 10%);
+ background: darken(@core-color, 10%);
border-color: darken(@core-color, 15%);
color: @core-text-color;
}
@@ -61,7 +61,7 @@
// Button Link
&.btn-link {
- background-color: transparent;
+ background: transparent;
border-color: transparent;
color: @core-link-color;
@@ -101,7 +101,7 @@
// Button Clear
&.btn-clear {
- background-color: transparent;
+ background: transparent;
border: 0;
border-radius: .7rem;
height: 1.4rem;
@@ -118,7 +118,7 @@
&::before,
&::after {
- background-color: #333;
+ background: #333;
content: "";
display: block;
left: 50%;