@vidro/map-handler 1.1.4 → 1.1.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (170) hide show
  1. package/README.md +39 -101
  2. package/dist/map-handler.js +1 -1
  3. package/examples/full/cachedToken.dat +1 -1
  4. package/examples/full/cachedTokenData.dat +1 -1
  5. package/examples/full/index.php +9 -78
  6. package/examples/full/tester.js +12 -177
  7. package/examples/serverLess/dist/index.23420cfa.js +117 -120
  8. package/examples/serverLess/dist/index.23420cfa.js.map +1 -1
  9. package/examples/serverLess/dist/index.html +1 -38
  10. package/examples/serverLess/index.html +1 -2
  11. package/examples/serverLess/main.js +2 -2
  12. package/examples/simple/index.html +1 -1
  13. package/examples/taigua/index.html +46 -8
  14. package/examples/taigua/main.js +467 -18
  15. package/examples/vidromap/index.php +1 -1
  16. package/package.json +1 -1
  17. package/src/index.js +178 -321
  18. package/examples/externalwms/index.js +0 -20
  19. package/examples/externalwms/index.php +0 -88
  20. package/examples/integration/tool/css/dist/home.css.min.css +0 -0
  21. package/examples/integration/tool/css/dist/home.min.css +0 -1
  22. package/examples/integration/tool/css/dist/home.min.css.map +0 -10
  23. package/examples/integration/tool/css/dist/style-login.css.min.css +0 -0
  24. package/examples/integration/tool/css/dist/style-login.min.css +0 -1
  25. package/examples/integration/tool/css/dist/style-login.min.css.map +0 -10
  26. package/examples/integration/tool/css/dist/style.css.min.css +0 -0
  27. package/examples/integration/tool/css/dist/style.min.css +0 -1
  28. package/examples/integration/tool/css/dist/style.min.css.map +0 -23
  29. package/examples/integration/tool/css/master/_bottom-sheet-2.scss +0 -103
  30. package/examples/integration/tool/css/master/_bottom-sheet.scss +0 -142
  31. package/examples/integration/tool/css/master/_colors.scss +0 -35
  32. package/examples/integration/tool/css/master/_dropdown-form.scss +0 -167
  33. package/examples/integration/tool/css/master/_forms.scss +0 -416
  34. package/examples/integration/tool/css/master/_header.scss +0 -134
  35. package/examples/integration/tool/css/master/_menu-toc.scss +0 -135
  36. package/examples/integration/tool/css/master/_menu-tools.scss +0 -187
  37. package/examples/integration/tool/css/master/_mixins.scss +0 -42
  38. package/examples/integration/tool/css/master/_notifyjs.scss +0 -39
  39. package/examples/integration/tool/css/master/_ol-map-controls.scss +0 -117
  40. package/examples/integration/tool/css/master/_simplelightbox.scss +0 -287
  41. package/examples/integration/tool/css/master/_toc-config.scss +0 -28
  42. package/examples/integration/tool/css/master/_toc-layouts.scss +0 -173
  43. package/examples/integration/tool/css/master/_tooltip.scss +0 -34
  44. package/examples/integration/tool/css/master/home.scss +0 -266
  45. package/examples/integration/tool/css/master/style-login.scss +0 -240
  46. package/examples/integration/tool/css/master/style.scss +0 -166
  47. package/examples/integration/tool/img/doc-gallery-placeholder.svg +0 -3
  48. package/examples/integration/tool/img/home/ic_calendar-clock.svg +0 -1
  49. package/examples/integration/tool/img/home/ic_caret-down.svg +0 -1
  50. package/examples/integration/tool/img/home/ic_cog.svg +0 -1
  51. package/examples/integration/tool/img/home/ic_marker.svg +0 -1
  52. package/examples/integration/tool/img/home/ic_play-circle.svg +0 -1
  53. package/examples/integration/tool/img/home/ic_power.svg +0 -1
  54. package/examples/integration/tool/img/home/ic_squares.svg +0 -1
  55. package/examples/integration/tool/img/home/ic_user-pointer.svg +0 -1
  56. package/examples/integration/tool/img/home/ic_user-square.svg +0 -1
  57. package/examples/integration/tool/img/home/logo_footer.svg +0 -1
  58. package/examples/integration/tool/img/ic/accessControl.svg +0 -1
  59. package/examples/integration/tool/img/ic/account-location.svg +0 -1
  60. package/examples/integration/tool/img/ic/actionDelete.svg +0 -64
  61. package/examples/integration/tool/img/ic/actionOpen.svg +0 -64
  62. package/examples/integration/tool/img/ic/addFile.svg +0 -100
  63. package/examples/integration/tool/img/ic/addFile_off.svg +0 -102
  64. package/examples/integration/tool/img/ic/arrow-left.svg +0 -1
  65. package/examples/integration/tool/img/ic/arrow-right-drop-circle-outline.svg +0 -1
  66. package/examples/integration/tool/img/ic/bt_add_photo.svg +0 -3
  67. package/examples/integration/tool/img/ic/bug.svg +0 -1
  68. package/examples/integration/tool/img/ic/caret-down-bottomsheet.svg +0 -3
  69. package/examples/integration/tool/img/ic/checkbox-blank-outline-grey.svg +0 -8
  70. package/examples/integration/tool/img/ic/checkbox-blank-outline-white.svg +0 -8
  71. package/examples/integration/tool/img/ic/checkbox-blank-outline.svg +0 -1
  72. package/examples/integration/tool/img/ic/checkbox-marked-outline-grey.svg +0 -8
  73. package/examples/integration/tool/img/ic/checkbox-marked-outline-white.svg +0 -8
  74. package/examples/integration/tool/img/ic/checkbox-marked-outline.svg +0 -1
  75. package/examples/integration/tool/img/ic/chevron-down-grey.svg +0 -7
  76. package/examples/integration/tool/img/ic/chevron-down-white.svg +0 -7
  77. package/examples/integration/tool/img/ic/chevron-down.svg +0 -1
  78. package/examples/integration/tool/img/ic/chevron-right-grey.svg +0 -7
  79. package/examples/integration/tool/img/ic/chevron-right-white.svg +0 -7
  80. package/examples/integration/tool/img/ic/chevron-right.svg +0 -1
  81. package/examples/integration/tool/img/ic/comment-text-outline.svg +0 -1
  82. package/examples/integration/tool/img/ic/cookie.svg +0 -1
  83. package/examples/integration/tool/img/ic/delete.svg +0 -1
  84. package/examples/integration/tool/img/ic/dot.svg +0 -1
  85. package/examples/integration/tool/img/ic/dump.svg +0 -1
  86. package/examples/integration/tool/img/ic/e.svg +0 -9
  87. package/examples/integration/tool/img/ic/eye-off.svg +0 -1
  88. package/examples/integration/tool/img/ic/eye.svg +0 -1
  89. package/examples/integration/tool/img/ic/forbidden.svg +0 -1
  90. package/examples/integration/tool/img/ic/form-title-1.svg +0 -3
  91. package/examples/integration/tool/img/ic/group.svg +0 -1
  92. package/examples/integration/tool/img/ic/hamburger.svg +0 -1
  93. package/examples/integration/tool/img/ic/ic-users.svg +0 -1
  94. package/examples/integration/tool/img/ic/ic_dropdown-form-close.svg +0 -3
  95. package/examples/integration/tool/img/ic/ic_dropdown-form-link.svg +0 -3
  96. package/examples/integration/tool/img/ic/ic_feature-edit-cancel.svg +0 -14
  97. package/examples/integration/tool/img/ic/ic_feature-edit-save.svg +0 -14
  98. package/examples/integration/tool/img/ic/ic_gallery-item-delete.svg +0 -3
  99. package/examples/integration/tool/img/ic/ic_gallery-item-view.svg +0 -3
  100. package/examples/integration/tool/img/ic/ic_gps.svg +0 -3
  101. package/examples/integration/tool/img/ic/ic_search.svg +0 -5
  102. package/examples/integration/tool/img/ic/ic_selector_fechas.svg +0 -63
  103. package/examples/integration/tool/img/ic/ic_zoom-to-extent.svg +0 -3
  104. package/examples/integration/tool/img/ic/icon_reminder.png +0 -0
  105. package/examples/integration/tool/img/ic/image-gallery-placeholder.svg +0 -55
  106. package/examples/integration/tool/img/ic/imaqua.svg +0 -87
  107. package/examples/integration/tool/img/ic/incidencia.svg +0 -77
  108. package/examples/integration/tool/img/ic/info_multi_selection.svg +0 -230
  109. package/examples/integration/tool/img/ic/layers.svg +0 -1
  110. package/examples/integration/tool/img/ic/map-marker.svg +0 -3
  111. package/examples/integration/tool/img/ic/map.svg +0 -1
  112. package/examples/integration/tool/img/ic/measure_area.svg +0 -111
  113. package/examples/integration/tool/img/ic/minus.svg +0 -7
  114. package/examples/integration/tool/img/ic/notification.svg +0 -1
  115. package/examples/integration/tool/img/ic/offline.svg +0 -3
  116. package/examples/integration/tool/img/ic/online.svg +0 -1
  117. package/examples/integration/tool/img/ic/pencil.svg +0 -3
  118. package/examples/integration/tool/img/ic/plus.svg +0 -1
  119. package/examples/integration/tool/img/ic/polygon_selection.svg +0 -68
  120. package/examples/integration/tool/img/ic/power.svg +0 -1
  121. package/examples/integration/tool/img/ic/remoteLocalized.svg +0 -4
  122. package/examples/integration/tool/img/ic/remoteStartLocalize.svg +0 -4
  123. package/examples/integration/tool/img/ic/ruler.svg +0 -125
  124. package/examples/integration/tool/img/ic/selection-plus.svg +0 -10
  125. package/examples/integration/tool/img/ic/selection.svg +0 -1
  126. package/examples/integration/tool/img/ic/settings.svg +0 -1
  127. package/examples/integration/tool/img/ic/sort.svg +0 -1
  128. package/examples/integration/tool/img/ic/sort_asc.svg +0 -1
  129. package/examples/integration/tool/img/ic/sort_desc.svg +0 -1
  130. package/examples/integration/tool/img/ic/spreadsheet.svg +0 -3
  131. package/examples/integration/tool/img/ic/times.svg +0 -1
  132. package/examples/integration/tool/img/ic/toolbar/AB3.svg +0 -1
  133. package/examples/integration/tool/img/ic/toolbar/AB4.svg +0 -1
  134. package/examples/integration/tool/img/ic/toolbar/IC1.svg +0 -1
  135. package/examples/integration/tool/img/ic/toolbar/TB1.svg +0 -1
  136. package/examples/integration/tool/img/ic/toolbar/TB11.svg +0 -5
  137. package/examples/integration/tool/img/ic/toolbar/TB2.svg +0 -1
  138. package/examples/integration/tool/img/ic/toolbar/TB20.svg +0 -1
  139. package/examples/integration/tool/img/ic/toolbar/TB21.svg +0 -54
  140. package/examples/integration/tool/img/ic/toolbar/TB3.svg +0 -1
  141. package/examples/integration/tool/img/ic/toolbar/TB31.svg +0 -1
  142. package/examples/integration/tool/img/ic/toolbar/TB32.svg +0 -57
  143. package/examples/integration/tool/img/ic/toolbar/TB4.svg +0 -1
  144. package/examples/integration/tool/img/ic/toolbar/TB5.svg +0 -1
  145. package/examples/integration/tool/img/ic/toolbar/TB6.svg +0 -1
  146. package/examples/integration/tool/img/ic/toolbar/TB7.svg +0 -1
  147. package/examples/integration/tool/img/ic/toolbar/TB8.svg +0 -1
  148. package/examples/integration/tool/img/ic/tools.svg +0 -28
  149. package/examples/integration/tool/img/ic/user.svg +0 -1
  150. package/examples/integration/tool/img/ic/vector-polygon.svg +0 -1
  151. package/examples/integration/tool/img/ic/visit_manager.svg +0 -135
  152. package/examples/integration/tool/img/logo-footer-login.png +0 -0
  153. package/examples/integration/tool/img/logo-footer.png +0 -0
  154. package/examples/integration/tool/img/logo-header-login.png +0 -0
  155. package/examples/integration/tool/img/logo-header-login@2x.png +0 -0
  156. package/examples/integration/tool/img/logo-header-login@3x.png +0 -0
  157. package/examples/integration/tool/img/logo-header.png +0 -0
  158. package/examples/integration/tool/img/logo-header@2x.png +0 -0
  159. package/examples/integration/tool/img/logo-header@3x.png +0 -0
  160. package/examples/integration/tool/img/logo_project.png +0 -0
  161. package/examples/integration/tool/img/photo-gallery-placeholder.svg +0 -3
  162. package/examples/integration/tool/img/pixel.png +0 -0
  163. package/examples/integration/tool/index.html +0 -228
  164. package/examples/integration/tool/js/demo.js +0 -238
  165. package/examples/integration/tool/js/interface.js +0 -147
  166. package/examples/integration/tool/js/jquery.js +0 -4
  167. package/examples/integration/vanguardia.html +0 -6636
  168. package/examples/taigua/global.css +0 -10
  169. package/examples/xavi/index.html +0 -37
  170. package/examples/xavi/main.js +0 -168
@@ -1,167 +0,0 @@
1
- //main: style.scss
2
-
3
- .drop-down-form{
4
- display: flex;
5
- flex-direction: column;
6
- width: 350px;
7
- min-width: 320px;
8
- max-width: 100%;
9
- overflow: hidden;
10
- font-size: 12px;
11
- // Needs this !important because of the jQuery UI resize.
12
- position: absolute !important;
13
- left: auto !important;
14
- top: $header-height-mobile;
15
- right: 0;
16
- bottom: 0;
17
- max-height: 100%;
18
- background-color: #f5f5f5;
19
- transform: translateX(calc(100% + 20px)); // 100 panel + 20px shadow
20
- transition: transform .5s cubic-bezier(0.4, 0, 0.2, 1);
21
- pointer-events: auto;
22
- box-shadow: 0 0 19px 0 rgba(0, 0, 0, 0.5);
23
-
24
- @include only-desktop{
25
- top: $header-height-desktop;
26
- }
27
-
28
- &.visible{
29
- transform: translateX(0px);
30
-
31
- &.with-side-tools-open{
32
- max-width: calc(100% - 60px);
33
- @media (max-width: 700px){
34
- transform: translateX(-60px);
35
- }
36
- }
37
- }
38
-
39
- > .header{
40
- .title{
41
- display: flex;
42
- flex-direction: row;
43
- align-items: center;
44
- color: $color-text;
45
- padding: 5px 7px;
46
- font-size: 13px;
47
- font-weight: bold;
48
- background-color: #dadad9;
49
- text-transform: uppercase;
50
- border-bottom: 1px solid #adadad;
51
-
52
- > .ico-area{
53
- > img,
54
- > svg{
55
- display: block;
56
- margin-right: 5px;
57
- width: 20px;
58
- height: 20px;
59
- }
60
- }
61
- > span.title-area{
62
- flex-grow: 1;
63
- flex-shrink: 1;
64
- text-overflow: ellipsis;
65
- overflow: hidden;
66
- white-space: nowrap;
67
- }
68
- > .buttons-area{
69
- line-height: 0;
70
- flex-shrink: 0;
71
-
72
- button{
73
- padding: 0;
74
- background: none;
75
- border: none;
76
- margin-left: 5px;
77
-
78
- img{
79
- display: block;
80
- }
81
- }
82
- }
83
- }
84
-
85
- .tabs{
86
- ul{
87
- list-style: none;
88
- margin: 0;
89
- padding: 0;
90
- display: flex;
91
- flex-flow: row;
92
- }
93
- li{
94
- flex-grow: 1;
95
- flex-shrink: 1;
96
- flex-basis: 0;
97
- min-width: 0;
98
- border-bottom: 1px solid #adadad;
99
- transition: all .3s;
100
-
101
- &:not(:last-child){
102
- border-right: 1px solid #adadad;
103
- }
104
-
105
- &.active{
106
- border-bottom: 1px solid transparent;
107
- }
108
-
109
- }
110
-
111
- li.active button{
112
- outline: none;
113
- background-color: #f5f5f5;
114
- border: 1px solid white;
115
- border-bottom: 1px solid transparent;
116
- }
117
-
118
- button{
119
- @include ellipsize;
120
- background: none;
121
- border: none;
122
- display: block;
123
- width: 100%;
124
- border-radius: 0;
125
- font-size: 13px;
126
- font-weight: bold;
127
- letter-spacing: -0.5px;
128
- color: #1c1c1b;
129
- padding: 8px 3px;
130
- background-color: #e9e9e9;
131
- cursor: pointer;
132
- border: 1px solid transparent;
133
- transition: all .3s;
134
-
135
- &:active,
136
- &:focus{
137
- outline: none;
138
- }
139
- }
140
-
141
- }
142
- }
143
-
144
- > .content{
145
- padding: 15px 25px;
146
- overflow-y: scroll;
147
- overflow-x: hidden;
148
-
149
- // flex-grow: 1; // Uncomment this lines to let the footer
150
- // flex-shrink: 1; // at the bottom of the window
151
-
152
- .tab-content:not(:first-child){
153
- display: none;
154
- }
155
- }
156
-
157
- > .footer{
158
- z-index: 1; // Draw the shadow over the .content
159
- padding: 15px 25px;
160
- box-shadow:
161
- 0 -1px 0 0 #FFF,
162
- 0 -2px 0 0 #e5e5e5,
163
- 0 1px 0 0 #e5e5e5,
164
- 0 2px 0 0 #FFF;
165
- }
166
-
167
- }
@@ -1,416 +0,0 @@
1
- //main: style.scss
2
-
3
- .form{
4
- font-size: 13px;
5
- label{
6
- display: block;
7
- color: $color-menu-text-dimmed;
8
- font-weight: bold;
9
- }
10
- input[type=text],
11
- input[type=password],
12
- textarea{
13
- border: none;
14
- background-color: white;
15
- border-radius: 3px;
16
- padding: 6px 16px;
17
- font-size: 13px;
18
-
19
- &:focus,
20
- &:active{
21
- outline: none !important;
22
- }
23
-
24
- &.block{
25
- width: 100%;
26
- box-sizing: border-box;
27
- }
28
- }
29
- }
30
-
31
- .form-control,
32
- .form-group{
33
- margin: 1em 0;
34
- }
35
-
36
- .btn{
37
- background-color: black;
38
- color: white;
39
- margin: 1px 25px 1px 0;
40
- border-radius: 3px;
41
- padding: 5px 15px;
42
- font-size: 12px;
43
- border: none;
44
- background-color: $color-btn-default;
45
- border: 1px solid #717171;
46
- cursor: pointer;
47
- &[disabled]{
48
- opacity: .5;
49
- }
50
-
51
- &.btn-default-light{
52
- background-color: $color-btn-default-light;
53
- border: solid 1px #cececd;
54
- color: #1c1c1b;
55
- font-weight: 600;
56
- }
57
-
58
- &.va-top{
59
- vertical-align: top;
60
- }
61
-
62
- svg{
63
- fill: white;
64
- width: 20px;
65
- height: 20px;
66
- vertical-align: middle;
67
- }
68
-
69
- &.btn-success{
70
- background-color: $color-btn-success;
71
- border: 1px solid #009e89;
72
- }
73
-
74
- &.btn-accent{
75
- background-color: $color-btn-accent;
76
- border: 1px solid #004386;
77
- }
78
-
79
- &.btn-danger{
80
- background-color: $color-btn-danger;
81
- border: 1px solid #b5223f;
82
- }
83
-
84
- &:first-child{
85
- margin-left: 0;
86
- }
87
- &:last-child{
88
- margin-right: 0;
89
- }
90
-
91
- }
92
-
93
- .form-condensed-bottomsheet{
94
-
95
- .control{
96
- display: flex;
97
- justify-content: space-between;
98
- margin: .45em 0;
99
-
100
- input,
101
- select{
102
- background-color: white;
103
- border: none;
104
- width: 110px;
105
- border-radius: 3px;
106
- padding: 5px 8px;
107
- box-sizing: border-box;
108
-
109
- &[disabled]{
110
- opacity: .7;
111
- }
112
- }
113
- }
114
-
115
-
116
- }
117
-
118
- // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
119
- // A partir de aquí, están los nuevos. Lo anterior
120
- // debería poder eliminarse con el tiempo.
121
- // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
122
-
123
- .form-component{
124
-
125
- &.form-component--key-value{
126
- display: flex;
127
- flex-direction: row;
128
- margin: 3px 0;
129
-
130
- label{
131
- // width: 30%;
132
- font-size: 13px;
133
- color: #1c1c1b;
134
- white-space: normal;
135
- overflow: hidden;
136
- text-overflow: ellipsis;
137
- }
138
- input[type=text]{
139
- // width: 70%;
140
- padding: 4px;
141
- font-size: 11px;
142
- background-color: #ffffff;
143
- border: solid 1px #e5e5e5;
144
- }
145
-
146
- > :nth-child(1){
147
- width: 30%;
148
- }
149
- > :nth-child(2){
150
- width: 70%;
151
- }
152
- }
153
-
154
- &.form-component--select-multiple,
155
- &.form-component--list-box{
156
- padding: 5px 0;
157
-
158
- label{
159
- margin-bottom: 5px;
160
- display: block;
161
- }
162
-
163
- ul,
164
- select{
165
- display: block;
166
- width: 100%;
167
- border: 1px solid #e5e5e5;
168
- }
169
-
170
- ul{
171
- border: 1px solid #e5e5e5;
172
- background-color: white;
173
- list-style: none;
174
- padding: 0;
175
- margin: 0;
176
-
177
- overflow-y: auto;
178
-
179
- > li{
180
- color: #1c1c1b;
181
- font-size: 11px;
182
- margin: 0;
183
- padding: 5px;
184
- border-bottom: 1px solid #efefef;
185
- cursor: pointer;
186
-
187
- &:last-child(){
188
- border-bottom: none;
189
- }
190
- &:hover{
191
- background-color: #f7f7f7;
192
- }
193
-
194
- &.active{
195
- background-color: #005cb8;
196
- color: white;
197
- }
198
- }
199
- }
200
- }
201
-
202
- &.form-component--equal-buttons-row{
203
- display: flex;
204
- flex-direction: row;
205
- padding: 5px 0;
206
-
207
- button{
208
- flex-shrink: 1;
209
- flex-grow: 1;
210
- }
211
- }
212
-
213
- &.form-component--equal-columns-row{
214
- display: flex;
215
- flex-direction: row;
216
- padding: 5px 0;
217
-
218
- > div {
219
- flex-grow: 1;
220
- flex-basis: 0;
221
-
222
- &:not(:last-child){
223
- margin-right: 25px;
224
- }
225
- }
226
- }
227
-
228
- &.form-component--divider{
229
- margin: 15px -25px;
230
- box-sizing: border-box;
231
- border-top: 1px solid #e5e5e5;
232
- border-bottom: 1px solid white;
233
- }
234
-
235
- &.form-component--divider-huge{
236
- margin: 15px -25px;
237
- box-sizing: border-box;
238
- background-color: #e5e5e5;
239
- height: 7px;
240
- box-shadow: 0 1px 0 0 #cecece, // "Inner" bottom
241
- 0 -1px 0 0 #cecece, // "Inner" top
242
- 0 2px 0 0 white, // Outer bottom
243
- 0 -2px 0 0 white; // Outer top
244
- }
245
-
246
- &.form-component--label-and-input{
247
-
248
- label{
249
- display: block;
250
- margin-bottom: 5px;
251
- }
252
-
253
- &.formError{
254
- input{
255
- border: 1px solid red;
256
- }
257
- .error{
258
- font-size: 11px;
259
- color: red;
260
- text-align: right;
261
- }
262
- }
263
-
264
- input{
265
- padding: 4px;
266
- font-size: 11px;
267
- background-color: #ffffff;
268
- border: solid 1px #e5e5e5;
269
- width: 100%;
270
- }
271
-
272
- select{
273
- padding: 4px;
274
- font-size: 11px;
275
- background-color: #ffffff;
276
- background-image: url(../../img/ic/caret-down-bottomsheet.svg);
277
- background-repeat: no-repeat;
278
- background-position: right center;
279
- border: solid 1px #e5e5e5;
280
- width: 100%;
281
- -webkit-appearance: none;
282
- border-radius: 0;
283
- }
284
-
285
- textarea{
286
- padding: 4px;
287
- font-size: 11px;
288
- background-color: #ffffff;
289
- border: solid 1px #e5e5e5;
290
- width: 100%;
291
- resize: vertical;
292
- height: 100px;
293
- }
294
- }
295
-
296
- &.form-component--photo-gallery{
297
- &.two-cols > ul > li{
298
- width: calc(50% - 10px);
299
- &:nth-child(even){
300
- margin-left: 10px;
301
- }
302
- &:nth-child(odd){
303
- margin-right: 10px;
304
- }
305
- }
306
-
307
- &.three-cols > ul > li{
308
- width: calc(33% - 13px);
309
- &:nth-child(3n+2){
310
- margin: 0 20px;
311
- }
312
- }
313
-
314
- > ul{
315
- list-style: none;
316
- margin: 0;
317
- padding: 0;
318
-
319
- > li{
320
- margin: 0;
321
- display: inline-block;
322
- background-color: #7a7a7a;
323
- padding: 2px;
324
- margin-bottom: 20px;
325
- min-width: 100px;
326
- margin-right: 5px;
327
- > div.photo{
328
- background-color: #FFFFFF;
329
- background-image: url(../../img/ic/image-gallery-placeholder.svg);
330
- background-position: center center;
331
- background-repeat: no-repeat;
332
- position: relative;
333
- padding-top: 75%;
334
-
335
- > img{
336
- position: absolute;
337
- top: 0;
338
- left: 0;
339
- width: 100%;
340
- height: 100%;
341
- }
342
- }
343
- > div.doc{
344
- background-color: #FFFFFF;
345
- background-image: url(../../img/doc-gallery-placeholder.svg);
346
- background-position: center center;
347
- background-repeat: no-repeat;
348
- position: relative;
349
- padding-top: 75%;
350
-
351
- > img{
352
- position: absolute;
353
- top: 0;
354
- left: 0;
355
- width: 100%;
356
- height: 100%;
357
- }
358
- }
359
- > div.footer{
360
- padding: 5px;
361
- display: flex;
362
- justify-content: space-around;
363
-
364
- button{
365
- background: none;
366
- border: none;
367
- display: block;
368
-
369
- img{
370
- display: block;
371
- }
372
- }
373
- }
374
- }
375
-
376
- }
377
- }
378
-
379
- .spacer-5{
380
- height: 5px;
381
- }
382
- .spacer-10{
383
- height: 10px;
384
- }
385
- .spacer-15{
386
- height: 15px;
387
- }
388
- }
389
-
390
- .uib-datepicker-popup.dropdown-menu{
391
- position: absolute;
392
- left: 10px !important;
393
- right: 10px !important;
394
- background-color: white;
395
- margin: 0;
396
- margin-top: 10px;
397
- padding: 10px;
398
- box-sizing: border-box;
399
- box-shadow: 0 5px 17px 0 rgba(0,0,0,0.3);
400
- border-radius: 2px;
401
-
402
- li{
403
- margin: 0;
404
- padding: 0;
405
- }
406
-
407
- table{
408
- width: 100%;
409
- outline: none !important;
410
-
411
- .btn{
412
- padding: 4px 4px;
413
- font-size: 11px;
414
- }
415
- }
416
- }
@@ -1,134 +0,0 @@
1
- // main: style.scss
2
-
3
- $header-height-mobile: 60px;
4
- $header-height-desktop: 47px;
5
-
6
- header{
7
- width: 100%;
8
- height: $header-height-mobile;
9
- background-color: $color-accent;
10
- position: absolute;
11
- z-index: 1;
12
- display: flex;
13
- flex-direction: row;
14
-
15
- @include only-desktop{
16
- height: $header-height-desktop;
17
- }
18
-
19
- a.menu-toggle{
20
- display: inline-block;
21
- padding: $header-height-mobile / 4;
22
- background-color: $color-accent;
23
- width: $header-height-mobile;
24
- height: $header-height-mobile;
25
- box-sizing: border-box;
26
- @include only-desktop{
27
- width: $header-height-desktop;
28
- height: $header-height-desktop;
29
- padding: $header-height-desktop / 4;
30
- }
31
-
32
-
33
- > svg{
34
- position: absolute;
35
- display: block;
36
- width: $header-height-mobile / 2;
37
- height: $header-height-mobile / 2;
38
- @include only-desktop{
39
- width: $header-height-desktop / 2;
40
- height: $header-height-desktop / 2;
41
- }
42
- path{ fill: white; }
43
- }
44
-
45
- .hamburger, .times{
46
- transform: translateX(0);
47
- transition: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
48
- transition-property: transform, opacity, fill;
49
- }
50
-
51
- &.closed .times{ opacity: 0; transform: translateX(- $header-height-mobile / 2); }
52
- &.open .hamburger{ opacity: 0; transform: translateX($header-height-mobile / 2);}
53
-
54
- @include only-desktop{
55
- &.closed .times{ opacity: 0; transform: translateX(- $header-height-desktop / 4); }
56
- &.open .hamburger{ opacity: 0; transform: translateX($header-height-desktop / 4);}
57
- }
58
-
59
- }
60
-
61
- > .brand{
62
- flex-grow: 1;
63
- flex-shrink: 1;
64
-
65
- @include only-desktop{
66
- padding-top: 3px;
67
- }
68
-
69
- @include only-mobile-and-tablet{
70
- padding-top: 9px;
71
- }
72
- }
73
-
74
- > ul.tools{
75
- list-style: none;
76
- margin: 0;
77
- padding: 0;
78
- float: right;
79
- font-size: 0;
80
-
81
- @media (max-width: 699px){
82
- display: none;
83
- }
84
-
85
- > li {
86
- display: inline-block;
87
-
88
- &:not(:last-child){
89
- border-right: 1px solid $color-ul-tools-first;
90
- }
91
- &:not(:first-child){
92
- border-left: 1px solid $color-ul-tools-last;
93
- }
94
-
95
- > button{
96
- background: none;
97
- border: none;
98
- padding: 10px;
99
- height: $header-height-desktop;
100
- cursor: pointer;
101
-
102
- svg{
103
- height: 24px;
104
- width: 24px;
105
-
106
- path{
107
- fill: white;
108
- }
109
- }
110
-
111
- &:focus{
112
- box-shadow: none;
113
- outline: none;
114
- }
115
-
116
- &:disabled{
117
- cursor: not-allowed;
118
- svg path{
119
- fill: fade-out(white, .8);
120
- }
121
- }
122
-
123
- &:hover:not(:disabled),
124
- &.tool-selected:not(:disabled){
125
- background-color: $color-tb-tool-selected;
126
- svg path{
127
- fill: white;
128
- }
129
- }
130
- }
131
- }
132
- }
133
-
134
- }