Commit ba915a65 by chenwq

tab样式

1 parent 2b24cf40
...@@ -44,36 +44,34 @@ export default { ...@@ -44,36 +44,34 @@ export default {
} }
</script> </script>
<style lang="scss"> <style lang="scss" scoped>
.gl-tab { .gl-tab /deep/ .el-tabs {
// position: relative; &__nav-wrap {
/deep/.el-tabs { &::after {
&__nav-wrap { height: 1px;
&::after { // width: calc(100% - #{$left});
height: 1px;
// width: calc(100% - #{$left});
}
} }
&__header { }
margin: 4px 0 1px; &__header {
} margin: 4px 0 1px;
&__item { }
height: 42px !important; &__item {
// line-height: 10px !important; height: 42px !important;
&.is-active, // line-height: 10px !important;
&:hover { &.is-active,
color: $color-primary; &:hover {
font-weight: 600; color: $color-primary;
} font-weight: 600;
font-weight: 400;
font-size: 16px;
color: #717171;
height: 36px;
line-height: 36px;
}
&__active-bar {
background-color: $color-primary;
} }
font-weight: 400;
font-size: 16px;
color: #717171;
height: 36px;
line-height: 36px;
}
&__active-bar {
height: 1px;
background-color: $color-primary;
} }
} }
</style> </style>
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!