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
c705521e
Commit
c705521e
authored
Aug 21, 2011
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rebuild and updated tables to remove tags from selectors
parent
80e0e9c4
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
168 additions
and
174 deletions
+168
-174
bootstrap-1.0.0.css
bootstrap-1.0.0.css
+81
-82
bootstrap-1.0.0.min.css
bootstrap-1.0.0.min.css
+57
-58
lib/tables.less
lib/tables.less
+30
-34
No files found.
bootstrap-1.0.0.css
View file @
c705521e
This diff is collapsed.
Click to expand it.
bootstrap-1.0.0.min.css
View file @
c705521e
This diff is collapsed.
Click to expand it.
lib/tables.less
View file @
c705521e
...
...
@@ -11,12 +11,12 @@ table {
width: 100%;
margin-bottom: @baseline;
padding: 0;
text-align: left;
border-collapse: separate;
font-size: 13px;
th, td {
padding: 10px 10px 9px;
line-height: @baseline * .75;
text-align: left;
vertical-align: middle;
border-bottom: 1px solid #ddd;
}
...
...
@@ -32,7 +32,7 @@ table {
// --------------
// Default zebra-stripe styles (alternating gray and transparent backgrounds)
table
.zebra-striped {
.zebra-striped {
tbody {
tr:nth-child(odd) td {
background-color: #f9f9f9;
...
...
@@ -43,7 +43,7 @@ table.zebra-striped {
}
// Tablesorting styles w/ jQuery plugin
th
.header {
.header {
cursor: pointer;
&:after {
content: "";
...
...
@@ -55,36 +55,29 @@ table.zebra-striped {
visibility: hidden;
}
}
// Style the sorted column headers (THs)
th
.headerSortUp,
th
.headerSortDown {
.headerSortUp,
.headerSortDown {
background-color: rgba(141,192,219,.25);
text-shadow: 0 1px 1px rgba(255,255,255,.75);
.border-radius(3px 3px 0 0);
}
// Style the ascending (reverse alphabetical) column header
th
.header:hover {
.header:hover {
&:after {
visibility:visible;
}
}
th.actions:hover {
background-image: none;
}
// Style the descending (alphabetical) column header
th
.headerSortDown,
th
.headerSortDown:hover {
.headerSortDown,
.headerSortDown:hover {
&:after {
visibility:visible;
.opacity(60);
}
}
// Style the ascending (reverse alphabetical) column header
th
.headerSortUp {
.headerSortUp {
&:after {
border-bottom: none;
border-left: 4px solid transparent;
...
...
@@ -95,58 +88,61 @@ table.zebra-striped {
.opacity(60);
}
}
}
table {
// Blue Table Headings
th
.blue {
.blue {
color: @blue;
border-bottom-color: @blue;
}
th.headerSortUp.blue, th.headerSortDown.blue {
.headerSortUp.blue,
.headerSortDown.blue {
background-color: lighten(@blue, 40%);
}
// Green Table Headings
th
.green {
.green {
color: @green;
border-bottom-color: @green;
}
th.headerSortUp.green, th.headerSortDown.green { // backround color is 20% of border color
.headerSortUp.green,
.headerSortDown.green {
background-color: lighten(@green, 40%);
}
// Red Table Headings
th
.red {
.red {
color: @red;
border-bottom-color: @red;
}
th.headerSortUp.red, th.headerSortDown.red {
.headerSortUp.red,
.headerSortDown.red {
background-color: lighten(@red, 50%);
}
// Yellow Table Headings
th
.yellow {
.yellow {
color: @yellow;
border-bottom-color: @yellow;
}
th.headerSortUp.yellow, th.headerSortDown.yellow {
.headerSortUp.yellow,
.headerSortDown.yellow {
background-color: lighten(@yellow, 40%);
}
// Orange Table Headings
th
.orange {
.orange {
color: @orange;
border-bottom-color: @orange;
}
th.headerSortUp.orange, th.headerSortDown.orange {
.headerSortUp.orange,
.headerSortDown.orange {
background-color: lighten(@orange, 40%);
}
// Purple Table Headings
th
.purple {
.purple {
color: @purple;
border-bottom-color: @purple;
}
th.headerSortUp.purple, th.headerSortDown.purple {
.headerSortUp.purple,
.headerSortDown.purple {
background-color: lighten(@purple, 40%);
}
}
}
\ No newline at end of file
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