Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaced outdated IE7 CSS hacks #204

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions css/dataTables.jqueryui.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@ table.dataTable {
margin-left: 2px;
text-align: center;
text-decoration: none !important;
cursor: pointer;
*cursor: hand;
cursor: hand;
@supports (cursor: pointer) {
cursor: pointer;
}

border: 1px solid transparent;

Expand Down
19 changes: 13 additions & 6 deletions css/jquery.dataTables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,10 @@ table.dataTable {
.sorting_desc,
.sorting_asc_disabled,
.sorting_desc_disabled {
cursor: pointer;
*cursor: hand;
cursor: hand;
@supports (cursor: pointer) {
cursor: pointer;
}
background-repeat: no-repeat;
background-position: center right;
}
Expand Down Expand Up @@ -254,7 +256,7 @@ table.dataTable {
>.sorting_1 { background-color: shade($table-row-background, 2%); } // shade by fa
>.sorting_2 { background-color: shade($table-row-background, 1.2%); } // shade by fc
>.sorting_3 { background-color: shade($table-row-background, 0.4%); } // shade by fe

&.selected {
>.sorting_1 { background-color: shade($table-row-selected, 2%); }
>.sorting_2 { background-color: shade($table-row-selected, 1.2%); }
Expand Down Expand Up @@ -363,8 +365,10 @@ table.dataTable td {
margin-left: 2px;
text-align: center;
text-decoration: none !important;
cursor: pointer;
*cursor: hand;
cursor: hand;
@supports (cursor: pointer) {
cursor: pointer;
}

color: $table-control-color !important;
border: 1px solid transparent;
Expand Down Expand Up @@ -450,7 +454,10 @@ table.dataTable td {
clear: both;

div.dataTables_scrollBody {
*margin-top: -1px;
margin-top: -1px;
@supports (cursor: pointer) { /* workaround to apply this to IE7 & older only */
margin-top: 0px;
}
-webkit-overflow-scrolling: touch;

> table > thead > tr, > table > tbody > tr {
Expand Down
16 changes: 10 additions & 6 deletions examples/resources/syntax/shCore.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* @version
* 3.0.83 (July 02 2010)
*
*
* @copyright
* Copyright (C) 2004-2010 Alex Gorbatchev.
*
Expand Down Expand Up @@ -258,7 +258,7 @@
*
* @version
* 3.0.83 (July 02 2010)
*
*
* @copyright
* Copyright (C) 2004-2010 Alex Gorbatchev.
*
Expand Down Expand Up @@ -383,8 +383,10 @@

.datatables_ref:hover {
text-decoration: underline;
cursor: pointer;
*cursor: hand;
cursor: hand;
@supports (cursor: pointer) {
cursor: pointer;
}
}

.syntaxhighlighter .dtapi {
Expand All @@ -393,8 +395,10 @@

.syntaxhighlighter .dtapi:hover {
text-decoration: underline;
cursor: pointer;
*cursor: hand;
cursor: hand;
@supports (cursor: pointer) {
cursor: pointer;
}
}

.syntaxhighlighter table {
Expand Down