Summary Files Commits Branches @commit @diff @stats
path: root / docs / dist / spectre.css
diff options
context:
space:
mode:
Commit943473c1398b89d411f8242c65d6943a9041f07b (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-04-22 14:30:25 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2017-04-22 14:30:25 +0800
Files5565ee9e2ad59b3b4a80111e079a178ce5b62e83 /docs/dist/spectre.css
Spectre-Dark-Gruvbox-943473c1398b89d411f8242c65d6943a9041f07b.tar
Spectre-Dark-Gruvbox-943473c1398b89d411f8242c65d6943a9041f07b.tar.gz
Spectre-Dark-Gruvbox-943473c1398b89d411f8242c65d6943a9041f07b.zip
Parent610a8b8d8ba6eea7efb16bf03faf18bfe97a0f1b (diff)
Improve button group block and tabs with badges
1 files changed, 14 insertions, 8 deletions
-rw-r--r--docs/dist/spectre.css22
diff --git a/docs/dist/spectre.css b/docs/dist/spectre.css
index 49b844d..9bfea1a 100644
--- a/docs/dist/spectre.css
+++ b/docs/dist/spectre.css
@@ -697,7 +697,8 @@ abbr[title] {
color: currentColor;
height: 1.6rem;
line-height: 1.6rem;
- margin: .2rem -.2rem .2rem .4rem;
+ margin-left: .4rem;
+ margin-right: -.2rem;
opacity: .45;
padding: 0 .2rem;
text-decoration: none;
@@ -746,6 +747,11 @@ abbr[title] {
display: -ms-flexbox;
display: -webkit-flex;
}
+.btn-group.btn-group-block .btn {
+ -webkit-flex: 1 0 0;
+ -ms-flex: 1 0 0;
+ flex: 1 0 0;
+}
.form-group:not(:last-child) {
margin-bottom: 1rem;
}
@@ -1861,8 +1867,8 @@ code {
.badge:not([data-badge])::after {
background: #5764c6;
background-clip: padding-box;
- border: .1rem solid #fff;
border-radius: 1rem;
+ box-shadow: 0 0 0 .2rem #fff;
color: #fff;
content: attr(data-badge);
display: inline-block;
@@ -1872,19 +1878,19 @@ code {
}
.badge[data-badge]::after {
font-size: 1.2rem;
- height: 2rem;
+ height: 1.8rem;
line-height: 1;
- min-width: 2rem;
+ min-width: 1.8rem;
padding: .3rem .5rem;
text-align: center;
white-space: nowrap;
}
.badge:not([data-badge])::after,
.badge[data-badge=""]::after {
- height: .8rem;
- min-width: .8rem;
+ height: .6rem;
+ min-width: .6rem;
padding: 0;
- width: .8rem;
+ width: .6rem;
}
.badge.btn::after {
position: absolute;
@@ -2261,7 +2267,7 @@ code {
transform: translate(0, 0);
}
.tab:not(.tab-block) .badge {
- padding-right: 0;
+ padding-right: .2rem;
}
.pagination {
display: flex;