-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove dependency and cartoview proxy
- Loading branch information
hisham waleed karam
committed
Dec 7, 2017
1 parent
5811850
commit 6100708
Showing
16 changed files
with
1,437 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
html, body, .full-height{ | ||
height: 100%; | ||
padding: 0; | ||
overflow: hidden; | ||
} | ||
.ol3-map{ | ||
position: relative; | ||
height: 100%; | ||
width: 100%; | ||
|
||
} | ||
|
||
.map-widget .popup-popover .navbar-text { | ||
margin-right: 0; | ||
margin-left: 0; | ||
} | ||
.map-widget .popup-popover .table-responsive{ | ||
max-height: 150px; | ||
} | ||
|
||
.map-widget .popup-popover { | ||
min-height: 300px; | ||
max-height: 300px; | ||
min-width: 400px; | ||
} | ||
.layers-switcher button{ | ||
padding-top: 2px; | ||
} | ||
.layers-switcher{ | ||
top: 70px; | ||
right: .5em; | ||
} | ||
|
||
.ol-control button:hover, .ol-control button:focus { | ||
background-color: #f4f4f4; | ||
} | ||
.ol-control button{ | ||
width: 26px; | ||
height: 26px; | ||
line-height: 26px; | ||
display: block; | ||
color: black; | ||
background-color: #fff; | ||
border-width: 0; | ||
} | ||
|
||
.ol-control{ | ||
padding:0; | ||
box-shadow: rgba(0, 0, 0, 0.65098) 0px 1px 5px 0px; | ||
border-radius: 4px; | ||
} | ||
.ol-scale-line.ol-unselectable{ | ||
background-color: rgba(255, 255, 255, 0.8); | ||
} | ||
|
||
|
||
.menu-toggle-btn{ | ||
position: absolute; | ||
top: 8px; | ||
left: 8px; | ||
z-index: 9999; | ||
} | ||
|
||
/* ZOOMBAR*/ | ||
.zoombar{ | ||
position: absolute; | ||
top: 10px; | ||
right: 15px; | ||
z-index: 1; | ||
width: 30px; | ||
padding: 0; | ||
} | ||
.zoombar .md-button{ | ||
min-width: 30px; | ||
margin: 0; | ||
} | ||
|
||
.zoombar .zoom-in-btn{ | ||
border-bottom-left-radius: 0; | ||
border-bottom-right-radius: 0; | ||
} | ||
|
||
.zoombar .zoom-out-btn{ | ||
border-top-left-radius: 0; | ||
border-top-right-radius: 0; | ||
} | ||
|
||
.rotation{ | ||
position: absolute; | ||
top: 90px; | ||
right: 15px; | ||
z-index: 1; | ||
width: 30px; | ||
padding: 0; | ||
} | ||
.rotation .md-button{ | ||
min-width: 30px; | ||
margin: 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
|
||
|
||
.pointer { | ||
cursor: pointer; | ||
} | ||
.floating-menu .md-button .floating-menu-item-icon{ | ||
font-size: 20px; | ||
} | ||
.floating-menu .md-button{ | ||
border-radius: 0; | ||
cursor: pointer; | ||
display: block; | ||
align-items: inherit; | ||
line-height: 40px; | ||
margin: 0; | ||
max-height: 40px; | ||
overflow: hidden; | ||
padding: 0px 16px; | ||
text-align: left; | ||
text-decoration: none; | ||
white-space: normal; | ||
width: 100%; | ||
} | ||
.md-button-toggle .md-toggle-icon { | ||
display: block; | ||
margin-left: auto; | ||
speak: none; | ||
vertical-align: middle; | ||
transform: rotate(180deg); | ||
-webkit-transform: rotate(180deg); | ||
transition: transform 0.3s ease-in-out; | ||
-webkit-transition: -webkit-transform 0.3s ease-in-out; | ||
} | ||
|
||
.md-button-toggle .md-toggle-icon.toggled { | ||
transform: rotate(0deg); | ||
-webkit-transform: rotate(0deg); | ||
} | ||
|
||
.content-panel { | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
z-index: 2; | ||
|
||
} | ||
.content-panel .header{ | ||
background-color: transparent; | ||
} | ||
.content-panel.has-content .header .md-button{ | ||
min-width: 56px; | ||
} | ||
.content-panel.has-content { | ||
bottom: 0; | ||
background-color: #FFFFFF; | ||
width: 360px; | ||
min-width: 30%; | ||
max-width: 100%; | ||
} | ||
.content-panel .content{ | ||
-webkit-transform: translate3d(0,0,0); | ||
transform: translate3d(0,0,0); | ||
} | ||
.map-results .map-results-header{ | ||
min-height: auto; | ||
} | ||
.map-results .map-results-header h4{ | ||
margin: 0; | ||
} | ||
|
||
.map-results table{ | ||
border-spacing: 0; | ||
} | ||
.map-results td, | ||
.map-results th{ | ||
padding: 8px; | ||
text-align: left; | ||
vertical-align: top; | ||
} | ||
.map-results th{ | ||
font-weight: bold; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/** | ||
* Created by kamal on 6/28/16. | ||
*/ | ||
'use strict'; | ||
(function () { | ||
window.angularAppDependencies = window.angularAppDependencies || []; | ||
console.debug(window.angularAppDependencies); | ||
var module = angular.module('cartoview.viewer.editor', [ | ||
'ngMaterial', | ||
'cartoview.base', | ||
'ngResourceTastypie', | ||
'cartoview.viewer.widgetsInfo', | ||
'cartoview.viewer.urlsHelper', | ||
'dcbImgFallback' | ||
].concat(window.angularAppDependencies)); | ||
module.config(function($tastypieProvider, $httpProvider, urlsHelper){ | ||
$tastypieProvider.setResourceUrl(urlsHelper.rest); | ||
|
||
$tastypieProvider.add('geonode', {url: urlsHelper.geonodeRest}); | ||
//$tastypieProvider.setDefault('cartoview'); | ||
|
||
$httpProvider.defaults.xsrfCookieName = 'csrftoken'; | ||
$httpProvider.defaults.xsrfHeaderName = 'X-CSRFToken'; | ||
}); | ||
})(); |
Oops, something went wrong.