Initial commit

This commit is contained in:
zhongjin
2020-06-15 10:58:47 +08:00
commit 4f1dfe7564
8590 changed files with 1516878 additions and 0 deletions
@@ -0,0 +1,108 @@
/**
* CartoDB infowindow dark styles
*/
div.cartodb-popup.dark .jspContainer:after {
background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(0,0,0,0)), color-stop(100%, rgba(0,0,0,1)));
background: -webkit-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,1));
background: -moz-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,1));
background: -o-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,1));
background: linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,1));
}
div.cartodb-popup.dark .jspContainer:before {
background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(0,0,0,1)), color-stop(100%, rgba(0,0,0,0)));
background: -webkit-linear-gradient(top, rgba(0,0,0,1), rgba(0,0,0,0));
background: -moz-linear-gradient(top, rgba(0,0,0,1), rgba(0,0,0,0));
background: -o-linear-gradient(top, rgba(0,0,0,1), rgba(0,0,0,0));
background: linear-gradient(top, rgba(0,0,0,1), rgba(0,0,0,0));
}
div.cartodb-popup.dark {
background:url('../img/dark.png') no-repeat -226px 0;
}
div.cartodb-popup.dark div.cartodb-popup-content-wrapper {
background:url('../img/dark.png') repeat-y -452px 0;
}
div.cartodb-popup.dark div.cartodb-popup-tip-container {
background:url('../img/dark.png') no-repeat 0 0;
}
div.cartodb-popup.dark a.cartodb-popup-close-button {
background:url('../img/dark.png') no-repeat 0 -23px;
}
div.cartodb-popup.dark h4 {
color:#999;
}
div.cartodb-popup.dark p {
color:#FFFFFF;
}
div.cartodb-popup.dark a {
color:#397DB9;
}
div.cartodb-popup.dark p.empty {
font-style:italic;
color:#AAA;
}
div.cartodb-popup.dark .jspDrag {
background: #AAAAAA;
background: rgba(255,255,255,0.5);
}
div.cartodb-popup.dark .jspDrag:hover {
background: #DEDEDE;
background: rgba(255,255,255,0.8);
}
/* NEW CartoDB 2.0 dark popups */
div.cartodb-popup.v2.dark {
background:#000000;
}
div.cartodb-popup.v2.dark:before {
border-top-color:black;
}
div.cartodb-popup.v2.dark div.cartodb-popup-tip-container:after {
border-top-color:#000;
}
div.cartodb-popup.v2.dark a.cartodb-popup-close-button {
background:#000000;
}
div.cartodb-popup.v2.dark a.cartodb-popup-close-button:before,
div.cartodb-popup.v2.dark a.cartodb-popup-close-button:after {
background:white;
}
/* Hello IE */
@media \0screen\,screen\9 {
div.cartodb-popup.v2.dark {
border:4px solid #AAA;
}
div.cartodb-popup.v2.dark div.cartodb-popup-tip-container {
border-top:18px solid #000;
}
div.cartodb-popup.v2.dark a.cartodb-popup-close-button {
border:2px solid #AAA;
color:white;
}
div.cartodb-popup.v2.dark a.cartodb-popup-close-button:hover {
border:2px solid #BBB;
}
}
@@ -0,0 +1,549 @@
/**
* CartoDB popup styles (DEFAULT)
*/
div.cartodb-infowindow {
position: absolute;
z-index: 12;
}
div.cartodb-popup {
position:relative;
width:226px;
height:auto;
padding:7px 0 0 0;
margin:0;
background:url('../img/light.png') no-repeat -226px 0;
}
div.cartodb-popup div.cartodb-popup-content-wrapper {
width:190px;
max-width: 190px;
padding:12px 19px 12px 19px;
overflow-x: hidden;
background:url('../img/light.png') repeat-y -452px 0;
}
div.cartodb-popup div.cartodb-popup-content {
display:block;
width:190px;
max-width: 190px;
min-height:5px;
height:auto;
max-height:185px;
margin: 0;
padding: 0;
overflow-y: auto;
overflow-x: hidden!important;
outline: none;
text-align:left;
}
/* Custom gradients for scroll content */
div.cartodb-popup .jspContainer:after,
div.cartodb-popup .jspContainer:before {
content:'';
position:absolute;
left:0;
right:12px;
display:block;
height:10px;
width:190px;
z-index: 5;
}
div.cartodb-popup .jspContainer:after {
bottom:0px;
background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(255,255,255,0)), color-stop(100%, rgba(255,255,255,1)));
background: -webkit-linear-gradient(top, rgba(255,255,255,0), rgba(255,255,255,1));
background: -moz-linear-gradient(top, rgba(255,255,255,0), rgba(255,255,255,1));
background: -o-linear-gradient(top, rgba(255,255,255,0), rgba(255,255,255,1));
background: linear-gradient(top, rgba(255,255,255,0), rgba(255,255,255,1));
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=0 );
}
div.cartodb-popup .jspContainer:before {
top:0px;
background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(255,255,255,1)), color-stop(100%, rgba(255,255,255,0)));
background: -webkit-linear-gradient(top, rgba(255,255,255,1), rgba(255,255,255,0));
background: -moz-linear-gradient(top, rgba(255,255,255,1), rgba(255,255,255,0));
background: -o-linear-gradient(top, rgba(255,255,255,1), rgba(255,255,255,0));
background: linear-gradient(top, rgba(255,255,255,1), rgba(255,255,255,0));
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=0 );
}
div.cartodb-popup div.cartodb-popup-tip-container {
width:226px;
height:20px;
background:url('../img/light.png') no-repeat 0 0;
}
div.cartodb-popup a.cartodb-popup-close-button {
position:absolute;
top:-9px;
right:-9px;
width:26px;
height:26px;
padding:0;
background:url('../img/light.png') no-repeat 0 -23px;
text-indent:-9999px;
font-size:0;
line-height:0;
opacity:1;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=1);
filter: alpha(opacity=100);
text-transform:uppercase;
z-index:3;
}
/* When there are no fields in header popup themes */
div.cartodb-popup.header.no_fields div.cartodb-popup-content {
display:none;
}
div.cartodb-popup.header.no_fields
div.cartodb-popup-content-wrapper
div.cartodb-edit-buttons {
padding-top:5px;
margin-top:0;
}
div.cartodb-popup.header.no_fields div.cartodb-edit-buttons {
border: none;
padding-top:0;
}
/* Custom scroll in CartoDB content */
div.cartodb-popup .jspContainer {
overflow: hidden;
position: relative;
outline: none;
}
div.cartodb-popup .jspContainer * {
outline: none;
}
div.cartodb-popup .jspPane {
position: absolute;
padding:4px 0 0 0!important;
z-index:1;
}
div.cartodb-popup .jspVerticalBar {
position: absolute;
top: 0;
right: 0;
width: 6px;
height: 100%;
background: none;
z-index:10;
}
div.cartodb-popup .jspHorizontalBar {
position: absolute;
bottom: 0; left: 0;
width: 100%;
height: 6px;
background: none;
}
div.cartodb-popup .jspVerticalBar *,
div.cartodb-popup .jspHorizontalBar * {
margin: 0;
padding: 0;
}
div.cartodb-popup .jspCap {
display: none;
}
div.cartodb-popup .jspHorizontalBar .jspCap {
float: left;
}
div.cartodb-popup .jspTrack {
position: relative;
cursor: pointer;
background: none;
}
div.cartodb-popup .jspDrag {
position: relative;
top: 0; left: 0;
cursor: pointer;
border-radius:10px;
-moz-border-radius:10px;
-webkit-border-radius:10px;
background: #999999;
background: rgba(0,0,0,0.16);
}
div.cartodb-popup .jspDrag:hover {
background: #666666;
background: rgba(0,0,0,0.5);
cursor: pointer;
}
div.cartodb-popup .jspHorizontalBar .jspTrack,
div.cartodb-popup .jspHorizontalBar .jspDrag {
float: left;
height: 100%;
}
div.cartodb-popup .jspArrow {
background: #50506d;
text-indent: -20000px;
display: block;
cursor: pointer;
}
div.cartodb-popup .jspArrow.jspDisabled {
cursor: default;
background: #80808d;
}
div.cartodb-popup .jspVerticalBar .jspArrow {
height: 16px;
}
div.cartodb-popup .jspHorizontalBar .jspArrow {
width: 16px;
float: left;
height: 100%;
}
div.cartodb-popup .jspVerticalBar .jspArrow:focus {
outline: none;
}
div.cartodb-popup .jspCorner {
background: #eeeef4;
float: left;
height: 100%;
}
* html div.cartodb-popup .jspCorner {
margin: 0 -3px 0 0;
}
/* CartoDB light content styles */
div.cartodb-popup h2 {
line-height:normal;
}
div.cartodb-popup h1,
div.cartodb-popup h2,
div.cartodb-popup h3,
div.cartodb-popup h4,
div.cartodb-popup h5,
div.cartodb-popup h6 {
display:block;
width:190px;
margin: 0;
padding: 0;
font-weight :bold;
font-family: "Helvetica Neue", "Helvetica", Arial;
color:#CCCCCC;
text-transform:uppercase;
word-wrap: break-word;
line-height: 120%;
}
div.cartodb-popup h1 {
font-size:24px;
}
div.cartodb-popup h2 {
font-size:20px;
}
div.cartodb-popup h3 {
font-size:15px;
}
div.cartodb-popup h4 {
font-size:11px;
}
div.cartodb-popup h5 {
font-size:10px;
}
div.cartodb-popup h6 {
font-size:9px;
}
div.cartodb-popup p {
display:block;
width:190px;
max-width: 190px;
margin: 0;
padding:0 0 7px;
font:normal 13px "Helvetica",Arial;
color:#333333;
word-wrap: break-word;
}
div.cartodb-popup p.italic {
font-style: italic;
}
div.cartodb-popup p.loading {
position:relative;
display:block;
width:170px;
max-width: 170px;
margin: 0;
padding:0 0 0 30px;
font:normal 13px "Helvetica",Arial;
color:#888;
font-style:italic;
word-wrap: break-word;
line-height:21px;
}
div.cartodb-popup p.error {
position:relative;
display:block;
width:170px;
max-width:170px;
margin:0;
padding:0;
font:normal 13px "Helvetica",Arial;
color:#FF7F7F;
font-style:italic;
word-wrap: break-word;
line-height:18px;
}
div.cartodb-popup p.empty {
color:#999999;
font-style: italic;
}
div.cartodb-popup div.spinner {
position:absolute!important;
display:inline;
top:0;
left:0;
margin:10px 0 0 10px;
}
/* NEW CartoDB 2.0 popups */
div.cartodb-popup.v2 {
width:226px;
padding:0;
margin:0 0 14px 0;
background:none;
-moz-box-shadow: 0 0 0 4px rgba(0,0,0,0.15);
-webkit-box-shadow: 0 0 0 4px rgba(0,0,0,0.15);
box-shadow: 0 0 0 4px rgba(0,0,0,0.15);
-webkit-border-radius:2px;
-moz-border-radius:2px;
border-radius:2px;
background:white;
}
div.cartodb-popup.v2:before {
content:'';
position:absolute;
bottom:-14px;
left:0;
width:0;
height:0;
margin-left:28px;
border-left:0px solid transparent;
border-right:14px solid transparent;
border-top:14px solid white;
z-index:2;
}
div.cartodb-popup.v2
div.cartodb-popup-content-wrapper {
width: auto;
max-width: none;
padding:12px;
-webkit-border-radius:2px;
-moz-border-radius:2px;
border-radius:2px;
background:none;
}
div.cartodb-popup.v2
div.cartodb-popup-content {
width:auto;
max-width:none;
display:block;
background:none;
}
div.cartodb-popup.v2 div.cartodb-popup-content p,
div.cartodb-popup.v2 div.cartodb-popup-content h1,
div.cartodb-popup.v2 div.cartodb-popup-content h2,
div.cartodb-popup.v2 div.cartodb-popup-content h3,
div.cartodb-popup.v2 div.cartodb-popup-content h4,
div.cartodb-popup.v2 div.cartodb-popup-content h5,
div.cartodb-popup.v2 div.cartodb-popup-content h6 {
width:auto;
max-width:95%;
display:block;
}
div.cartodb-popup.v2 div.cartodb-popup-tip-container {
position:absolute;
bottom:-20px;
left:-4px;
width:20px;
height:16px;
margin-left:28px;
background:none;
overflow:hidden;
z-index:0;
}
div.cartodb-popup.v2 div.cartodb-popup-tip-container:before {
content:'';
position:absolute;
width:20px;
height:20px;
left:0;
top:-10px;
margin-left:0;
-ms-transform: skew(0,-45deg);
-webkit-transform: skew(0,-45deg);
transform: skew(0,-45deg);
border-radius:0 0 0 10px;
background:rgba(0,0,0,0.15);
z-index:0;
}
div.cartodb-popup.v2.centered:before {
content:'';
position:absolute;
width:0px;
height:0px;
left: -10px;
bottom: -10px;
margin-left:50%;
border-left: 10px solid transparent;
border-right: 10px solid transparent;
border-top: 10px solid white;
border-radius: 0;
-ms-transform: skew(0,0);
-webkit-transform: skew(0,0);
transform: skew(0,0);
background: none;
z-index:1;
}
div.cartodb-popup.v2.centered p {
width: 160px;
padding-bottom: 0;
}
div.cartodb-popup.v2.centered div.cartodb-popup-tip-container {
left: -12px;
width: 24px;
margin-left: 50%;
}
div.cartodb-popup.v2.centered div.cartodb-popup-tip-container:before {
content: '';
position: absolute;
width: 0px;
height: 0px;
left: 0;
top: 0;
margin-left: 0;
border-left: 12px solid transparent;
border-right: 12px solid transparent;
border-top: 12px solid rgba(0,0,0,0.15);
-ms-transform: skew(0,0);
-webkit-transform: skew(0,0);
transform: skew(0,0);
background: none;
z-index: 0;
}
div.cartodb-popup.v2 a.cartodb-popup-close-button {
right:-12px;
top:-12px;
width:20px;
height:20px;
background:white;
-webkit-border-radius:18px;
-moz-border-radius:18px;
border-radius:18px;
box-shadow:0 0 0 3px rgba(0,0,0,0.15);
}
div.cartodb-popup.v2 a.cartodb-popup-close-button:before,
div.cartodb-popup.v2 a.cartodb-popup-close-button:after {
content:'';
position:absolute;
top:9px;
left:6px;
width:8px;
height:2px;
background:#397DBA;
-webkit-border-radius:3px;
-moz-border-radius:3px;
border-radius:3px;
}
div.cartodb-popup.v2 a.cartodb-popup-close-button:before {
-ms-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
}
div.cartodb-popup.v2 a.cartodb-popup-close-button:after {
-ms-transform: rotate(-45deg);
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
}
div.cartodb-popup.v2 a.cartodb-popup-close-button:hover {
box-shadow:0 0 0 3px rgba(0,0,0,0.25);
}
/* Hello IE */
@media \0screen\,screen\9 {
div.cartodb-popup.v2 {
border:4px solid #CCC;
}
div.cartodb-popup.v2 div.cartodb-popup-tip-container {
position:absolute;
width:0;
height:0;
margin-left:28px;
z-index:2;
bottom:-18px;
left:-4px;
border-left:0px solid transparent;
border-right:18px solid transparent;
border-top:18px solid white;
}
div.cartodb-popup.v2 a.cartodb-popup-close-button {
right:-14px;
top:-14px;
width:18px;
padding:0 0 0 2px;
text-indent:0;
font:bold 11px Arial;
font-weight:700;
text-decoration:none;
text-align:center;
line-height:20px;
border:2px solid #CCC;
}
div.cartodb-popup.v2 a.cartodb-popup-close-button:before,
div.cartodb-popup.v2 a.cartodb-popup-close-button:after {
display:none;
}
div.cartodb-popup.v2 a.cartodb-popup-close-button:hover {
border:2px solid #999;
}
}
@@ -0,0 +1,44 @@
/**
* CartoDB blue header popup styles
*/
div.cartodb-popup.header.blue div.cartodb-popup-header {
background:url('../img/headers.png') no-repeat 0 -40px;
}
div.cartodb-popup.header.blue.header .cartodb-popup-header a {
color:white;
}
div.cartodb-popup.header.blue div.cartodb-popup-header h4 {
color:#1F4C7F;
}
div.cartodb-popup.header.blue div.cartodb-popup-header span.separator {
background:#225386;
}
div.cartodb-popup.header.blue a.cartodb-popup-close-button {
background:url('../img/headers.png') no-repeat -226px -40px;
}
div.cartodb-popup.header.blue a.cartodb-popup-close-button:hover {
background-position:-226px -66px;
}
/* NEW CartoDB 2.0 blue header popups */
div.cartodb-popup.v2.header.blue div.cartodb-popup-header {
background: none;
background: -ms-linear-gradient(top, #4F9CD7, #2B68A8);
background: -o-linear-gradient(right, #4F9CD7, #2B68A8);
background: -webkit-linear-gradient(top, #4F9CD7, #2B68A8);
background: -moz-linear-gradient(right, #4F9CD7, #2B68A8);
-ms-filter: "progid:DXImageTransform.Microsoft.Gradient(startColorStr='#4F9CD7',endColorStr='#2B68A8',GradientType=0)";
}
div.cartodb-popup.v2.header.blue a.cartodb-popup-close-button {
background:white;
}
@@ -0,0 +1,200 @@
/**
* CartoDB header popup styles (DEFAULT)
*/
div.cartodb-popup.header {
padding:0;
background:none;
box-shadow:none;
-webkit-box-shadow:none;
-moz-box-shadow:none;
-o-box-shadow:none;
border-bottom:none;
border-radius:0;
-webkit-border-radius:0;
-moz-border-radius:0;
-o-border-radius:0;
}
div.cartodb-popup.header div.cartodb-popup-header {
position:relative;
width:188px;
height:auto;
max-height:62px;
overflow:hidden;
padding:17px 19px 17px 19px;
background:url('../img/headers.png') no-repeat 0 -40px;
}
div.cartodb-popup.header div.cartodb-popup-header h1 {
width:100%;
margin:0;
font:bold 21px "Helvetica Neue", "Helvetica", Arial;
color:#FFFFFF;
line-height:23px;
text-shadow: 0 1px rgba(0,0,0,0.5);
word-wrap:break-word;
}
div.cartodb-popup.header div.cartodb-popup-header h1 a {
color:white;
font-size:21px;
word-wrap:break-word;
}
div.cartodb-popup.header div.cartodb-popup-header h1 a:hover {
text-decoration: underline;
}
div.cartodb-popup.header div.cartodb-popup-header h1.loading {
position:relative;
display:block;
width:auto;
padding-right:0;
padding-left:30px;
font-size:14px;
font-weight:normal;
line-height:19px;
}
div.cartodb-popup.header div.cartodb-popup-header h1.error {
position:relative;
display:block;
width:auto;
padding-right:0;
padding-left:0;
font-size:14px;
font-weight:normal;
font-style: italic;
line-height:19px;
}
div.cartodb-popup.header div.cartodb-popup-header h4 {
color:#1F4C7F;
}
div.cartodb-popup.header div.cartodb-popup-header span.separator {
position:absolute;
bottom:0;
left:4px;
right:4px;
height:1px;
background:#225386;
}
div.cartodb-popup.header div.cartodb-popup-content {
max-height:150px;
}
div.cartodb-popup.header a.cartodb-popup-close-button {
background:url('../img/headers.png') no-repeat -226px -40px;
}
div.cartodb-popup.header a.cartodb-popup-close-button:hover {
background-position:-226px -66px;
}
/* NEW CartoDB 2.0 header popups */
div.cartodb-popup.header.v2.header {
-moz-box-shadow: 0 0 0 4px rgba(0,0,0,0.15);
-webkit-box-shadow: 0 0 0 4px rgba(0,0,0,0.15);
box-shadow: 0 0 0 4px rgba(0,0,0,0.15);
-webkit-border-radius:2px;
-moz-border-radius:2px;
border-radius:2px;
background:white;
}
div.cartodb-popup.v2.header div.cartodb-popup-header {
position:relative;
width:auto;
height:auto;
max-height:62px;
overflow:hidden;
padding:17px 12px;
background: none;
background: -ms-linear-gradient(top, #4F9CD7, #2B68A8);
background: -o-linear-gradient(right, #4F9CD7, #2B68A8);
background: -webkit-linear-gradient(top, #4F9CD7, #2B68A8);
background: -moz-linear-gradient(right, #4F9CD7, #2B68A8);
-ms-filter: "progid:DXImageTransform.Microsoft.Gradient(startColorStr='#4F9CD7',endColorStr='#2B68A8',GradientType=0)";
-webkit-border-top-left-radius: 2px;
-webkit-border-top-right-radius: 2px;
-moz-border-radius-topleft: 2px;
-moz-border-radius-topright: 2px;
border-top-left-radius: 2px;
border-top-right-radius: 2px;
}
div.cartodb-popup.v2.header div.cartodb-popup-header:before {
content:'';
position:absolute;
bottom:0;
left:0;
right:0;
width:100%;
height:1px;
background:rgba(0,0,0,0.1);
}
div.cartodb-popup.v2.header a.cartodb-popup-close-button {
right:-12px;
top:-12px;
width:20px;
height:20px;
background:white;
-webkit-border-radius:18px;
-moz-border-radius:18px;
border-radius:18px;
box-shadow:0 0 0 3px rgba(0,0,0,0.15);
}
div.cartodb-popup.v2.header a.cartodb-popup-close-button:before,
div.cartodb-popup.v2.header a.cartodb-popup-close-button:after {
content:'';
position:absolute;
top:9px;
left:6px;
width:8px;
height:2px;
background:#397DBA;
-webkit-border-radius:3px;
-moz-border-radius:3px;
border-radius:3px;
}
div.cartodb-popup.v2.header a.cartodb-popup-close-button:before {
-ms-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
}
div.cartodb-popup.v2.header a.cartodb-popup-close-button:after {
-ms-transform: rotate(-45deg);
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
}
div.cartodb-popup.v2.header a.cartodb-popup-close-button:hover {
box-shadow:0 0 0 3px rgba(0,0,0,0.25);
}
/* Hello IE */
@media \0screen\,screen\9 {
div.cartodb-popup.header.v2 {
border-bottom:4px solid #CCC;
}
div.cartodb-popup.v2.header div.cartodb-popup-header {
background:#3B7FBD;
-ms-filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr='#4F9CD7',endColorStr='#2B68A8',GradientType=0);
}
}
@@ -0,0 +1,52 @@
/**
* CartoDB green header popup styles
*/
div.cartodb-popup.header.green div.cartodb-popup-header {
background:url('../img/headers.png') no-repeat -252px -40px;
}
div.cartodb-popup.header.green div.cartodb-popup-header h4 {
color:#00916D;
}
div.cartodb-popup.header.green div.cartodb-popup-header span.separator {
background:#008E6A;
}
div.cartodb-popup.header.green a.cartodb-popup-close-button {
background:url('../img/headers.png') no-repeat -478px -40px;
}
div.cartodb-popup.header.green a.cartodb-popup-close-button:hover {
background-position:-478px -66px;
}
/* NEW CartoDB 2.0 green header popups */
div.cartodb-popup.v2.header.green div.cartodb-popup-header {
background: none;
background: -ms-linear-gradient(top, #00CC99, #00B185);
background: -o-linear-gradient(right, #00CC99, #00B185);
background: -webkit-linear-gradient(top, #00CC99, #00B185);
background: -moz-linear-gradient(right, #00CC99, #00B185);
-ms-filter: "progid:DXImageTransform.Microsoft.Gradient(startColorStr='#00CC99',endColorStr='#00B185',GradientType=0)";
}
div.cartodb-popup.v2.header.green a.cartodb-popup-close-button {
background:white;
}
div.cartodb-popup.v2.header.green a.cartodb-popup-close-button:before,
div.cartodb-popup.v2.header.green a.cartodb-popup-close-button:after {
background:#00CC99;
}
/* Hello IE */
@media \0screen\,screen\9 {
div.cartodb-popup.v2.header.green a.cartodb-popup-close-button {
color:#00CC99;
}
}
@@ -0,0 +1,52 @@
/**
* CartoDB orange header popup styles
*/
div.cartodb-popup.header.orange div.cartodb-popup-header {
background:url('../img/headers.png') no-repeat -756px -40px;
}
div.cartodb-popup.header.orange div.cartodb-popup-header h4 {
color:#CC2929;
}
div.cartodb-popup.header.orange div.cartodb-popup-header span.separator {
background:#CC2929;
}
div.cartodb-popup.header.orange a.cartodb-popup-close-button {
background:url('../img/headers.png') no-repeat -982px -40px;
}
div.cartodb-popup.header.orange a.cartodb-popup-close-button:hover {
background-position:-982px -66px;
}
/* NEW CartoDB 2.0 orange header popups */
div.cartodb-popup.v2.header.orange div.cartodb-popup-header {
background: none;
background: -ms-linear-gradient(top, #FF6825, #FF3333);
background: -o-linear-gradient(right, #FF6825, #FF3333);
background: -webkit-linear-gradient(top, #FF6825, #FF3333);
background: -moz-linear-gradient(right, #FF6825, #FF3333);
-ms-filter: "progid:DXImageTransform.Microsoft.Gradient(startColorStr='#FF6825',endColorStr='#FF3333',GradientType=0)";
}
div.cartodb-popup.v2.header.orange a.cartodb-popup-close-button {
background:white;
}
div.cartodb-popup.v2.header.orange a.cartodb-popup-close-button:before,
div.cartodb-popup.v2.header.orange a.cartodb-popup-close-button:after {
background:#CC2929;
}
/* Hello IE */
@media \0screen\,screen\9 {
div.cartodb-popup.v2.header.orange a.cartodb-popup-close-button {
color:#CC2929;
}
}
@@ -0,0 +1,165 @@
/**
* CartoDB header with-image popup styles
*/
div.cartodb-popup.header.with-image div.cartodb-popup-header {
position:relative;
background:url('../img/headers.png') no-repeat -1008px 0;
height:138px;
max-height:104px;
}
div.cartodb-popup.header.with-image div.cartodb-popup-header .cover {
display:block;
position:absolute;
overflow:hidden;
width: 218px;
height:135px;
top: 4px;
left: 4px;
border-radius: 4px 4px 0 0;
}
div.cartodb-popup.header.with-image div.cartodb-popup-header .cover .shadow {
position:absolute;
width: 218px;
height:55px;
bottom: 0;
left: 0;
background:url('../img/shadow.png') no-repeat;
z-index: 100;
}
div.cartodb-popup.header.with-image div.cartodb-popup-header .cover #spinner {
position:absolute;
top: 67px;
left: 109px;
}
div.cartodb-popup.header.with-image div.cartodb-popup-header .cover img {
position:absolute;
border-radius: 4px 4px 0 0;
display:none;
}
div.cartodb-popup.header.with-image div.cartodb-popup-header .image_not_found {
position:absolute;
top: 15px;
left: 15px;
width: 200px;
display:none;
}
div.cartodb-popup.header.with-image div.cartodb-popup-header .image_not_found a {
display:-moz-inline-stack;display:inline-block;vertical-align:top;*vertical-align:auto;zoom:1;*display:inline;
margin: 3px 0 0 -2px;
color: #888888;
font-size:13px;
font-family: "Helvetica", "Helvetica Neue", Arial, sans-serif;
text-decoration: underline;
}
div.cartodb-popup.header.with-image div.cartodb-popup-header .image_not_found a:hover {
color: #888888;
text-decoration:underline;
}
div.cartodb-popup.header.with-image div.cartodb-popup-header .cover .image_not_found i {
display:-moz-inline-stack;display:inline-block;vertical-align:top;*vertical-align:auto;zoom:1;*display:inline;
width: 31px;
height: 22px;
background:transparent url('../img/image_not_found.png');
}
div.cartodb-popup.header.with-image div.cartodb-popup-header h1 {
position:absolute;
bottom: 13px;
left: 18px;
width: 188px;
z-index: 150;
}
div.cartodb-popup.header.with-image div.cartodb-popup-header h4 {
color:#CCC;
}
div.cartodb-popup.header.with-image div.cartodb-popup-header span.separator {
background:#CCC;
}
div.cartodb-popup.header.with-image a.cartodb-popup-close-button {
background:url('../img/headers.png') no-repeat -226px -40px;
}
div.cartodb-popup.header.with-image a.cartodb-popup-close-button:hover {
background-position:-226px -66px;
}
div.cartodb-popup.header.with-image .cartodb-popup-header h1 {
display:none;
}
div.cartodb-popup.header.with-image .cartodb-popup-header h1.order1 {
display:block;
}
div.cartodb-popup.header.with-image .cartodb-popup-content-wrapper .order1 {
display:none;
}
/* NEW CartoDB 2.0 image header popups */
div.cartodb-popup.v2.header.with-image div.cartodb-popup-header {
background: #2C2C2C;
background: -ms-linear-gradient(top, #535353, #2C2C2C);
background: -o-linear-gradient(right, #535353, #2C2C2C);
background: -webkit-linear-gradient(top, #535353, #2C2C2C);
background: -moz-linear-gradient(right, #535353, #2C2C2C);
-ms-filter: "progid:DXImageTransform.Microsoft.Gradient(startColorStr='#535353',endColorStr='#2C2C2C',GradientType=0)";
}
div.cartodb-popup.v2.header.with-image div.cartodb-popup-header h1 {
width:85%;
}
div.cartodb-popup.v2.header.with-image div.cartodb-popup-header span.separator {
left:0;
right:0;
background:#CCC;
}
div.cartodb-popup.v2.header.with-image a.cartodb-popup-close-button {
background:white;
}
div.cartodb-popup.v2.header.with-image div.cartodb-popup-header .cover {
display:block;
width:100%;
height:138px;
top:0;
left:0;
-moz-border-radius:2px 2px 0 0;
-webkit-border-radius:2px 2px 0 0;
border-radius:2px 2px 0 0;
overflow:hidden;
}
div.cartodb-popup.v2.header.with-image div.cartodb-popup-header .cover .shadow {
width: 100%;
height:57px;
background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(0,0,0,0)), color-stop(100%, rgba(0,0,0,0.8)));
background: -webkit-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.8));
background: -moz-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.8));
background: -o-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.8));
background: linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.8));
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 );
}
div.cartodb-popup.v2.header.with-image div.cartodb-popup-header .cover img {
-moz-border-radius:2px 2px 0 0;
-webkit-border-radius:2px 2px 0 0;
border-radius:2px 2px 0 0;
}
@@ -0,0 +1,51 @@
/**
* CartoDB yellow header popup styles
*/
div.cartodb-popup.header.yellow div.cartodb-popup-header {
background:url('../img/headers.png') no-repeat -504px -40px;
}
div.cartodb-popup.header.yellow div.cartodb-popup-header h4 {
color:#D8832A;
}
div.cartodb-popup.header.yellow div.cartodb-popup-header span.separator {
background:#CC7A29;
}
div.cartodb-popup.header.yellow a.cartodb-popup-close-button {
background:url('../img/headers.png') no-repeat -730px -40px;
}
div.cartodb-popup.header.yellow a.cartodb-popup-close-button:hover {
background-position:-730px -66px;
}
/* NEW CartoDB 2.0 yellow header popups */
div.cartodb-popup.v2.header.yellow div.cartodb-popup-header {
background: none;
background: -ms-linear-gradient(top, #FFBF0D, #FF9933);
background: -o-linear-gradient(right, #FFBF0D, #FF9933);
background: -webkit-linear-gradient(top, #FFBF0D, #FF9933);
background: -moz-linear-gradient(right, #FFBF0D, #FF9933);
-ms-filter: "progid:DXImageTransform.Microsoft.Gradient(startColorStr='#FFBF0D',endColorStr='#FF9933',GradientType=0)";
}
div.cartodb-popup.v2.header.yellow a.cartodb-popup-close-button {
background:white;
}
div.cartodb-popup.v2.header.yellow a.cartodb-popup-close-button:before,
div.cartodb-popup.v2.header.yellow a.cartodb-popup-close-button:after {
background:#CC7A29;
}
/* Hello IE */
@media \0screen\,screen\9 {
div.cartodb-popup.v2.header.yellow a.cartodb-popup-close-button {
color:#CC7A29;
}
}
@@ -0,0 +1,24 @@
/**
* CartoDB infowindow light styles
*/
div.cartodb-popup h4 {
color:#CCCCCC;
}
div.cartodb-popup p {
color:#333333;
}
div.cartodb-popup p.loading {
color:#888;
}
div.cartodb-popup p.error {
color:#FF7F7F;
}
div.cartodb-popup p.empty {
color:#999999;
}