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-15 14:43:10 +02:00
|
|
|
// background: linear-gradient(180deg, #251f1f 0, #17181b);
|
|
|
|
|
|
|
|
|
|
$gradient-opacity: 0.03;
|
|
|
|
|
background: linear-gradient(135deg, rgba(26, 42, 108, $gradient-opacity), rgba(178, 31, 31, $gradient-opacity), rgba(253, 187, 45, $gradient-opacity)); //Matt experiement
|
2016-02-15 15:27:41 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.page-container {
|
2017-08-14 12:26:24 +02:00
|
|
|
@extend .container;
|
2017-08-14 22:44:01 +02:00
|
|
|
padding: $spacer $spacer $spacer $spacer*3;
|
|
|
|
|
}
|
2017-08-14 16:06:20 +02:00
|
|
|
|
2017-08-14 22:44:01 +02:00
|
|
|
.scroll-canvas {
|
|
|
|
|
position: absolute;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: calc(100% - 54px);
|
2017-08-15 09:46:38 +02:00
|
|
|
overflow: auto;
|
2017-08-14 16:06:20 +02:00
|
|
|
}
|
|
|
|
|
|
2016-02-26 18:25:39 +01:00
|
|
|
.page-body {
|
|
|
|
|
@include media-breakpoint-up(md) {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.page-content-with-sidebar {
|
|
|
|
|
width: calc(100% - #{$page-sidebar-width + $page-sidebar-margin}); // sidebar width + margin
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.page-sidebar {
|
|
|
|
|
@include media-breakpoint-up(md) {
|
|
|
|
|
width: $page-sidebar-width;
|
|
|
|
|
margin-left: $page-sidebar-margin;
|
|
|
|
|
}
|
2016-02-25 15:56:28 +01:00
|
|
|
}
|
|
|
|
|
|
2016-02-15 15:27:41 +01:00
|
|
|
.page-header {
|
2017-08-15 20:24:16 +02:00
|
|
|
padding: 2rem 0 0 0;
|
2017-08-14 18:11:35 +02:00
|
|
|
margin-bottom: 2rem;
|
|
|
|
|
@include brand-bottom-border();
|
|
|
|
|
@include clearfix();
|
2016-02-18 12:16:47 +01:00
|
|
|
|
2016-02-15 15:27:41 +01:00
|
|
|
h1 {
|
2017-08-14 16:06:20 +02:00
|
|
|
font-size: $font-size-h2;
|
2016-02-18 17:25:11 +01:00
|
|
|
flex-grow: 1;
|
2016-03-02 16:56:16 +01:00
|
|
|
display: inline-block;
|
2017-08-15 23:17:34 +02:00
|
|
|
margin-bottom: 1rem;
|
|
|
|
|
|
|
|
|
|
img {
|
|
|
|
|
width: 30px;
|
|
|
|
|
height: 30px;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
margin-right: 0.5rem;
|
|
|
|
|
position: relative;
|
|
|
|
|
top: -3px;
|
|
|
|
|
}
|
2016-02-18 17:25:11 +01:00
|
|
|
}
|
2016-02-26 18:25:39 +01:00
|
|
|
|
2017-08-15 17:52:52 +02:00
|
|
|
a, button {
|
|
|
|
|
float: right;
|
|
|
|
|
margin-left: $spacer;
|
|
|
|
|
}
|
2017-08-14 16:06:20 +02:00
|
|
|
}
|
|
|
|
|
|
2016-02-18 12:16:47 +01:00
|
|
|
.page-heading {
|
|
|
|
|
font-size: 1.25rem;
|
|
|
|
|
margin-top: 0;
|
2016-02-18 19:47:00 +01:00
|
|
|
margin-bottom: $spacer * 0.7;
|
2016-02-18 12:16:47 +01:00
|
|
|
}
|
|
|
|
|
|
2016-02-15 15:27:41 +01:00
|
|
|
.admin-page {
|
|
|
|
|
max-width: 800px;
|
|
|
|
|
margin-left: 10px;
|
|
|
|
|
h2 {
|
|
|
|
|
margin-left: 15px;
|
|
|
|
|
margin-bottom: 0px;
|
2016-02-16 09:42:46 +01:00
|
|
|
font-size: $font-size-lg;
|
|
|
|
|
color: $text-color;
|
2016-02-15 15:27:41 +01:00
|
|
|
i {
|
|
|
|
|
padding-right: 6px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
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 {
|
|
|
|
|
margin-bottom: $spacer*2;
|
|
|
|
|
}
|
2017-08-14 16:06:20 +02:00
|
|
|
|
2017-08-14 22:44:01 +02:00
|
|
|
$breadcrumb-hover-hl: #111;
|
|
|
|
|
|
2017-08-15 10:54:13 +02:00
|
|
|
$page-breadcrumb__angle-1: 39px;
|
|
|
|
|
$page-breadcrumb__angle-ul: 31px;
|
|
|
|
|
$page-breadcrumb__angle-a: 30px;
|
|
|
|
|
|
2017-08-14 22:44:01 +02:00
|
|
|
|
2017-08-14 16:06:20 +02:00
|
|
|
.page-breadcrumb {
|
|
|
|
|
display: flex;
|
2017-08-14 22:44:01 +02:00
|
|
|
padding: 0 $spacer;
|
2017-08-15 10:54:13 +02:00
|
|
|
line-height: 0.5;
|
2017-08-14 16:06:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.page-breadcrumb__item {
|
2017-08-14 22:44:01 +02:00
|
|
|
background: $page-nav-bg;
|
2017-08-15 11:04:26 +02:00
|
|
|
box-shadow: $page-nav-shadow;
|
|
|
|
|
|
2017-08-14 19:47:40 +02:00
|
|
|
|
2017-08-14 18:11:35 +02:00
|
|
|
> a {
|
2017-08-14 16:06:20 +02:00
|
|
|
color: $text-color-weak;
|
2017-08-15 10:54:13 +02:00
|
|
|
font-size: $font-size-sm;
|
2017-08-14 18:11:35 +02:00
|
|
|
display: block;
|
2017-08-14 19:47:40 +02:00
|
|
|
padding: 0.6rem 1rem 0.6rem 3rem;;
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
|
content: '';
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: -53px;
|
|
|
|
|
left: 100%;
|
|
|
|
|
content: '';
|
|
|
|
|
height: 0;
|
|
|
|
|
width: 0;
|
2017-08-15 10:54:13 +02:00
|
|
|
border: $page-breadcrumb__angle-1 solid transparent;
|
2017-08-14 19:47:40 +02:00
|
|
|
border-right-width: 0;
|
2017-08-15 10:54:13 +02:00
|
|
|
border-left-width: $page-breadcrumb__angle-a;
|
2017-08-14 19:47:40 +02:00
|
|
|
z-index: 2;
|
2017-08-14 22:44:01 +02:00
|
|
|
border-left-color: $page-nav-bg;
|
2017-08-14 19:47:40 +02:00
|
|
|
}
|
2017-08-14 16:06:20 +02:00
|
|
|
}
|
2017-08-14 18:11:35 +02:00
|
|
|
|
2017-08-14 19:47:40 +02:00
|
|
|
&:first-child {
|
|
|
|
|
a {
|
|
|
|
|
padding-left: 1rem;
|
2017-08-14 18:11:35 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&::after {
|
2017-08-14 19:47:40 +02:00
|
|
|
content: '';
|
2017-08-14 18:11:35 +02:00
|
|
|
position: absolute;
|
2017-08-14 19:47:40 +02:00
|
|
|
top: -53px;
|
2017-08-14 18:11:35 +02:00
|
|
|
left: 100%;
|
|
|
|
|
content: '';
|
|
|
|
|
height: 0;
|
|
|
|
|
width: 0;
|
2017-08-15 10:54:13 +02:00
|
|
|
border: $page-breadcrumb__angle-1 solid transparent;
|
2017-08-14 18:11:35 +02:00
|
|
|
border-right-width: 0;
|
2017-08-15 10:54:13 +02:00
|
|
|
border-left-width: $page-breadcrumb__angle-ul;
|
2017-08-14 19:47:40 +02:00
|
|
|
z-index: 1;
|
2017-08-14 18:11:35 +02:00
|
|
|
transform: translateX(4px);
|
2017-08-14 19:47:40 +02:00
|
|
|
border-left-color: #282020;
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
background: $breadcrumb-hover-hl;
|
|
|
|
|
|
|
|
|
|
.page-breadcrumb__caret {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
> a {
|
|
|
|
|
color: $text-color;
|
|
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
|
border-left-color: $breadcrumb-hover-hl;
|
|
|
|
|
color: $text-color;
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-08-14 18:11:35 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.page-breadcrumb__caret {
|
|
|
|
|
opacity: 0;
|
|
|
|
|
position: absolute;
|
|
|
|
|
display: block;
|
|
|
|
|
width: 16px;
|
|
|
|
|
height: 16px;
|
2017-08-14 19:47:40 +02:00
|
|
|
right: -9px;
|
2017-08-15 10:54:13 +02:00
|
|
|
top: 5px;
|
2017-08-14 19:47:40 +02:00
|
|
|
z-index: 3;
|
2017-08-14 16:06:20 +02:00
|
|
|
}
|
|
|
|
|
|