grafana/public/sass/pages/_errorpage.scss

107 lines
1.2 KiB
SCSS
Raw Normal View History

//
// Layout
//
.error-container {
display: flex;
flex-direction: row;
}
.error-row {
2017-12-19 09:22:41 -06:00
display: flex;
flex-direction: row;
}
.error-column {
2017-12-19 09:22:41 -06:00
display: flex;
flex-direction: column;
}
2017-12-19 09:22:41 -06:00
.error-space-between {
justify-content: space-between;
}
.graph-box {
2017-12-19 09:22:41 -06:00
width: 62%;
2019-03-21 09:44:14 -05:00
padding: $space-xl $space-md;
}
.info-box {
2017-12-19 09:22:41 -06:00
width: 38%;
2019-03-21 09:44:14 -05:00
padding: $space-xl $space-md;
}
2017-12-19 09:22:41 -06:00
.graph-percentage {
2019-03-21 09:44:14 -05:00
padding: 0 0 18px;
2017-12-19 09:22:41 -06:00
}
2017-12-19 09:22:41 -06:00
.image-box {
2019-03-21 09:44:14 -05:00
padding: $space-sm;
2017-12-19 09:22:41 -06:00
}
2017-12-19 09:22:41 -06:00
.left-margin {
2019-03-21 09:44:14 -05:00
padding: 0 0 0 64px;
2017-12-19 09:22:41 -06:00
}
2017-12-19 09:22:41 -06:00
.current-box {
justify-content: flex-end;
}
//
// Text
//
.current-text {
2017-12-19 09:22:41 -06:00
color: $blue;
font-weight: bold;
2019-03-21 09:44:14 -05:00
line-height: 14px;
}
2017-12-19 09:22:41 -06:00
.error-link {
color: $orange;
}
.error-minus {
2017-12-19 09:22:41 -06:00
color: #7eb26d;
2019-03-21 09:44:14 -05:00
padding: 0 $space-sm;
line-height: 21px;
}
.graph-percentage p {
2017-12-19 09:22:41 -06:00
text-align: right;
margin: 0;
2019-03-21 09:44:14 -05:00
line-height: 14px;
}
2017-12-19 09:22:41 -06:00
.graph-text {
margin: 0;
}
@include media-breakpoint-down(sm) {
.graph-box {
width: 50%;
}
.info-box {
width: 50%;
}
}
@include media-breakpoint-down(xs) {
.error-container {
flex-direction: column;
}
.graph-box {
width: 100%;
}
.info-box {
2017-12-19 09:22:41 -06:00
width: 100%;
}
.error-full-width {
width: 100%;
}
}