0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-21 18:54:30 +01:00

-background to -bg for body and table vars

This commit is contained in:
Mark Otto 2013-03-31 17:29:05 -07:00
parent d6f37f3c56
commit b7fa0d3434
4 changed files with 10 additions and 10 deletions

View File

@ -65,7 +65,7 @@
.nav-tabs > .active > a:hover, .nav-tabs > .active > a:hover,
.nav-tabs > .active > a:focus { .nav-tabs > .active > a:focus {
color: @gray; color: @gray;
background-color: @body-background; background-color: @body-bg;
border: 1px solid #ddd; border: 1px solid #ddd;
border-bottom-color: transparent; border-bottom-color: transparent;
cursor: default; cursor: default;

View File

@ -34,7 +34,7 @@ body {
font-size: 14px; font-size: 14px;
line-height: @line-height-base; line-height: @line-height-base;
color: @text-color; color: @text-color;
background-color: @body-background; background-color: @body-bg;
} }
// Reset fonts for revelant elements // Reset fonts for revelant elements

View File

@ -5,7 +5,7 @@
table { table {
max-width: 100%; max-width: 100%;
background-color: @table-background; background-color: @table-bg;
border-collapse: collapse; border-collapse: collapse;
border-spacing: 0; border-spacing: 0;
} }
@ -48,7 +48,7 @@ th {
// Nesting // Nesting
.table { .table {
background-color: @body-background; background-color: @body-bg;
} }
} }
@ -153,7 +153,7 @@ th {
> tbody { > tbody {
> tr:nth-child(odd) > td, > tr:nth-child(odd) > td,
> tr:nth-child(odd) > th { > tr:nth-child(odd) > th {
background-color: @table-background-accent; background-color: @table-bg-accent;
} }
} }
} }
@ -168,7 +168,7 @@ th {
> tbody { > tbody {
> tr:hover > td, > tr:hover > td,
> tr:hover > th { > tr:hover > th {
background-color: @table-background-hover; background-color: @table-bg-hover;
} }
} }
} }

View File

@ -28,7 +28,7 @@
// Scaffolding // Scaffolding
// ------------------------- // -------------------------
@body-background: #fff; @body-bg: #fff;
@text-color: @grayDark; @text-color: @grayDark;
// Links // Links
@ -74,9 +74,9 @@
// Tables // Tables
// ------------------------- // -------------------------
@table-background: transparent; // overall background-color @table-bg: transparent; // overall background-color
@table-background-accent: #f9f9f9; // for striping @table-bg-accent: #f9f9f9; // for striping
@table-background-hover: #f5f5f5; // for hover @table-bg-hover: #f5f5f5; // for hover
@table-border: #ddd; // table and cell border @table-border: #ddd; // table and cell border