forked from grafana/grafana
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path_dashboard.scss
90 lines (76 loc) · 1.23 KB
/
_dashboard.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
.panel {
height: 100%;
}
.panel-height-helper {
display: block;
height: 100%;
}
.panel-container {
background-color: $panel-bg;
border: $panel-border;
position: relative;
border-radius: 6px;
height: 100%;
width: 100%;
display: flex;
flex-direction: column;
flex: 1 1 0;
box-shadow: $panel-box-shadow;
&--transparent {
background-color: transparent;
border: 1px solid transparent;
box-shadow: none;
}
&:hover {
.panel-menu-toggle {
visibility: visible;
transition: opacity 0.1s ease-in 0.2s;
opacity: 1;
}
}
&--is-editing {
height: auto;
}
&--absolute {
position: absolute;
}
}
.panel-content {
padding: $panel-padding;
width: 100%;
flex-grow: 1;
contain: strict;
height: calc(100% - #{$panel-header-height});
&--no-padding {
padding: 0;
}
}
div.flot-text {
color: $text-color !important;
}
.dashboard-solo {
.footer,
.sidemenu {
display: none;
}
}
.template-variable {
color: $variable;
}
.panel-solo {
position: fixed;
bottom: 0;
right: 0;
margin: 0;
left: 0;
top: 0;
width: '100%';
height: '100%';
.panel-container {
border: none;
}
.panel-menu-toggle,
.panel-menu {
display: none;
}
}