Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/src/munin-plot.css
blob: 108db712db1db95e2a8980f5f7e7c92a11599ae6 (plain)
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
/*!
  Copyright (C) 2018-2021 Arthur de Jong

  Permission is hereby granted, free of charge, to any person obtaining a
  copy of this software and associated documentation files (the "Software"),
  to deal in the Software without restriction, including without limitation
  the rights to use, copy, modify, merge, publish, distribute, sublicense,
  and/or sell copies of the Software, and to permit persons to whom the
  Software is furnished to do so, subject to the following conditions:

  The above copyright notice and this permission notice shall be included in
  all copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  DEALINGS IN THE SOFTWARE.
*/

body {
  padding-top: 4rem;
}

.navbar {
  padding: 0.2rem 1rem;
}

#draggablelist .draghandle {
  cursor: move;
}
#draggablelist .card {
  margin: 0.2em 0;
}
#draggablelist .closegraph .size {
  font-size: 80%;
}
.card-leftheader {
  width: 48px;
  font-size: 18px;
  line-height: 1.5em;
  text-align: center;
  padding: 10px 15px;
  margin-bottom: 0;
  background-color: rgba(0,0,0,.03);
  border-right: 1px solid rgba(0,0,0,.125);
  float: left;
  height: 100%;
  position: absolute;
}
.card-rightbody {
  margin-left: 45px;
  padding: 5px;
  float: left;
  height: 100%;
  padding-right: 20px;
}
#graphselect {
  max-height: 200px;
  margin-bottom: 10px;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}
#graphselect a {
  padding: .25rem 1.25rem;
}

.sizesm {
  display: inline-block;
  width: 16px;
  height: 6px;
  margin: 6px 1px;
  background: #c6c6c6;
}
.sizemd {
  display: inline-block;
  width: 16px;
  height: 10px;
  margin: 4px 1px;
  background: #c6c6c6;
}
.sizelg {
  display: inline-block;
  width: 16px;
  height: 14px;
  margin: 2px 1px;
  background: #c6c6c6;
}
.sizeactive {
  background: #6c757d;
}

#template {
  display: none;
}
.plot-sm {
  height: 150px;
}
.plot-md {
  height: 200px;
}
.plot-lg {
  height: 250px;
}

.mylegend {
  height: 150px;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  font-size: 70%;
}
.mylegend thead th {
  margin: 0;
  padding: 0;
  border: none;
  text-align: center;
}
.mylegend .table > :not(:first-child) {
  border: none;
}
.mylegend td {
  margin: 0;
  padding: 0;
  border: none;
  cursor: pointer;
}
.mylegend td:nth-child(3), .mylegend td:nth-child(4), .mylegend td:nth-child(5) {
  text-align: right;
}
.legend-sm {
  height: 150px;
}
.legend-md {
  height: 200px;
}
.legend-lg {
  height: 250px;
}

.addgraph {
  height: 200px;
  display: none;
  margin-top: -10px;
}
.loading {
  width: 100%;
  padding-bottom: 60%;
  background: black;
  background: white url(logo.png) no-repeat right bottom;
  background-size: cover;
  animation: loading 2s cubic-bezier(0.5, 0.5, 0.5, 1) infinite;
  clip-path: polygon(0 100%, 0 97%, 8% 97%, 8% 100%, 10% 100%, 10% 97%, 18% 97%, 18% 100%, 20% 100%, 20% 97%, 28% 97%, 28% 100%, 30% 100%, 30% 97%, 38% 97%, 38% 100%, 40% 100%, 40% 97%, 48% 97%, 48% 100%, 50% 100%, 50% 97%, 58% 97%, 58% 100%, 60% 100%, 60% 97%, 68% 97%, 68% 100%, 70% 100%, 70% 97%, 78% 97%, 78% 100%, 80% 100%, 80% 97%, 88% 97%, 88% 100%, 90% 100%, 90% 97%, 98% 97%, 98% 100%);
}
.loading-small {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 166px;
  height: 100px;
  margin-top: -50px;
  margin-left: -83px;
  padding: 0;
}
@keyframes loading {
  0 {
    clip-path: polygon(0 100%, 0 97%, 8% 97%, 8% 100%, 10% 100%, 10% 97%, 18% 97%, 18% 100%, 20% 100%, 20% 97%, 28% 97%, 28% 100%, 30% 100%, 30% 97%, 38% 97%, 38% 100%, 40% 100%, 40% 97%, 48% 97%, 48% 100%, 50% 100%, 50% 97%, 58% 97%, 58% 100%, 60% 100%, 60% 97%, 68% 97%, 68% 100%, 70% 100%, 70% 97%, 78% 97%, 78% 100%, 80% 100%, 80% 97%, 88% 97%, 88% 100%, 90% 100%, 90% 97%, 98% 97%, 98% 100%);
  }
  20% {
    clip-path: polygon(0 100%, 0 70%, 8% 70%, 8% 100%, 10% 100%, 10% 10%, 18% 10%, 18% 100%, 20% 100%, 20% 80%, 28% 80%, 28% 100%, 30% 100%, 30% 62%, 38% 62%, 38% 100%, 40% 100%, 40% 50%, 48% 50%, 48% 100%, 50% 100%, 50% 60%, 58% 60%, 58% 100%, 60% 100%, 60% 13%, 68% 13%, 68% 100%, 70% 100%, 70% 16%, 78% 16%, 78% 100%, 80% 100%, 80% 63%, 88% 63%, 88% 100%, 90% 100%, 90% 90%, 98% 90%, 98% 100%);
  }
  40% {
    clip-path: polygon(0 100%, 0 70%, 8% 70%, 8% 100%, 10% 100%, 10% 83%, 18% 83%, 18% 100%, 20% 100%, 20% 60%, 28% 60%, 28% 100%, 30% 100%, 30% 32%, 38% 32%, 38% 100%, 40% 100%, 40% 15%, 48% 15%, 48% 100%, 50% 100%, 50% 80%, 58% 80%, 58% 100%, 60% 100%, 60% 85%, 68% 85%, 68% 100%, 70% 100%, 70% 27%, 78% 27%, 78% 100%, 80% 100%, 80% 38%, 88% 38%, 88% 100%, 90% 100%, 90% 90%, 98% 90%, 98% 100%);
  }
  60% {
    clip-path: polygon(0 100%, 0 90%, 8% 90%, 8% 100%, 10% 100%, 10% 80%, 18% 80%, 18% 100%, 20% 100%, 20% 86%, 28% 86%, 28% 100%, 30% 100%, 30% 65%, 38% 65%, 38% 100%, 40% 100%, 40% 60%, 48% 60%, 48% 100%, 50% 100%, 50% 10%, 58% 10%, 58% 100%, 60% 100%, 60% 40%, 68% 40%, 68% 100%, 70% 100%, 70% 55%, 78% 55%, 78% 100%, 80% 100%, 80% 85%, 88% 85%, 88% 100%, 90% 100%, 90% 90%, 98% 90%, 98% 100%);
  }
  80% {
    clip-path: polygon(0 100%, 0 70%, 8% 70%, 8% 100%, 10% 100%, 10% 51%, 18% 51%, 18% 100%, 20% 100%, 20% 55%, 28% 55%, 28% 100%, 30% 100%, 30% 12%, 38% 12%, 38% 100%, 40% 100%, 40% 30%, 48% 30%, 48% 100%, 50% 100%, 50% 20%, 58% 20%, 58% 100%, 60% 100%, 60% 10%, 68% 10%, 68% 100%, 70% 100%, 70% 13%, 78% 13%, 78% 100%, 80% 100%, 80% 14%, 88% 14%, 88% 100%, 90% 100%, 90% 90%, 98% 90%, 98% 100%);
  }
  100% {
    clip-path: polygon(0 100%, 0 97%, 8% 97%, 8% 100%, 10% 100%, 10% 97%, 18% 97%, 18% 100%, 20% 100%, 20% 97%, 28% 97%, 28% 100%, 30% 100%, 30% 97%, 38% 97%, 38% 100%, 40% 100%, 40% 97%, 48% 97%, 48% 100%, 50% 100%, 50% 97%, 58% 97%, 58% 100%, 60% 100%, 60% 97%, 68% 97%, 68% 100%, 70% 100%, 70% 97%, 78% 97%, 78% 100%, 80% 100%, 80% 97%, 88% 97%, 88% 100%, 90% 100%, 90% 97%, 98% 97%, 98% 100%);
  }
}