Skip to content

Commit

Permalink
lint auto-fix, Material theme spacing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
texodus committed Apr 22, 2019
1 parent 077e4f3 commit ed4439b
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 22 deletions.
4 changes: 3 additions & 1 deletion packages/perspective-cli/src/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@
}
</style>
</head>

<body>
<perspective-viewer id="view1"></perspective-viewer>
<perspective-viewer id="view1"></perspective-viewer>
<script>
window.addEventListener('WebComponentsReady', function() {
var elem = document.getElementById('view1');
Expand All @@ -53,4 +54,5 @@
});
</script>
</body>

</html>
2 changes: 1 addition & 1 deletion packages/perspective-jupyterlab/src/less/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ div.PSPContainer perspective-viewer,
div.PSPContainer-dark perspective-viewer {
display: block;
height: 95%;
}
}
4 changes: 2 additions & 2 deletions packages/perspective-viewer-d3fc/src/html/d3fc-chart.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<template id="perspective-d3fc-chart">
<div id="container" class="chart">
</div>
<div id="container" class="chart">
</div>
</template>
2 changes: 1 addition & 1 deletion packages/perspective-viewer-d3fc/src/html/d3fc.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template id="perspective-d3fc">
<div id="container">

</div>
</template>
32 changes: 16 additions & 16 deletions packages/perspective-viewer/src/less/viewer.less
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
--hypergrid-row-hover--color: #666;
--hypergrid-cell-hover--background: #eeeeee;
--hypergrid-cell-hover--color: #666;

--d3fc-series: rgba(31, 119, 180, 0.5);
--d3fc-series-1: #0366d6;
--d3fc-series-2: #ff7f0e;
Expand All @@ -88,25 +88,25 @@
--d3fc-series-9: #bcbd22;
--d3fc-series-10: #17becf;
--d3fc-gradient-full: linear-gradient(
#4d342f 0%,
#e4521b 22.5%,
#feeb65 42.5%,
#f0f0f0 50%,
#dcedc8 57.5%,
#42b3d5 67.5%,
#1a237e 100%
);
#4d342f 0%,
#e4521b 22.5%,
#feeb65 42.5%,
#f0f0f0 50%,
#dcedc8 57.5%,
#42b3d5 67.5%,
#1a237e 100%
);
--d3fc-gradient-positive: linear-gradient(
#dcedc8 0%,
#42b3d5 35%,
#1a237e 100%
#dcedc8 0%,
#42b3d5 35%,
#1a237e 100%
);
--d3fc-gradient-negative: linear-gradient(
#feeb65 100%,
#e4521b 70%,
#4d342f 0%
#feeb65 100%,
#e4521b 70%,
#4d342f 0%
);

#pivot_chart {
position: absolute;
width: 100%;
Expand Down
2 changes: 1 addition & 1 deletion packages/perspective-viewer/src/themes/material.less
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ perspective-viewer {

--sort-order-asc--before: "arrow_upward";
--sort-order-desc--before: "arrow_downward";
--sort-order-none--before: "-";
--sort-order-none--before: "remove";
--sort-order-col-asc--before: "arrow_back";
--sort-order-col-desc--before: "arrow_forward";
--sort_order-padding: 0 0 0 0px;
Expand Down

0 comments on commit ed4439b

Please sign in to comment.