2016-02-15 15:27:41 +01:00
|
|
|
.grafana-app {
|
2017-08-14 12:26:24 +02:00
|
|
|
display: flex;
|
|
|
|
|
align-items: stretch;
|
2017-08-14 22:44:01 +02:00
|
|
|
position: absolute;
|
2017-08-14 12:26:24 +02:00
|
|
|
width: 100%;
|
2017-08-14 22:44:01 +02:00
|
|
|
height: 100%;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
2016-02-15 15:27:41 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.main-view {
|
2017-08-14 22:44:01 +02:00
|
|
|
position: relative;
|
2017-08-14 12:26:24 +02:00
|
|
|
flex-grow: 1;
|
2017-08-17 21:32:23 +02:00
|
|
|
background: $page-gradient;
|
2016-02-15 15:27:41 +01:00
|
|
|
}
|
|
|
|
|
|
2018-11-22 08:46:54 +01:00
|
|
|
.panel-in-fullscreen {
|
|
|
|
|
.main-view {
|
2018-11-22 15:34:55 +01:00
|
|
|
background: $edit-gradient;
|
2018-11-22 08:46:54 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-01-14 16:05:49 +01:00
|
|
|
.page-scrollbar-wrapper {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.page-scrollbar-content {
|
|
|
|
|
display: flex;
|
|
|
|
|
min-height: 100%;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
2016-02-15 15:27:41 +01:00
|
|
|
.page-container {
|
2019-01-14 16:05:49 +01:00
|
|
|
flex-grow: 1;
|
|
|
|
|
width: 100%;
|
2017-12-05 15:16:06 +01:00
|
|
|
margin-left: auto;
|
|
|
|
|
margin-right: auto;
|
2019-02-19 15:41:35 +01:00
|
|
|
padding-left: $spacer * 2;
|
|
|
|
|
padding-right: $spacer * 2;
|
2017-12-05 15:16:06 +01:00
|
|
|
max-width: 980px;
|
|
|
|
|
@include clearfix();
|
2017-08-14 22:44:01 +02:00
|
|
|
}
|
2017-08-14 16:06:20 +02:00
|
|
|
|
2018-04-26 11:58:42 +02:00
|
|
|
.page-full {
|
|
|
|
|
margin-left: $page-sidebar-margin;
|
|
|
|
|
padding-left: $spacer;
|
|
|
|
|
padding-right: $spacer;
|
|
|
|
|
@include clearfix();
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-14 22:44:01 +02:00
|
|
|
.scroll-canvas {
|
|
|
|
|
position: absolute;
|
|
|
|
|
width: 100%;
|
2017-08-15 09:46:38 +02:00
|
|
|
overflow: auto;
|
2017-08-16 11:28:52 +02:00
|
|
|
height: 100%;
|
2018-04-12 10:52:21 +02:00
|
|
|
-webkit-overflow-scrolling: touch;
|
2018-12-25 20:18:38 +01:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2017-08-16 11:28:52 +02:00
|
|
|
|
2017-08-17 12:06:51 +02:00
|
|
|
&--dashboard {
|
2017-12-15 13:14:00 +01:00
|
|
|
height: calc(100% - 56px);
|
2017-08-16 11:28:52 +02:00
|
|
|
}
|
2018-11-22 12:51:10 +01:00
|
|
|
|
|
|
|
|
> div {
|
|
|
|
|
flex-grow: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
> .footer {
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Render in correct position even ng-view div is not rendered yet
|
|
|
|
|
> .footer:first-child {
|
|
|
|
|
flex-grow: 1;
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
|
|
> * {
|
|
|
|
|
width: 100%;
|
|
|
|
|
align-self: flex-end;
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-08-14 16:06:20 +02:00
|
|
|
}
|
|
|
|
|
|
2018-04-11 20:12:32 +02:00
|
|
|
// fix for phantomjs
|
|
|
|
|
.body--phantomjs {
|
|
|
|
|
.scroll-canvas {
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2016-02-26 18:25:39 +01:00
|
|
|
.page-body {
|
2019-02-19 15:41:35 +01:00
|
|
|
padding-top: $spacer * 2;
|
2016-02-26 18:25:39 +01:00
|
|
|
}
|
|
|
|
|
|
2017-11-30 15:37:03 +01:00
|
|
|
.page-heading {
|
2019-03-21 15:44:14 +01:00
|
|
|
font-size: $font-size-h4;
|
2017-11-30 15:37:03 +01:00
|
|
|
margin-top: 0;
|
2019-09-19 16:13:38 +01:00
|
|
|
margin-bottom: $spacer;
|
2017-11-30 15:37:03 +01:00
|
|
|
}
|
|
|
|
|
|
2017-11-30 11:31:38 +01:00
|
|
|
.page-action-bar {
|
|
|
|
|
margin-bottom: $spacer * 2;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: flex-start;
|
2017-11-30 16:35:27 +01:00
|
|
|
|
2017-12-19 16:22:41 +01:00
|
|
|
> a,
|
|
|
|
|
> button {
|
2017-11-30 16:35:27 +01:00
|
|
|
margin-left: $spacer;
|
|
|
|
|
}
|
2017-11-30 11:31:38 +01:00
|
|
|
}
|
|
|
|
|
|
2017-12-14 20:20:36 +01:00
|
|
|
.page-action-bar--narrow {
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
|
2017-11-30 11:31:38 +01:00
|
|
|
.page-action-bar__spacer {
|
|
|
|
|
width: $spacer * 2;
|
|
|
|
|
flex-grow: 1;
|
|
|
|
|
}
|
|
|
|
|
|
2017-12-01 10:47:21 +01:00
|
|
|
.sidebar-content {
|
2018-01-29 14:45:45 +01:00
|
|
|
width: calc(100% - #{$page-sidebar-width + $page-sidebar-margin}); // sidebar width + margin
|
2016-02-26 18:25:39 +01:00
|
|
|
}
|
|
|
|
|
|
2017-12-01 10:47:21 +01:00
|
|
|
.sidebar-container {
|
|
|
|
|
@include media-breakpoint-up(md) {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2016-02-26 18:25:39 +01:00
|
|
|
.page-sidebar {
|
|
|
|
|
@include media-breakpoint-up(md) {
|
|
|
|
|
width: $page-sidebar-width;
|
|
|
|
|
margin-left: $page-sidebar-margin;
|
|
|
|
|
}
|
2016-02-25 15:56:28 +01:00
|
|
|
}
|
|
|
|
|
|
2017-11-30 16:35:27 +01:00
|
|
|
.page-sub-heading {
|
|
|
|
|
margin-bottom: $spacer;
|
|
|
|
|
}
|
|
|
|
|
|
2018-01-29 14:45:45 +01:00
|
|
|
.page-sub-heading-icon {
|
|
|
|
|
margin-left: $spacer;
|
|
|
|
|
vertical-align: 6px;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
}
|
|
|
|
|
|
2016-02-26 18:25:39 +01:00
|
|
|
.page-sidebar {
|
|
|
|
|
color: $text-color-weak;
|
|
|
|
|
h4 {
|
|
|
|
|
font-size: $font-size-base;
|
|
|
|
|
font-weight: $font-weight-semi-bold;
|
|
|
|
|
}
|
|
|
|
|
h5 {
|
|
|
|
|
font-size: $font-size-base;
|
|
|
|
|
font-weight: $font-weight-semi-bold;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.page-sidebar-section {
|
2019-02-19 15:41:35 +01:00
|
|
|
margin-bottom: $spacer * 2;
|
2016-02-26 18:25:39 +01:00
|
|
|
}
|