Skip to content

Instantly share code, notes, and snippets.

View TheBlueDog's full-sized avatar

Erich Rainville TheBlueDog

  • Loudoun County, Virginia
View GitHub Profile
@TheBlueDog
TheBlueDog / template.html
Created March 4, 2016 15:14
Application template for Calcite-Bootstrap
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1, minimal-ui">
<title>Calcite-Bootstrap Templates | App Template</title>
<link rel="stylesheet" href="styles/main.css">
<script src="/bower_components/modernizr/modernizr.js"></script>
@TheBlueDog
TheBlueDog / _body.hbs
Created March 3, 2016 14:15
Building a app template with Calcite-Bootstrap and Assemble
<div class="container">
<div class="row">
<h2 class="text-center">Page Title</h2>
</div><!-- /.row -->
</div><!-- /.container -->
@TheBlueDog
TheBlueDog / Add CSS to the top of Custom CSS
Created December 3, 2015 20:59
Using Custom Web Fonts in Your ArcGIS Open Data Site (v1.32)
body, html, p, ul, ol, .btn, .search-nav-item, #gsearch, #search-results-region, #show-banner-region .map-bar-title, #sub-nav-region, #sub-nav-region .link, #dataset-description, .attribute-name, .info-name {
font-family: 'Source Sans Pro', sans-serif !important;
font-weight: 400 !important;
}
h1, h2, h3, h4, h5, h6, .site-logo, .card-title, .card-title a {
font-family: ‘Merriweather’, serif !important;
font-weight: 400 !important;
}
@TheBlueDog
TheBlueDog / custom.css
Last active August 29, 2015 14:25
Appalachian Trail Data Demo Site
/* Sets the background color for the entire page */
.home, .home #page-content, #slide-region {
background-color: #CEE5F2;
}
/* Sets the new height of the header, background color, top border and removes the shadow */
#header {
min-height: 120px!important;
height: auto;
background: #63A46C;
@TheBlueDog
TheBlueDog / CSS
Created July 14, 2015 13:33
Simple Custom Open Data Header
#header {
background-color: #ccc;
height: 80px;
}
.logo {
padding-top: 6px;
}
.inner-header h3 {
line-height: 0;
@TheBlueDog
TheBlueDog / gist:c45da445d19fdbdc93d7
Created March 12, 2015 20:48
Panel snippet for use in ArcGIS Open Data sites
<div class="col-md-4 col-sm-4 col-xs-12">
<div class="panel panel-white profile-widget">
<div class="row">
<div class="col-sm-12">
<div class="image-container bg2"></div>
</div>
<div class="col-sm-12">
<div class="details">
<h4>Appalachian Trail Centerline</h4>
<div>
@TheBlueDog
TheBlueDog / CSS
Created March 12, 2015 17:03
Appalachian Trail Open Data demo site
.home, .home #page-content, #slide-region {
background-color: #F3F3EE;
}
#header {
min-height: 120px!important;
height: auto;
background: #222;
box-shadow: none !important;
@TheBlueDog
TheBlueDog / gist:f5e3e2fc4c4f958ee3a5
Last active August 29, 2015 14:16
Adding custom background-color to ArcGIS Open Data sites (v1.10)
#header {
background-color: #2794D9;
}
.home, .home #page-content, #slide-region {
background-color: #B3E9F9;
}
#title-bar-region {
background-color: #69DCFF;
}
#footer {
@TheBlueDog
TheBlueDog / gist:05cd36504fffbb2d0b96
Last active August 29, 2015 14:16
Starter CSS for ArcGIS OpenData Custom Layouts (v1.10)
#header {
position: relative;
width: 100%;
min-height: 60px!important;
height: auto;
background: #fff;
box-shadow: 0 0 5px #555;
}
.header-image {
float: left;
@TheBlueDog
TheBlueDog / widgets
Created March 2, 2015 22:16
Widgets for ArcGIS OpenData Custom Layouts (v1.10)
<!-- RSS Feed Widget -->
<div class="custom-layout">
<div data-composer-widget="RssWidget" data-url="VALID-RSS-FEED-URL" data-max-items="5" data-title="FEED TITLE"></div>
</div>
<!-- Data Listing Widget -->
<div class="custom-layout">
<div data-composer-widget="DataWidget" data-max-items="5" data-title="DATA LIST TITLE"></div>
</div>