grafana/public/sass/layout/_page.scss

79 lines
1.3 KiB
SCSS
Raw Normal View History

2016-02-15 08:27:41 -06:00
.grafana-app {
display: block;
height: 100%;
}
.dashboard-container {
2016-02-18 12:47:00 -06:00
padding: $spacer / 2;
2016-02-15 08:27:41 -06:00
width: 100%;
}
.main-view {
height: 100%;
}
.page-dashboard {
.main-view {
background-image: none;
}
}
.page-container {
2016-02-16 02:42:46 -06:00
background-color: $page-bg;
2016-02-16 07:07:41 -06:00
padding: ($spacer * 2) ($spacer * 4);
2016-02-15 08:27:41 -06:00
max-width: 1060px;
min-height: calc(100% - 54px);
2016-02-16 07:07:41 -06:00
padding-bottom: $spacer * 5;
2016-02-20 09:16:29 -06:00
background-image: linear-gradient(60deg, rgba(0, 0, 0, 0) 0%, lighten($page-bg, 4%) 98%);
2016-02-15 08:27:41 -06:00
}
.page-header {
2016-02-18 12:47:00 -06:00
padding: $spacer 0 $spacer/2 0;
2016-02-15 08:27:41 -06:00
display: flex;
justify-content: flex-end;
align-items: flex-end;
2016-02-15 08:27:41 -06:00
flex-wrap: wrap-reverse;
border-image: linear-gradient(to right, rgba(255,213,0,1) 0%, rgba(255,68,0,1) 99%, rgba(255,68,0,1) 100%);
border-image-slice: 1;
border-top: 0;
border-right: 0;
border-left: 0;
border-bottom: 1px solid transparent;
2016-02-15 08:27:41 -06:00
h1 {
font-style: italic;
flex-grow: 1;
}
button, a {
margin-left: $spacer;
2016-02-15 08:27:41 -06:00
}
margin-bottom: 2rem;
2016-02-15 08:27:41 -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-15 08:27:41 -06:00
.admin-page {
max-width: 800px;
margin-left: 10px;
.gf-box {
margin-top: 0;
}
.gf-box-body {
min-height: 0;
}
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;
}
}
}