@vidro/map-handler 1.0.6 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +187 -10
- package/dist/map-handler.js +1 -1
- package/doc/giswater.png +0 -0
- package/doc/giswaterInfo.png +0 -0
- package/doc/giswaterInfoApi.png +0 -0
- package/doc/giswatergeojson.png +0 -0
- package/doc/multiTile.png +0 -0
- package/doc/multiTileNoGutter.png +0 -0
- package/doc/togglelayergiswater.png +0 -0
- package/doc/vidromaps-basic.png +0 -0
- package/examples/externalwms/index.js +20 -0
- package/examples/externalwms/index.php +88 -0
- package/examples/full/apidemo.js +43 -1
- package/examples/full/cachedToken.dat +1 -1
- package/examples/full/cachedTokenData.dat +1 -1
- package/examples/full/index.php +31 -16
- package/examples/full/tester.js +172 -12
- package/examples/integration/tool/css/dist/home.css.min.css +0 -0
- package/examples/integration/tool/css/dist/home.min.css +1 -0
- package/examples/integration/tool/css/dist/home.min.css.map +10 -0
- package/examples/integration/tool/css/dist/style-login.css.min.css +0 -0
- package/examples/integration/tool/css/dist/style-login.min.css +1 -0
- package/examples/integration/tool/css/dist/style-login.min.css.map +10 -0
- package/examples/integration/tool/css/dist/style.css.min.css +0 -0
- package/examples/integration/tool/css/dist/style.min.css +1 -0
- package/examples/integration/tool/css/dist/style.min.css.map +23 -0
- package/examples/integration/tool/css/master/_bottom-sheet-2.scss +103 -0
- package/examples/integration/tool/css/master/_bottom-sheet.scss +142 -0
- package/examples/integration/tool/css/master/_colors.scss +35 -0
- package/examples/integration/tool/css/master/_dropdown-form.scss +167 -0
- package/examples/integration/tool/css/master/_forms.scss +416 -0
- package/examples/integration/tool/css/master/_header.scss +134 -0
- package/examples/integration/tool/css/master/_menu-toc.scss +135 -0
- package/examples/integration/tool/css/master/_menu-tools.scss +187 -0
- package/examples/integration/tool/css/master/_mixins.scss +42 -0
- package/examples/integration/tool/css/master/_notifyjs.scss +39 -0
- package/examples/integration/tool/css/master/_ol-map-controls.scss +117 -0
- package/examples/integration/tool/css/master/_simplelightbox.scss +287 -0
- package/examples/integration/tool/css/master/_toc-config.scss +28 -0
- package/examples/integration/tool/css/master/_toc-layouts.scss +173 -0
- package/examples/integration/tool/css/master/_tooltip.scss +34 -0
- package/examples/integration/tool/css/master/home.scss +266 -0
- package/examples/integration/tool/css/master/style-login.scss +240 -0
- package/examples/integration/tool/css/master/style.scss +166 -0
- package/examples/integration/tool/img/doc-gallery-placeholder.svg +3 -0
- package/examples/integration/tool/img/home/ic_calendar-clock.svg +1 -0
- package/examples/integration/tool/img/home/ic_caret-down.svg +1 -0
- package/examples/integration/tool/img/home/ic_cog.svg +1 -0
- package/examples/integration/tool/img/home/ic_marker.svg +1 -0
- package/examples/integration/tool/img/home/ic_play-circle.svg +1 -0
- package/examples/integration/tool/img/home/ic_power.svg +1 -0
- package/examples/integration/tool/img/home/ic_squares.svg +1 -0
- package/examples/integration/tool/img/home/ic_user-pointer.svg +1 -0
- package/examples/integration/tool/img/home/ic_user-square.svg +1 -0
- package/examples/integration/tool/img/home/logo_footer.svg +1 -0
- package/examples/integration/tool/img/ic/accessControl.svg +1 -0
- package/examples/integration/tool/img/ic/account-location.svg +1 -0
- package/examples/integration/tool/img/ic/actionDelete.svg +64 -0
- package/examples/integration/tool/img/ic/actionOpen.svg +64 -0
- package/examples/integration/tool/img/ic/addFile.svg +100 -0
- package/examples/integration/tool/img/ic/addFile_off.svg +102 -0
- package/examples/integration/tool/img/ic/arrow-left.svg +1 -0
- package/examples/integration/tool/img/ic/arrow-right-drop-circle-outline.svg +1 -0
- package/examples/integration/tool/img/ic/bt_add_photo.svg +3 -0
- package/examples/integration/tool/img/ic/bug.svg +1 -0
- package/examples/integration/tool/img/ic/caret-down-bottomsheet.svg +3 -0
- package/examples/integration/tool/img/ic/checkbox-blank-outline-grey.svg +8 -0
- package/examples/integration/tool/img/ic/checkbox-blank-outline-white.svg +8 -0
- package/examples/integration/tool/img/ic/checkbox-blank-outline.svg +1 -0
- package/examples/integration/tool/img/ic/checkbox-marked-outline-grey.svg +8 -0
- package/examples/integration/tool/img/ic/checkbox-marked-outline-white.svg +8 -0
- package/examples/integration/tool/img/ic/checkbox-marked-outline.svg +1 -0
- package/examples/integration/tool/img/ic/chevron-down-grey.svg +7 -0
- package/examples/integration/tool/img/ic/chevron-down-white.svg +7 -0
- package/examples/integration/tool/img/ic/chevron-down.svg +1 -0
- package/examples/integration/tool/img/ic/chevron-right-grey.svg +7 -0
- package/examples/integration/tool/img/ic/chevron-right-white.svg +7 -0
- package/examples/integration/tool/img/ic/chevron-right.svg +1 -0
- package/examples/integration/tool/img/ic/comment-text-outline.svg +1 -0
- package/examples/integration/tool/img/ic/cookie.svg +1 -0
- package/examples/integration/tool/img/ic/delete.svg +1 -0
- package/examples/integration/tool/img/ic/dot.svg +1 -0
- package/examples/integration/tool/img/ic/dump.svg +1 -0
- package/examples/integration/tool/img/ic/e.svg +9 -0
- package/examples/integration/tool/img/ic/eye-off.svg +1 -0
- package/examples/integration/tool/img/ic/eye.svg +1 -0
- package/examples/integration/tool/img/ic/forbidden.svg +1 -0
- package/examples/integration/tool/img/ic/form-title-1.svg +3 -0
- package/examples/integration/tool/img/ic/group.svg +1 -0
- package/examples/integration/tool/img/ic/hamburger.svg +1 -0
- package/examples/integration/tool/img/ic/ic-users.svg +1 -0
- package/examples/integration/tool/img/ic/ic_dropdown-form-close.svg +3 -0
- package/examples/integration/tool/img/ic/ic_dropdown-form-link.svg +3 -0
- package/examples/integration/tool/img/ic/ic_feature-edit-cancel.svg +14 -0
- package/examples/integration/tool/img/ic/ic_feature-edit-save.svg +14 -0
- package/examples/integration/tool/img/ic/ic_gallery-item-delete.svg +3 -0
- package/examples/integration/tool/img/ic/ic_gallery-item-view.svg +3 -0
- package/examples/integration/tool/img/ic/ic_gps.svg +3 -0
- package/examples/integration/tool/img/ic/ic_search.svg +5 -0
- package/examples/integration/tool/img/ic/ic_selector_fechas.svg +63 -0
- package/examples/integration/tool/img/ic/ic_zoom-to-extent.svg +3 -0
- package/examples/integration/tool/img/ic/icon_reminder.png +0 -0
- package/examples/integration/tool/img/ic/image-gallery-placeholder.svg +55 -0
- package/examples/integration/tool/img/ic/imaqua.svg +87 -0
- package/examples/integration/tool/img/ic/incidencia.svg +77 -0
- package/examples/integration/tool/img/ic/info_multi_selection.svg +230 -0
- package/examples/integration/tool/img/ic/layers.svg +1 -0
- package/examples/integration/tool/img/ic/map-marker.svg +3 -0
- package/examples/integration/tool/img/ic/map.svg +1 -0
- package/examples/integration/tool/img/ic/measure_area.svg +111 -0
- package/examples/integration/tool/img/ic/minus.svg +7 -0
- package/examples/integration/tool/img/ic/notification.svg +1 -0
- package/examples/integration/tool/img/ic/offline.svg +3 -0
- package/examples/integration/tool/img/ic/online.svg +1 -0
- package/examples/integration/tool/img/ic/pencil.svg +3 -0
- package/examples/integration/tool/img/ic/plus.svg +1 -0
- package/examples/integration/tool/img/ic/polygon_selection.svg +68 -0
- package/examples/integration/tool/img/ic/power.svg +1 -0
- package/examples/integration/tool/img/ic/remoteLocalized.svg +4 -0
- package/examples/integration/tool/img/ic/remoteStartLocalize.svg +4 -0
- package/examples/integration/tool/img/ic/ruler.svg +125 -0
- package/examples/integration/tool/img/ic/selection-plus.svg +10 -0
- package/examples/integration/tool/img/ic/selection.svg +1 -0
- package/examples/integration/tool/img/ic/settings.svg +1 -0
- package/examples/integration/tool/img/ic/sort.svg +1 -0
- package/examples/integration/tool/img/ic/sort_asc.svg +1 -0
- package/examples/integration/tool/img/ic/sort_desc.svg +1 -0
- package/examples/integration/tool/img/ic/spreadsheet.svg +3 -0
- package/examples/integration/tool/img/ic/times.svg +1 -0
- package/examples/integration/tool/img/ic/toolbar/AB3.svg +1 -0
- package/examples/integration/tool/img/ic/toolbar/AB4.svg +1 -0
- package/examples/integration/tool/img/ic/toolbar/IC1.svg +1 -0
- package/examples/integration/tool/img/ic/toolbar/TB1.svg +1 -0
- package/examples/integration/tool/img/ic/toolbar/TB11.svg +5 -0
- package/examples/integration/tool/img/ic/toolbar/TB2.svg +1 -0
- package/examples/integration/tool/img/ic/toolbar/TB20.svg +1 -0
- package/examples/integration/tool/img/ic/toolbar/TB21.svg +54 -0
- package/examples/integration/tool/img/ic/toolbar/TB3.svg +1 -0
- package/examples/integration/tool/img/ic/toolbar/TB31.svg +1 -0
- package/examples/integration/tool/img/ic/toolbar/TB32.svg +57 -0
- package/examples/integration/tool/img/ic/toolbar/TB4.svg +1 -0
- package/examples/integration/tool/img/ic/toolbar/TB5.svg +1 -0
- package/examples/integration/tool/img/ic/toolbar/TB6.svg +1 -0
- package/examples/integration/tool/img/ic/toolbar/TB7.svg +1 -0
- package/examples/integration/tool/img/ic/toolbar/TB8.svg +1 -0
- package/examples/integration/tool/img/ic/tools.svg +28 -0
- package/examples/integration/tool/img/ic/user.svg +1 -0
- package/examples/integration/tool/img/ic/vector-polygon.svg +1 -0
- package/examples/integration/tool/img/ic/visit_manager.svg +135 -0
- package/examples/integration/tool/img/logo-footer-login.png +0 -0
- package/examples/integration/tool/img/logo-footer.png +0 -0
- package/examples/integration/tool/img/logo-header-login.png +0 -0
- package/examples/integration/tool/img/logo-header-login@2x.png +0 -0
- package/examples/integration/tool/img/logo-header-login@3x.png +0 -0
- package/examples/integration/tool/img/logo-header.png +0 -0
- package/examples/integration/tool/img/logo-header@2x.png +0 -0
- package/examples/integration/tool/img/logo-header@3x.png +0 -0
- package/examples/integration/tool/img/logo_project.png +0 -0
- package/examples/integration/tool/img/photo-gallery-placeholder.svg +3 -0
- package/examples/integration/tool/img/pixel.png +0 -0
- package/examples/integration/tool/index.html +228 -0
- package/examples/integration/tool/js/demo.js +238 -0
- package/examples/integration/tool/js/interface.js +147 -0
- package/examples/integration/tool/js/jquery.js +4 -0
- package/examples/integration/vanguardia.html +6636 -0
- package/examples/multipleIframes/index.js +82 -0
- package/examples/multipleIframes/index.php +52 -0
- package/examples/serverLess/dist/index.23420cfa.js +120 -117
- package/examples/serverLess/dist/index.23420cfa.js.map +1 -1
- package/examples/serverLess/dist/index.html +38 -1
- package/examples/serverLess/index.html +2 -1
- package/examples/serverLess/main.js +2 -2
- package/examples/simple/index.html +1 -1
- package/examples/taigua/index.html +15 -0
- package/examples/taigua/main.js +44 -0
- package/examples/vidromap/index.js +12 -79
- package/examples/vidromap/index.php +63 -48
- package/examples/xavi/index.html +37 -0
- package/examples/xavi/main.js +160 -0
- package/flows.md +73 -0
- package/package.json +1 -1
- package/src/index.js +160 -44
- package/src/shared/iframe-communicator.js +12 -5
- package/examples/vidromap/vidromap.js +0 -13
- package/examples/vidromap/vidromap.php +0 -59
@@ -0,0 +1,187 @@
|
|
1
|
+
// main: style.scss
|
2
|
+
|
3
|
+
.menu-tools{
|
4
|
+
position: absolute;
|
5
|
+
top: 0;
|
6
|
+
right: 0;
|
7
|
+
bottom: 0px;
|
8
|
+
font-size: 0;
|
9
|
+
line-height: 0;
|
10
|
+
overflow: hidden;
|
11
|
+
padding-left: 10px;
|
12
|
+
pointer-events: none;
|
13
|
+
|
14
|
+
@media (min-width: 700px){
|
15
|
+
display: none;
|
16
|
+
}
|
17
|
+
|
18
|
+
a.menu-toggle{
|
19
|
+
display: inline-block;
|
20
|
+
padding: 15px;
|
21
|
+
background-color: $color-accent;
|
22
|
+
position: relative;
|
23
|
+
width: 60px;
|
24
|
+
height: 60px;
|
25
|
+
box-sizing: border-box;
|
26
|
+
z-index: 2;
|
27
|
+
pointer-events: auto;
|
28
|
+
|
29
|
+
> svg{
|
30
|
+
position: absolute;
|
31
|
+
display: block;
|
32
|
+
fill: white;
|
33
|
+
width: 30px;
|
34
|
+
height: 30px;
|
35
|
+
}
|
36
|
+
|
37
|
+
// &:hover{
|
38
|
+
// svg{
|
39
|
+
// fill: $color-accent;
|
40
|
+
// }
|
41
|
+
// }
|
42
|
+
|
43
|
+
.hamburger, .times{
|
44
|
+
transform: translateX(0);
|
45
|
+
transition: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
|
46
|
+
transition-property: transform, opacity, fill;
|
47
|
+
}
|
48
|
+
|
49
|
+
&.closed .times{ opacity: 0; transform: translateX(25px); }
|
50
|
+
&.open .hamburger{ opacity: 0; transform: translateX(-25px);}
|
51
|
+
|
52
|
+
}
|
53
|
+
|
54
|
+
ul{
|
55
|
+
list-style: none;
|
56
|
+
margin: 0;
|
57
|
+
padding: 0;
|
58
|
+
transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
|
59
|
+
background-color: $color-menu-tools-mobile-background;
|
60
|
+
pointer-events: auto;
|
61
|
+
overflow-y: scroll;
|
62
|
+
position: absolute;
|
63
|
+
top: 60px;
|
64
|
+
bottom: 0;
|
65
|
+
z-index: 999;
|
66
|
+
|
67
|
+
&::-webkit-scrollbar-thumb {
|
68
|
+
background: $color-menu-tools-mobile-scrollbar;
|
69
|
+
}
|
70
|
+
|
71
|
+
&.closed{
|
72
|
+
transform: translateX(80px);
|
73
|
+
}
|
74
|
+
&.open{
|
75
|
+
transform: translateX(0);
|
76
|
+
box-shadow: 0 0 19px 0 rgba(0, 0, 0, 0.5);
|
77
|
+
}
|
78
|
+
|
79
|
+
> li{
|
80
|
+
margin: 0;
|
81
|
+
padding: 0;
|
82
|
+
|
83
|
+
&:not(:last-child){
|
84
|
+
border-bottom: 1px solid rgba(0, 0, 0, .2);
|
85
|
+
}
|
86
|
+
&:not(:first-child){
|
87
|
+
border-top: 1px solid rgba(255, 255, 255, .2);
|
88
|
+
}
|
89
|
+
|
90
|
+
> button{
|
91
|
+
background: none;
|
92
|
+
border: none;
|
93
|
+
padding: 10px;
|
94
|
+
cursor: pointer;
|
95
|
+
|
96
|
+
svg{
|
97
|
+
width: 37px;
|
98
|
+
}
|
99
|
+
|
100
|
+
svg path{
|
101
|
+
fill: white;
|
102
|
+
}
|
103
|
+
|
104
|
+
&:focus{
|
105
|
+
box-shadow: none;
|
106
|
+
outline: none;
|
107
|
+
}
|
108
|
+
|
109
|
+
&:disabled{
|
110
|
+
cursor: not-allowed;
|
111
|
+
svg path{
|
112
|
+
fill: fade-out(white, .8);
|
113
|
+
}
|
114
|
+
}
|
115
|
+
|
116
|
+
&:hover:not(:disabled),
|
117
|
+
&.tool-selected:not(:disabled){
|
118
|
+
background-color: $color-menu-tools-mobile-background;
|
119
|
+
svg path{
|
120
|
+
fill: white;
|
121
|
+
}
|
122
|
+
}
|
123
|
+
}
|
124
|
+
}
|
125
|
+
}
|
126
|
+
|
127
|
+
// @media (max-width: 600px){
|
128
|
+
// bottom: 230px;
|
129
|
+
// }
|
130
|
+
|
131
|
+
//
|
132
|
+
// @media (max-width: 600px){
|
133
|
+
//
|
134
|
+
// * { box-shadow: 0 0 0 1px red; }
|
135
|
+
//
|
136
|
+
// left: 0;
|
137
|
+
// bottom: auto;
|
138
|
+
// text-align: right;
|
139
|
+
//
|
140
|
+
// ul{
|
141
|
+
// * { box-shadow: 0 0 0 1px green; }
|
142
|
+
// background-color: $color-menu-bg;
|
143
|
+
//
|
144
|
+
// &.closed{ transform: translateX(100%); }
|
145
|
+
// &.open{ transform: translateX(0); }
|
146
|
+
//
|
147
|
+
// > li{
|
148
|
+
// display: inline-block;
|
149
|
+
// > a,
|
150
|
+
// > button{
|
151
|
+
// background: none;
|
152
|
+
// }
|
153
|
+
// }
|
154
|
+
// }
|
155
|
+
// }
|
156
|
+
}
|
157
|
+
|
158
|
+
// @media (min-width: 1281px){
|
159
|
+
//
|
160
|
+
// .menu-tools a.menu-toggle{
|
161
|
+
// width: 45px;
|
162
|
+
// height: 45px;
|
163
|
+
// padding: 10px;
|
164
|
+
// overflow: hidden;
|
165
|
+
// svg{
|
166
|
+
// width: 25px;
|
167
|
+
// height: 25px;
|
168
|
+
// }
|
169
|
+
// }
|
170
|
+
//
|
171
|
+
// .menu-tools ul{
|
172
|
+
// &.closed{ transform: translateX(45px); }
|
173
|
+
// &.open{ transform: translateX(0); }
|
174
|
+
// }
|
175
|
+
// .menu-tools ul li a,
|
176
|
+
// .menu-tools ul li button{
|
177
|
+
// padding: 12.5px;
|
178
|
+
// background-color: $color-menu-bg;
|
179
|
+
//
|
180
|
+
// > svg{
|
181
|
+
// display: block;
|
182
|
+
// fill: white;
|
183
|
+
// width: 20px;
|
184
|
+
// height: 20px;
|
185
|
+
// }
|
186
|
+
// }
|
187
|
+
// }
|
@@ -0,0 +1,42 @@
|
|
1
|
+
// main: style.scss
|
2
|
+
|
3
|
+
$min-width-desktop: 700px;
|
4
|
+
$max-width-tablet: 699px;
|
5
|
+
$min-width-tablet: 501px;
|
6
|
+
$max-width-mobile: 500px;
|
7
|
+
|
8
|
+
@mixin only-desktop {
|
9
|
+
@media (min-width: $min-width-desktop){
|
10
|
+
@content;
|
11
|
+
}
|
12
|
+
}
|
13
|
+
|
14
|
+
@mixin only-tablet {
|
15
|
+
@media (min-width: $min-width-tablet) and (max-width: $max-width-tablet){
|
16
|
+
@content;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
20
|
+
@mixin only-mobile {
|
21
|
+
@media (max-width: $max-width-mobile){
|
22
|
+
@content;
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
@mixin only-desktop-and-tablet {
|
27
|
+
@media (min-width: $min-width-tablet){
|
28
|
+
@content;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
@mixin only-mobile-and-tablet {
|
33
|
+
@media (max-width: $max-width-tablet){
|
34
|
+
@content;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
@mixin ellipsize{
|
39
|
+
white-space: nowrap;
|
40
|
+
overflow: hidden;
|
41
|
+
text-overflow: ellipsis;
|
42
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
// main: style.scss
|
2
|
+
|
3
|
+
.notifyjs-corner{
|
4
|
+
padding: 0 60px;
|
5
|
+
top: 60px !important;
|
6
|
+
left: 50% !important;
|
7
|
+
transform: translateX(-50%);
|
8
|
+
}
|
9
|
+
|
10
|
+
.notifyjs-bootstrap-base {
|
11
|
+
font-weight: bold;
|
12
|
+
border: none !important;
|
13
|
+
padding-left: 0 !important;
|
14
|
+
text-shadow: none !important;
|
15
|
+
color: #FFFFFF !important;
|
16
|
+
padding: 10px 25px !important;
|
17
|
+
background-image: none !important;
|
18
|
+
text-align: center !important;
|
19
|
+
|
20
|
+
&.notifyjs-bootstrap-error {
|
21
|
+
// color: #84002f !important;
|
22
|
+
background-color: #ef1d67 !important;
|
23
|
+
}
|
24
|
+
|
25
|
+
&.notifyjs-bootstrap-warning{
|
26
|
+
// color: #a07800 !important;
|
27
|
+
background-color: #ffc000 !important;
|
28
|
+
}
|
29
|
+
|
30
|
+
&.notifyjs-bootstrap-success{
|
31
|
+
// color: #019554 !important;
|
32
|
+
background-color: #1cf395 !important;
|
33
|
+
}
|
34
|
+
|
35
|
+
&.notifyjs-bootstrap-info{
|
36
|
+
// color: #017a8c !important;
|
37
|
+
background-color: #0cd5f3 !important;
|
38
|
+
}
|
39
|
+
}
|
@@ -0,0 +1,117 @@
|
|
1
|
+
// main: style.scss
|
2
|
+
|
3
|
+
.ol-attribution.ol-logo-only {
|
4
|
+
bottom: 15px !important;
|
5
|
+
left: 15px !important;
|
6
|
+
width: 22px !important;
|
7
|
+
height: 22px !important;
|
8
|
+
}
|
9
|
+
|
10
|
+
.map-control-button{
|
11
|
+
display: inline-block !important;
|
12
|
+
display: none !important;
|
13
|
+
width: 40px !important;
|
14
|
+
height: 40px !important;
|
15
|
+
border-radius: 60px !important;
|
16
|
+
background-color: white !important;
|
17
|
+
margin: 10px 10px 10px 0 !important;
|
18
|
+
padding: 2px 6px 7px 6px !important;
|
19
|
+
box-sizing: border-box !important;
|
20
|
+
border-radius: 99px !important;
|
21
|
+
text-align: center !important;
|
22
|
+
font-size: 30px !important;
|
23
|
+
cursor: pointer;
|
24
|
+
color: black !important;
|
25
|
+
&:hover,
|
26
|
+
&:active,
|
27
|
+
&:focus{
|
28
|
+
background-color: white;
|
29
|
+
outline: none;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
.ol-zoom{
|
34
|
+
right: 15px;
|
35
|
+
bottom: 15px;
|
36
|
+
top: inherit !important;
|
37
|
+
left: inherit !important;
|
38
|
+
background: none !important;
|
39
|
+
transition: all .2s;
|
40
|
+
|
41
|
+
.ol-zoom-out,
|
42
|
+
.ol-zoom-in{
|
43
|
+
@extend .map-control-button;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
.ol-zoom-extent{
|
48
|
+
right: 155px;
|
49
|
+
bottom: 15px;
|
50
|
+
top: inherit !important;
|
51
|
+
left: inherit !important;
|
52
|
+
background: none !important;
|
53
|
+
|
54
|
+
button{
|
55
|
+
@extend .map-control-button;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
// @media (max-width: 600px){
|
60
|
+
// .map-control-button{
|
61
|
+
// display: block !important;
|
62
|
+
// }
|
63
|
+
// .ol-zoom{
|
64
|
+
// right: 0px;
|
65
|
+
// bottom: 0px;
|
66
|
+
// }
|
67
|
+
// .ol-zoom-extent{
|
68
|
+
// right: 0px;
|
69
|
+
// bottom: 140px;
|
70
|
+
// }
|
71
|
+
// }
|
72
|
+
|
73
|
+
@media (min-width: 1281px){
|
74
|
+
.map-control-button{
|
75
|
+
width: 40px !important;
|
76
|
+
height: 40px !important;
|
77
|
+
border-radius: 50px !important;
|
78
|
+
margin: 5px 5px 5px 0 !important;
|
79
|
+
padding: 5px 6px 7px 6px !important;
|
80
|
+
font-size: 20px !important;
|
81
|
+
}
|
82
|
+
.ol-zoom-extent{
|
83
|
+
right: 105px;
|
84
|
+
}
|
85
|
+
}
|
86
|
+
.ol-scale-coordinates{
|
87
|
+
position: absolute;
|
88
|
+
width: auto;
|
89
|
+
bottom: 10px;
|
90
|
+
right: 5px;
|
91
|
+
}
|
92
|
+
.scale-line {
|
93
|
+
|
94
|
+
}
|
95
|
+
.ol-scale-line {
|
96
|
+
position: relative;
|
97
|
+
bottom: 0px;
|
98
|
+
right: 5px;
|
99
|
+
width: fit-content;
|
100
|
+
align: -webkit-center;
|
101
|
+
}
|
102
|
+
.ol-mouse-position{
|
103
|
+
position: relative;
|
104
|
+
bottom: 0px;
|
105
|
+
left: 0px;
|
106
|
+
height: 18px;
|
107
|
+
color: white;
|
108
|
+
text-align: center;
|
109
|
+
font-size: 12px;
|
110
|
+
background-color: rgba(0,60,136,.3);
|
111
|
+
}
|
112
|
+
.coordinates {
|
113
|
+
width: 150px;
|
114
|
+
right: 140px;
|
115
|
+
bottom: 36px;
|
116
|
+
position: relative;
|
117
|
+
}
|
@@ -0,0 +1,287 @@
|
|
1
|
+
// You can customize Simplelightbox with the following variables:
|
2
|
+
|
3
|
+
$sl-font-family: Arial, Baskerville, monospace;
|
4
|
+
$sl-overlay-background: #fff;
|
5
|
+
$sl-navigation-color: #000;
|
6
|
+
$sl-caption-color: #fff;
|
7
|
+
$sl-caption-background: #000;
|
8
|
+
|
9
|
+
$sl-counter-fontsize: 1rem;
|
10
|
+
$sl-close-fontsize: 3rem;
|
11
|
+
|
12
|
+
$sl-breakpoint-medium: 35.5em; // 568px, when 1em == 16px
|
13
|
+
$sl-breakpoint-large: 50em; // 800px, when 1em == 16px
|
14
|
+
|
15
|
+
$sl-arrow-fontsize-small: 2rem;
|
16
|
+
$sl-arrow-fontsize-medium: 3rem;
|
17
|
+
$sl-arrow-fontsize-large: 3rem;
|
18
|
+
$sl-img-border-small: 0 none;
|
19
|
+
$sl-img-border-medium: 0 none;
|
20
|
+
$sl-img-border-large: 0 none;
|
21
|
+
$sl-iframe-border-small: 0 none;
|
22
|
+
$sl-iframe-border-medium: 0 none;
|
23
|
+
$sl-iframe-border-large: 0 none;
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
body.hidden-scroll {
|
28
|
+
overflow: hidden;
|
29
|
+
}
|
30
|
+
.sl-overlay {
|
31
|
+
position: fixed;
|
32
|
+
left: 0;
|
33
|
+
right: 0;
|
34
|
+
top: 0;
|
35
|
+
bottom: 0;
|
36
|
+
background: $sl-overlay-background;
|
37
|
+
opacity: 0.7;
|
38
|
+
display: none;
|
39
|
+
z-index: 1006;
|
40
|
+
}
|
41
|
+
.sl-wrapper {
|
42
|
+
z-index: 1000;
|
43
|
+
button {
|
44
|
+
border: 0 none;
|
45
|
+
background: transparent;
|
46
|
+
font-size: 28px;
|
47
|
+
padding: 0;
|
48
|
+
cursor: pointer;
|
49
|
+
&:hover {
|
50
|
+
opacity: 0.7;
|
51
|
+
}
|
52
|
+
}
|
53
|
+
|
54
|
+
.sl-close {
|
55
|
+
display: none;
|
56
|
+
position: fixed;
|
57
|
+
right: 30px;
|
58
|
+
top: 30px;
|
59
|
+
z-index: 1015;
|
60
|
+
margin-top: -14px;
|
61
|
+
margin-right: -14px;
|
62
|
+
height: 44px;
|
63
|
+
width: 44px;
|
64
|
+
line-height: 44px;
|
65
|
+
font-family: $sl-font-family;
|
66
|
+
color: $sl-navigation-color;
|
67
|
+
font-size: $sl-close-fontsize;
|
68
|
+
}
|
69
|
+
|
70
|
+
.sl-counter {
|
71
|
+
display: none;
|
72
|
+
position: fixed;
|
73
|
+
top: 30px;
|
74
|
+
left: 30px;
|
75
|
+
z-index: 1015;
|
76
|
+
color: $sl-navigation-color;
|
77
|
+
font-size: $sl-counter-fontsize;
|
78
|
+
}
|
79
|
+
|
80
|
+
.sl-navigation {
|
81
|
+
width: 100%;
|
82
|
+
display: none;
|
83
|
+
button {
|
84
|
+
position: fixed;
|
85
|
+
top: 50%;
|
86
|
+
margin-top: -22px;
|
87
|
+
height: 44px;
|
88
|
+
width: 22px;
|
89
|
+
line-height: 44px;
|
90
|
+
text-align: center;
|
91
|
+
display: block;
|
92
|
+
z-index: 1015;
|
93
|
+
font-family: $sl-font-family;
|
94
|
+
color: $sl-navigation-color;
|
95
|
+
&.sl-next {
|
96
|
+
right: 5px;
|
97
|
+
font-size: $sl-arrow-fontsize-small;
|
98
|
+
}
|
99
|
+
|
100
|
+
&.sl-prev {
|
101
|
+
left: 5px;
|
102
|
+
font-size: $sl-arrow-fontsize-small;
|
103
|
+
}
|
104
|
+
@media (min-width: $sl-breakpoint-medium) {
|
105
|
+
width: 44px;
|
106
|
+
|
107
|
+
&.sl-next {
|
108
|
+
right: 10px;
|
109
|
+
font-size: $sl-arrow-fontsize-medium;
|
110
|
+
}
|
111
|
+
|
112
|
+
&.sl-prev {
|
113
|
+
left: 10px;
|
114
|
+
font-size: $sl-arrow-fontsize-medium;
|
115
|
+
}
|
116
|
+
}
|
117
|
+
@media (min-width: $sl-breakpoint-large) {
|
118
|
+
width: 44px;
|
119
|
+
|
120
|
+
&.sl-next {
|
121
|
+
right: 20px;
|
122
|
+
font-size: $sl-arrow-fontsize-large;
|
123
|
+
}
|
124
|
+
|
125
|
+
&.sl-prev {
|
126
|
+
left: 20px;
|
127
|
+
font-size: $sl-arrow-fontsize-large;
|
128
|
+
}
|
129
|
+
}
|
130
|
+
}
|
131
|
+
}
|
132
|
+
|
133
|
+
.sl-image {
|
134
|
+
position: fixed;
|
135
|
+
-ms-touch-action: none;
|
136
|
+
touch-action: none;
|
137
|
+
z-index: 10000;
|
138
|
+
img {
|
139
|
+
margin: 0;
|
140
|
+
padding: 0;
|
141
|
+
display: block;
|
142
|
+
border: $sl-img-border-small;
|
143
|
+
@media (min-width: $sl-breakpoint-medium) {
|
144
|
+
border: $sl-img-border-medium;
|
145
|
+
}
|
146
|
+
@media (min-width: $sl-breakpoint-large) {
|
147
|
+
border: $sl-img-border-large;
|
148
|
+
}
|
149
|
+
|
150
|
+
}
|
151
|
+
iframe {
|
152
|
+
background: #000;
|
153
|
+
border: $sl-iframe-border-small;
|
154
|
+
@media (min-width: $sl-breakpoint-medium) {
|
155
|
+
border: $sl-iframe-border-medium;
|
156
|
+
}
|
157
|
+
@media (min-width: $sl-breakpoint-large) {
|
158
|
+
border: $sl-iframe-border-large;
|
159
|
+
}
|
160
|
+
}
|
161
|
+
.sl-caption {
|
162
|
+
display: none;
|
163
|
+
padding: 10px;
|
164
|
+
color: $sl-caption-color;
|
165
|
+
background: $sl-caption-background;
|
166
|
+
opacity: 0.8;
|
167
|
+
position: absolute;
|
168
|
+
bottom: 0;
|
169
|
+
left: 0;
|
170
|
+
right: 0;
|
171
|
+
|
172
|
+
&.pos-top {
|
173
|
+
bottom: auto;
|
174
|
+
top: 0;
|
175
|
+
}
|
176
|
+
|
177
|
+
&.pos-outside {
|
178
|
+
bottom: auto;
|
179
|
+
}
|
180
|
+
}
|
181
|
+
|
182
|
+
.sl-download {
|
183
|
+
display: none;
|
184
|
+
position: absolute;
|
185
|
+
bottom: 5px;
|
186
|
+
right: 5px;
|
187
|
+
color: $sl-navigation-color;
|
188
|
+
z-index: 1005;
|
189
|
+
}
|
190
|
+
}
|
191
|
+
}
|
192
|
+
|
193
|
+
.sl-spinner {
|
194
|
+
display: none;
|
195
|
+
border: 5px solid #333;
|
196
|
+
border-radius: 40px;
|
197
|
+
height: 40px;
|
198
|
+
left: 50%;
|
199
|
+
margin: -20px 0 0 -20px;
|
200
|
+
opacity: 0;
|
201
|
+
position: fixed;
|
202
|
+
top: 50%;
|
203
|
+
width: 40px;
|
204
|
+
z-index: 1007;
|
205
|
+
-webkit-animation: pulsate 1s ease-out infinite;
|
206
|
+
-moz-animation: pulsate 1s ease-out infinite;
|
207
|
+
-ms-animation: pulsate 1s ease-out infinite;
|
208
|
+
-o-animation: pulsate 1s ease-out infinite;
|
209
|
+
animation: pulsate 1s ease-out infinite;
|
210
|
+
}
|
211
|
+
|
212
|
+
.sl-scrollbar-measure {
|
213
|
+
position: absolute;
|
214
|
+
top: -9999px;
|
215
|
+
width: 50px;
|
216
|
+
height: 50px;
|
217
|
+
overflow: scroll;
|
218
|
+
}
|
219
|
+
|
220
|
+
@-webkit-keyframes pulsate{
|
221
|
+
0% {
|
222
|
+
transform: scale(.1);
|
223
|
+
opacity: 0.0;
|
224
|
+
}
|
225
|
+
50% {
|
226
|
+
opacity: 1;
|
227
|
+
}
|
228
|
+
100% {
|
229
|
+
transform: scale(1.2);
|
230
|
+
opacity: 0;
|
231
|
+
}
|
232
|
+
}
|
233
|
+
@keyframes pulsate {
|
234
|
+
0% {
|
235
|
+
transform: scale(.1);
|
236
|
+
opacity: 0.0;
|
237
|
+
}
|
238
|
+
50% {
|
239
|
+
opacity: 1;
|
240
|
+
}
|
241
|
+
100% {
|
242
|
+
transform: scale(1.2);
|
243
|
+
opacity: 0;
|
244
|
+
}
|
245
|
+
}
|
246
|
+
|
247
|
+
@-moz-keyframes pulsate{
|
248
|
+
0% {
|
249
|
+
transform: scale(.1);
|
250
|
+
opacity: 0.0;
|
251
|
+
}
|
252
|
+
50% {
|
253
|
+
opacity: 1;
|
254
|
+
}
|
255
|
+
100% {
|
256
|
+
transform: scale(1.2);
|
257
|
+
opacity: 0;
|
258
|
+
}
|
259
|
+
}
|
260
|
+
|
261
|
+
@-o-keyframes pulsate{
|
262
|
+
0% {
|
263
|
+
transform: scale(.1);
|
264
|
+
opacity: 0.0;
|
265
|
+
}
|
266
|
+
50% {
|
267
|
+
opacity: 1;
|
268
|
+
}
|
269
|
+
100% {
|
270
|
+
transform: scale(1.2);
|
271
|
+
opacity: 0;
|
272
|
+
}
|
273
|
+
}
|
274
|
+
|
275
|
+
@-ms-keyframes pulsate{
|
276
|
+
0% {
|
277
|
+
transform: scale(.1);
|
278
|
+
opacity: 0.0;
|
279
|
+
}
|
280
|
+
50% {
|
281
|
+
opacity: 1;
|
282
|
+
}
|
283
|
+
100% {
|
284
|
+
transform: scale(1.2);
|
285
|
+
opacity: 0;
|
286
|
+
}
|
287
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
//main: style.scss
|
2
|
+
|
3
|
+
.toc-config{
|
4
|
+
font-size: 14px;
|
5
|
+
|
6
|
+
.uib-datepicker-popup{
|
7
|
+
list-style: none;
|
8
|
+
margin: 20px 0 0 0;
|
9
|
+
padding: 0;
|
10
|
+
.btn{
|
11
|
+
margin-left: .2em;
|
12
|
+
margin-right: .2em;
|
13
|
+
border-radius: 0px;
|
14
|
+
padding: 5px;
|
15
|
+
font-size: 11px;
|
16
|
+
}
|
17
|
+
|
18
|
+
button.btn.btn-default.btn-sm.pull-left.uib-left:before {
|
19
|
+
content: "←";
|
20
|
+
}
|
21
|
+
|
22
|
+
button.btn.btn-default.btn-sm.pull-right.uib-right:before {
|
23
|
+
content: "→";
|
24
|
+
}
|
25
|
+
|
26
|
+
}
|
27
|
+
|
28
|
+
}
|