Commit e672406203417607adc3a98295ca348f78e76791
1 parent
645c8d0a
Exists in
master
and in
7 other branches
Ativação dos botões da barra de rolagem
Showing
7 changed files
with
13 additions
and
8 deletions
Show diff stats
css/default.css
@@ -12,8 +12,12 @@ Para a barra de rolagem | @@ -12,8 +12,12 @@ Para a barra de rolagem | ||
12 | } | 12 | } |
13 | .customScrollBar .mCSB_container { | 13 | .customScrollBar .mCSB_container { |
14 | max-width: 100%; | 14 | max-width: 100%; |
15 | - padding-right: 5px !Important; | 15 | + padding-right: 1px !Important; |
16 | } | 16 | } |
17 | +.mCS-inset-2.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar { | ||
18 | + background-color: #094672; | ||
19 | +} | ||
20 | + | ||
17 | /* | 21 | /* |
18 | Utilizado no elemento select | 22 | Utilizado no elemento select |
19 | */ | 23 | */ |
interface/carto_ol.htm
@@ -708,7 +708,7 @@ | @@ -708,7 +708,7 @@ | ||
708 | theme: "inset-2", | 708 | theme: "inset-2", |
709 | axis: "yx", | 709 | axis: "yx", |
710 | scrollbarPosition: "inside", | 710 | scrollbarPosition: "inside", |
711 | - scrollButtons:{ enable: false }, | 711 | + scrollButtons:{ enable: true }, |
712 | advanced:{ autoExpandHorizontalScroll: true } | 712 | advanced:{ autoExpandHorizontalScroll: true } |
713 | } | 713 | } |
714 | }, | 714 | }, |
interface/ol.htm
@@ -721,7 +721,7 @@ | @@ -721,7 +721,7 @@ | ||
721 | theme: "inset-2", | 721 | theme: "inset-2", |
722 | axis: "yx", | 722 | axis: "yx", |
723 | scrollbarPosition: "inside", | 723 | scrollbarPosition: "inside", |
724 | - scrollButtons:{ enable: false }, | 724 | + scrollButtons:{ enable: true }, |
725 | advanced:{ autoExpandHorizontalScroll: true } | 725 | advanced:{ autoExpandHorizontalScroll: true } |
726 | } | 726 | } |
727 | }, | 727 | }, |
interface/openlayersdebug.htm
@@ -721,7 +721,7 @@ | @@ -721,7 +721,7 @@ | ||
721 | theme: "inset-2", | 721 | theme: "inset-2", |
722 | axis: "yx", | 722 | axis: "yx", |
723 | scrollbarPosition: "inside", | 723 | scrollbarPosition: "inside", |
724 | - scrollButtons:{ enable: false }, | 724 | + scrollButtons:{ enable: true }, |
725 | advanced:{ autoExpandHorizontalScroll: true } | 725 | advanced:{ autoExpandHorizontalScroll: true } |
726 | } | 726 | } |
727 | }, | 727 | }, |
interface/osm.htm
@@ -721,7 +721,7 @@ | @@ -721,7 +721,7 @@ | ||
721 | theme: "inset-2", | 721 | theme: "inset-2", |
722 | axis: "yx", | 722 | axis: "yx", |
723 | scrollbarPosition: "inside", | 723 | scrollbarPosition: "inside", |
724 | - scrollButtons:{ enable: false }, | 724 | + scrollButtons:{ enable: true }, |
725 | advanced:{ autoExpandHorizontalScroll: true } | 725 | advanced:{ autoExpandHorizontalScroll: true } |
726 | } | 726 | } |
727 | }, | 727 | }, |
interface/osmdebug.htm
@@ -721,7 +721,7 @@ | @@ -721,7 +721,7 @@ | ||
721 | theme: "inset-2", | 721 | theme: "inset-2", |
722 | axis: "yx", | 722 | axis: "yx", |
723 | scrollbarPosition: "inside", | 723 | scrollbarPosition: "inside", |
724 | - scrollButtons:{ enable: false }, | 724 | + scrollButtons:{ enable: true }, |
725 | advanced:{ autoExpandHorizontalScroll: true } | 725 | advanced:{ autoExpandHorizontalScroll: true } |
726 | } | 726 | } |
727 | }, | 727 | }, |
js/janela.js
@@ -73,14 +73,15 @@ i3GEO.janela = | @@ -73,14 +73,15 @@ i3GEO.janela = | ||
73 | theme: "3d-dark", | 73 | theme: "3d-dark", |
74 | axis: "yx", | 74 | axis: "yx", |
75 | scrollbarPosition: "inside", | 75 | scrollbarPosition: "inside", |
76 | - scrollButtons:{ enable: false }, | ||
77 | - advanced:{ autoExpandHorizontalScroll: true } | 76 | + advanced:{ autoExpandHorizontalScroll: true }, |
77 | + scrollButtons:{ enable: true } | ||
78 | }, | 78 | }, |
79 | /** | 79 | /** |
80 | * Cada vez que uma janela flutuante é criada, esse valor é acrescido de 1 | 80 | * Cada vez que uma janela flutuante é criada, esse valor é acrescido de 1 |
81 | */ | 81 | */ |
82 | ULTIMOZINDEX : 5, | 82 | ULTIMOZINDEX : 5, |
83 | //aplica a estilizacao da barra de rolagem | 83 | //aplica a estilizacao da barra de rolagem |
84 | + //https://github.com/malihu/malihu-custom-scrollbar-plugin | ||
84 | applyScrollBar: function(iddiv,seletor,config) { | 85 | applyScrollBar: function(iddiv,seletor,config) { |
85 | var a = i3GEO.janela.scrollBar; | 86 | var a = i3GEO.janela.scrollBar; |
86 | if(config){ | 87 | if(config){ |