-
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 #9516 **Commit 1:** Add NoResults and Panel components. * Original sha: 7fe7f31 * Authored by CJ Cenizal <[email protected]> on 2016-12-15T23:44:37Z **Commit 2:** Lighten noResults text. * Original sha: 022da42 * Authored by CJ Cenizal <[email protected]> on 2016-12-16T17:00:07Z
- Loading branch information
1 parent
87a7a35
commit 404ac63
Showing
8 changed files
with
95 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ | |
} | ||
|
||
&:focus { | ||
@include focus; | ||
outline: none; | ||
border-color: $selectedBorderColor; | ||
} | ||
} |
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 "no_results"; |
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,6 @@ | ||
.kuiNoResults { | ||
padding: 30px; | ||
font-size: 18px; | ||
color: $subduedFontColor; | ||
line-height: $lineHeight; | ||
} |
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 "panel"; |
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,9 @@ | ||
.kuiPanel { | ||
border: $tableBorder; | ||
} | ||
|
||
.kuiPanel--centered { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
} |
70 changes: 70 additions & 0 deletions
70
src/ui_framework/doc_site/src/views/table/controlled_table_no_results.html
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,70 @@ | ||
<div class="kuiControlledTable"> | ||
<!-- ToolBar --> | ||
<div class="kuiToolBar"> | ||
<div class="kuiToolBarSearch"> | ||
<div class="kuiToolBarSearchBox"> | ||
<div class="kuiToolBarSearchBox__icon kuiIcon fa-search"></div> | ||
<input | ||
class="kuiToolBarSearchBox__input" | ||
type="text" | ||
placeholder="Search..." | ||
> | ||
</div> | ||
</div> | ||
|
||
<div class="kuiToolBarSection"> | ||
<button class="kuiButton kuiButton--primary"> | ||
Add | ||
</button> | ||
|
||
<button class="kuiButton kuiButton--basic kuiButton--icon"> | ||
<span class="kuiButton__icon kuiIcon fa-gear"></span> | ||
</button> | ||
|
||
<button class="kuiButton kuiButton--basic kuiButton--icon"> | ||
<span class="kuiButton__icon kuiIcon fa-bars"></span> | ||
</button> | ||
</div> | ||
|
||
<div class="kuiToolBarSection"> | ||
<div class="kuiToolBarText"> | ||
1 – 20 of 33 | ||
</div> | ||
|
||
<div class="kuiButtonGroup"> | ||
<button class="kuiButton kuiButton--basic kuiButton--icon"> | ||
<span class="kuiButton__icon kuiIcon fa-chevron-left"></span> | ||
</button> | ||
<button class="kuiButton kuiButton--basic kuiButton--icon"> | ||
<span class="kuiButton__icon kuiIcon fa-chevron-right"></span> | ||
</button> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<!-- NoResults --> | ||
<div class="kuiPanel kuiPanel--centered"> | ||
<div class="kuiNoResults"> | ||
No Items matched your search. | ||
</div> | ||
</div> | ||
|
||
<!-- ToolBarFooter --> | ||
<div class="kuiToolBarFooter"> | ||
<div class="kuiToolBarFooterSection"> | ||
<div class="kuiToolBarText"> | ||
1 – 20 of 33 | ||
</div> | ||
|
||
<div class="kuiButtonGroup"> | ||
<button class="kuiButton kuiButton--basic kuiButton--icon"> | ||
<span class="kuiButton__icon kuiIcon fa-chevron-left"></span> | ||
</button> | ||
<button class="kuiButton kuiButton--basic kuiButton--icon"> | ||
<span class="kuiButton__icon kuiIcon fa-chevron-right"></span> | ||
</button> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</div> |
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