Skip to content

Commit

Permalink
[#724][3.0] Tabs 컴포넌트 개발
Browse files Browse the repository at this point in the history
###############################
- 테마별 스타일 변경
- 불필요한 코드 제거
  • Loading branch information
kdeun1 committed Dec 3, 2020
1 parent a07a176 commit 4092ec2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
4 changes: 4 additions & 0 deletions docs/components/MarkdownView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -764,6 +764,10 @@ export default {
line-height: 1.45;
overflow: auto;
padding: 16px;
@include themify() {
background-color: themed('border-color-base');
}
}
.markdown pre code {
Expand Down
11 changes: 7 additions & 4 deletions src/components/tabs/Tabs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,6 @@ import {
export default {
name: 'EvTabs',
components: {
},
props: {
modelValue: {
type: [String, Number],
Expand Down Expand Up @@ -441,9 +439,9 @@ export default {
}
&.active {
background-color: transparent;
border-bottom: 1px solid #FFFFFF;
@include evThemify() {
border-bottom: 1px solid evThemed('background-base');
color: evThemed('primary');
}
}
Expand Down Expand Up @@ -481,6 +479,7 @@ export default {
$tab-header-height: $input-default-height;
box-sizing: border-box;
margin-bottom: -1px;
user-select: none;
&.has-scroll {
$arrow-width: 17px;
Expand All @@ -495,7 +494,11 @@ export default {
font-size: $font-size-base;
text-align: center;
cursor: pointer;
background-color: #FFFFFF;
@include evThemify() {
background-color: evThemed('background-base');
}
&:hover {
@include evThemify() {
color: evThemed('primary');
Expand Down
1 change: 1 addition & 0 deletions src/style/components/input.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

@include evThemify() {
border: 1px solid evThemed('border-base');
color: evThemed('font-base');
}
&:focus,
&:hover {
Expand Down

0 comments on commit 4092ec2

Please sign in to comment.