grafana/public/sass/pages/_dashboard.scss

90 lines
1.2 KiB
SCSS
Raw Normal View History

2016-02-15 08:27:41 -06:00
.panel {
2017-10-16 02:55:55 -05:00
height: 100%;
}
2017-10-16 02:55:55 -05:00
2017-11-21 07:30:33 -06:00
.panel-height-helper {
display: block;
height: 100%;
}
2016-02-15 08:27:41 -06:00
.panel-container {
2016-02-16 01:30:37 -06:00
background-color: $panel-bg;
2017-08-17 08:52:22 -05:00
border: $panel-border;
2016-02-15 08:27:41 -06:00
position: relative;
2017-10-26 09:06:28 -05:00
border-radius: 3px;
2018-07-09 11:17:51 -05:00
height: 100%;
width: 100%;
display: flex;
flex-direction: column;
flex: 1 1 0;
box-shadow: $panel-box-shadow;
2016-02-15 08:27:41 -06:00
&--transparent {
background-color: transparent;
border: 1px solid transparent;
box-shadow: none;
2016-02-15 08:27:41 -06:00
}
&:hover {
.panel-menu-toggle {
visibility: visible;
transition: opacity 0.1s ease-in 0.2s;
opacity: 1;
}
}
2018-07-16 07:56:40 -05:00
&--is-editing {
height: auto;
}
&--absolute {
position: absolute;
}
2016-02-15 08:27:41 -06:00
}
.panel-content {
padding: $panel-padding;
width: 100%;
flex-grow: 1;
height: calc(100% - #{$panel-header-height});
&--no-padding {
padding: 0;
}
2016-02-15 08:27:41 -06:00
}
div.flot-text {
color: $text-color !important;
}
.dashboard-solo {
.footer,
.sidemenu {
display: none;
2016-02-15 08:27:41 -06:00
}
}
.template-variable {
color: $variable;
}
.panel-solo {
position: fixed;
bottom: 0;
right: 0;
margin: 0;
left: 0;
top: 0;
width: '100%';
height: '100%';
.panel-container {
border: none;
}
.panel-menu-toggle,
.panel-menu {
display: none;
}
}