aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/static
diff options
context:
space:
mode:
authorTom Christie2015-01-22 17:25:12 +0000
committerTom Christie2015-01-22 17:25:12 +0000
commit43d983fae82ab23ca94f52deb29e938eb2a40e88 (patch)
tree2466e74009d87b6698206b59f5b4681bcb6d66b0 /rest_framework/static
parent0822c9e55820f8e4737329e38abc2e21718af9e5 (diff)
downloaddjango-rest-framework-43d983fae82ab23ca94f52deb29e938eb2a40e88.tar.bz2
Add paging controls
Diffstat (limited to 'rest_framework/static')
-rw-r--r--rest_framework/static/rest_framework/css/bootstrap-tweaks.css12
1 files changed, 11 insertions, 1 deletions
diff --git a/rest_framework/static/rest_framework/css/bootstrap-tweaks.css b/rest_framework/static/rest_framework/css/bootstrap-tweaks.css
index 15b42178..04f12ed3 100644
--- a/rest_framework/static/rest_framework/css/bootstrap-tweaks.css
+++ b/rest_framework/static/rest_framework/css/bootstrap-tweaks.css
@@ -63,10 +63,20 @@ a single block in the template.
.pagination>.disabled>a,
.pagination>.disabled>a:hover,
.pagination>.disabled>a:focus {
- cursor: default;
+ cursor: not-allowed;
pointer-events: none;
}
+.pager>.disabled>a,
+.pager>.disabled>a:hover,
+.pager>.disabled>a:focus {
+ pointer-events: none;
+}
+
+.pager .next {
+ margin-left: 10px;
+}
+
/*=== dabapps bootstrap styles ====*/
html {