diff --git a/config/defaults.js b/config/defaults.js index 6c918d27..64a2ce38 100755 --- a/config/defaults.js +++ b/config/defaults.js @@ -19,7 +19,7 @@ define({ //Default configuration settings for the application. This is where you'll define things like a bing maps key, //default web map, default app color theme and more. These values can be overwritten by template configuration settings and url parameters. "appid": "", //"73909e939be34d2b931f0765ba3bf4a6", - "webmap": "f5b13dbed07c46cdb783cf361833aa6b", + "webmap": "14ab61d83557477daac4e36fae8c992e", "oauthappid": null, //"AFTKRmv16wj14N3z", //Group templates must support a group url parameter. This will contain the id of the group. //group: "", @@ -28,7 +28,7 @@ define({ "proxyurl": "", "bingKey": "", //Enter the url to your organizations bing maps key if you want to use bing basemaps //Defaults to arcgis.com. Set this value to your portal or organization host name. - "sharinghost": location.protocol + "//" + "www.arcgis.com", + "sharinghost": "www.arcgis.com", // Define alt text for the map that can be read by screen readers "altMapText": null, // by default we'll read the web map snippet // Set splashModal to display a splash screen when the app loads @@ -49,6 +49,7 @@ define({ //Theme defines the background color of the title area and tool dialog //Color defines the text color for the title and details. Note that //both these values must be specified as hex colors. + "customLayout": "default", // default, sidetools, menubar "theme": "#105e78", "color": "#fff", "iconColor": "#fff", @@ -90,7 +91,8 @@ define({ "enabled": true }, { "name": "share", - "enabled": true + "enabled": true, + "embed": false }], //Set the active tool on the toolbar. //Set to "" to display no tools at startup @@ -130,8 +132,5 @@ define({ "center": null, "markerSymbol": "./images/EsriBluePinCircle26.png", "markerSymbolWidth": 26, - "markerSymbolHeight": 26, - //Replace these with your own bitly key - "bitlyLogin": "", - "bitlyKey": "" + "markerSymbolHeight": 26 }); diff --git a/config/templateConfig.js b/config/templateConfig.js index 2c1054b4..9d178e64 100755 --- a/config/templateConfig.js +++ b/config/templateConfig.js @@ -47,8 +47,8 @@ define({ //if you want users to be able to specify lat/lon coordinates that define the map's center or //specify an alternate basemap via a url parameter. "urlItems": [ - "color", "extent", "center", "level", "marker", "feature", "find", "sharedTheme", "sharedThemeItem" + "color", "extent", "center", "level", "marker", "feature", "find", "sharedTheme", "sharedThemeItem", "sharinghost","overwritesharing", "tool_share_embed", "customLayout" ], // For esri hosted environments only. Will automatically create a sharingurl and proxyurl for the application. - esriEnvironment: false + esriEnvironment: true }); diff --git a/css/styles.css b/css/styles.css index 7963a104..5f4cf29a 100644 --- a/css/styles.css +++ b/css/styles.css @@ -1,195 +1,209 @@ /*Phones (520px) Small Tablets (720px)*/ -html, body { - padding: 0; - margin: 0; - height: 100%; - width: 100%; - font-family: Arial, Helvetica, sans-serif; - overflow:hidden; -} -.noscroll{ - overflow: hidden; +html, +body { + padding: 0; + margin: 0; + height: 100%; + width: 100%; + font-family: Arial, Helvetica, sans-serif; + overflow: hidden; +} +.noscroll { + overflow: hidden; } /*Set opacity for fill symbols when searching*/ + g#mapDiv_graphics_layer path { fill-opacity: 0; } .modal-scrollbar { - margin-right: 17px; } - + margin-right: 17px; +} /* Fonts */ -@font-face { - font-family: "HelveticaNeue"; - src: url('../fonts/helveticaneue.eot'); - src: url('../fonts/helveticaneue.eot?#iefix') format('embedded-opentype'), url('../fonts/helveticaneue.woff') format('woff'), url('../fonts/helveticaneue.ttf') format('truetype'), url('../fonts/helveticaneue.svg#HelveticaNeue') format('svg'); - font-style: normal; - font-weight: normal; } @font-face { - font-family: "HelveticaNeueUltraLight "; - src: url('../fonts/helveticaneueultralight.eot'); - src: url('../fonts/helveticaneueultralight.eot?#iefix') format('embedded-opentype'), url('../fonts/helveticaneueultralight.woff') format('woff'), url('../fonts/helveticaneueultralight.ttf') format('truetype'), url('../fonts/helveticaneueultralight.svg#HelveticaNeueUltraLight') format('svg'); - font-style: normal; - font-weight: normal; } - + font-family: "HelveticaNeue"; + src: url('../fonts/helveticaneue.eot'); + src: url('../fonts/helveticaneue.eot?#iefix') format('embedded-opentype'), url('../fonts/helveticaneue.woff') format('woff'), url('../fonts/helveticaneue.ttf') format('truetype'), url('../fonts/helveticaneue.svg#HelveticaNeue') format('svg'); + font-style: normal; + font-weight: normal; +} +@font-face { + font-family: "HelveticaNeueUltraLight "; + src: url('../fonts/helveticaneueultralight.eot'); + src: url('../fonts/helveticaneueultralight.eot?#iefix') format('embedded-opentype'), url('../fonts/helveticaneueultralight.woff') format('woff'), url('../fonts/helveticaneueultralight.ttf') format('truetype'), url('../fonts/helveticaneueultralight.svg#HelveticaNeueUltraLight') format('svg'); + font-style: normal; + font-weight: normal; +} #mapDiv { - position: absolute;; - padding: 0; - margin: 0; - width: 100%; - height: 100%; + position: absolute; + ; + padding: 0; + margin: 0; + width: 100%; + height: 100%; } - .loading-indicator { - /* Loading status */ - display: none; - height: 100%; - width: 100%; - z-index: 500; - position: absolute; - top: 0; - left: 0; - overflow: hidden; - background: #fff; } + /* Loading status */ -.app-loading .loading-indicator, .app-error .loading-indicator { - /* Show this class when loading or error */ - display: block; } + display: none; + height: 100%; + width: 100%; + z-index: 500; + position: absolute; + top: 0; + left: 0; + overflow: hidden; + background: #fff; +} +.app-loading .loading-indicator, +.app-error .loading-indicator { + /* Show this class when loading or error */ + display: block; +} .app-loading .loading-indicator { - /* Loading image */ - background-position: center center; - background-image: url(../images/ajax-loader.gif); - background-repeat: no-repeat; } + /* Loading image */ + background-position: center center; + background-image: url(../images/ajax-loader.gif); + background-repeat: no-repeat; +} .app-error .loading-message { - /* Error status */ - background-position: top center; - background-image: url(../images/error.png); - background-repeat: no-repeat; - padding-top: 60px; - width: 100%; - position: absolute; - z-index: 2; - top: 40%; - left: 0; - text-align: center; + /* Error status */ + + background-position: top center; + background-image: url(../images/error.png); + background-repeat: no-repeat; + padding-top: 60px; + width: 100%; + position: absolute; + z-index: 2; + top: 40%; + left: 0; + text-align: center; } /*Layer List css modifications*/ -.esriLayer{ - background-color: #fff; + +.esriLayer { + background-color: #fff; } .esriLayerList .esriTitle { - background-color: #fff; - border-bottom:none; + background-color: #fff; + border-bottom: none; } - -.esriLayerList .esriContainer{ - border-bottom:1px solid #ccc; - border-top: none !important; - background-color:#fff; +.esriLayerList .esriContainer { + border-bottom: 1px solid #ccc; + border-top: none !important; + background-color: #fff; } -.esriLayerList .esriTitleContainer{ - border-top:1px solid #ccc; +.esriLayerList .esriTitleContainer { + border-top: 1px solid #ccc; } -.esriLayerList .esriList{ - border-top:none; - background-color:#fff; +.esriLayerList .esriList { + border-top: none; + background-color: #fff; } -.esriLayerList .esriToggleButton{ - margin-right:8px; +.esriLayerList .esriToggleButton { + margin-right: 8px; } /*WCAG 2.0 Contrast ratio update*/ /*.esriLayerList .esriScaleInvisible .esriLabel{ color:#767676; }*/ /*Overview Map widget enhancements*/ -.esriOverviewMap .ovwContainer{ - width:300px !important; + +.esriOverviewMap .ovwContainer { + width: 300px !important; } -#pageBody_layers{ - background-color: #fff; +#pageBody_layers { + background-color: #fff; } -#pageBody_overview{ - height:350px !important; +#pageBody_overview { + height: 350px !important; } @media only screen and (min-width: 720px) { - #pageBody_overview { - max-height: 80%; } } - + #pageBody_overview { + max-height: 80%; + } +} /*Editor*/ -.calcite .dijitTextBoxDisabled , .esriAttributeInspector .dijitTextBoxDisabled input{ - background-color: #d3d3d3; - padding:0 !important; + +.calcite .dijitTextBoxDisabled, +.esriAttributeInspector .dijitTextBoxDisabled input { + background-color: #d3d3d3; + padding: 0 !important; } /*Layer list dialog*/ -.layer-menu { - width: 100%; } +.layer-menu { + width: 100%; +} .layer-menu .dijitMenuItem:hover { - background: #d3d3d3; } - + background: #d3d3d3; +} .layer-menu .dijitMenuItemSelected { - background: #d3d3d3; } - + background: #d3d3d3; +} /* Esri Javascript API*/ -.templatePicker { - height: 100%; - padding-top: 30px; - border: none; } +.templatePicker { + height: 100%; + padding-top: 30px; + border: none; +} .esriEditor { - height: 100%; } - + height: 100%; +} .esriEditor .esriDrawingToolbar { - position: absolute; - right: 0; - left: 0; - top: 0; - border-top: none; - border-right: none; - border-left: none; } - .esriEditor .dojoxGridScrollbox{ - top:20px; - } -@media only screen and (min-width: 720px) { - .esriEditor .esriDrawingToolbar { - top: 0; + position: absolute; right: 0; - left: 0; } } - - + left: 0; + top: 0; + border-top: none; + border-right: none; + border-left: none; +} +.esriEditor .dojoxGridScrollbox { + top: 20px; +} +@media only screen and (min-width: 720px) { + .esriEditor .esriDrawingToolbar { + top: 0; + right: 0; + left: 0; + } +} .esriPopupMaximized { - top: 100px !important; } - - -.printTitle{ - width: 265px; - font-size: 12px; - border-width: 1px; - border-color: #CCC; - border-style: solid; - padding: 5px; - margin-bottom: 12px; - display:block; + top: 100px !important; +} +.printTitle { + width: 265px; + font-size: 12px; + border-width: 1px; + border-color: #CCC; + border-style: solid; + padding: 5px; + margin-bottom: 12px; + display: block; } /*Styles for the print dialog checkbox*/ + #pageBody_print .checkbox { - display: inline-block; - cursor: pointer; + display: inline-block; + cursor: pointer; } .esriPrint { - position: absolute; - bottom:5px; - right: 20px; + position: absolute; + bottom: 5px; + right: 20px; } - -.loadPrint{ - padding:0 0.3em; +.loadPrint { + padding: 0 0.3em; text-align: center; vertical-align: middle; - line-height:32px; + line-height: 32px; -webkit-animation-name: rotate; -webkit-animation-duration: 1s; -webkit-animation-iteration-count: infinite; @@ -204,956 +218,893 @@ g#mapDiv_graphics_layer path { animation-timing-function: linear; } @-webkit-keyframes rotate { - from {-webkit-transform: rotate(0deg);} - to {-webkit-transform: rotate(360deg);} + from { + -webkit-transform: rotate(0deg); + } + to { + -webkit-transform: rotate(360deg); + } } - @-moz-keyframes rotate { - from {-moz-transform: rotate(0deg);} - to {-moz-transform: rotate(360deg);} + from { + -moz-transform: rotate(0deg); + } + to { + -moz-transform: rotate(360deg); + } } - @keyframes rotate { - from {transform: rotate(0deg);} - to {transform: rotate(360deg);} + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } } -.esriBookmarks, .esriBookmarkTable, .esriBookmarkLabel{ - width:100%; +.esriBookmarks, +.esriBookmarkTable, +.esriBookmarkLabel { + width: 100%; } -.esriMeasurement .dijitButtonNode{ - padding:0; +.esriMeasurement .dijitButtonNode { + padding: 0; } - .esriMeasurement .areaIcon { - background-image: url(../images/area_measure.png); - background-position: center; - background-repeat: no-repeat; - width: 16px; - height: 16px; } - + background-image: url(../images/area_measure.png); + background-position: center; + background-repeat: no-repeat; + width: 16px; + height: 16px; +} .esriMeasurement .distanceIcon { - background-image: url(../images/dist_measure.png); - background-repeat: no-repeat; - background-position: center; - width: 16px; - height: 16px; } - + background-image: url(../images/dist_measure.png); + background-repeat: no-repeat; + background-position: center; + width: 16px; + height: 16px; +} .esriMeasurement .locationIcon { - background-image: url(../images/dist_point.png); - background-repeat: no-repeat; - background-position: center; - width: 16px; - height: 16px; } - + background-image: url(../images/dist_point.png); + background-repeat: no-repeat; + background-position: center; + width: 16px; + height: 16px; +} .esriMeasurement .esriButtonHover .dijitButtonNode { - background: #a9a9a9; } - + background: #a9a9a9; +} .esriMeasurement .esriButtonChecked .dijitButtonNode { - background: #a9a9a9; - width:28px; - height:28px; + background: #a9a9a9; + width: 28px; + height: 28px; } - .no-touch .esriMeasurement .esriButton .dijitButtonNode:hover { - background: #a9a9a9; } - + background: #a9a9a9; +} .locationIcon { - width: 32px; - height: 32px; } - - -.arcgisSearch{ - border:none; + width: 32px; + height: 32px; +} +.arcgisSearch { + border: none; } .arcgisSearch .searchGroup .searchInput { - /*width: 200px;*/ - padding: 6px 17px 6px 18px; - background-color: transparent; - background-color: rgba(0, 0, 0, 0.3); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4D000000,endColorstr=#4D000000); - zoom: 1; - color: #fff; + /*width: 200px;*/ + + padding: 6px 17px 6px 18px; + background-color: transparent; + background-color: rgba(0, 0, 0, 0.3); + filter: progid: DXImageTransform.Microsoft.gradient(startColorstr=#4D000000, endColorstr=#4D000000); + zoom: 1; + color: #fff; } -#search_input::-webkit-input-placeholder{ - color: #fff; +#search_input::-webkit-input-placeholder { + color: #fff; } -#search_input.dark::-webkit-input-placeholder{ - color: #000; +#search_input.dark::-webkit-input-placeholder { + color: #000; } -#search_input::-moz-placeholder{ - color: #fff; +#search_input::-moz-placeholder { + color: #fff; } -#search_input.dark::-moz-placeholder{ - color: #000; +#search_input.dark::-moz-placeholder { + color: #000; } -#search_input::-ms-input-placeholder{ - color: #fff; +#search_input::-ms-input-placeholder { + color: #fff; } -#search_input.dark::-ms-input-placeholder{ - color: #000; +#search_input.dark::-ms-input-placeholder { + color: #000; } -@media only screen and (max-width: 400px){ - .arcgisSearch .searchGroup .searchInput{ - /*width:130px;*/ - } +@media only screen and (max-width: 400px) { + .arcgisSearch .searchGroup .searchInput { + /*width:130px;*/ + } } @media only screen and (min-width: 800px) { - .arcgisSearch .searchGroup .searchInput { - display: block; } } - + .arcgisSearch .searchGroup .searchInput { + display: block; + } +} .arcgisSearch .searchClear { - background: none; - background-color: inherit; - color: #a8a8a8; } - + background: none; + background-color: inherit; + color: #a8a8a8; +} .arcgisSearch .searchBtn { - background-color: transparent; - background-color: rgba(0, 0, 0, 0.3); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4D000000,endColorstr=#4D000000); - color: #fff; } - + background-color: transparent; + background-color: rgba(0, 0, 0, 0.3); + filter: progid: DXImageTransform.Microsoft.gradient(startColorstr=#4D000000, endColorstr=#4D000000); + color: #fff; +} .simpleGeocoder .esriGeocoder { - display: block; - width: 100%; - margin: 0; - border: transparent; - background-color: transparent; - background-color: rgba(0, 0, 0, 0.3); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4D000000,endColorstr=#4D000000); - zoom: 1; - } - + display: block; + width: 100%; + margin: 0; + border: transparent; + background-color: transparent; + background-color: rgba(0, 0, 0, 0.3); + filter: progid: DXImageTransform.Microsoft.gradient(startColorstr=#4D000000, endColorstr=#4D000000); + zoom: 1; +} .simpleGeocoder .esriGeocoderMenu { - color: #333; } - + color: #333; +} .simpleGeocoder .esriGeocoderResults { - border: transparent; - background-color: transparent; - background-color: rgba(0, 0, 0, 0.6); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000); - zoom: 1; } - + border: transparent; + background-color: transparent; + background-color: rgba(0, 0, 0, 0.6); + filter: progid: DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000); + zoom: 1; +} .simpleGeocoder .esriGeocoder input { - color: #FFF !important; } - -.simpleGeocoder .esriGeocoderResult:hover, .simpleGeocoder .esriGeocoderResultEven:focus, .simpleGeocoder .esriGeocoderResultOdd:focus { - background-color: transparent; - background-color: rgba(0, 0, 0, 0.3); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4D000000,endColorstr=#4D000000); - zoom: 1; } - + color: #FFF !important; +} +.simpleGeocoder .esriGeocoderResult:hover, +.simpleGeocoder .esriGeocoderResultEven:focus, +.simpleGeocoder .esriGeocoderResultOdd:focus { + background-color: transparent; + background-color: rgba(0, 0, 0, 0.3); + filter: progid: DXImageTransform.Microsoft.gradient(startColorstr=#4D000000, endColorstr=#4D000000); + zoom: 1; +} .simpleGeocoder .esriGeocoder .esriGeocoderMenuArrow { - background: none; } - + background: none; +} .simpleGeocoder .esriGeocoder .esriGeocoderMenuArrow:before { - content: "\e809"; - width: 16px; - height: 16px; - font-size: 16px; - color: #a8a8a8; - font-family: "tool-icons"; } - + content: "\e809"; + width: 16px; + height: 16px; + font-size: 16px; + color: #a8a8a8; + font-family: "tool-icons"; +} .esriMeasurement .esriMeasurementResultLabel { - text-align: left; - font-weight: 500; } - -.esriControlsBR { - position: absolute; - left: 0px; - bottom: 0px; } - -.logo-med { - position: absolute; - left: 0px; - bottom: 0px; } - -.logo-sm { - position: absolute; - left: 0px; - bottom: 0px; } - -.esriAttribution { - position: absolute; - left: 65px; - bottom: 5px; } - -.esriBasemapGallery { - padding: 20px; + text-align: left; + font-weight: 500; } -.esriBasemapGalleryNode{ - height:105px !important; +.esriBasemapGallery { + padding: 20px; } -.esriBasemapGallerySelectedNode .esriBasemapGalleryThumbnail{ +.esriBasemapGalleryNode { + height: 105px !important; } -.esriBasemapGalleryLabelContainer{ - line-height: 10px; - font-size:10px; +.esriBasemapGallerySelectedNode .esriBasemapGalleryThumbnail {} .esriBasemapGalleryLabelContainer { + line-height: 10px; + font-size: 10px; } .scalebar_bottom-left { - left: 25px; - bottom: 40px; -} -.HomeButton .home{ - width:30px; - height:25px; - /*display:none;*/ - background-color: transparent; - background-image:none; - vertical-align: middle; - text-align: center; - cursor:pointer; - padding: 0px !important; + left: 25px; + bottom: 40px; } -.esriSimpleSlider { - text-align: center; - color: #ffffff; - background-color: transparent; - background-color: rgba(255, 255, 255, 0.8); - cursor: pointer; - border-radius: 0; +.HomeButton .home { + width: 30px; + height: 25px; + + background-color: transparent; + background-image: none; + vertical-align: middle; + text-align: center; + cursor: pointer; + padding: 0px !important; } -.esriSimpleSliderVertical .esriSimpleSliderIncrementButton, .esriSimpleSliderVertical .esriSimpleSliderDecrementButton{ - border-radius: 0; +.esriSimpleSlider { + text-align: center; + color: #ffffff; + background-color: transparent; + background-color: rgba(255, 255, 255, 0.8); + cursor: pointer; + border-radius: 0; } - -@media only screen and (min-width: 760px) { - - .esriSimpleSliderTL{ - top:10px !important; - left:10px !important; - } +.esriSimpleSliderVertical .esriSimpleSliderIncrementButton, +.esriSimpleSliderVertical .esriSimpleSliderDecrementButton { + border-radius: 0; } - -.homeEnabled .esriSimpleSliderIncrementButton, .homeEnabled .esriSimpleSliderDecrementButton, .homeEnabled .HomeButton{ - height:25px; +.homeEnabled .esriSimpleSliderIncrementButton, +.homeEnabled .esriSimpleSliderDecrementButton, +.homeEnabled .HomeButton { + height: 25px; } - .esriSimpleSlider div { - font-size: 14px; - font-family: verdana, helvetica; - font-weight: bold; - -webkit-user-select: none; } - -.esriSimpleSliderTL { - top:auto; - left:auto; - top:80px; - left:0; - border: none; + font-size: 14px; + font-family: verdana, helvetica; + font-weight: bold; + -webkit-user-select: none; +} +.esriSimpleSliderDecrementButton:hover, +.esriSimpleSliderIncrementButton:hover, +.HomeButton .home:hover { + border-radius: 0; + background-color: transparent; + background-color: rgba(0, 0, 0, 0.3); + zoom: 1; } - -.esriSimpleSliderDecrementButton:hover, .esriSimpleSliderIncrementButton:hover, .HomeButton .home:hover { - border-radius: 0; - background-color: transparent; - background-color: rgba(0, 0, 0, 0.3); - zoom: 1; -} - .esriSimpleSliderVertical .esriSimpleSliderIncrementButton { - border: none !important; + border: none !important; } - -.LocateButton .zoomLocateButton:before ,.HomeButton .home:before { +.icon-home, .icon-locate{ + display: block; +} +.icon-home:before, .icon-locate:before{ font-size: 13px; font-family: "tool-icons"; text-align: center; speak: none; - border-radius:0; + border-radius: 0; +} +.HomeButton span.icon-home, .LocateButton span.icon-locate{ + display: block; } -.HomeButton .home:before { +.icon-home:before{ content: "\e800"; + speak:none; } - -.LocateButton .zoomLocateButton:before { +.icon-locate:before{ + speak:none; content: "\e630"; - } -.LocateButton .zoomLocateButton{ - background-image:none; - background-color: rgba(0, 0, 0, 0.3); - color:#fff; - width:30px; - height:30px; - line-height: 30px; - border-radius: 0; - text-align: center; - vertical-align: middle; - font-family: "tool-icons"; - font-size:14px; - padding:0; -} -#locateDiv{ - position: absolute; - z-index: 10; - top:155px; - left:0; - } - .noslider #locateDiv{ - top:80px; - } - .scalebar_bottom-left { - left: 25px; - bottom: 40px; } +} +.LocateButton .zoomLocateButton { + background-image: none; + background-color: rgba(0, 0, 0, 0.3); + color: #fff; + width: 30px; + height: 30px; + line-height: 30px; + border-radius: 0; + text-align: center; + vertical-align: middle; + font-family: "tool-icons"; + font-size: 14px; + padding: 0; +} +.scalebar_bottom-left { + left: 25px; + bottom: 40px; +} img { - border: 0; + border: 0; } .LocateButton .tracking { background-image: none !important; border: solid 1px #fff; } - /* Template */ -.bg { - display: block; } +.bg { + display: block; +} .fc { - font-weight: bold; } - - -#panelContent { - top:90px; - font-family: Helvetica, Arial, sans-serif; - position: absolute; - right: 310px; - max-height:80%; - width: 0px; - display: block; - background-color: transparent; - background-color: rgba(0, 0, 0, 0.5); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#80000000,endColorstr=#80000000); - zoom: 1; } - + font-weight: bold; +} #panelPages { - width: 100%; - height: 100%; - background-color: transparent; - background-color: rgba(255, 0, 0, 0.5); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#80FF0000,endColorstr=#80FF0000); - zoom: 1; } - + width: 100%; + height: 100%; + background-color: transparent; + background-color: rgba(255, 0, 0, 0.5); + filter: progid: DXImageTransform.Microsoft.gradient(startColorstr=#80FF0000, endColorstr=#80FF0000); + zoom: 1; +} .page { - display:block; + display: block; } - -.hide{ - display:none; +.hide { + display: none; } .pageContent { - width: 300px; - display: block; - background-color: transparent; - background-color: white; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#FFFFFFFF,endColorstr=#FFFFFFFF); - zoom: 1; } - -@media only screen and (min-width: 850px) { - #panelContent{ - top:10px; - } + width: 300px; + display: block; + background-color: transparent; + background-color: white; + filter: progid: DXImageTransform.Microsoft.gradient(startColorstr=#FFFFFFFF, endColorstr=#FFFFFFFF); + zoom: 1; } -@media only screen and (min-width: 760px){ - .no-search #panelContent{ - top:10px; - } +#panelContent { + font-family: Helvetica, Arial, sans-serif; + position: absolute; + max-height: 80%; + width: 0px; + display: block; + background-color: transparent; + background-color: rgba(0, 0, 0, 0.5); + filter: progid: DXImageTransform.Microsoft.gradient(startColorstr=#80000000, endColorstr=#80000000); + zoom: 1; } /*Rules for popup when displayed in panel*/ -.panelPopup{ - display: none; -} -.hidden{ - display:none; -} -.popupHeader{ - font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; - font-size:12px; - font-weight: bold; -} -#popupContainer{ - font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; - font-size:12px; - width:100%; - height: 100%; - padding:0 !important; - margin: 0 auto; -} -.esriViewPopup{ - padding:.4em; -} -#popupFooter > .action:before{ - content:"\e800"; - font-family: "popup"; -} -#popupFooter > .action:hover:before{ - color:#6b6b6b; -} -#popupFooter > .action{ - padding: 0 5px; - text-decoration: none; - color: #000; -} -.titlePane{ - height:20px; - line-height: 16px; -} -.esriPopup.light .titlePane, .esriPopup.dark .titlePane{ - font-size: 12px; - line-height: 16px; - height: 30px; - padding: 10px; - border: 0; - border-radius: 3px 3px 0 0; - -webkit-border-radius: 3px 3px 0 0; -} -.esriPopup.light .titlePane .title, .esriPopup.dark .titlePane .title{ - line-height: 16px; -} -.popupTitle{ - width:100%; - padding:10px; - font-size: 12px; - line-height: 16px; -} -.popupButton{ - position: absolute; - text-align: center; - width:16px; - height: 16px; - background:none; - font-size: 12px; - line-height: 16px; - top:10px; - cursor:pointer; - background-color: transparent; - border:none; - overflow:visible; -} -.popupButton:hover{ - /*match out of the box hover color for home and locate*/ - background-color: transparent; - background-color: rgba(102, 102, 102, 0.6); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#E6666666,endColorstr=#E6666666); - zoom: 1; -} -.popupButton.next:before{ - font-family: "popup"; - content:"\e808"; -} -.popupButton.prev{ - right:73px; -} -.popupButton.next{ - right:55px; -} -.popupButton.close{ - right:20px; -} -.popupButton.prev:before{ - font-family: "popup"; - content:"\e809"; -} -.popupButton.close:before{ - font-family: "popup"; - content:"\e806"; -} -.esriPopup .actionsPane .action{ - margin-right:20px; -} -a.action.zoomTo > span{ - margin-left:4px; -} -.actionList > .action:before{ - content:"\e800"; - font-family: "popup"; +.panelPopup { + display: none; } -.actionList > .action:hover:before{ - color:#6b6b6b; +.hidden { + display: none; } -.actionList > .action{ - padding: 0 10px 10px 0; - text-decoration: none; - color: #000; +.popupHeader { + font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; + font-size: 12px; + font-weight: bold; } -#pageBody_popup{ - overflow-x:auto !important; - height:auto; +#popupContainer { + font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; + font-size: 12px; + width: 100%; + height: 100%; + padding: 0 !important; + margin: 0 auto; + background-color:#fff; +} +.esriViewPopup { + padding: .4em; } #popupFooter{ - padding:4px; + background-color: #fff; } -.popupTitle{ - position: absolute; - left:5px; +#popupFooter > .action:before { + content: "\e800"; + font-family: "popup"; +} +#popupFooter > .action:hover:before { + color: #6b6b6b; +} +#popupFooter > .action { + padding: 0 5px; + text-decoration: none; + color: #000; +} +.titlePane { + height: 20px; + line-height: 16px; +} +.esriPopup.light .titlePane, +.esriPopup.dark .titlePane { + font-size: 12px; + line-height: 16px; + height: 30px; + padding: 10px; + border: 0; + border-radius: 3px 3px 0 0; + -webkit-border-radius: 3px 3px 0 0; +} +.esriPopup.light .titlePane .title, +.esriPopup.dark .titlePane .title { + line-height: 16px; +} +.popupTitle { + width: 100%; + padding: 10px; + font-size: 12px; + line-height: 16px; +} +.popupButton { + position: absolute; + text-align: center; + width: 16px; + height: 16px; + background: none; + font-size: 12px; + line-height: 16px; + top: 10px; + cursor: pointer; + background-color: transparent; + border: none; + overflow: visible; +} +.popupButton:hover { + /*match out of the box hover color for home and locate*/ + + background-color: transparent; + background-color: rgba(102, 102, 102, 0.6); + filter: progid: DXImageTransform.Microsoft.gradient(startColorstr=#E6666666, endColorstr=#E6666666); + zoom: 1; +} +.popupButton.next:before { + font-family: "popup"; + content: "\e808"; +} +.popupButton.prev { + right: 73px; +} +.popupButton.next { + right: 55px; +} +.popupButton.close { + right: 20px; +} +.popupButton.prev:before { + font-family: "popup"; + content: "\e809"; +} +.popupButton.close:before { + font-family: "popup"; + content: "\e806"; } -.popupHeader{ - position: relative; - display: block; - width:100%; - height: 40px; - line-height: 40px; +.esriPopup .actionsPane .action { + margin-right: 20px; +} +a.action.zoomTo > span { + margin-left: 4px; +} +.actionList > .action:before { + content: "\e800"; + font-family: "popup"; +} +.actionList > .action:hover:before { + color: #6b6b6b; +} +.actionList > .action { + padding: 0 10px 10px 0; + text-decoration: none; + color: #000; +} +#pageBody_popup { + overflow-x: auto !important; + height: auto; +} +#popupFooter { + padding: 4px; +} +.popupTitle { + position: absolute; + left: 5px; +} +.popupHeader { + position: relative; + display: block; + width: 100%; + height: 40px; + line-height: 40px; } .pageHeader { - position: relative; - width: 100%; - height: 90px; - text-align: center; - display: block; } - + position: relative; + width: 100%; + height: 90px; + text-align: center; + display: block; +} .pageTitle { - position: absolute; - left: 80px; - width: auto; - height: 90px; - line-height: 45px; - color: #ffffff; - overflow: hidden; + position: absolute; + left: 80px; + width: auto; + height: 90px; + line-height: 45px; + color: #ffffff; + overflow: hidden; } - .pageHeaderImg { - position: absolute; - left: 5px; - margin-left: 0px; - top: 5px; - width: 60px; - height: 60px; - line-height: 50px; - border: 5px solid rgba(0, 0, 0, 0.1); - -webkit-border-radius: 35px; - -moz-border-radius: 35px; - -ms-border-radius: 35px; - border-radius: 35px; } - + position: absolute; + left: 5px; + margin-left: 0px; + top: 5px; + width: 60px; + height: 60px; + line-height: 50px; + border: 5px solid rgba(0, 0, 0, 0.1); + -webkit-border-radius: 35px; + -moz-border-radius: 35px; + -ms-border-radius: 35px; + border-radius: 35px; +} .pageIcon { - vertical-align: middle; - font-size:25px; - text-align: center; + vertical-align: middle; + font-size: 25px; + text-align: center; } - -.pageNav{ - cursor: pointer; - position: absolute; - right:5px; - display: block; - background-color:transparent; - border:none; +.pageNav { + cursor: pointer; + position: absolute; + right: 5px; + display: block; + background-color: transparent; + border: none; } .pageClose { - top: 9px; - } + top: 9px; +} .pageUp { - top: 35px; - } -.pageDown:before, .pageUp:before, .pageClose:before{ - font-family: "tool-icons"; - font-size:12px; - line-height: 14px; - background-color: rgba(0, 0, 0, 0.3); - border-radius: 20px; - padding:4px; + top: 35px; +} +.pageDown:before, +.pageUp:before, +.pageClose:before { + font-family: "tool-icons"; + font-size: 12px; + line-height: 14px; + background-color: rgba(0, 0, 0, 0.3); + border-radius: 20px; + padding: 4px; } .pageDown { - top: 60px; + top: 60px; } -.pageClose:before{ - content:"\e600"; +.pageClose:before { + content: "\e600"; } -.pageUp:before{ - content: "\e682"; +.pageUp:before { + content: "\e682"; } -.pageDown:before{ - content: "\e681"; +.pageDown:before { + content: "\e681"; } -.icons-dark{ - color:#333; +.icons-dark { + color: #333; } .pageBody { - position: relative; - top: 0; - /*display: -moz-box; - display: -webkit-box; - display: box;*/ - display:block; - max-height: 400px; - width:100%; - overflow-x:hidden; - overflow-y:auto; - color: #000000; + position: relative; + top: 0; + display: block; + max-height: 400px; + width: 100%; + overflow-x: hidden; + overflow-y: auto; + color: #000000; } - #pageBody_print { - padding: 10px; - height:120px; + padding: 10px; + height: 120px; } - #pageBody_legend { - padding-top: 20px; + padding-top: 20px; } @media only screen and (max-width: 480px) { - #pageBody_legend { - max-height:250px; - } - .pageBody{ - max-height: 250px; - } + #pageBody_legend { + max-height: 250px; + } + .pageBody { + max-height: 250px; + } } -.legend{ - margin:auto; - max-width: 90%; +.legend { + margin: auto; + max-width: 90%; } - - #pageBody_share { - padding: 5px 20px; - overflow-y: auto; + padding: 5px 20px; + overflow-y: auto; } - .desc { - padding: 10px; } - -#pageBody_details { - padding: 5px; - max-width: 288px; + padding: 10px; } - -#panelTop { - position: fixed; - left: 0px; - top: 0px; - width: 100%; - color: #ffffff; - padding: 0px; - display: block; - overflow: visible; - height: 75px; +#pageBody_details { + padding: 5px; + max-width: 288px; } - @media only screen and (min-width: 760px) { - #panelTop { - width: auto; - left: 44px; - top: 10px; - } - .noslider #panelTop{ - left:10px; - } - #locateDiv{ - left:auto; - left:10px; - top:90px; - } #panelLogo { - margin-left: 5px; - display:block !important; - overflow: hidden; - float: left; - line-height: 45px; - width:45px; - height: 45px; + margin-left: 5px; + display: block !important; + overflow: hidden; + float: left; + line-height: 45px; + width: 45px; + height: 45px; } - #panelLogo img { - vertical-align: middle; - line-height: inherit; - max-width: 45px; - max-height: 45px; + vertical-align: middle; + line-height: inherit; + max-width: 45px; + max-height: 45px; } - - } +} #panelTitle { - height: 45px; - width: 100%; - float: left; - color: #ffffff; - display: block; - border-bottom: 1px solid rgba(255, 255, 255, 0.5); - font-family: "Helvetica Neue", "Arial", sans-serif; - font-weight: normal; + height: 45px; + width: 100%; + float: left; + color: #ffffff; + display: block; + border-bottom: 1px solid rgba(255, 255, 255, 0.5); + font-family: "Helvetica Neue", "Arial", sans-serif; + font-weight: normal; } - #panelLogo { - display: block !important; - width: 45px; - height: 45px; - overflow: hidden; - float: left; - line-height: 45px; - margin-left: 5px; -} - #panelLogo img{ - max-width:45px !important; - max-height:45px !important; + display: block !important; + width: 45px; + height: 45px; + overflow: hidden; + float: left; + line-height: 45px; + margin-left: 5px; } - -#panelText { - z-index: 40; - float: left; - max-width: 196px; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - margin-left: 5px; - height:50px; - line-height: 50px; -} -h1, h2{ - margin:0; +#panelLogo img { + max-width: 45px !important; + max-height: 45px !important; } - -#title{ - overflow: hidden; - text-overflow:ellipsis; - height: 30px; - line-height: 30px; - font-size: 1.3em; -} -#subtitle{ - overflow: hidden; - text-overflow:ellipsis; - height: 15px; - line-height: 10px; - font-size: 0.9em; -} -#title.nosubtitle{ - overflow: hidden; - text-overflow:ellipsis; - height: 45px; - line-height: 45px; +#panelText { + z-index: 40; + float: left; + max-width: 196px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + margin-left: 5px; + height: 50px; + line-height: 50px; +} +h1, +h2 { + margin: 0; +} +#title { + overflow: hidden; + text-overflow: ellipsis; + height: 30px; + line-height: 30px; + font-size: 1.3em; +} +#subtitle { + overflow: hidden; + text-overflow: ellipsis; + height: 15px; + line-height: 10px; + font-size: 0.9em; +} +#title.nosubtitle { + overflow: hidden; + text-overflow: ellipsis; + height: 45px; + line-height: 45px; } - @media only screen and (min-width: 720px) { - #panelText { - max-width: 300px; - } + #panelText { + max-width: 300px; + } } - @media only screen and (min-width: 800px) { - #panelText { - max-width: 400px; - } + #panelText { + max-width: 400px; + } } - #panelSearch { - float:right; - margin:7px 4px 10px 4px; + float: right; + margin: 7px 4px 10px 4px; } - @media only screen and (min-width: 720px) { - #panelSearch { - margin: 7px 4px 10px 20px; - float: right; } } - -#panelTools { - position: relative; - left: 0px; - top: 0px; - min-height: 30px; - width: 100%; - display: block; - clear: both; } - -@media only screen and (min-width: 720px) { - #panelTools { - display: block !important; - } } - + #panelSearch { + margin: 7px 4px 10px 20px; + float: right; + } +} #panelMenu { - position: absolute; - top: 10px; - right: 2px; - font-size: 24px; - cursor: pointer; - color: #fff; - display: block; } - + position: absolute; + top: 10px; + right: 2px; + font-size: 24px; + cursor: pointer; + color: #fff; + display: block; +} @media only screen and (min-width: 720px) { - #panelMenu { - display: none; } - } - + #panelMenu { + display: none; + } +} .panelTool { - padding:0; - float: left; - width: 26px; - height: 26px; - text-align: center; - line-height: 26px; - margin:2px 0 2px 0; - border:none; - background-color:transparent; + padding: 0; + float: left; + height: 26px; + text-align: center; + line-height: 26px; + margin: 2px 0 2px 0; + border: none; + background-color: transparent; } .tool { - width: 26px; - height: 26px; - cursor: pointer; + width: 26px; + height: 26px; + cursor: pointer; } #panelHome { - float: left; - width: 26px; - height: 26px; - line-height: 26px; - margin: 2px 0 2px 0; + float: left; + width: 26px; + height: 26px; + line-height: 26px; + margin: 2px 0 2px 0; } - #panelLocate { - float: left; - width: 26px; - height: 26px; - line-height: 26px; - margin: 2px 0 2px 0; + float: left; + width: 26px; + height: 26px; + line-height: 26px; + margin: 2px 0 2px 0; } - /*Added hover to match the out-of-the-box hover for the home and locate buttons*/ -.no-touch .panelTool:hover { - background-color: transparent; - background-color: rgba(102, 102, 102, 0.4); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#E6666666,endColorstr=#E6666666); - zoom: 1; } +.no-touch .panelTool:hover { + background-color: transparent; + background-color: rgba(102, 102, 102, 0.4); + filter: progid: DXImageTransform.Microsoft.gradient(startColorstr=#E6666666, endColorstr=#E6666666); + zoom: 1; +} .panelToolActive { - background-color: transparent; - background-color: rgba(0, 0, 0, 0.3); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4D000000,endColorstr=#4D000000); - zoom: 1; } - - - + background-color: transparent; + background-color: rgba(0, 0, 0, 0.3); + filter: progid: DXImageTransform.Microsoft.gradient(startColorstr=#4D000000, endColorstr=#4D000000); + zoom: 1; +} /*Share Dialog updates*/ .calcite .icon-container { - margin: 10px 0 10px; - display: none; } - + margin: 10px 0 10px; + display: none; +} @media only screen and (min-width: 720px) { - .calcite .icon-container { - display: block; } } - + .calcite .icon-container { + display: block; + } +} .calcite .map-size-label { - float: left; - font-size: 15px; - margin: 0 5px 0 0; } - + float: left; + font-size: 15px; + margin: 0 5px 0 0; +} .esriRTL .calcite .map-size-label { - float: right; - margin: 0 0 0 5px; } - + float: right; + margin: 0 0 0 5px; +} .calcite .share-dialog-icon { - background-color: transparent; - border:none; - font-size: 24px; - line-height: 24px; - float: left; - color: rgba(0, 0, 0, 0.3); - cursor: pointer; - display: block; } - + background-color: transparent; + border: none; + font-size: 24px; + line-height: 24px; + float: left; + color: rgba(0, 0, 0, 0.3); + cursor: pointer; + display: block; +} .calcite .share-dialog-icon:visited { - color: rgba(0, 0, 0, 0.5); } - + color: rgba(0, 0, 0, 0.5); +} .esriRTL .calcite .share-dialog-icon { - float: right; - margin: 0 0 0 10px; } - + float: right; + margin: 0 0 0 10px; +} .calcite .share-dialog-icon:hover { - color: rgba(0, 0, 0, 0.8); } - + color: rgba(0, 0, 0, 0.8); +} .calcite .share-map-url { - width: 50%; - min-width: 80%; - max-width: 90%; - height: 25px; - font-size: 14px; - color: #777; - border: 1px solid #dcdcdc; - margin: 0 0 10px; } - + width: 50%; + min-width: 80%; + max-width: 90%; + height: 34px; + padding:7px 8px; + font-size: 14px; + color: #777; + border: 1px solid #dcdcdc; + margin: 0 0 10px; +} +.clippy{ + width:13px; + height:13px; + color:#333; +} +.share-btn{ + position: relative; + display: inline-block; + padding: 6px 12px; + font-size: 13px; + font-weight: bold; + line-height: 20px; + color: #333; + white-space: nowrap; + cursor: pointer; + background-color: #eee; + background-image: linear-gradient(#fcfcfc,#eee); + border: 1px solid #d5d5d5; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + -webkit-appearance: none; +} .calcite .map-size-container { - margin: 0; - padding: 0 0 20px; } - -.calcite .embed-map-size-clear, .calcite .icon-clear { - clear: both; } - + margin: 0; + padding: 0 0 20px; +} +.calcite .embed-map-size-clear, +.calcite .icon-clear { + clear: both; +} .calcite .embed-map-size-dropdown { - float: left; } - + float: left; +} .esriRTL .calcite .embed-map-size-dropdown { - float: right; } - + float: right; +} .calcite .share-dialog-subheader { - font-size: 17px; - display: none; } - + font-size: 17px; + display: none; +} @media only screen and (min-width: 720px) { - .calcite .share-dialog-subheader { - display: block; } } - -.calcite .share-dialog-textarea { - width: auto; - max-width: 90%; - width: 80%; - height: 50px; - font-size: 14px; - color: #777; - border: 1px solid #dcdcdc; - margin: 0 0 10px; } - -.share-dialog-extent{ - height:30px; - line-height: 30px; + .calcite .share-dialog-subheader { + display: block; + } } -input[type=checkbox]{ - font-size:1em; +.calcite .share-dialog-textarea { + width: auto; + max-width: 90%; + width: 80%; + height: 50px; + font-size: 14px; + color: #777; + border: 1px solid #dcdcdc; + margin: 0 0 10px; +} +.share-dialog-extent { + height: 30px; + line-height: 30px; +} +input[type=checkbox] { + font-size: 1em; } - /*Icon Fonts*/ -@font-face { - font-family: 'tool-icons'; - src: url('../fonts/tool-icons.eot?nmi22n'); - src: url('../fonts/tool-icons.eot?nmi22n#iefix') format('embedded-opentype'), url('../fonts/tool-icons.woff?nmi22n') format('woff'), url('../fonts/tool-icons.ttf?nmi22n') format('truetype'), url('../fonts/tool-icons.svg?nmi22n#tool-icons') format('svg'); - font-weight: normal; - font-style: normal; } - -[class^="icon-"]:before, [class*=" icon-"]:before { - font-family: "tool-icons"; - font-style: normal; - font-weight: normal; - speak: none; - display: inline-block; - text-decoration: inherit; - width: 1em; - margin-right: 0.2em; - text-align: center; - /* opacity: .8; */ - /* For safety - reset parent styles, that can break glyph codes*/ - font-variant: normal; - text-transform: none; - /* fix buttons height, for twitter bootstrap */ - line-height: 1em; - /* Animation center compensation - margins should be symmetric */ - /* remove if not needed */ - margin-left: 0.2em; - /* you can be more comfortable with increased icons size */ - /* font-size: 120%; */ - /* Uncomment for 3D effect */ - /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */ } -.toolbar-icons{ - font-size:14px; - color:#fff; - line-height: 30px; - vertical-align: middle; -} -.btnText{ - padding: 0 .5em 0 .2em; - font-size: 12px; - line-height: 26px; - vertical-align: middle; - margin: 2px 0 2px 0; +@font-face { + font-family: 'tool-icons'; + src: url('../fonts/tool-icons.eot?nmi22n'); + src: url('../fonts/tool-icons.eot?nmi22n#iefix') format('embedded-opentype'), url('../fonts/tool-icons.woff?nmi22n') format('woff'), url('../fonts/tool-icons.ttf?nmi22n') format('truetype'), url('../fonts/tool-icons.svg?nmi22n#tool-icons') format('svg'); + font-weight: normal; + font-style: normal; +} +[class^="icon-"]:before, +[class*=" icon-"]:before { + font-family: "tool-icons"; + font-style: normal; + font-weight: normal; + speak: none; + display: inline-block; + text-decoration: inherit; + width: 1em; + margin-right: 0.2em; + text-align: center; + /* opacity: .8; */ + /* For safety - reset parent styles, that can break glyph codes*/ + + font-variant: normal; + text-transform: none; + /* fix buttons height, for twitter bootstrap */ + + line-height: 1em; + /* Animation center compensation - margins should be symmetric */ + /* remove if not needed */ + + margin-left: 0.2em; + /* you can be more comfortable with increased icons size */ + /* font-size: 120%; */ + /* Uncomment for 3D effect */ + /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */ +} +.toolbar-icons { + font-size: 14px; + color: #fff; + line-height: 30px; + vertical-align: middle; +} +.btnText { + padding: 0 .5em 0 .2em; + font-size: 12px; + line-height: 26px; + vertical-align: middle; + margin: 2px 0 2px 0; } .icon-edit:before { content: "\e61b"; } -.icon-layers:before { - content: "\e633"; -} .icon-basemap:before { content: "\e634"; } @@ -1172,9 +1123,12 @@ input[type=checkbox]{ .icon-map:before { content: "\e652"; } -.icon-legend:before { +.icon-layers:before { content: "\e659"; } +.icon-legend:before { + content: "\e633"; +} .icon-overview:before { content: "\e65f"; } @@ -1232,70 +1186,68 @@ input[type=checkbox]{ /*Styles for the modal dialog (splash screen)*/ #modal { - z-index:2000; - position: fixed; - left: 50%; - top: 50%; - -moz-transform: translate(-50%, -50%); - -webkit-transform: translate(-50%, -50%); - -o-transform: translate(-50%, -50%); - transform: translate(-50%, -50%); - -} -#modalContent{ - overflow-y:auto; - max-height: 300px; + z-index: 2000; + position: fixed; + left: 50%; + top: 50%; + -moz-transform: translate(-50%, -50%); + -webkit-transform: translate(-50%, -50%); + -o-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); +} +#modalContent { + overflow-y: auto; + max-height: 300px; } #modalContent img { - max-width: 100%; - max-height: 40%; - display: block; - margin-left: auto; - margin-right: auto; + max-width: 100%; + max-height: 40%; + display: block; + margin-left: auto; + margin-right: auto; } -#modal.hide{ - top: -50%; - visibility: hidden; - opacity: 0; +#modal.hide { + top: -50%; + visibility: hidden; + opacity: 0; } -#modal .modal-header{ - border-bottom: 1px solid #ccc; +#modal .modal-header { + border-bottom: 1px solid #ccc; } #modal h2 { - margin: 0; - padding-right:8px; - padding-bottom:5px; - margin-right:5px; + margin: 0; + padding-right: 8px; + padding-bottom: 5px; + margin-right: 5px; } -#modal .copy{ - color: #333; - background-color:#fff; +#modal .copy { + color: #333; + background-color: #fff; } -#modal .copy, #modal .modal-header { - padding: 10px; +#modal .copy, +#modal .modal-header { + padding: 10px; } .modal-content { - position: relative; - z-index: 20; -} - -#closeOverlay{ - line-height: normal; - padding: .5em 1em; - font-size: 1em; - font-weight: 600; - border:none; - cursor:pointer; - height:auto; - width: auto; - position: relative; - margin:.5em auto; -} - -.tool-btn{ - text-align: center; - margin:0; - background: transparent; - border: none !important; - cursor:pointer; + position: relative; + z-index: 20; +} +#closeOverlay { + line-height: normal; + padding: .5em 1em; + font-size: 1em; + font-weight: 600; + border: none; + cursor: pointer; + height: auto; + width: auto; + position: relative; + margin: .5em auto; +} +.tool-btn { + text-align: center; + margin: 0; + background: transparent; + border: none !important; + cursor: pointer; } diff --git a/css/theme/default.css b/css/theme/default.css new file mode 100644 index 00000000..12f61a38 --- /dev/null +++ b/css/theme/default.css @@ -0,0 +1,107 @@ +#panelTools { + position: relative; + left: 0px; + top: 0px; + min-height: 30px; + width: 100%; + display: block; + clear: both; +} +.panelTool{ + margin:2px 0 2px 0; + width: 26px; + height:26px; + line-height: 26px; +} +#panelTop { + position: fixed; + left: 0px; + top: 0px; + width: 100%; + color: #ffffff; + padding: 0px; + display: block; + overflow: visible; + height: 75px; +} +.esriSimpleSliderTL { + top: auto; + left: auto; + top: 80px; + left: 0; + border: none; +} +#locateDiv { + position: absolute; + z-index: 10; + top: 155px; + left: 0; +} +.noslider #locateDiv { + top: 80px; +} +#panelContent { + top: 10px; + right: 310px; +} +.panelTool { + height: 26px; +} +@media only screen and (min-width:320px) and (max-device-width:480px){ + #panelContent{ + top: auto !important; + right:0; + left:0; + bottom:0; + width:100%; + z-index: 99; + } + .pageContent{ + width:100%; + } +} +@media only screen and (min-width: 720px) { + .esriSimpleSliderTL { + top: 10px !important; + left: 10px !important; + } + #locateDiv { + left: auto; + left: 10px; + top: 90px; + } + #panelTools { + display: block !important; + } + #panelContent { + top: 90px; + } + #panelTop { + width: auto; + left: 44px; + top: 10px; + } + .no-search #panelContent { + top: 10px; + } +} +.esriControlsBR { + position: absolute; + left: 0px; + bottom: 0px; +} +.logo-med { + position: absolute; + left: 0px; + bottom: 0px; +} +.logo-sm { + position: absolute; + left: 0px; + bottom: 0px; +} +.esriAttribution { + position: absolute; + left: 65px; + bottom: 5px; +} diff --git a/css/theme/menubar.css b/css/theme/menubar.css new file mode 100644 index 00000000..0e7c5093 --- /dev/null +++ b/css/theme/menubar.css @@ -0,0 +1,79 @@ +#panelTop { + position: fixed; + left: 30px; + top: 0; + width: 100%; + color: #ffffff; + padding: 0px; + display: block; + overflow: visible; + height: 75px; + z-index: 40; +} +#panelContent { + top:75px; +} +.noslider #panelTop{ + left:0; +} +#panelTitle{ + border-bottom: none; +} +#panelSearch{ + margin: 7px 34px 10px 4px; +} +.esriSimpleSliderTL { + top:0; + left: 0; + border:none; +} +.arcgisSearch .searchBtn{ + border:none; + border-radius: 0; + -webkit-border-radius:0; +} +.arcgisSearch .searchMenu{ + border-radius: 0; + -webkit-border-radius:0; +} + +.arcgisSearch .searchGroup .searchInput { + border-radius: 0; + -webkit-border-radius: 0; + border:none; +} +.arcgisSearch .searchCollapsed .searchSubmit { + border-radius: 0; + -webkit-border-radius:0; + border:none; +} +#panelTools{ + padding-left:10px; +} +.panelTool { + width: 26px; +} +.pageHeader{ + display:none; +} +#locateDiv { + position: absolute; + bottom:0; + z-index: 30; + left:0; +} +@media only screen and (min-width: 720px) { + + #panelTools { + display: block !important; + } + #panelSearch{ + margin: 7px 4px 10px 6px; + } + #panelTop { + width: auto; + } + .no-search #panelContent { + bottom: 10px; + } +} diff --git a/css/theme/sidetools.css b/css/theme/sidetools.css new file mode 100644 index 00000000..0ebeaeb0 --- /dev/null +++ b/css/theme/sidetools.css @@ -0,0 +1,91 @@ +#panelTools { + position: absolute; + display: block; + width: 30px; + top: 125px; + line-height: normal; +} +#panelTools.labels{ + width: 120px; + top:135px; +} +.panelTool.labels{ + display: block; + height: 45px; + white-space: nowrap; +} +.btnText { + display: inline-block; +} +.panelTool { + float:none; + width:30px; +} +.noslider #panelTools { + top: 50px; +} +.haslocate #panelTools { + top: 155px; +} +.noslider.haslocate #panelTools { + top: 80px; +} +#locateDiv { + position: absolute; + z-index: 10; + top: 125px; + left: 0; +} +#panelTitle { + border-bottom: none; +} +#panelContent { + z-index: 0; +} +#panelTop { + position: fixed; + left: 0px; + top: 0px; + width: 100%; + color: #ffffff; + padding: 0px; + display: block; + overflow: visible; + height: 50px; + z-index: 40; +} +#panelContent { + top: 51px; + right: 300px; +} +@media only screen and (min-width:320px) and (max-device-width:480px){ + #panelContent{ + top: auto !important; + right:0; + left:0; + bottom:0; + width:100%; + z-index: 99; + } + .pageContent{ + width:100%; + } +} +.notools .esriSimpleSliderTL { + top: 75px; +} +.esriSimpleSliderTL { + top: auto; + left: auto; + top: 50px; + left: 0; + border: none; + z-index: 41 !important; +} +.arcgisSearch .searchGroup .searchInput { + border-radius: 0; + -webkit-border-radius: 0; +} +.arcgisSearch .searchCollapsed .searchSubmit { + border-radius: 0; +} diff --git a/images/clippy.svg b/images/clippy.svg new file mode 100644 index 00000000..e1b17035 --- /dev/null +++ b/images/clippy.svg @@ -0,0 +1,3 @@ + diff --git a/images/config-themes/default.png b/images/config-themes/default.png new file mode 100644 index 00000000..7d8626f4 Binary files /dev/null and b/images/config-themes/default.png differ diff --git a/images/config-themes/menubar.png b/images/config-themes/menubar.png new file mode 100644 index 00000000..4ff8572d Binary files /dev/null and b/images/config-themes/menubar.png differ diff --git a/images/config-themes/sidetools.png b/images/config-themes/sidetools.png new file mode 100644 index 00000000..b16a3ca0 Binary files /dev/null and b/images/config-themes/sidetools.png differ diff --git a/index.html b/index.html index 75ecab10..2863048d 100644 --- a/index.html +++ b/index.html @@ -1,24 +1,27 @@ -
-