ngmap
Version:
The Simplest AngularJS Google Maps V3 Directive
411 lines (353 loc) • 7.17 kB
CSS
* { box-sizing: border-box }
html {
overflow: auto;
background-color: #fff;
font-size: 14px;
}
body {
font-family: "Open Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
font-weight: 300;
font-size: 1rem;
line-height: 1.5rem;
color: #5c5c5c;
background-color: white;
padding: 10px;
position: relative;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: 'Source Sans Pro', Helvetica, sans-serif;
}
.h1 { font-size: 2rem }
.h2 { font-size: 1.5rem }
.h3 { font-size: 1.25rem }
.h4 { font-size: 1rem }
.h5 { font-size: .875rem }
.h6 { font-size: .75rem }
nav {
margin-top: 28px;
padding-bottom: 30px;
width: 27%;
padding-left: 2%;
position: absolute;
top: 0;
right: 0;
}
nav ul {
font-family: 'Source Sans Pro', Helvetica, sans-serif;
font-size: 100%;
line-height: 17px;
padding: 0;
margin: 0;
list-style-type: none;
}
nav ul a, nav ul a:visited, nav ul a:active {
font-family: 'Source Sans Pro', Helvetica, sans-serif;
line-height: 18px;
color: #4D4E53;
}
nav h3 {
margin-top: 12px;
margin-bottom: 2px;
}
nav li {
margin-top: 6px;
margin-left: 2px;
}
footer {
margin: 0rem;
padding: 10px;
text-align: right;
color: gray;
}
.page-wrap {
padding: 1rem 3%;
margin-bottom: 0rem;
width: 70%;
margin-right: 30%;
}
#main {
float: none;
width: auto;
padding-right: 20px;
}
.page-wrap #main h1 {
color: inherit;
}
.big-container {
padding: 0rem;
background-color: #FFFFFF;
border-top: solid 1px #828282;
min-height: 510px;
overflow: hidden;
background-repeat: repeat-x;
background-position: top;
margin-bottom: 1.5rem;
padding: 2.0rem 1.5rem 3rem 1.5rem;
}
h2.module a, a, a:visited, a:active {
color: #0095dd;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
header
{
display: block;
padding: 0px 4px;
}
tt, code, kbd, samp {
font-family: Consolas, Monaco, 'Andale Mono', monospace;
padding: 0 0.25em;
background-color: #ddd;
}
.class-description {
font-size: 130%;
line-height: 140%;
margin-bottom: 1em;
margin-top: 1em;
}
.class-description:empty {
margin: 0;
}
article dl {
margin-bottom: 40px;
}
section
{
display: block;
background-color: #fff;
padding: 12px 24px;
border-bottom: 1px solid #ccc;
margin-right: 30px;
}
.variation {
display: none;
}
.signature-attributes {
font-size: 60%;
color: #aaa;
font-style: italic;
font-weight: lighter;
}
.ancestors { color: #999; }
.ancestors a
{
color: #999 ;
text-decoration: none;
}
.clear
{
clear: both;
}
.important
{
font-weight: bold;
color: #950B02;
}
.yes-def {
text-indent: -1000px;
}
.type-signature {
color: #aaa;
}
.name, .signature {
font-family: Consolas, Monaco, 'Andale Mono', monospace;
}
.details { margin-top: 14px; border-left: 2px solid #DDD; }
.details dt { width: 120px; float: left; padding-left: 10px; padding-top: 6px; }
.details dd { margin-left: 70px; }
.details ul { margin: 0; }
.details ul { list-style-type: none; }
.details li { margin-left: 30px; padding-top: 6px; }
.details pre.prettyprint { margin: 0 }
.details .object-value { padding-top: 0; }
.description {
margin-bottom: 1em;
margin-top: 1em;
}
.code-caption
{
font-style: italic;
font-size: 107%;
margin: 0;
}
.prettyprint
{
border: 1px solid #ddd;
width: 80%;
overflow: auto;
}
.prettyprint.source {
width: inherit;
}
.prettyprint code
{
font-size: 100%;
line-height: 18px;
display: block;
margin: 0;
background-color: #fff;
color: #4D4E53;
}
.prettyprint code span.line
{
display: inline-block;
}
.prettyprint.linenums
{
padding-left: 70px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.prettyprint.linenums ol
{
padding-left: 0;
}
.prettyprint.linenums li
{
border-left: 3px #ddd solid;
}
.prettyprint.linenums li.selected,
.prettyprint.linenums li.selected *
{
background-color: lightyellow;
}
.prettyprint.linenums li *
{
-webkit-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
user-select: text;
}
.params, .props
{
border-spacing: 0;
border: 0;
border-collapse: collapse;
}
.params .name, .props .name, .name code {
color: #4D4E53;
font-family: Consolas, Monaco, 'Andale Mono', monospace;
font-size: 100%;
}
.params td, .params th, .props td, .props th
{
border: 1px solid #ddd;
margin: 0px;
text-align: left;
vertical-align: top;
padding: 4px 6px;
display: table-cell;
}
.params thead tr, .props thead tr
{
background-color: #ddd;
font-weight: bold;
}
.params .params thead tr, .props .props thead tr
{
background-color: #fff;
font-weight: bold;
}
.params th, .props th { border-right: 1px solid #aaa; }
.params thead .last, .props thead .last { border-right: 1px solid #ddd; }
.params td.description > p:first-child,
.props td.description > p:first-child,
.params td.description span > p:first-child,
.props td.description span > p:first-child
{
margin-top: 0;
padding-top: 0;
}
.params td.description > p:last-child,
.props td.description > p:last-child,
.params td.description span > p:last-child,
.props td.description span > p:last-child
{
margin-bottom: 0;
padding-bottom: 0;
}
.disabled {
color: #454545;
}
.chips {
float: right;
list-style-type: none;
margin: 0;
padding: 0;
}
.chips:after {
content: '';
display: block;
}
.chip {
display: block;
float: left;
background: #eee;
border-radius: 4px;
border: 1px solid #ccc;
padding: 4px 8px;
margin-right: 4px;
font-size: 11px;
line-height: 13px;
font-weight: bold;
}
.chip:last-child {
margin-right: 0;
}
.clearfix {
clear: both;
}
.functions {
margin-top: 16px;
}
input,
select,
textarea,
fieldset {
font-family: inherit;
font-size: 1rem;
box-sizing: border-box;
margin-top: 0;
margin-bottom: 0;
}
input[type=text],
input[type=date],
input[type=datetime],
input[type=datetime-local],
input[type=email],
input[type=month],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=time],
input[type=url],
input[type=week] {
height: 2.25rem;
padding: .5rem .5rem;
vertical-align: middle;
-webkit-appearance: none;
}
.field {
width: 90%;
border-style: solid;
border-width: 1px;
border-color: rgba(0,0,0,.125);
border-radius: 3px;
}
.hide {
position: absolute ;
height: 1px;
width: 1px;
overflow: hidden;
clip: rect(1px, 1px, 1px, 1px);
}