Summary Files Commits Branches @commit @diff @stats
path: root / src / buttons.less
diff options
context:
space:
mode:
Commit1f9f807534108fe3412e1c2e7bf9d21e19e78f0d (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-02-24 18:07:42 +0800
Committer
 GitHub <noreply@github.com>
2017-02-24 18:07:42 +0800
Filesf438aeb51e678535de131827f3f56c073be4a670 /src/buttons.less
Spectre-Dark-Gruvbox-1f9f807534108fe3412e1c2e7bf9d21e19e78f0d.tar
Spectre-Dark-Gruvbox-1f9f807534108fe3412e1c2e7bf9d21e19e78f0d.tar.gz
Spectre-Dark-Gruvbox-1f9f807534108fe3412e1c2e7bf9d21e19e78f0d.zip
Parent48f0d7e0e6d6d6569dbf98dd56091466520ae206 (diff)
Parent408ea5b6b0c9874b7b74601259239271b253d554 (diff)
Merge pull request #139 from picturepan2/feature/new-doc-page
Feature/new doc page
1 files changed, 19 insertions, 4 deletions
-rw-r--r--src/buttons.less23
diff --git a/src/buttons.less b/src/buttons.less
index 3f0900a..bb17f13 100644
--- a/src/buttons.less
+++ b/src/buttons.less
@@ -11,21 +11,21 @@
font-size: 1.4rem;
height: 3.2rem;
line-height: 1.6rem;
- outline: 0;
- padding: .7rem 1rem;
+ padding: .7rem 1.2rem;
text-align: center;
text-decoration: none;
user-select: none;
vertical-align: middle;
white-space: nowrap;
&:focus {
- background: lighten(@core-secondary-color, 1%);
- .control-shadow();
+ background: lighten(@core-secondary-color, 2%);
+ text-decoration: none;
}
&:hover {
background: @core-color;
border-color: darken(@core-color, 5%);
color: @core-light-color;
+ text-decoration: none;
}
&:active,
&.active {
@@ -101,6 +101,21 @@
width: 100%;
}
+ // Button Action
+ &.btn-action {
+ width: 3.2rem;
+ padding-left: .2rem;
+ padding-right: .2rem;
+
+ &.btn-sm {
+ width: 2.4rem;
+ }
+
+ &.btn-lg {
+ width: 4.2rem;
+ }
+ }
+
// Button Clear
&.btn-clear {
background: transparent;