| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196 |
- .grafana-app {
- display: flex;
- align-items: stretch;
- position: absolute;
- width: 100%;
- height: 100%;
- top: 0;
- left: 0;
- }
- .main-view {
- position: relative;
- flex-grow: 1;
- background: linear-gradient(180deg, #251f1f 0, #17181b);
- }
- .page-container {
- @extend .container;
- padding: $spacer $spacer $spacer $spacer*3;
- }
- .scroll-canvas {
- position: absolute;
- width: 100%;
- height: calc(100% - 54px);
- overflow: auto;
- }
- .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;
- }
- }
- .page-header {
- padding: $spacer 0 0 0;
- margin-bottom: 2rem;
- @include brand-bottom-border();
- @include clearfix();
- h1 {
- font-size: $font-size-h2;
- flex-grow: 1;
- display: inline-block;
- margin-bottom: $spacer*1.5;
- }
- }
- .page-header__cta {
- float: right;
- margin-left: $spacer;
- }
- .page-heading {
- font-size: 1.25rem;
- margin-top: 0;
- margin-bottom: $spacer * 0.7;
- }
- .admin-page {
- max-width: 800px;
- margin-left: 10px;
- h2 {
- margin-left: 15px;
- margin-bottom: 0px;
- font-size: $font-size-lg;
- color: $text-color;
- i {
- padding-right: 6px;
- }
- }
- }
- .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;
- }
- $breadcrumb-hover-hl: #111;
- $page-breadcrumb__angle-1: 39px;
- $page-breadcrumb__angle-ul: 31px;
- $page-breadcrumb__angle-a: 30px;
- .page-breadcrumb {
- display: flex;
- padding: 0 $spacer;
- line-height: 0.5;
- }
- .page-breadcrumb__item {
- background: $page-nav-bg;
- box-shadow: $page-nav-shadow;
- > a {
- color: $text-color-weak;
- font-size: $font-size-sm;
- display: block;
- padding: 0.6rem 1rem 0.6rem 3rem;;
- position: relative;
- &::after {
- content: '';
- position: absolute;
- top: -53px;
- left: 100%;
- content: '';
- height: 0;
- width: 0;
- border: $page-breadcrumb__angle-1 solid transparent;
- border-right-width: 0;
- border-left-width: $page-breadcrumb__angle-a;
- z-index: 2;
- border-left-color: $page-nav-bg;
- }
- }
- &:first-child {
- a {
- padding-left: 1rem;
- }
- }
- &::after {
- content: '';
- position: absolute;
- top: -53px;
- left: 100%;
- content: '';
- height: 0;
- width: 0;
- border: $page-breadcrumb__angle-1 solid transparent;
- border-right-width: 0;
- border-left-width: $page-breadcrumb__angle-ul;
- z-index: 1;
- transform: translateX(4px);
- 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;
- }
- }
- }
- }
- .page-breadcrumb__caret {
- opacity: 0;
- position: absolute;
- display: block;
- width: 16px;
- height: 16px;
- right: -9px;
- top: 5px;
- z-index: 3;
- }
|