grafana/public/sass/components/_infobox.scss

50 lines
828 B
SCSS
Raw Normal View History

// .grafana-info-box::before {
// content: "\f05a";
// font-family:'FontAwesome';
// position: absolute;
// top: -13px;
// left: -8px;
// font-size: 20px;
// color: $text-color;
// }
2016-02-15 08:27:41 -06:00
.grafana-info-box {
position: relative;
2017-07-31 07:39:33 -05:00
background: $info-box-background;
2017-05-05 02:16:28 -05:00
box-shadow: $card-shadow;
padding: 1rem;
border-radius: 4px;
2017-07-31 07:39:33 -05:00
margin-bottom: $spacer;
margin-right: $gf-form-margin;
2017-05-05 02:16:28 -05:00
2016-02-15 08:27:41 -06:00
h5 {
margin-bottom: $spacer;
2016-02-15 08:27:41 -06:00
}
2016-03-01 05:26:31 -06:00
ul {
padding-left: $spacer;
}
2017-07-31 07:39:33 -05:00
a {
@extend .external-link;
}
&--animate {
max-height: 0;
overflow: hidden;
}
&--animate-open {
max-height: 1000px;
transition: max-height 250ms ease-in-out;
}
2016-02-15 08:27:41 -06:00
}
.grafana-info-box__close {
text-align: center;
display: block;
color: $link-color !important;
height: 0;
position: relative;
top: -9px;
}