Files
grafana/public/sass/components/_infobox.scss
2018-09-28 19:12:50 +02:00

44 lines
773 B
SCSS

.grafana-info-box {
position: relative;
background: $info-box-background;
box-shadow: $card-shadow;
padding: 1rem;
border-radius: 4px;
margin-bottom: $spacer;
margin-right: $gf-form-margin;
flex-grow: 1;
color: $info-box-color;
h5 {
color: $info-box-color;
}
h5 {
margin-bottom: $spacer;
}
ul {
padding-left: $spacer * 1.5;
}
code {
@include font-family-monospace();
font-size: $font-size-base - 2;
background-color: $code-tag-bg;
color: $text-color;
border: 1px solid $code-tag-border;
border-radius: 4px;
}
a {
@extend .external-link;
}
}
.grafana-info-box__close {
text-align: center;
display: block;
color: $link-color !important;
height: 0;
position: relative;
top: -9px;
}