-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tabs Improvements and Refactor (#521)
- Loading branch information
Showing
6 changed files
with
120 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,39 @@ | ||
/** TABS */ | ||
.rad-ui-tab-root{ | ||
.rad-ui-tabs{ | ||
.rad-ui-tabs-list{ | ||
display: flex; | ||
box-shadow: inset 0 -1px 0 0 var(--rad-ui-color-gray-500); | ||
|
||
} | ||
.rad-ui-tab-list{ | ||
display: flex; | ||
box-shadow: inset 0 -1px 0 0 var(--rad-ui-color-gray-500); | ||
} | ||
|
||
.rad-ui-tabs-trigger { | ||
color: var(--rad-ui-color-accent-600); | ||
font-family: inherit; | ||
padding: 10px 10px; | ||
|
||
display: flex; | ||
align-items: center; | ||
height:42px; | ||
font-size: 15px; | ||
line-height: 1; | ||
cursor: pointer; | ||
|
||
.rad-ui-tab-trigger.active{ | ||
color: var(--rad-ui-color-accent-950); | ||
border-bottom:2px solid var(--rad-ui-color-accent-900); | ||
} | ||
.rad-ui-tab-trigger { | ||
color: var(--rad-ui-color-accent-600); | ||
font-family: inherit; | ||
padding: 10px 10px; | ||
|
||
display: flex; | ||
height:42px; | ||
font-size: 15px; | ||
line-height: 1; | ||
cursor: pointer; | ||
} | ||
.rad-ui-tab-trigger:hover{ | ||
color: var(--rad-ui-color-accent-900); | ||
} | ||
&.active{ | ||
color: var(--rad-ui-color-accent-950); | ||
border-bottom:2px solid var(--rad-ui-color-accent-900); | ||
} | ||
|
||
.rad-ui-tab-trigger-inner{ | ||
padding:4px 8px; | ||
} | ||
.rad-ui-tab-trigger:hover > .rad-ui-tab-trigger-inner{ | ||
background-color: var(--rad-ui-color-accent-200); | ||
border-radius: 4px; | ||
} | ||
&:hover{ | ||
color: var(--rad-ui-color-accent-900); | ||
} | ||
} | ||
} | ||
|
||
.rad-ui-tab-content{ | ||
padding:20px 0px; | ||
color : var(--rad-ui-color-gray-1000); | ||
.rad-ui-tab-content{ | ||
padding:20px 0px; | ||
color : var(--rad-ui-color-gray-1000); | ||
} | ||
|
||
} | ||
|
||
|
||
|