From 77e19e512b6683ef2223f09b676a84a7a654a946 Mon Sep 17 00:00:00 2001 From: Tim Riley Date: Sat, 21 Feb 2009 12:09:59 +1100 Subject: [PATCH] move the CSS rules extracted from alternating-rows-and-columns into a table-scaffolding mixin. --- .../stylesheets/compass/utilities/_tables.sass | 1 + .../compass/utilities/tables/_scaffolding.sass | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass diff --git a/frameworks/compass/stylesheets/compass/utilities/_tables.sass b/frameworks/compass/stylesheets/compass/utilities/_tables.sass index adca8898..c4757027 100644 --- a/frameworks/compass/stylesheets/compass/utilities/_tables.sass +++ b/frameworks/compass/stylesheets/compass/utilities/_tables.sass @@ -1 +1,2 @@ +@import tables/scaffolding.sass @import tables/alternating_rows_and_columns.sass \ No newline at end of file diff --git a/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass b/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass new file mode 100644 index 00000000..79df1732 --- /dev/null +++ b/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass @@ -0,0 +1,11 @@ +=table-scaffolding + td, + th + :padding 2px + &.numeric + :text-align right + tbody + th + :text-align center + thead + :font-size .9em \ No newline at end of file