From 2cc1803afa104046316f7b79442ceb417d95ce22 Mon Sep 17 00:00:00 2001 From: elenatorro Date: Wed, 9 Jan 2019 17:09:48 +0100 Subject: [PATCH] Update carto.js --- package.json | 2 +- .../javascripts/cartodb.uncompressed.js | 2 +- vendor/assets/stylesheets/cartodb.css | 1777 ++++++++--------- 3 files changed, 890 insertions(+), 891 deletions(-) diff --git a/package.json b/package.json index 37c599b175..0c63ecac42 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "date-fns": "^1.29.0", "fastclick": "^1.0.6", "html-webpack-plugin": "^3.2.0", - "internal-carto.js": "CartoDB/carto.js#v4.1.8", + "internal-carto.js": "CartoDB/carto.js#v4.1.9", "jquery": "2.1.4", "leaflet": "CartoDB/Leaflet#v1.3.1-carto1", "moment": "2.18.1", diff --git a/vendor/assets/javascripts/cartodb.uncompressed.js b/vendor/assets/javascripts/cartodb.uncompressed.js index 77c77f0555..0bb92b477b 100644 --- a/vendor/assets/javascripts/cartodb.uncompressed.js +++ b/vendor/assets/javascripts/cartodb.uncompressed.js @@ -1,6 +1,6 @@ // cartodb.js version: 3.15.19 // uncompressed version: cartodb.uncompressed.js -// sha: 16bfd3decb52b2868332ab87c3a9a17a68e1e502 +// sha: 887fbbc3a227fb349e314a95290ba9af92afaa8d (function() { var define; // Undefine define (require.js), see https://github.com/CartoDB/cartodb.js/issues/543 var root = this; diff --git a/vendor/assets/stylesheets/cartodb.css b/vendor/assets/stylesheets/cartodb.css index da6274752a..dc1c98f702 100644 --- a/vendor/assets/stylesheets/cartodb.css +++ b/vendor/assets/stylesheets/cartodb.css @@ -106,224 +106,6 @@ border:2px solid #BBB; } } - /** - * 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; - } -/** - * 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; - } -} -/** - * 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; -} -/** - * 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; - } -} -/** - * 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; - } -} /** * CartoDB popup styles (DEFAULT) */ @@ -873,6 +655,351 @@ div.cartodb-popup.v2.header.yellow a.cartodb-popup-close-button:after { } } +/** + * 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; +} +/** + * 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); + } + +} + +/** + * 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; + } +} +/** + * 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; + } +} /** * CartoDB header with-image popup styles */ @@ -1038,683 +1165,78 @@ div.cartodb-popup.v2.header.yellow a.cartodb-popup-close-button:after { border-radius:2px 2px 0 0; } /** - * CartoDB header popup styles (DEFAULT) + * CartoDB yellow header popup styles */ -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.yellow div.cartodb-popup-header { + background:url('../img/headers.png') no-repeat -504px -40px; } -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.yellow div.cartodb-popup-header h4 { + color:#D8832A; } -div.cartodb-popup.header div.cartodb-popup-content { - max-height:150px; +div.cartodb-popup.header.yellow div.cartodb-popup-header span.separator { + background:#CC7A29; } -div.cartodb-popup.header a.cartodb-popup-close-button { - background:url('../img/headers.png') no-repeat -226px -40px; +div.cartodb-popup.header.yellow a.cartodb-popup-close-button { + background:url('../img/headers.png') no-repeat -730px -40px; } -div.cartodb-popup.header a.cartodb-popup-close-button:hover { - background-position:-226px -66px; +div.cartodb-popup.header.yellow a.cartodb-popup-close-button:hover { + background-position:-730px -66px; } +/* NEW CartoDB 2.0 yellow header popups */ - -/* 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; +div.cartodb-popup.v2.header.yellow 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)"; - - -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); + 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 a.cartodb-popup-close-button { - right:-12px; - top:-12px; - width:20px; - height:20px; +div.cartodb-popup.v2.header.yellow a.cartodb-popup-close-button { 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.yellow a.cartodb-popup-close-button:before, +div.cartodb-popup.v2.header.yellow a.cartodb-popup-close-button:after { + background:#CC7A29; } -div.cartodb-popup.v2.header a.cartodb-popup-close-button:after { - -ms-transform: rotate(-45deg); - -webkit-transform: rotate(-45deg); - transform: rotate(-45deg); +/* Hello IE */ +@media \0screen\,screen\9 { + div.cartodb-popup.v2.header.yellow a.cartodb-popup-close-button { + color:#CC7A29; + } } + /** + * CartoDB infowindow light styles + */ -div.cartodb-popup.v2.header a.cartodb-popup-close-button:hover { - box-shadow:0 0 0 3px rgba(0,0,0,0.25); -} + div.cartodb-popup h4 { + color:#CCCCCC; + } -/* Hello IE */ -@media \0screen\,screen\9 { + div.cartodb-popup p { + color:#333333; + } - div.cartodb-popup.header.v2 { - border-bottom:4px solid #CCC; + div.cartodb-popup p.loading { + color:#888; } - - div.cartodb-popup.v2.header div.cartodb-popup-header { - background:#3B7FBD; - -ms-filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr='#4F9CD7',endColorStr='#2B68A8',GradientType=0); + + div.cartodb-popup p.error { + color:#FF7F7F; } -} -/* required styles */ - -.leaflet-map-pane, -.leaflet-tile, -.leaflet-marker-icon, -.leaflet-marker-shadow, -.leaflet-tile-pane, -.leaflet-tile-container, -.leaflet-overlay-pane, -.leaflet-shadow-pane, -.leaflet-marker-pane, -.leaflet-popup-pane, -.leaflet-overlay-pane svg, -.leaflet-zoom-box, -.leaflet-image-layer, -.leaflet-layer { - position: absolute; - left: 0; - top: 0; - } -.leaflet-container { - overflow: hidden; - -ms-touch-action: none; - } -.leaflet-tile, -.leaflet-marker-icon, -.leaflet-marker-shadow { - -webkit-user-select: none; - -moz-user-select: none; - user-select: none; - -webkit-user-drag: none; - } -.leaflet-marker-icon, -.leaflet-marker-shadow { - display: block; - } -/* map is broken in FF if you have max-width: 100% on tiles */ -.leaflet-container img { - max-width: none !important; - } -/* stupid Android 2 doesn't understand "max-width: none" properly */ -.leaflet-container img.leaflet-image-layer { - max-width: 15000px !important; - } -.leaflet-tile { - filter: inherit; - visibility: hidden; - } -.leaflet-tile-loaded { - visibility: inherit; - } -.leaflet-zoom-box { - width: 0; - height: 0; - } -/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */ -.leaflet-overlay-pane svg { - -moz-user-select: none; - } - -.leaflet-tile-pane { z-index: 2; } -.leaflet-objects-pane { z-index: 3; } -.leaflet-overlay-pane { z-index: 4; } -.leaflet-shadow-pane { z-index: 5; } -.leaflet-marker-pane { z-index: 6; } -.leaflet-popup-pane { z-index: 7; } - -.leaflet-vml-shape { - width: 1px; - height: 1px; - } -.lvml { - behavior: url(#default#VML); - display: inline-block; - position: absolute; - } - - -/* control positioning */ - -.leaflet-control { - position: relative; - z-index: 7; - pointer-events: auto; - } -.leaflet-top, -.leaflet-bottom { - position: absolute; - z-index: 1000; - pointer-events: none; - } -.leaflet-top { - top: 0; - } -.leaflet-right { - right: 0; - } -.leaflet-bottom { - bottom: 0; - } -.leaflet-left { - left: 0; - } -.leaflet-control { - float: left; - clear: both; - } -.leaflet-right .leaflet-control { - float: right; - } -.leaflet-top .leaflet-control { - margin-top: 10px; - } -.leaflet-bottom .leaflet-control { - margin-bottom: 10px; - } -.leaflet-left .leaflet-control { - margin-left: 10px; - } -.leaflet-right .leaflet-control { - margin-right: 10px; - } - - -/* zoom and fade animations */ - -.leaflet-fade-anim .leaflet-tile, -.leaflet-fade-anim .leaflet-popup { - opacity: 0; - -webkit-transition: opacity 0.2s linear; - -moz-transition: opacity 0.2s linear; - -o-transition: opacity 0.2s linear; - transition: opacity 0.2s linear; - } -.leaflet-fade-anim .leaflet-tile-loaded, -.leaflet-fade-anim .leaflet-map-pane .leaflet-popup { - opacity: 1; - } - -.leaflet-zoom-anim .leaflet-zoom-animated { - -webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1); - -moz-transition: -moz-transform 0.25s cubic-bezier(0,0,0.25,1); - -o-transition: -o-transform 0.25s cubic-bezier(0,0,0.25,1); - transition: transform 0.25s cubic-bezier(0,0,0.25,1); - } -.leaflet-zoom-anim .leaflet-tile, -.leaflet-pan-anim .leaflet-tile, -.leaflet-touching .leaflet-zoom-animated { - -webkit-transition: none; - -moz-transition: none; - -o-transition: none; - transition: none; - } - -.leaflet-zoom-anim .leaflet-zoom-hide { - visibility: hidden; - } - - -/* cursors */ - -.leaflet-clickable { - cursor: pointer; - } -.leaflet-container { - cursor: -webkit-grab; - cursor: -moz-grab; - } -.leaflet-popup-pane, -.leaflet-control { - cursor: auto; - } -.leaflet-dragging .leaflet-container, -.leaflet-dragging .leaflet-clickable { - cursor: move; - cursor: -webkit-grabbing; - cursor: -moz-grabbing; - } - - -/* visual tweaks */ - -.leaflet-container { - background: #ddd; - outline: 0; - } -.leaflet-container a { - color: #0078A8; - } -.leaflet-container a.leaflet-active { - outline: 2px solid orange; - } -.leaflet-zoom-box { - border: 2px dotted #38f; - background: rgba(255,255,255,0.5); - } - - -/* general typography */ -.leaflet-container { - font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif; - } - - -/* general toolbar styles */ - -.leaflet-bar { - box-shadow: 0 1px 5px rgba(0,0,0,0.65); - border-radius: 4px; - } -.leaflet-bar a, -.leaflet-bar a:hover { - background-color: #fff; - border-bottom: 1px solid #ccc; - width: 26px; - height: 26px; - line-height: 26px; - display: block; - text-align: center; - text-decoration: none; - color: black; - } -.leaflet-bar a, -.leaflet-control-layers-toggle { - background-position: 50% 50%; - background-repeat: no-repeat; - display: block; - } -.leaflet-bar a:hover { - background-color: #f4f4f4; - } -.leaflet-bar a:first-child { - border-top-left-radius: 4px; - border-top-right-radius: 4px; - } -.leaflet-bar a:last-child { - border-bottom-left-radius: 4px; - border-bottom-right-radius: 4px; - border-bottom: none; - } -.leaflet-bar a.leaflet-disabled { - cursor: default; - background-color: #f4f4f4; - color: #bbb; - } - -.leaflet-touch .leaflet-bar a { - width: 30px; - height: 30px; - line-height: 30px; - } - - -/* zoom control */ - -.leaflet-control-zoom-in, -.leaflet-control-zoom-out { - font: bold 18px 'Lucida Console', Monaco, monospace; - text-indent: 1px; - } -.leaflet-control-zoom-out { - font-size: 20px; - } - -.leaflet-touch .leaflet-control-zoom-in { - font-size: 22px; - } -.leaflet-touch .leaflet-control-zoom-out { - font-size: 24px; - } - - -/* layers control */ - -.leaflet-control-layers { - box-shadow: 0 1px 5px rgba(0,0,0,0.4); - background: #fff; - border-radius: 5px; - } -.leaflet-control-layers-toggle { - background-image: url(images/layers.png); - width: 36px; - height: 36px; - } -.leaflet-retina .leaflet-control-layers-toggle { - background-image: url(images/layers-2x.png); - background-size: 26px 26px; - } -.leaflet-touch .leaflet-control-layers-toggle { - width: 44px; - height: 44px; - } -.leaflet-control-layers .leaflet-control-layers-list, -.leaflet-control-layers-expanded .leaflet-control-layers-toggle { - display: none; - } -.leaflet-control-layers-expanded .leaflet-control-layers-list { - display: block; - position: relative; - } -.leaflet-control-layers-expanded { - padding: 6px 10px 6px 6px; - color: #333; - background: #fff; - } -.leaflet-control-layers-selector { - margin-top: 2px; - position: relative; - top: 1px; - } -.leaflet-control-layers label { - display: block; - } -.leaflet-control-layers-separator { - height: 0; - border-top: 1px solid #ddd; - margin: 5px -10px 5px -6px; - } - - -/* attribution and scale controls */ - -.leaflet-container .leaflet-control-attribution { - background: #fff; - background: rgba(255, 255, 255, 0.7); - margin: 0; - } -.leaflet-control-attribution, -.leaflet-control-scale-line { - padding: 0 5px; - color: #333; - } -.leaflet-control-attribution a { - text-decoration: none; - } -.leaflet-control-attribution a:hover { - text-decoration: underline; - } -.leaflet-container .leaflet-control-attribution, -.leaflet-container .leaflet-control-scale { - font-size: 11px; - } -.leaflet-left .leaflet-control-scale { - margin-left: 5px; - } -.leaflet-bottom .leaflet-control-scale { - margin-bottom: 5px; - } -.leaflet-control-scale-line { - border: 2px solid #777; - border-top: none; - line-height: 1.1; - padding: 2px 5px 1px; - font-size: 11px; - white-space: nowrap; - overflow: hidden; - -moz-box-sizing: content-box; - box-sizing: content-box; - - background: #fff; - background: rgba(255, 255, 255, 0.5); - } -.leaflet-control-scale-line:not(:first-child) { - border-top: 2px solid #777; - border-bottom: none; - margin-top: -2px; - } -.leaflet-control-scale-line:not(:first-child):not(:last-child) { - border-bottom: 2px solid #777; - } - -.leaflet-touch .leaflet-control-attribution, -.leaflet-touch .leaflet-control-layers, -.leaflet-touch .leaflet-bar { - box-shadow: none; - } -.leaflet-touch .leaflet-control-layers, -.leaflet-touch .leaflet-bar { - border: 2px solid rgba(0,0,0,0.2); - background-clip: padding-box; - } - - -/* popup */ - -.leaflet-popup { - position: absolute; - text-align: center; - } -.leaflet-popup-content-wrapper { - padding: 1px; - text-align: left; - border-radius: 12px; - } -.leaflet-popup-content { - margin: 13px 19px; - line-height: 1.4; - } -.leaflet-popup-content p { - margin: 18px 0; - } -.leaflet-popup-tip-container { - margin: 0 auto; - width: 40px; - height: 20px; - position: relative; - overflow: hidden; - } -.leaflet-popup-tip { - width: 17px; - height: 17px; - padding: 1px; - - margin: -10px auto 0; - - -webkit-transform: rotate(45deg); - -moz-transform: rotate(45deg); - -ms-transform: rotate(45deg); - -o-transform: rotate(45deg); - transform: rotate(45deg); - } -.leaflet-popup-content-wrapper, -.leaflet-popup-tip { - background: white; - - box-shadow: 0 3px 14px rgba(0,0,0,0.4); - } -.leaflet-container a.leaflet-popup-close-button { - position: absolute; - top: 0; - right: 0; - padding: 4px 4px 0 0; - text-align: center; - width: 18px; - height: 14px; - font: 16px/14px Tahoma, Verdana, sans-serif; - color: #c3c3c3; - text-decoration: none; - font-weight: bold; - background: transparent; - } -.leaflet-container a.leaflet-popup-close-button:hover { - color: #999; - } -.leaflet-popup-scrolled { - overflow: auto; - border-bottom: 1px solid #ddd; - border-top: 1px solid #ddd; - } - -.leaflet-oldie .leaflet-popup-content-wrapper { - zoom: 1; - } -.leaflet-oldie .leaflet-popup-tip { - width: 24px; - margin: 0 auto; - - -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)"; - filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678); - } -.leaflet-oldie .leaflet-popup-tip-container { - margin-top: -1px; - } - -.leaflet-oldie .leaflet-control-zoom, -.leaflet-oldie .leaflet-control-layers, -.leaflet-oldie .leaflet-popup-content-wrapper, -.leaflet-oldie .leaflet-popup-tip { - border: 1px solid #999; - } - - -/* div icon */ - -.leaflet-div-icon { - background: #fff; - border: 1px solid #666; - } -/** + div.cartodb-popup p.empty { + color:#999999; + }/** * CartoDB map style components */ @-webkit-keyframes loading { @@ -4306,13 +3828,507 @@ div.cartodb-timeslider .ui-slider-vertical .ui-slider-range-max { width: 90px; font-size: 12px; } -} +}/* required styles */ + +.leaflet-map-pane, +.leaflet-tile, +.leaflet-marker-icon, +.leaflet-marker-shadow, +.leaflet-tile-pane, +.leaflet-tile-container, +.leaflet-overlay-pane, +.leaflet-shadow-pane, +.leaflet-marker-pane, +.leaflet-popup-pane, +.leaflet-overlay-pane svg, +.leaflet-zoom-box, +.leaflet-image-layer, +.leaflet-layer { + position: absolute; + left: 0; + top: 0; + } +.leaflet-container { + overflow: hidden; + -ms-touch-action: none; + } +.leaflet-tile, +.leaflet-marker-icon, +.leaflet-marker-shadow { + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; + -webkit-user-drag: none; + } +.leaflet-marker-icon, +.leaflet-marker-shadow { + display: block; + } +/* map is broken in FF if you have max-width: 100% on tiles */ +.leaflet-container img { + max-width: none !important; + } +/* stupid Android 2 doesn't understand "max-width: none" properly */ +.leaflet-container img.leaflet-image-layer { + max-width: 15000px !important; + } +.leaflet-tile { + filter: inherit; + visibility: hidden; + } +.leaflet-tile-loaded { + visibility: inherit; + } +.leaflet-zoom-box { + width: 0; + height: 0; + } +/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */ +.leaflet-overlay-pane svg { + -moz-user-select: none; + } + +.leaflet-tile-pane { z-index: 2; } +.leaflet-objects-pane { z-index: 3; } +.leaflet-overlay-pane { z-index: 4; } +.leaflet-shadow-pane { z-index: 5; } +.leaflet-marker-pane { z-index: 6; } +.leaflet-popup-pane { z-index: 7; } + +.leaflet-vml-shape { + width: 1px; + height: 1px; + } +.lvml { + behavior: url(#default#VML); + display: inline-block; + position: absolute; + } + + +/* control positioning */ + +.leaflet-control { + position: relative; + z-index: 7; + pointer-events: auto; + } +.leaflet-top, +.leaflet-bottom { + position: absolute; + z-index: 1000; + pointer-events: none; + } +.leaflet-top { + top: 0; + } +.leaflet-right { + right: 0; + } +.leaflet-bottom { + bottom: 0; + } +.leaflet-left { + left: 0; + } +.leaflet-control { + float: left; + clear: both; + } +.leaflet-right .leaflet-control { + float: right; + } +.leaflet-top .leaflet-control { + margin-top: 10px; + } +.leaflet-bottom .leaflet-control { + margin-bottom: 10px; + } +.leaflet-left .leaflet-control { + margin-left: 10px; + } +.leaflet-right .leaflet-control { + margin-right: 10px; + } + + +/* zoom and fade animations */ + +.leaflet-fade-anim .leaflet-tile, +.leaflet-fade-anim .leaflet-popup { + opacity: 0; + -webkit-transition: opacity 0.2s linear; + -moz-transition: opacity 0.2s linear; + -o-transition: opacity 0.2s linear; + transition: opacity 0.2s linear; + } +.leaflet-fade-anim .leaflet-tile-loaded, +.leaflet-fade-anim .leaflet-map-pane .leaflet-popup { + opacity: 1; + } + +.leaflet-zoom-anim .leaflet-zoom-animated { + -webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1); + -moz-transition: -moz-transform 0.25s cubic-bezier(0,0,0.25,1); + -o-transition: -o-transform 0.25s cubic-bezier(0,0,0.25,1); + transition: transform 0.25s cubic-bezier(0,0,0.25,1); + } +.leaflet-zoom-anim .leaflet-tile, +.leaflet-pan-anim .leaflet-tile, +.leaflet-touching .leaflet-zoom-animated { + -webkit-transition: none; + -moz-transition: none; + -o-transition: none; + transition: none; + } + +.leaflet-zoom-anim .leaflet-zoom-hide { + visibility: hidden; + } + + +/* cursors */ + +.leaflet-clickable { + cursor: pointer; + } +.leaflet-container { + cursor: -webkit-grab; + cursor: -moz-grab; + } +.leaflet-popup-pane, +.leaflet-control { + cursor: auto; + } +.leaflet-dragging .leaflet-container, +.leaflet-dragging .leaflet-clickable { + cursor: move; + cursor: -webkit-grabbing; + cursor: -moz-grabbing; + } + + +/* visual tweaks */ + +.leaflet-container { + background: #ddd; + outline: 0; + } +.leaflet-container a { + color: #0078A8; + } +.leaflet-container a.leaflet-active { + outline: 2px solid orange; + } +.leaflet-zoom-box { + border: 2px dotted #38f; + background: rgba(255,255,255,0.5); + } + + +/* general typography */ +.leaflet-container { + font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif; + } + + +/* general toolbar styles */ + +.leaflet-bar { + box-shadow: 0 1px 5px rgba(0,0,0,0.65); + border-radius: 4px; + } +.leaflet-bar a, +.leaflet-bar a:hover { + background-color: #fff; + border-bottom: 1px solid #ccc; + width: 26px; + height: 26px; + line-height: 26px; + display: block; + text-align: center; + text-decoration: none; + color: black; + } +.leaflet-bar a, +.leaflet-control-layers-toggle { + background-position: 50% 50%; + background-repeat: no-repeat; + display: block; + } +.leaflet-bar a:hover { + background-color: #f4f4f4; + } +.leaflet-bar a:first-child { + border-top-left-radius: 4px; + border-top-right-radius: 4px; + } +.leaflet-bar a:last-child { + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + border-bottom: none; + } +.leaflet-bar a.leaflet-disabled { + cursor: default; + background-color: #f4f4f4; + color: #bbb; + } + +.leaflet-touch .leaflet-bar a { + width: 30px; + height: 30px; + line-height: 30px; + } + + +/* zoom control */ + +.leaflet-control-zoom-in, +.leaflet-control-zoom-out { + font: bold 18px 'Lucida Console', Monaco, monospace; + text-indent: 1px; + } +.leaflet-control-zoom-out { + font-size: 20px; + } + +.leaflet-touch .leaflet-control-zoom-in { + font-size: 22px; + } +.leaflet-touch .leaflet-control-zoom-out { + font-size: 24px; + } + + +/* layers control */ + +.leaflet-control-layers { + box-shadow: 0 1px 5px rgba(0,0,0,0.4); + background: #fff; + border-radius: 5px; + } +.leaflet-control-layers-toggle { + background-image: url(images/layers.png); + width: 36px; + height: 36px; + } +.leaflet-retina .leaflet-control-layers-toggle { + background-image: url(images/layers-2x.png); + background-size: 26px 26px; + } +.leaflet-touch .leaflet-control-layers-toggle { + width: 44px; + height: 44px; + } +.leaflet-control-layers .leaflet-control-layers-list, +.leaflet-control-layers-expanded .leaflet-control-layers-toggle { + display: none; + } +.leaflet-control-layers-expanded .leaflet-control-layers-list { + display: block; + position: relative; + } +.leaflet-control-layers-expanded { + padding: 6px 10px 6px 6px; + color: #333; + background: #fff; + } +.leaflet-control-layers-selector { + margin-top: 2px; + position: relative; + top: 1px; + } +.leaflet-control-layers label { + display: block; + } +.leaflet-control-layers-separator { + height: 0; + border-top: 1px solid #ddd; + margin: 5px -10px 5px -6px; + } + + +/* attribution and scale controls */ + +.leaflet-container .leaflet-control-attribution { + background: #fff; + background: rgba(255, 255, 255, 0.7); + margin: 0; + } +.leaflet-control-attribution, +.leaflet-control-scale-line { + padding: 0 5px; + color: #333; + } +.leaflet-control-attribution a { + text-decoration: none; + } +.leaflet-control-attribution a:hover { + text-decoration: underline; + } +.leaflet-container .leaflet-control-attribution, +.leaflet-container .leaflet-control-scale { + font-size: 11px; + } +.leaflet-left .leaflet-control-scale { + margin-left: 5px; + } +.leaflet-bottom .leaflet-control-scale { + margin-bottom: 5px; + } +.leaflet-control-scale-line { + border: 2px solid #777; + border-top: none; + line-height: 1.1; + padding: 2px 5px 1px; + font-size: 11px; + white-space: nowrap; + overflow: hidden; + -moz-box-sizing: content-box; + box-sizing: content-box; + + background: #fff; + background: rgba(255, 255, 255, 0.5); + } +.leaflet-control-scale-line:not(:first-child) { + border-top: 2px solid #777; + border-bottom: none; + margin-top: -2px; + } +.leaflet-control-scale-line:not(:first-child):not(:last-child) { + border-bottom: 2px solid #777; + } + +.leaflet-touch .leaflet-control-attribution, +.leaflet-touch .leaflet-control-layers, +.leaflet-touch .leaflet-bar { + box-shadow: none; + } +.leaflet-touch .leaflet-control-layers, +.leaflet-touch .leaflet-bar { + border: 2px solid rgba(0,0,0,0.2); + background-clip: padding-box; + } + + +/* popup */ + +.leaflet-popup { + position: absolute; + text-align: center; + } +.leaflet-popup-content-wrapper { + padding: 1px; + text-align: left; + border-radius: 12px; + } +.leaflet-popup-content { + margin: 13px 19px; + line-height: 1.4; + } +.leaflet-popup-content p { + margin: 18px 0; + } +.leaflet-popup-tip-container { + margin: 0 auto; + width: 40px; + height: 20px; + position: relative; + overflow: hidden; + } +.leaflet-popup-tip { + width: 17px; + height: 17px; + padding: 1px; + + margin: -10px auto 0; + + -webkit-transform: rotate(45deg); + -moz-transform: rotate(45deg); + -ms-transform: rotate(45deg); + -o-transform: rotate(45deg); + transform: rotate(45deg); + } +.leaflet-popup-content-wrapper, +.leaflet-popup-tip { + background: white; + + box-shadow: 0 3px 14px rgba(0,0,0,0.4); + } +.leaflet-container a.leaflet-popup-close-button { + position: absolute; + top: 0; + right: 0; + padding: 4px 4px 0 0; + text-align: center; + width: 18px; + height: 14px; + font: 16px/14px Tahoma, Verdana, sans-serif; + color: #c3c3c3; + text-decoration: none; + font-weight: bold; + background: transparent; + } +.leaflet-container a.leaflet-popup-close-button:hover { + color: #999; + } +.leaflet-popup-scrolled { + overflow: auto; + border-bottom: 1px solid #ddd; + border-top: 1px solid #ddd; + } + +.leaflet-oldie .leaflet-popup-content-wrapper { + zoom: 1; + } +.leaflet-oldie .leaflet-popup-tip { + width: 24px; + margin: 0 auto; + + -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)"; + filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678); + } +.leaflet-oldie .leaflet-popup-tip-container { + margin-top: -1px; + } + +.leaflet-oldie .leaflet-control-zoom, +.leaflet-oldie .leaflet-control-layers, +.leaflet-oldie .leaflet-popup-content-wrapper, +.leaflet-oldie .leaflet-popup-tip { + border: 1px solid #999; + } + + +/* div icon */ + +.leaflet-div-icon { + background: #fff; + border: 1px solid #666; + } + /** - * CartoDB tooltip light styles + * CartoDB tooltip dark styles */ - + div.cartodb-tooltip-content-wrapper.dark { + background: rgb(0,0,0); + background:rgba(0,0,0,0.75); + filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#bf000000, endColorstr=#bf000000); + -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#bf000000, endColorstr=#bf000000)"; + } + + div.cartodb-tooltip-content-wrapper.dark h4 { + color:#999; + } + + div.cartodb-tooltip-content-wrapper.dark p { + color:#FFFFFF; + } + div.cartodb-tooltip-content-wrapper.dark a { + color:#397DB9; + } /** * CartoDB2.0 tooltip styles (DEFAULT) */ @@ -4380,24 +4396,7 @@ div.cartodb-timeslider .ui-slider-vertical .ui-slider-range-max { } /** - * CartoDB tooltip dark styles + * CartoDB tooltip light styles */ - div.cartodb-tooltip-content-wrapper.dark { - background: rgb(0,0,0); - background:rgba(0,0,0,0.75); - filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#bf000000, endColorstr=#bf000000); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#bf000000, endColorstr=#bf000000)"; - } - - div.cartodb-tooltip-content-wrapper.dark h4 { - color:#999; - } - - div.cartodb-tooltip-content-wrapper.dark p { - color:#FFFFFF; - } - - div.cartodb-tooltip-content-wrapper.dark a { - color:#397DB9; - } \ No newline at end of file +