2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

fixing tablesorter styles by adding the jquery plugin back to the lib, fixing the docs examples

This commit is contained in:
Mark Otto
2012-01-07 12:22:51 -08:00
parent 95c88a2953
commit a339f0051b
6 changed files with 122 additions and 17 deletions
+54
View File
@@ -116,3 +116,57 @@ table {
.span11 { .tableColumns(11); }
.span12 { .tableColumns(12); }
}
// TABLESORTER
// -----------
// Support for the tablesorter jQuerdy plugin
table {
// Tablesorting styles w/ jQuery plugin
.header {
cursor: pointer;
&:after {
content: "";
float: right;
margin-top: 7px;
border-width: 0 4px 4px;
border-style: solid;
border-color: #000 transparent;
visibility: hidden;
}
}
// Style the sorted column headers (THs)
.headerSortUp,
.headerSortDown {
background-color: rgba(141,192,219,.25);
text-shadow: 0 1px 1px rgba(255,255,255,.75);
}
// Style the ascending (reverse alphabetical) column header
.header:hover {
&:after {
visibility:visible;
}
}
// Style the descending (alphabetical) column header
.headerSortDown,
.headerSortDown:hover {
&:after {
visibility:visible;
.opacity(60);
}
}
// Style the ascending (reverse alphabetical) column header
.headerSortUp {
&:after {
border-bottom: none;
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 4px solid #000;
visibility:visible;
.box-shadow(none); //can't add boxshadow to downward facing arrow :(
.opacity(60);
}
}
}
+5 -1
View File
@@ -155,7 +155,7 @@
// Dropdowns in tabs
.tabs {
.dropdown-menu {
top: 36px;
top: 37px;
border-width: 1px;
}
.dropdown-toggle .caret {
@@ -165,6 +165,10 @@
.open .dropdown-toggle {
border-color: #999;
}
.open .dropdown-toggle .caret {
border-top-color: #fff;
.opacity(100);
}
}
// Pills