Add table component to patron
This commit is contained in:
parent
dc00c10366
commit
1c7d9eaa69
2 changed files with 35 additions and 0 deletions
21
app/assets/stylesheets/new_design/table.scss
Normal file
21
app/assets/stylesheets/new_design/table.scss
Normal file
|
@ -0,0 +1,21 @@
|
|||
@import "constants";
|
||||
@import "mixins";
|
||||
|
||||
.table {
|
||||
width: 100%;
|
||||
font-size: 14px;
|
||||
line-height: 22px;
|
||||
|
||||
th,
|
||||
td {
|
||||
@include vertical-padding($default-spacer)
|
||||
}
|
||||
|
||||
th {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
td {
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
|
@ -68,6 +68,20 @@
|
|||
Titre de la carte mise en avant
|
||||
Et voici le contenu de la carte
|
||||
|
||||
%h2 Table
|
||||
|
||||
%table.table
|
||||
%tbody
|
||||
%tr
|
||||
%th Header 1
|
||||
%td Table Data 1
|
||||
%tr
|
||||
%th Header 2
|
||||
%td Table Data 2
|
||||
%tr
|
||||
%th Header 3
|
||||
%td Table Data 3
|
||||
|
||||
%h2 Layout deux colonnes
|
||||
|
||||
.two-columns
|
||||
|
|
Loading…
Reference in a new issue