Merge branch 'info-corner-refinements'

This commit is contained in:
Torkel Ödegaard
2016-12-16 21:17:47 +01:00
3 changed files with 10 additions and 8 deletions
+1 -1
View File
@@ -159,7 +159,7 @@ module.directive('grafanaPanel', function($rootScope) {
position: 'right middle',
classes: ctrl.error ? 'drop-error' : 'drop-help',
openOn: 'hover',
hoverOpenDelay: 400,
hoverOpenDelay: 100,
});
}
}
+1
View File
@@ -67,6 +67,7 @@
.modal-content {
padding: $spacer*2;
min-height: $spacer*15;
}
// Remove bottom margin if need be
+8 -7
View File
@@ -90,7 +90,7 @@ div.flot-text {
}
.panel-info-corner {
color: $text-color;
color: $text-muted;
cursor: pointer;
position: absolute;
display: none;
@@ -102,14 +102,14 @@ div.flot-text {
.fa {
position: relative;
top: -2px;
left: -5px;
font-size: 90%;
top: -4px;
left: -6px;
font-size: 75%;
}
&--info {
display: block;
background: $blue-dark;
background: lighten($panel-bg, 4%);
.fa:before {
content: "\f129";
}
@@ -117,9 +117,9 @@ div.flot-text {
&--links {
display: block;
background: $blue-dark;
background: lighten($panel-bg, 4%);
.fa {
left: -3px;
left: -5px;
}
.fa:before {
content: "\f08e";
@@ -128,6 +128,7 @@ div.flot-text {
&--error {
display: block;
color: $text-color;
background: $errorBackground !important;
.fa:before {
content: "\f12a";