Skip to content

Commit

Permalink
Simplification for table header generated-content arrow #9
Browse files Browse the repository at this point in the history
  • Loading branch information
fat committed Aug 20, 2011
1 parent 630b874 commit b342c4c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 31 deletions.
22 changes: 5 additions & 17 deletions bootstrap-1.0.0.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Date: Fri Aug 19 19:37:58 PDT 2011
* Date: Fri Aug 19 19:51:25 PDT 2011
*/
/* Reset.less
* Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
Expand Down Expand Up @@ -1004,25 +1004,13 @@ table.zebra-striped th.header {
cursor: pointer;
}
table.zebra-striped th.header:after {
width: 0px;
height: 0px;
display: inline-block;
content: "";
float: right;
margin-top: 7px;
content: "↓";
text-indent: -99999px;
vertical-align: top;
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-bottom: 4px solid #000;
border-width: 0 4px 4px;
border-style: solid;
border-color: #000 transparent;
visibility: hidden;
-webkit-box-shadow: 0 1px 0 #ffffff;
-moz-box-shadow: 0 1px 0 #ffffff;
box-shadow: 0 1px 0 #ffffff;
filter: alpha(opacity=30);
-khtml-opacity: 0.3;
-moz-opacity: 0.3;
opacity: 0.3;
}
table.zebra-striped th.headerSortUp, table.zebra-striped th.headerSortDown {
background-color: rgba(141, 192, 219, 0.25);
Expand Down
2 changes: 1 addition & 1 deletion bootstrap-1.0.0.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 6 additions & 13 deletions lib/tables.less
Original file line number Diff line number Diff line change
Expand Up @@ -46,20 +46,13 @@ table.zebra-striped {
th.header {
cursor: pointer;
&:after {
width: 0px;
height: 0px;
display: inline-block;
content: "";
float: right;
margin-top:7px;
content: "↓";
text-indent: -99999px;
vertical-align: top;
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-bottom: 4px solid #000;
visibility:hidden;
.box-shadow(0 1px 0 #fff);
.opacity(30);
margin-top: 7px;
border-width: 0 4px 4px;
border-style: solid;
border-color: #000 transparent;
visibility: hidden;
}
}

Expand Down

0 comments on commit b342c4c

Please sign in to comment.