grafana/public/sass/components/_tabbed_view.scss
Patrick O'Carroll 75e3d3e59a Chore: Theme consistency, rems => pixels (#16145)
* replaced rem with pixels or variables

* replaced rems with pixels or variables

* repalced rems with pixels and variables
2019-03-27 08:48:24 +01:00

57 lines
914 B
SCSS

.tabbed-view {
display: flex;
flex-direction: column;
height: 100%;
flex-grow: 1;
&.tabbed-view--new {
padding: 0 0 0 0;
height: 100%;
}
}
.tabbed-view-header {
box-shadow: $page-header-shadow;
border-bottom: 1px solid $page-header-border-color;
padding: 0 $space-md;
@include clearfix();
}
.tabbed-view-title {
float: left;
padding-top: $space-sm;
margin: 0 $spacer * 3 0 0;
}
.tabbed-view-close-btn {
float: right;
margin: 0;
background-color: transparent;
border: none;
padding: $tabs-padding;
color: $text-color;
i {
font-size: 120%;
}
&:hover {
color: $text-color-strong;
}
}
.tabbed-view-body {
padding: $spacer * 2 $spacer $spacer $spacer;
display: flex;
flex-direction: column;
flex: 1;
&--small {
min-height: 0px;
padding-bottom: 0px;
}
}
.section-heading {
font-size: $font-size-md;
margin-bottom: $space-sm;
}