2016-02-15 08:27:41 -06:00
|
|
|
.grafana-app {
|
2017-08-14 05:26:24 -05:00
|
|
|
display: flex;
|
|
|
|
align-items: stretch;
|
2017-08-14 15:44:01 -05:00
|
|
|
position: absolute;
|
2017-08-14 05:26:24 -05:00
|
|
|
width: 100%;
|
2017-08-14 15:44:01 -05:00
|
|
|
height: 100%;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2016-02-15 08:27:41 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
.main-view {
|
2017-08-14 15:44:01 -05:00
|
|
|
position: relative;
|
2017-08-14 05:26:24 -05:00
|
|
|
flex-grow: 1;
|
2017-08-15 07:43:10 -05: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 08:27:41 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
.page-container {
|
2017-08-14 05:26:24 -05:00
|
|
|
@extend .container;
|
2017-08-14 15:44:01 -05:00
|
|
|
padding: $spacer $spacer $spacer $spacer*3;
|
|
|
|
}
|
2017-08-14 09:06:20 -05:00
|
|
|
|
2017-08-14 15:44:01 -05:00
|
|
|
.scroll-canvas {
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: calc(100% - 54px);
|
2017-08-15 02:46:38 -05:00
|
|
|
overflow: auto;
|
2017-08-14 09:06:20 -05:00
|
|
|
}
|
|
|
|
|
2016-02-26 11:25:39 -06: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 08:56:28 -06:00
|
|
|
}
|
|
|
|
|
2016-02-15 08:27:41 -06:00
|
|
|
.page-header {
|
2017-08-15 13:24:16 -05:00
|
|
|
padding: 2rem 0 0 0;
|
2017-08-14 11:11:35 -05:00
|
|
|
margin-bottom: 2rem;
|
|
|
|
@include brand-bottom-border();
|
|
|
|
@include clearfix();
|
2016-02-18 05:16:47 -06:00
|
|
|
|
2016-02-15 08:27:41 -06:00
|
|
|
h1 {
|
2017-08-14 09:06:20 -05:00
|
|
|
font-size: $font-size-h2;
|
2016-02-18 10:25:11 -06:00
|
|
|
flex-grow: 1;
|
2016-03-02 09:56:16 -06:00
|
|
|
display: inline-block;
|
2017-08-15 16:17:34 -05:00
|
|
|
margin-bottom: 1rem;
|
|
|
|
|
|
|
|
img {
|
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
|
|
|
border-radius: 50%;
|
|
|
|
margin-right: 0.5rem;
|
|
|
|
position: relative;
|
|
|
|
top: -3px;
|
|
|
|
}
|
2016-02-18 10:25:11 -06:00
|
|
|
}
|
2016-02-26 11:25:39 -06:00
|
|
|
|
2017-08-15 10:52:52 -05:00
|
|
|
a, button {
|
|
|
|
float: right;
|
|
|
|
margin-left: $spacer;
|
|
|
|
}
|
2017-08-14 09:06:20 -05:00
|
|
|
}
|
|
|
|
|
2016-02-18 05:16:47 -06:00
|
|
|
.page-heading {
|
|
|
|
font-size: 1.25rem;
|
|
|
|
margin-top: 0;
|
2016-02-18 12:47:00 -06:00
|
|
|
margin-bottom: $spacer * 0.7;
|
2016-02-18 05:16:47 -06:00
|
|
|
}
|
|
|
|
|
2016-02-15 08:27:41 -06:00
|
|
|
.admin-page {
|
|
|
|
max-width: 800px;
|
|
|
|
margin-left: 10px;
|
|
|
|
h2 {
|
|
|
|
margin-left: 15px;
|
|
|
|
margin-bottom: 0px;
|
2016-02-16 02:42:46 -06:00
|
|
|
font-size: $font-size-lg;
|
|
|
|
color: $text-color;
|
2016-02-15 08:27:41 -06:00
|
|
|
i {
|
|
|
|
padding-right: 6px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-02-26 11:25:39 -06: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 09:06:20 -05:00
|
|
|
|
2017-08-14 15:44:01 -05:00
|
|
|
$breadcrumb-hover-hl: #111;
|
|
|
|
|
2017-08-15 03:54:13 -05:00
|
|
|
$page-breadcrumb__angle-1: 39px;
|
|
|
|
$page-breadcrumb__angle-ul: 31px;
|
|
|
|
$page-breadcrumb__angle-a: 30px;
|
|
|
|
|
2017-08-14 15:44:01 -05:00
|
|
|
|
2017-08-14 09:06:20 -05:00
|
|
|
.page-breadcrumb {
|
|
|
|
display: flex;
|
2017-08-14 15:44:01 -05:00
|
|
|
padding: 0 $spacer;
|
2017-08-15 03:54:13 -05:00
|
|
|
line-height: 0.5;
|
2017-08-14 09:06:20 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.page-breadcrumb__item {
|
2017-08-14 15:44:01 -05:00
|
|
|
background: $page-nav-bg;
|
2017-08-15 04:04:26 -05:00
|
|
|
box-shadow: $page-nav-shadow;
|
|
|
|
|
2017-08-14 12:47:40 -05:00
|
|
|
|
2017-08-14 11:11:35 -05:00
|
|
|
> a {
|
2017-08-14 09:06:20 -05:00
|
|
|
color: $text-color-weak;
|
2017-08-15 03:54:13 -05:00
|
|
|
font-size: $font-size-sm;
|
2017-08-14 11:11:35 -05:00
|
|
|
display: block;
|
2017-08-14 12:47:40 -05: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 03:54:13 -05:00
|
|
|
border: $page-breadcrumb__angle-1 solid transparent;
|
2017-08-14 12:47:40 -05:00
|
|
|
border-right-width: 0;
|
2017-08-15 03:54:13 -05:00
|
|
|
border-left-width: $page-breadcrumb__angle-a;
|
2017-08-14 12:47:40 -05:00
|
|
|
z-index: 2;
|
2017-08-14 15:44:01 -05:00
|
|
|
border-left-color: $page-nav-bg;
|
2017-08-14 12:47:40 -05:00
|
|
|
}
|
2017-08-14 09:06:20 -05:00
|
|
|
}
|
2017-08-14 11:11:35 -05:00
|
|
|
|
2017-08-14 12:47:40 -05:00
|
|
|
&:first-child {
|
|
|
|
a {
|
|
|
|
padding-left: 1rem;
|
2017-08-14 11:11:35 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
2017-08-14 12:47:40 -05:00
|
|
|
content: '';
|
2017-08-14 11:11:35 -05:00
|
|
|
position: absolute;
|
2017-08-14 12:47:40 -05:00
|
|
|
top: -53px;
|
2017-08-14 11:11:35 -05:00
|
|
|
left: 100%;
|
|
|
|
content: '';
|
|
|
|
height: 0;
|
|
|
|
width: 0;
|
2017-08-15 03:54:13 -05:00
|
|
|
border: $page-breadcrumb__angle-1 solid transparent;
|
2017-08-14 11:11:35 -05:00
|
|
|
border-right-width: 0;
|
2017-08-15 03:54:13 -05:00
|
|
|
border-left-width: $page-breadcrumb__angle-ul;
|
2017-08-14 12:47:40 -05:00
|
|
|
z-index: 1;
|
2017-08-14 11:11:35 -05:00
|
|
|
transform: translateX(4px);
|
2017-08-14 12:47:40 -05: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 11:11:35 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-breadcrumb__caret {
|
|
|
|
opacity: 0;
|
|
|
|
position: absolute;
|
|
|
|
display: block;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
2017-08-14 12:47:40 -05:00
|
|
|
right: -9px;
|
2017-08-15 03:54:13 -05:00
|
|
|
top: 5px;
|
2017-08-14 12:47:40 -05:00
|
|
|
z-index: 3;
|
2017-08-14 09:06:20 -05:00
|
|
|
}
|
|
|
|
|