Skip to content

Commit

Permalink
Update third party jQuery/DataTables files.
Browse files Browse the repository at this point in the history
git-svn-id: https://projects.ninemoreminutes.com/svn/django-datatables/trunk@43 d7121a62-6ae3-45d9-917d-ff5cd7ed6f65
  • Loading branch information
chris authored and cchurch committed Aug 30, 2014
1 parent 8443805 commit a416369
Show file tree
Hide file tree
Showing 50 changed files with 39,383 additions and 2,291 deletions.
122 changes: 122 additions & 0 deletions test_app/static/css/demo_page.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* General page setup
*/
#dt_example {
font: 80%/1.45em "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
margin: 0;
padding: 0;
color: #333;
background-color: #fff;
}


#dt_example #container {
width: 800px;
margin: 30px auto;
padding: 0;
}


#dt_example #footer {
margin: 50px auto 0 auto;
padding: 0;
}

#dt_example #demo {
margin: 30px auto 0 auto;
}

#dt_example .demo_jui {
margin: 30px auto 0 auto;
}

#dt_example .big {
font-size: 1.3em;
font-weight: bold;
line-height: 1.6em;
color: #4E6CA3;
}

#dt_example .spacer {
height: 20px;
clear: both;
}

#dt_example .clear {
clear: both;
}

#dt_example pre {
padding: 15px;
background-color: #F5F5F5;
border: 1px solid #CCCCCC;
}

#dt_example h1 {
margin-top: 2em;
font-size: 1.3em;
font-weight: normal;
line-height: 1.6em;
color: #4E6CA3;
border-bottom: 1px solid #B0BED9;
clear: both;
}

#dt_example h2 {
font-size: 1.2em;
font-weight: normal;
line-height: 1.6em;
color: #4E6CA3;
clear: both;
}

#dt_example a {
color: #0063DC;
text-decoration: none;
}

#dt_example a:hover {
text-decoration: underline;
}

#dt_example ul {
color: #4E6CA3;
}

.css_right {
float: right;
}

.css_left {
float: left;
}

.demo_links {
float: left;
width: 50%;
margin-bottom: 1em;
}

#demo_info {
padding: 5px;
border: 1px solid #B0BED9;
height: 100px;
width: 100%;
overflow: auto;
}

#dt_example code {
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
padding: 2px 4px !important;
white-space: nowrap;
font-size: 0.9em;

color: #D14;
background-color: #F7F7F9;

border: 1px solid #E1E1E8;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
73 changes: 56 additions & 17 deletions test_app/static/css/demo_table.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@

.dataTables_wrapper {
position: relative;
min-height: 302px;
clear: both;
_height: 302px;
zoom: 1; /* Feeling sorry for IE */
}

Expand Down Expand Up @@ -71,34 +69,60 @@
}

.dataTables_paginate {
width: 44px;
* width: 50px;
float: right;
text-align: right;
}

/* Pagination nested */
.paginate_disabled_previous, .paginate_enabled_previous, .paginate_disabled_next, .paginate_enabled_next {
.paginate_disabled_previous, .paginate_enabled_previous,
.paginate_disabled_next, .paginate_enabled_next {
height: 19px;
width: 19px;
margin-left: 3px;
float: left;
cursor: pointer;
*cursor: hand;
color: #111 !important;
}
.paginate_disabled_previous:hover, .paginate_enabled_previous:hover,
.paginate_disabled_next:hover, .paginate_enabled_next:hover {
text-decoration: none !important;
}
.paginate_disabled_previous:active, .paginate_enabled_previous:active,
.paginate_disabled_next:active, .paginate_enabled_next:active {
outline: none;
}

.paginate_disabled_previous,
.paginate_disabled_next {
color: #666 !important;
}
.paginate_disabled_previous, .paginate_enabled_previous {
padding-left: 23px;
}
.paginate_disabled_next, .paginate_enabled_next {
padding-right: 23px;
margin-left: 10px;
}

.paginate_disabled_previous {
background-image: url('../images/back_disabled.jpg');
background: url('../images/back_disabled.png') no-repeat top left;
}

.paginate_enabled_previous {
background-image: url('../images/back_enabled.jpg');
background: url('../images/back_enabled.png') no-repeat top left;
}
.paginate_enabled_previous:hover {
background: url('../images/back_enabled_hover.png') no-repeat top left;
}

.paginate_disabled_next {
background-image: url('../images/forward_disabled.jpg');
background: url('../images/forward_disabled.png') no-repeat top right;
}

.paginate_enabled_next {
background-image: url('../images/forward_enabled.jpg');
background: url('../images/forward_enabled.png') no-repeat top right;
}
.paginate_enabled_next:hover {
background: url('../images/forward_enabled_hover.png') no-repeat top right;
}


Expand Down Expand Up @@ -176,7 +200,11 @@ table.display td.center {
.sorting_desc_disabled {
background: url('../images/sort_desc_disabled.png') no-repeat center right;
}


table.display thead th:active,
table.display thead td:active {
outline: none;
}



Expand Down Expand Up @@ -238,6 +266,7 @@ tr.even {

.dataTables_scrollBody {
*margin-top: -1px;
-webkit-overflow-scrolling: touch;
}

.top, .bottom {
Expand Down Expand Up @@ -290,26 +319,36 @@ td.details {
line-height: 22px;
}

.paging_full_numbers span.paginate_button,
.paging_full_numbers span.paginate_active {
.paging_full_numbers a:active {
outline: none
}

.paging_full_numbers a:hover {
text-decoration: none;
}

.paging_full_numbers a.paginate_button,
.paging_full_numbers a.paginate_active {
border: 1px solid #aaa;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
padding: 2px 5px;
margin: 0 3px;
cursor: pointer;
*cursor: hand;
color: #333 !important;
}

.paging_full_numbers span.paginate_button {
.paging_full_numbers a.paginate_button {
background-color: #ddd;
}

.paging_full_numbers span.paginate_button:hover {
.paging_full_numbers a.paginate_button:hover {
background-color: #ccc;
text-decoration: none !important;
}

.paging_full_numbers span.paginate_active {
.paging_full_numbers a.paginate_active {
background-color: #99B3FF;
}

Expand Down
44 changes: 12 additions & 32 deletions test_app/static/css/demo_table_jui.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
margin: 0;
cursor: pointer;
* cursor: hand;
color: #333 !important;
}

.dataTables_paginate .ui-button {
Expand Down Expand Up @@ -81,7 +82,6 @@ div.dataTables_wrapper .ui-widget-header {
table.display thead th div.DataTables_sort_wrapper {
position: relative;
padding-right: 20px;
padding-right: 20px;
}

table.display thead th div.DataTables_sort_wrapper span {
Expand Down Expand Up @@ -109,8 +109,6 @@ table.display thead th div.DataTables_sort_wrapper span {

.dataTables_wrapper {
position: relative;
min-height: 302px;
_height: 302px;
clear: both;
}

Expand Down Expand Up @@ -148,30 +146,6 @@ table.display thead th div.DataTables_sort_wrapper span {
text-align: right;
}

/* Pagination nested */
.paginate_disabled_previous, .paginate_enabled_previous, .paginate_disabled_next, .paginate_enabled_next {
height: 19px;
width: 19px;
margin-left: 3px;
float: left;
}

.paginate_disabled_previous {
background-image: url('../images/back_disabled.jpg');
}

.paginate_enabled_previous {
background-image: url('../images/back_enabled.jpg');
}

.paginate_disabled_next {
background-image: url('../images/forward_disabled.jpg');
}

.paginate_enabled_next {
background-image: url('../images/forward_enabled.jpg');
}



/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Expand Down Expand Up @@ -297,6 +271,10 @@ tr.even {
clear: both;
}

.dataTables_scrollBody {
-webkit-overflow-scrolling: touch;
}

.top, .bottom {
padding: 15px;
background-color: #F5F5F5;
Expand Down Expand Up @@ -341,26 +319,28 @@ td.details {
width: 40%;
}

.paging_full_numbers span.paginate_button,
.paging_full_numbers span.paginate_active {
.paging_full_numbers a.paginate_button,
.paging_full_numbers a.paginate_active {
border: 1px solid #aaa;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
padding: 2px 5px;
margin: 0 3px;
cursor: pointer;
*cursor: hand;
color: #333 !important;
}

.paging_full_numbers span.paginate_button {
.paging_full_numbers a.paginate_button {
background-color: #ddd;
}

.paging_full_numbers span.paginate_button:hover {
.paging_full_numbers a.paginate_button:hover {
background-color: #ccc;
text-decoration: none !important;
}

.paging_full_numbers span.paginate_active {
.paging_full_numbers a.paginate_active {
background-color: #99B3FF;
}

Expand Down
Loading

0 comments on commit a416369

Please sign in to comment.