1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-18 05:58:25 +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:focus {
color: @gray;
background-color: @body-background;
background-color: @body-bg;
border: 1px solid #ddd;
border-bottom-color: transparent;
cursor: default;

View File

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

View File

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

View File

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