From e6ee1b228fa06200c677e86696e4a7a72ccf57a7 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 14 Jul 2014 00:23:46 -0700 Subject: inverse table idea --- less/tables.less | 18 ++++++++++++++++++ less/variables.less | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) (limited to 'less') diff --git a/less/tables.less b/less/tables.less index 31b575163..c2319854a 100644 --- a/less/tables.less +++ b/less/tables.less @@ -246,3 +246,21 @@ table { } } +.table-inverse { + color: @gray-lighter; + background-color: @gray-dark; + + &.table-bordered { + border: 0; + } + + > thead, + > tbody { + > tr { + > th, + > td { + border-color: @gray; + } + } + } +} diff --git a/less/variables.less b/less/variables.less index 665194069..27973d61b 100644 --- a/less/variables.less +++ b/less/variables.less @@ -124,7 +124,7 @@ //## Customizes the `.table` component with basic values, each used across all table variations. //** Padding for ``s and ``s. -@table-cell-padding: .5rem; +@table-cell-padding: .75rem; //** Padding for cells in `.table-condensed`. @table-condensed-cell-padding: .3rem; -- cgit v1.2.3