update cartoassets with buttons and colors

This commit is contained in:
piensaenpixel
2017-05-09 18:17:30 +02:00
parent 0044cebbd9
commit 8060bfe0b2
3 changed files with 98 additions and 10 deletions
+12
View File
@@ -1,5 +1,8 @@
<head>
<link href='../css/cartostyles.css' type='text/css' rel='stylesheet'>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
</head>
{{> theme}}
@@ -44,6 +47,12 @@
// Show section in Styleguide
j('#styleguide .section[data-section="' + j('#styleguide-menu a').first().data('section') + '"]').show();
}
$('.CDB-Button--loading').click(function(){
console.log($(this));
$(this).toggleClass("is-loading");
})
});
</script>
@@ -116,3 +125,6 @@
</div>
{{/each}}
</div>