Summary Files Commits Branches @commit @diff @stats
path: root / dist
diff options
context:
space:
mode:
Commit8aae8b219ec9931dcd395e0a3ccd53fd9536baaf (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2016-03-20 01:31:03 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2016-03-20 01:31:03 +0800
Files0c9b3c7d91413d30053f8ba8b6cc3425cc47ae34 /dist
Spectre-Dark-Gruvbox-8aae8b219ec9931dcd395e0a3ccd53fd9536baaf.tar
Spectre-Dark-Gruvbox-8aae8b219ec9931dcd395e0a3ccd53fd9536baaf.tar.gz
Spectre-Dark-Gruvbox-8aae8b219ec9931dcd395e0a3ccd53fd9536baaf.zip
Parentae0a38a04b11373d1b6d85bccf8b5d5383f077aa (diff)
add button groups
1 files changed, 32 insertions, 2 deletions
-rw-r--r--dist/spectre.css34
diff --git a/dist/spectre.css b/dist/spectre.css
index 5299da4..93e1d6a 100644
--- a/dist/spectre.css
+++ b/dist/spectre.css
@@ -691,7 +691,7 @@ button[disabled] {
.btn.btn-primary,
button.btn-primary {
color: #fff;
- border-color: #5764C6;
+ border-color: #4452c0;
background-color: #5764C6;
}
.btn.btn-primary:hover,
@@ -699,7 +699,7 @@ button.btn-primary:hover,
.btn.btn-primary:focus,
button.btn-primary:focus {
color: #fff;
- border-color: #4452c0;
+ border-color: #3b49af;
background-color: #4452c0;
}
.btn.btn-primary:active,
@@ -797,6 +797,36 @@ button.btn-clear::after {
margin-left: -0.1rem;
margin-top: -0.4rem;
}
+.btn-group {
+ display: inline-block;
+ vertical-align: middle;
+}
+.btn-group::after {
+ content: "";
+ display: table;
+ clear: both;
+}
+.btn-group::after {
+ content: "";
+ display: table;
+ clear: both;
+}
+.btn-group .btn {
+ float: left;
+}
+.btn-group .btn:first-child:not(:last-child) {
+ border-top-right-radius: 0;
+ border-bottom-right-radius: 0;
+}
+.btn-group .btn:not(:first-child):not(:last-child) {
+ margin-left: -0.1rem;
+ border-radius: 0;
+}
+.btn-group .btn:last-child:not(:first-child) {
+ margin-left: -0.1rem;
+ border-top-left-radius: 0;
+ border-bottom-left-radius: 0;
+}
.form-group:not(:last-child) {
margin-bottom: 1rem;
}