Summary Files Commits Branches @commit @diff @stats
path: root / src / buttons.less
diff options
context:
space:
mode:
Commit0c0fd3a3bc7b7546c5a1ba37b99de3bb5482eeb1 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-02-27 15:00:08 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2017-02-27 15:00:08 +0800
Filesf23bb7497363a0c461d6eed1ffd9828d0bc60317 /src/buttons.less
Spectre-Dark-Gruvbox-0c0fd3a3bc7b7546c5a1ba37b99de3bb5482eeb1.tar
Spectre-Dark-Gruvbox-0c0fd3a3bc7b7546c5a1ba37b99de3bb5482eeb1.tar.gz
Spectre-Dark-Gruvbox-0c0fd3a3bc7b7546c5a1ba37b99de3bb5482eeb1.zip
Parent7bbc9dd389da1044930b264ddf688d400b965b0e (diff)
CHG: Fixed a number of bugs
1 files changed, 8 insertions, 11 deletions
-rw-r--r--src/buttons.less19
diff --git a/src/buttons.less b/src/buttons.less
index bb17f13..f0daefc 100644
--- a/src/buttons.less
+++ b/src/buttons.less
@@ -10,8 +10,8 @@
display: inline-block;
font-size: 1.4rem;
height: 3.2rem;
- line-height: 1.6rem;
- padding: .7rem 1.2rem;
+ line-height: 2rem;
+ padding: .5rem 1.2rem;
text-align: center;
text-decoration: none;
user-select: none;
@@ -79,20 +79,17 @@
}
}
- // Button Small
+ // Button Sizes
&.btn-sm {
font-size: 1.2rem;
height: 2.4rem;
- line-height: 1.4rem;
- padding: .4rem .8rem;
+ padding: .1rem .8rem;
}
- // Button Large
&.btn-lg {
font-size: 1.8rem;
- height: 4.2rem;
- line-height: 2rem;
- padding: 1rem 1.5rem;
+ height: 4rem;
+ padding: .9rem 1.5rem;
}
// Button Block
@@ -121,9 +118,7 @@
background: transparent;
border: 0;
color: currentColor;
- font-family: sans-serif;
height: 2rem;
- line-height: 1.8rem;
margin-left: .2rem;
margin-right: -.4rem;
opacity: .45;
@@ -137,6 +132,8 @@
&::before {
content: '\00d7';
+ display: inline-block;
+ font-family: sans-serif;
font-size: 2rem;
}
}