[Kimchi-devel] [PATCH] [Wok] Fixed Bootgrid pagination links cursors

sguimaraes943 at gmail.com sguimaraes943 at gmail.com
Thu Jun 2 17:10:37 UTC 2016


From: Samuel Guimarães <sguimaraes943 at gmail.com>

Signed-off-by: Samuel Guimarães <sguimaraes943 at gmail.com>
---
 ui/css/src/wok.scss | 25 +++++++++++++++++++++++++
 ui/css/wok.css      | 16 ++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/ui/css/src/wok.scss b/ui/css/src/wok.scss
index 50fb06b..c4a81d4 100755
--- a/ui/css/src/wok.scss
+++ b/ui/css/src/wok.scss
@@ -117,6 +117,31 @@ body {
   position: relative;
 }
 
+// Override pagination
+
+.pagination {
+
+  > .active > a,
+  > .active > span {
+    &,
+    &:hover,
+    &:focus {
+      cursor: pointer !important;
+    }
+  }
+
+  > .disabled {
+    > span,
+    > span:hover,
+    > span:focus,
+    > a,
+    > a:hover,
+    > a:focus {
+      cursor: $cursor-disabled !important;
+    }
+  }
+}
+
 // Login
 @import "modules/login";
 // Topbar and navigation
diff --git a/ui/css/wok.css b/ui/css/wok.css
index b5c1bc2..96b9e6e 100644
--- a/ui/css/wok.css
+++ b/ui/css/wok.css
@@ -117,6 +117,22 @@ body {
   position: relative;
 }
 
+.pagination > .active > a, .pagination > .active > a:hover, .pagination > .active > a:focus,
+.pagination > .active > span,
+.pagination > .active > span:hover,
+.pagination > .active > span:focus {
+  cursor: pointer !important;
+}
+
+.pagination > .disabled > span,
+.pagination > .disabled > span:hover,
+.pagination > .disabled > span:focus,
+.pagination > .disabled > a,
+.pagination > .disabled > a:hover,
+.pagination > .disabled > a:focus {
+  cursor: not-allowed !important;
+}
+
 .login .content .container {
   width: 100% !important;
   padding-left: 0 !important;
-- 
1.9.3




More information about the Kimchi-devel mailing list