grafana/public/sass/components/_infobox.scss

49 lines
875 B
SCSS
Raw Normal View History

2016-02-15 08:27:41 -06:00
.grafana-info-box {
position: relative;
padding: 1.5rem;
background-color: $empty-list-cta-bg;
margin-bottom: 2rem;
border-top: 3px solid $info-box-border-color;
2017-07-31 07:39:33 -05:00
margin-bottom: $spacer;
margin-right: $gf-form-margin;
box-shadow: $card-shadow;
2017-08-31 09:38:49 -05:00
flex-grow: 1;
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 {
2017-08-31 09:38:49 -05:00
padding-left: $spacer * 1.5;
2016-03-01 05:26:31 -06:00
}
2017-07-31 07:39:33 -05:00
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;
}
p:last-child {
margin-bottom: 0;
}
2017-07-31 07:39:33 -05:00
a {
@extend .external-link;
}
&--max-lg {
max-width: map-get($grid-breakpoints, 'lg');
}
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;
}