Summary Files Commits Branches @commit @diff @stats
path: root / dist
diff options
context:
space:
mode:
Commitf5e4332cd625b24d0737f15a92597fa6120a988d (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2016-03-28 19:10:32 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2016-03-28 19:10:32 +0800
Filesa2e022f674ae2e7b73ff58cc831a23406136d8b6 /dist
Spectre-Dark-Gruvbox-f5e4332cd625b24d0737f15a92597fa6120a988d.tar
Spectre-Dark-Gruvbox-f5e4332cd625b24d0737f15a92597fa6120a988d.tar.gz
Spectre-Dark-Gruvbox-f5e4332cd625b24d0737f15a92597fa6120a988d.zip
Parentd2a4b399fa4872ff228943e29237037189d50eb5 (diff)
add tabs code
1 files changed, 36 insertions, 0 deletions
-rw-r--r--dist/spectre.css36
diff --git a/dist/spectre.css b/dist/spectre.css
index 3d2944d..c902411 100644
--- a/dist/spectre.css
+++ b/dist/spectre.css
@@ -1194,6 +1194,42 @@ textarea.form-input {
padding: 0 .4rem;
color: #c5c5c5;
}
+.tab {
+ display: inline-block;
+ list-style: none;
+ margin: .5rem 0;
+ border-bottom: 0.1rem solid #c5c5c5;
+}
+.tab::after {
+ content: "";
+ display: table;
+ clear: both;
+}
+.tab::after {
+ content: "";
+ display: table;
+ clear: both;
+}
+.tab li {
+ float: left;
+ margin-bottom: -0.1rem;
+}
+.tab li a {
+ display: block;
+ padding: .5rem 1.5rem;
+ border-bottom: .1rem solid transparent;
+ color: #333;
+ text-decoration: none;
+}
+.tab li a:hover {
+ color: #5764C6;
+ border-bottom-color: #5764C6;
+}
+.tab li a.active,
+.tab li a:active {
+ color: #3b49af;
+ border-bottom-color: #3b49af;
+}
.tooltip {
position: relative;
}