Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #612 from swiss/597_table_caption_color
Browse files Browse the repository at this point in the history
Table caption color. Closes #597.
  • Loading branch information
almeidap authored Dec 7, 2017
2 parents 4afb6ef + 147536d commit 45615da
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/assets/sass/layout/tables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ table caption {
font-weight: 700;
text-align: left;
padding-bottom: 0.5em;
color: $empress;
}

table.table-bordered {
Expand Down Expand Up @@ -136,7 +137,7 @@ tfoot td.active {background: $solitude !important;}

.table-simple {
border-collapse: separate;
border-spacing: 10px 0px;
border-spacing: 10px 0;
caption {
padding-left: 10px;
}
Expand All @@ -150,7 +151,7 @@ tfoot td.active {background: $solitude !important;}

.table-naked {
border-collapse: separate;
border-spacing: 10px 0px;
border-spacing: 10px 0;
tbody tr th, tbody tr td, thead tr td, thead tr th {
padding-left: 0;
border: none;
Expand Down
2 changes: 2 additions & 0 deletions src/locales/de/layout.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ tables:
Für eine Tabelle mit gerahmten Zellen wird die Klasse ".table-bordered" verwendet.
release: |
**3.3.0**
- use `coal` instead of `#999` for `caption`s text color
**3.0.0**
- remove attribute `role="columnheader"` on tag `<tr>`
Expand Down
3 changes: 3 additions & 0 deletions src/locales/en/layout.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@ tables:
Add `.table-bordered` for borders on all sides of the table and cells. The standard table can be extended to allow zebra striping and/or column or line formatting.
release: |
**3.3.0**
- use `coal` instead of `#999` for `caption`s text color
**3.0.0**
- remove attribute `role="columnheader"` on tag `<tr>`
Expand Down
3 changes: 3 additions & 0 deletions src/locales/fr/layout.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ tables:
Pour un tableau composé de cellules encadrées, on utilisera la classe «.table-bordered».
release: |
**3.3.0**
- utilisation de `coal` au lieu de `#999` pour la couleur de texte des `caption`
**3.0.0**
- retirez l’attribut `role="columnheader"` de la balise `<tr>
Expand Down

0 comments on commit 45615da

Please sign in to comment.