-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backports PR #9536 **Commit 1:** Add Tabs component. - Fix bugs with Button and CheckBox focused states. - Fix appearance of cell content in Table. * Original sha: 9125884 * Authored by CJ Cenizal <[email protected]> on 2016-12-16T22:00:34Z
- Loading branch information
1 parent
15eb80b
commit 3c2147d
Showing
17 changed files
with
238 additions
and
32 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
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
@import "tabs"; |
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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
.kuiTabs { | ||
display: flex; | ||
} | ||
|
||
/** | ||
* 1. Override button styles (some of which are from Bootstrap). | ||
*/ | ||
.kuiTab { | ||
appearance: none; /* 1 */ | ||
cursor: pointer; | ||
padding: 10px 30px; | ||
font-size: 14px; | ||
color: $subduedFontColor; | ||
background-color: #ffffff; /* 1 */ | ||
border: 1px solid #ffffff; | ||
border-radius: 0; /* 1 */ | ||
|
||
&:focus { | ||
color: $linkColor; | ||
border-color: $selectedBorderColor; | ||
outline: none !important; /* 1 */ | ||
} | ||
|
||
&:hover:not(.kuiTab-isSelected) { | ||
color: $linkHoverColor; | ||
} | ||
|
||
&:active { | ||
outline: none; | ||
border-color: #ffffff; | ||
box-shadow: none; /* 1 */ | ||
color: $linkColor !important; | ||
} | ||
|
||
&.kuiTab-isSelected { | ||
color: $fontColor; | ||
background-color: #F2F2F2; | ||
border-color: #F2F2F2; | ||
cursor: default; | ||
} | ||
} |
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 +1,3 @@ | ||
<input type="checkbox" class="kuiCheckBox"> | ||
|
||
<input type="checkbox" class="kuiCheckBox" checked> |
Oops, something went wrong.