Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
4eee78e0
Commit
4eee78e0
authored
Aug 07, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes #4304: more specific selectors on table border classes to override .table-striped
parent
a525a6fe
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
26 deletions
+33
-26
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+14
-14
less/tables.less
less/tables.less
+19
-12
No files found.
docs/assets/css/bootstrap.css
View file @
4eee78e0
...
...
@@ -1774,18 +1774,6 @@ table {
border-top
:
2px
solid
#dddddd
;
}
.table
.success
td
{
background-color
:
#dff0d8
;
}
.table
.error
td
{
background-color
:
#f2dede
;
}
.table
.info
td
{
background-color
:
#d9edf7
;
}
.table-condensed
th
,
.table-condensed
td
{
padding
:
4px
5px
;
...
...
@@ -1874,8 +1862,8 @@ table {
background-color
:
#f9f9f9
;
}
.table-hover
t
body
t
r
:hover
td
,
.table-hover
t
body
t
r
:hover
th
{
.table-hover
tr
:hover
td
,
.table-hover
tr
:hover
th
{
background-color
:
#f5f5f5
;
}
...
...
@@ -2030,6 +2018,18 @@ table .span24 {
margin-left
:
0
;
}
.table
tbody
.success
td
{
background-color
:
#dff0d8
;
}
.table
tbody
.error
td
{
background-color
:
#f2dede
;
}
.table
tbody
.info
td
{
background-color
:
#d9edf7
;
}
[
class
^=
"icon-"
],
[
class
*=
" icon-"
]
{
display
:
inline-block
;
...
...
less/tables.less
View file @
4eee78e0
...
...
@@ -48,16 +48,6 @@ table {
tbody + tbody {
border-top: 2px solid @tableBorder;
}
.success td {
background-color: @successBackground;
}
.error td {
background-color: @errorBackground;
}
.info td {
background-color: @infoBackground;
}
}
...
...
@@ -169,8 +159,8 @@ table {
// ------------
// Placed here since it has to come after the potential zebra striping
.table-hover {
t
body t
r:hover td,
t
body t
r:hover th {
tr:hover td,
tr:hover th {
background-color: @tableBackgroundHover;
}
}
...
...
@@ -214,3 +204,20 @@ table {
.span23 { .tableColumns(23); }
.span24 { .tableColumns(24); }
}
// TABLE BACKGROUNDS
// -----------------
// Exact selectors below required to override .table-striped
.table {
tbody tr.success td {
background-color: @successBackground;
}
tbody tr.error td {
background-color: @errorBackground;
}
tbody tr.info td {
background-color: @infoBackground;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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