-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 in BUDC/concorel-frontend from feature/CONCOREL…
…-78-apply-generic-styles to develop * commit '028fbd3f9575804e34d46d8448f5dc86c71b6443': CONCOREL-78: Basic styles for tables CONCOREL-78: Update headings styles after design change
- Loading branch information
Showing
7 changed files
with
142 additions
and
117 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,48 @@ | ||
<table class="sg_table_demo"> | ||
<thead> | ||
<tr> | ||
<th></th> | ||
<th>Default</th> | ||
<th>With animated hover</th> | ||
<th>Disabled</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td>Button</td> | ||
<td> | ||
<button class="{{variant}}"> Button </button> | ||
</td> | ||
<td> | ||
<button class="button--animated-right {{variant}}"> Button </button> | ||
</td> | ||
<td> | ||
<button class="{{variant}}"disabled> Button </button> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>CTA</td> | ||
<td> | ||
<a href="#" class="button {{variant}}"> Call to action! </a> | ||
</td> | ||
<td> | ||
<a href="#" class="button button--animated-right {{variant}}"> Call to action! </a> | ||
</td> | ||
<td> | ||
<a href="#" class="button button--disabled {{variant}}"> Call to action! </a> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>Button-like input</td> | ||
<td> | ||
<input type="button" value="Input: type button" class="{{variant}}"> | ||
</td> | ||
<td>-</td> | ||
<td> | ||
<input type="button" value="Input: type button" class="{{variant}}" disabled> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
<div class="table__wrapper"> | ||
<table class="sg_table_demo"> | ||
<thead> | ||
<tr> | ||
<th></th> | ||
<th>Default</th> | ||
<th>With animated hover</th> | ||
<th>Disabled</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td>Button</td> | ||
<td> | ||
<button class="{{variant}}"> Button </button> | ||
</td> | ||
<td> | ||
<button class="button--animated-right {{variant}}"> Button </button> | ||
</td> | ||
<td> | ||
<button class="{{variant}}"disabled> Button </button> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>CTA</td> | ||
<td> | ||
<a href="#" class="button {{variant}}"> Call to action! </a> | ||
</td> | ||
<td> | ||
<a href="#" class="button button--animated-right {{variant}}"> Call to action! </a> | ||
</td> | ||
<td> | ||
<a href="#" class="button button--disabled {{variant}}"> Call to action! </a> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>Button-like input</td> | ||
<td> | ||
<input type="button" value="Input: type button" class="{{variant}}"> | ||
</td> | ||
<td>-</td> | ||
<td> | ||
<input type="button" value="Input: type button" class="{{variant}}" disabled> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</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
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,32 @@ | ||
.table__wrapper { | ||
width: 100%; | ||
overflow: auto; | ||
} | ||
|
||
table { | ||
text-align: left; | ||
width: 100%; | ||
min-width: $sizeBreakpointSmall; | ||
} | ||
|
||
th { | ||
color: $colorMetallicBlue; | ||
font-weight: $fontWeightBlack; | ||
} | ||
|
||
th, | ||
td { | ||
padding: 16px 16px 16px 0; | ||
} | ||
|
||
thead { | ||
border-bottom: 4px solid $colorMetallicBlue; | ||
} | ||
|
||
tr { | ||
border-bottom: 2px solid $colorPaleGrey; | ||
|
||
&:last-child { | ||
border: 0; | ||
} | ||
} |
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,5 +1,6 @@ | ||
@import '_headings'; | ||
@import '_text'; | ||
@import '_table'; | ||
|
||
|
||
*:focus { | ||
|
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