Add table component to patron

This commit is contained in:
Mathieu Magnin 2017-07-06 16:25:51 +02:00
parent dc00c10366
commit 1c7d9eaa69
2 changed files with 35 additions and 0 deletions

View 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;
}
}

View file

@ -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