Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
ab7070bb
Commit
ab7070bb
authored
12 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
change var from @table-border to @table-border-color
parent
526534f3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/customize.html
+1
-1
docs/customize.html
less/tables.less
+4
-4
less/tables.less
less/variables.less
+1
-1
less/variables.less
with
6 additions
and
6 deletions
+6
-6
docs/customize.html
+
1
-
1
View file @
ab7070bb
...
@@ -248,7 +248,7 @@ title: Customize and download
...
@@ -248,7 +248,7 @@ title: Customize and download
<input
type=
"text"
placeholder=
"#f9f9f9"
>
<input
type=
"text"
placeholder=
"#f9f9f9"
>
<label>
@table-background-hover
</label>
<label>
@table-background-hover
</label>
<input
type=
"text"
placeholder=
"#f5f5f5"
>
<input
type=
"text"
placeholder=
"#f5f5f5"
>
<label>
@table-border
</label>
<label>
@table-border
-color
</label>
<input
type=
"text"
placeholder=
"#ddd"
>
<input
type=
"text"
placeholder=
"#ddd"
>
<h3>
Forms
</h3>
<h3>
Forms
</h3>
...
...
This diff is collapsed.
Click to expand it.
less/tables.less
+
4
-
4
View file @
ab7070bb
...
@@ -26,7 +26,7 @@ th {
...
@@ -26,7 +26,7 @@ th {
padding: 8px;
padding: 8px;
line-height: @line-height-base;
line-height: @line-height-base;
vertical-align: top;
vertical-align: top;
border-top: 1px solid @table-border;
border-top: 1px solid @table-border
-color
;
}
}
// Bottom align for column headings
// Bottom align for column headings
thead th {
thead th {
...
@@ -43,7 +43,7 @@ th {
...
@@ -43,7 +43,7 @@ th {
}
}
// Account for multiple tbody instances
// Account for multiple tbody instances
tbody + tbody {
tbody + tbody {
border-top: 2px solid @table-border;
border-top: 2px solid @table-border
-color
;
}
}
// Nesting
// Nesting
...
@@ -70,13 +70,13 @@ th {
...
@@ -70,13 +70,13 @@ th {
// ----------------
// ----------------
.table-bordered {
.table-bordered {
border: 1px solid @table-border;
border: 1px solid @table-border
-color
;
border-collapse: separate; // Done so we can round those corners!
border-collapse: separate; // Done so we can round those corners!
border-left: 0;
border-left: 0;
border-radius: @border-radius-base;
border-radius: @border-radius-base;
th,
th,
td {
td {
border-left: 1px solid @table-border;
border-left: 1px solid @table-border
-color
;
}
}
// Prevent a double border
// Prevent a double border
caption + thead tr:first-child th,
caption + thead tr:first-child th,
...
...
This diff is collapsed.
Click to expand it.
less/variables.less
+
1
-
1
View file @
ab7070bb
...
@@ -78,7 +78,7 @@
...
@@ -78,7 +78,7 @@
@table-bg-accent: #f9f9f9; // for striping
@table-bg-accent: #f9f9f9; // for striping
@table-bg-hover: #f5f5f5; // for hover
@table-bg-hover: #f5f5f5; // for hover
@table-border
:
#ddd; // table and cell border
@table-border
-color:
#ddd; // table and cell border
// Buttons
// Buttons
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment