From 0efee4ff53f44130316c60c94e2b5fa9ad57173f Mon Sep 17 00:00:00 2001 From: Alex P Date: Fri, 14 Apr 2017 18:47:09 -0700 Subject: [PATCH] Remove unused styles from graph --- ui/src/style/components/graph.scss | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/ui/src/style/components/graph.scss b/ui/src/style/components/graph.scss index 60c329f70f..60f3721f5a 100644 --- a/ui/src/style/components/graph.scss +++ b/ui/src/style/components/graph.scss @@ -52,7 +52,7 @@ $graph-heading-height: 44px; padding: 8px 16px; position: relative; top: 16px; - height: calc(100% - #{($graph-heading-height - 32px)}); + height: calc(100% - #{($graph-heading-height + 32px)}); & > div > div:last-child { position: absolute; @@ -75,17 +75,14 @@ $graph-heading-height: 44px; @include no-user-select(); background-color: $g3-castle; border-radius: 0 0 $radius $radius; - padding: 8px 16px; position: relative; height: 316px; transition: background-color 0.25s ease; + top: 16px; + height: calc(100% - #{$graph-heading-height + 32px}); } .data-explorer .graph-container { - top: 16px; - height: calc(100% - #{$graph-heading-height - 32px}); - padding: 0; - & > div:not(.graph-panel__refreshing) { position: absolute; width: 100%; @@ -134,21 +131,6 @@ $graph-heading-height: 44px; background-repeat: no-repeat; animation: graph-panel-spinner 1s infinite linear; } -.graph-spinner--small { - width: 58px; - height: 58px; - background-image: url(assets/images/laser-spinner.png); - background-size: 100% 100%; - background-position: center center; - background-repeat: no-repeat; - animation: graph-panel-spinner 1s infinite linear; - position: absolute; - left: 0; - bottom: 0; - right: 0; - top: 0; - margin: auto; -} @keyframes graph-panel-spinner { 0% {