grafana/public/sass/components/_tabbed_view.scss

62 lines
966 B
SCSS
Raw Normal View History

2016-02-23 06:20:59 -06:00
.tabbed-view {
2016-02-23 07:05:12 -06:00
padding: $spacer*3;
2017-08-17 14:32:23 -05:00
margin-bottom: $dashboard-padding;
2016-02-24 03:32:22 -06:00
&.tabbed-view--panel-edit {
padding: 0;
.tabbed-view-header {
padding: 1.5em 1rem 0 1rem;
}
}
2016-02-23 06:20:59 -06:00
}
.tabbed-view-header {
2017-12-03 09:22:59 -06:00
background: $page-header-bg;
box-shadow: $page-header-shadow;
border-bottom: 1px solid $page-header-border-color;
2016-02-23 06:20:59 -06:00
@include clearfix();
}
.tabbed-view-title {
float: left;
padding-top: 0.5rem;
margin: 0 $spacer*3 0 $spacer*1;
}
2017-10-11 15:10:33 -05:00
.tabbed-view-panel-title {
float: left;
padding-top: 1rem;
margin: 0 2rem 0 0;
}
2016-02-23 06:20:59 -06:00
.tabbed-view-close-btn {
float: right;
padding: 0;
margin: 0;
background-color: transparent;
border: none;
2017-11-30 01:18:23 -06:00
padding: $tabs-padding;
2016-11-16 10:08:38 -06:00
color: $text-color;
2016-02-23 06:20:59 -06:00
i {
font-size: 120%;
}
&:hover {
color: $white;
}
}
.tabbed-view-body {
padding: $spacer*2 $spacer;
2017-08-17 11:50:46 -05:00
&--small {
min-height: 0px;
padding-bottom: 0px;
}
2016-02-23 06:20:59 -06:00
}
2016-02-23 07:05:12 -06:00
.section-heading {
font-size: 1.1rem;
margin-bottom: 0.6rem;
}