Summary Files Commits Branches @commit @diff @stats
path: root / src / tabs.less
diff options
context:
space:
mode:
Commit78de8f1a1f423a86c05f361e87012a8ea1f1211b (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-07-01 15:33:02 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2017-07-01 15:33:02 +0800
Files4efd8509510b7b831dd665a6273b07ec9cc0da5e /src/tabs.less
Spectre-Dark-Gruvbox-78de8f1a1f423a86c05f361e87012a8ea1f1211b.tar
Spectre-Dark-Gruvbox-78de8f1a1f423a86c05f361e87012a8ea1f1211b.tar.gz
Spectre-Dark-Gruvbox-78de8f1a1f423a86c05f361e87012a8ea1f1211b.zip
Parentef4918530c3d332abbfd4e3076ffc8f9405d4da7 (diff)
IMPORTANT: Replace all rem units to px
1 files changed, 5 insertions, 5 deletions
-rw-r--r--src/tabs.less10
diff --git a/src/tabs.less b/src/tabs.less
index 781c2f2..1abfe75 100644
--- a/src/tabs.less
+++ b/src/tabs.less
@@ -13,11 +13,11 @@
}
a {
- border-bottom: .2rem solid transparent;
+ border-bottom: @border-width-lg solid transparent;
color: inherit;
display: block;
margin-top: 0;
- padding: .6rem 1.2rem .4rem 1.2rem;
+ padding: 6px 12px 4px 12px;
text-decoration: none;
&:focus,
&:hover {
@@ -39,8 +39,8 @@
.badge {
&[data-badge]::after {
position: absolute;
- right: -.4rem;
- top: -.4rem;
+ right: -4px;
+ top: -4px;
transform: translate(0, 0);
}
}
@@ -49,7 +49,7 @@
&:not(.tab-block) {
.badge {
- padding-right: .2rem;
+ padding-right: 2px;
}
}
}