fix 1px shift in normal and active state by reworking some styles

This commit is contained in:
Justin Palmer
2013-02-05 20:13:36 -08:00
parent 587beb88b6
commit 68f1fa5b31

View File

@@ -13,7 +13,8 @@
background-image: -webkit-linear-gradient(#292c2f, #1d1f21);
margin-left: 1px;
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.1),
inset 0 2px 0 rgba(255, 255, 255, 0.1),
inset 0 1px 0 rgba(0, 0, 0, 1),
inset 1px 0 0 rgba(255, 255, 255, 0.05),
inset -1px 0 0 rgba(255, 255, 255, 0.05);
color: #b9bdc1;
@@ -23,7 +24,6 @@
.tab.active {
background-image: -webkit-linear-gradient(#43484d, #303337);
color: #fff;
padding-top: 6px;
text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
box-shadow:
inset 0 1px 0 rgba(0, 0, 0, 0.5),