grafana/public/sass/components/_add_data_source.scss

47 lines
836 B
SCSS
Raw Normal View History

2018-10-03 09:04:30 -05:00
.add-data-source-header {
margin-bottom: $space-xl;
padding-top: $spacer;
2018-10-03 09:04:30 -05:00
text-align: center;
}
2018-10-04 04:42:17 -05:00
.add-data-source-search {
display: flex;
justify-content: center;
margin-bottom: $space-l;
2018-10-04 04:42:17 -05:00
}
2018-10-03 09:04:30 -05:00
.add-data-source-grid {
display: grid;
2018-10-04 04:42:17 -05:00
grid-template-columns: repeat(2, 1fr);
2018-10-03 09:04:30 -05:00
grid-row-gap: 10px;
grid-column-gap: 10px;
2018-10-04 04:42:17 -05:00
@include media-breakpoint-up(md) {
grid-template-columns: repeat(3, 1fr);
}
2018-10-03 09:04:30 -05:00
}
.add-data-source-grid-item {
padding: 15px;
2018-10-03 09:04:30 -05:00
display: flex;
align-items: center;
cursor: pointer;
background: $card-background;
box-shadow: $card-shadow;
2018-10-06 12:22:16 -05:00
color: $text-color;
2018-10-03 09:04:30 -05:00
&:hover {
background: $card-background-hover;
2018-10-06 12:22:16 -05:00
color: $text-color-strong;
2018-10-03 09:04:30 -05:00
}
}
.add-data-source-grid-item-text {
font-size: $font-size-h5;
}
.add-data-source-grid-item-logo {
margin: 0 $space-m;
2018-10-03 09:04:30 -05:00
width: 55px;
}