[PATCH] [Wok] Fixed Bootgrid pagination links cursors

From: Samuel Guimarães <sguimaraes943@gmail.com> This patch fixes active pagination links displaying text or default cursors. When the pagination is disabled it will show the "not-allowed" cursor and when active, it will use default link cursor (pointer). Samuel Guimarães (1): Fixed Bootgrid pagination links cursors ui/css/src/wok.scss | 25 +++++++++++++++++++++++++ ui/css/wok.css | 16 ++++++++++++++++ 2 files changed, 41 insertions(+) -- 1.9.3

From: Samuel Guimarães <sguimaraes943@gmail.com> Signed-off-by: Samuel Guimarães <sguimaraes943@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
participants (2)
-
Aline Manera
-
sguimaraes943@gmail.com