mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 00:25:06 +02:00
Squashed 'lib/vis/' content from commit 1d029ca
git-subtree-dir: lib/vis git-subtree-split: 1d029cab7b527f3b292e95d550efbf784dac8699
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
.vis.timeline.root {
|
||||
/*
|
||||
-webkit-transition: height .4s ease-in-out;
|
||||
transition: height .4s ease-in-out;
|
||||
*/
|
||||
}
|
||||
|
||||
.vis.timeline .vispanel {
|
||||
/*
|
||||
-webkit-transition: height .4s ease-in-out, top .4s ease-in-out;
|
||||
transition: height .4s ease-in-out, top .4s ease-in-out;
|
||||
*/
|
||||
}
|
||||
|
||||
.vis.timeline .axis {
|
||||
/*
|
||||
-webkit-transition: top .4s ease-in-out;
|
||||
transition: top .4s ease-in-out;
|
||||
*/
|
||||
}
|
||||
|
||||
/* TODO: get animation working nicely
|
||||
|
||||
.vis.timeline .item {
|
||||
-webkit-transition: top .4s ease-in-out;
|
||||
transition: top .4s ease-in-out;
|
||||
}
|
||||
|
||||
.vis.timeline .item.line {
|
||||
-webkit-transition: height .4s ease-in-out, top .4s ease-in-out;
|
||||
transition: height .4s ease-in-out, top .4s ease-in-out;
|
||||
}
|
||||
/**/
|
||||
@@ -0,0 +1,5 @@
|
||||
.vis.timeline .currenttime {
|
||||
background-color: #FF7F6E;
|
||||
width: 2px;
|
||||
z-index: 1;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
.vis.timeline .customtime {
|
||||
background-color: #6E94FF;
|
||||
width: 2px;
|
||||
cursor: move;
|
||||
z-index: 1;
|
||||
}
|
||||
@@ -0,0 +1,105 @@
|
||||
|
||||
.vis.timeline .vispanel.background.horizontal .grid.horizontal {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 0;
|
||||
border-bottom: 1px solid;
|
||||
}
|
||||
|
||||
.vis.timeline .vispanel.background.horizontal .grid.minor {
|
||||
border-color: #e5e5e5;
|
||||
}
|
||||
|
||||
.vis.timeline .vispanel.background.horizontal .grid.major {
|
||||
border-color: #bfbfbf;
|
||||
}
|
||||
|
||||
|
||||
.vis.timeline .dataaxis .yAxis.major {
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
color: #4d4d4d;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.vis.timeline .dataaxis .yAxis.major.measure{
|
||||
padding: 0px 0px 0px 0px;
|
||||
margin: 0px 0px 0px 0px;
|
||||
border: 0px;
|
||||
visibility: hidden;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
|
||||
.vis.timeline .dataaxis .yAxis.minor{
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
color: #bebebe;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.vis.timeline .dataaxis .yAxis.minor.measure{
|
||||
padding: 0px 0px 0px 0px;
|
||||
margin: 0px 0px 0px 0px;
|
||||
border: 0px;
|
||||
visibility: hidden;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.vis.timeline .dataaxis .yAxis.title{
|
||||
position: absolute;
|
||||
color: #4d4d4d;
|
||||
white-space: nowrap;
|
||||
bottom: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.vis.timeline .dataaxis .yAxis.title.measure{
|
||||
padding: 0px 0px 0px 0px;
|
||||
margin: 0px 0px 0px 0px;
|
||||
visibility: hidden;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.vis.timeline .dataaxis .yAxis.title.left {
|
||||
bottom: 0px;
|
||||
-webkit-transform-origin: left top;
|
||||
-moz-transform-origin: left top;
|
||||
-ms-transform-origin: left top;
|
||||
-o-transform-origin: left top;
|
||||
transform-origin: left bottom;
|
||||
-webkit-transform: rotate(-90deg);
|
||||
-moz-transform: rotate(-90deg);
|
||||
-ms-transform: rotate(-90deg);
|
||||
-o-transform: rotate(-90deg);
|
||||
transform: rotate(-90deg);
|
||||
}
|
||||
|
||||
.vis.timeline .dataaxis .yAxis.title.right {
|
||||
bottom: 0px;
|
||||
-webkit-transform-origin: right bottom;
|
||||
-moz-transform-origin: right bottom;
|
||||
-ms-transform-origin: right bottom;
|
||||
-o-transform-origin: right bottom;
|
||||
transform-origin: right bottom;
|
||||
-webkit-transform: rotate(90deg);
|
||||
-moz-transform: rotate(90deg);
|
||||
-ms-transform: rotate(90deg);
|
||||
-o-transform: rotate(90deg);
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
|
||||
.vis.timeline .legend {
|
||||
background-color: rgba(247, 252, 255, 0.65);
|
||||
padding: 5px;
|
||||
border-color: #b3b3b3;
|
||||
border-style:solid;
|
||||
border-width: 1px;
|
||||
box-shadow: 2px 2px 10px rgba(154, 154, 154, 0.55);
|
||||
}
|
||||
|
||||
.vis.timeline .legendText {
|
||||
/*font-size: 10px;*/
|
||||
white-space: nowrap;
|
||||
display: inline-block
|
||||
}
|
||||
@@ -0,0 +1,119 @@
|
||||
|
||||
.vis.timeline .item {
|
||||
position: absolute;
|
||||
color: #1A1A1A;
|
||||
border-color: #97B0F8;
|
||||
border-width: 1px;
|
||||
background-color: #D5DDF6;
|
||||
display: inline-block;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.vis.timeline .item.selected {
|
||||
border-color: #FFC200;
|
||||
background-color: #FFF785;
|
||||
|
||||
/* z-index must be higher than the z-index of custom time bar and current time bar */
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.vis.timeline .editable .item.selected {
|
||||
cursor: move;
|
||||
}
|
||||
|
||||
.vis.timeline .item.point.selected {
|
||||
background-color: #FFF785;
|
||||
}
|
||||
|
||||
.vis.timeline .item.box {
|
||||
text-align: center;
|
||||
border-style: solid;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.vis.timeline .item.point {
|
||||
background: none;
|
||||
}
|
||||
|
||||
.vis.timeline .item.dot {
|
||||
position: absolute;
|
||||
padding: 0;
|
||||
border-width: 4px;
|
||||
border-style: solid;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.vis.timeline .item.range {
|
||||
border-style: solid;
|
||||
border-radius: 2px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.vis.timeline .item.background {
|
||||
overflow: hidden;
|
||||
border: none;
|
||||
background-color: rgba(213, 221, 246, 0.4);
|
||||
box-sizing: border-box;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.vis.timeline .item.range .content {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.vis.timeline .item.background .content {
|
||||
position: absolute;
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
max-width: 100%;
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
.vis.timeline .item.line {
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
width: 0;
|
||||
border-left-width: 1px;
|
||||
border-left-style: solid;
|
||||
}
|
||||
|
||||
.vis.timeline .item .content {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.vis.timeline .item .delete {
|
||||
background: url('img/timeline/delete.png') no-repeat top center;
|
||||
position: absolute;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
top: 0;
|
||||
right: -24px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.vis.timeline .item.range .drag-left {
|
||||
position: absolute;
|
||||
width: 24px;
|
||||
max-width: 20%;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
left: -4px;
|
||||
|
||||
cursor: w-resize;
|
||||
}
|
||||
|
||||
.vis.timeline .item.range .drag-right {
|
||||
position: absolute;
|
||||
width: 24px;
|
||||
max-width: 20%;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
right: -4px;
|
||||
|
||||
cursor: e-resize;
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
|
||||
.vis.timeline .itemset {
|
||||
position: relative;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.vis.timeline .itemset .background,
|
||||
.vis.timeline .itemset .foreground {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.vis.timeline .axis {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 0;
|
||||
left: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.vis.timeline .foreground .group {
|
||||
position: relative;
|
||||
box-sizing: border-box;
|
||||
border-bottom: 1px solid #bfbfbf;
|
||||
}
|
||||
|
||||
.vis.timeline .foreground .group:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
|
||||
.vis.timeline .labelset {
|
||||
position: relative;
|
||||
|
||||
overflow: hidden;
|
||||
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.vis.timeline .labelset .vlabel {
|
||||
position: relative;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
color: #4d4d4d;
|
||||
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.vis.timeline .labelset .vlabel {
|
||||
border-bottom: 1px solid #bfbfbf;
|
||||
}
|
||||
|
||||
.vis.timeline .labelset .vlabel:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.vis.timeline .labelset .vlabel .inner {
|
||||
display: inline-block;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.vis.timeline .labelset .vlabel .inner.hidden {
|
||||
padding: 0;
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
|
||||
.vis.timeline.root {
|
||||
position: relative;
|
||||
border: 1px solid #bfbfbf;
|
||||
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.vis.timeline .vispanel {
|
||||
position: absolute;
|
||||
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.vis.timeline .vispanel.center,
|
||||
.vis.timeline .vispanel.left,
|
||||
.vis.timeline .vispanel.right,
|
||||
.vis.timeline .vispanel.top,
|
||||
.vis.timeline .vispanel.bottom {
|
||||
border: 1px #bfbfbf;
|
||||
}
|
||||
|
||||
.vis.timeline .vispanel.center,
|
||||
.vis.timeline .vispanel.left,
|
||||
.vis.timeline .vispanel.right {
|
||||
border-top-style: solid;
|
||||
border-bottom-style: solid;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.vis.timeline .vispanel.center,
|
||||
.vis.timeline .vispanel.top,
|
||||
.vis.timeline .vispanel.bottom {
|
||||
border-left-style: solid;
|
||||
border-right-style: solid;
|
||||
}
|
||||
|
||||
.vis.timeline .background {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.vis.timeline .vispanel > .content {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.vis.timeline .vispanel .shadow {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 1px;
|
||||
box-shadow: 0 0 10px rgba(0,0,0,0.8);
|
||||
/* TODO: find a nice way to ensure shadows are drawn on top of items
|
||||
z-index: 1;
|
||||
*/
|
||||
}
|
||||
|
||||
.vis.timeline .vispanel .shadow.top {
|
||||
top: -1px;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.vis.timeline .vispanel .shadow.bottom {
|
||||
bottom: -1px;
|
||||
left: 0;
|
||||
}
|
||||
@@ -0,0 +1,108 @@
|
||||
.vis.timeline .graphGroup0 {
|
||||
fill:#4f81bd;
|
||||
fill-opacity:0;
|
||||
stroke-width:2px;
|
||||
stroke: #4f81bd;
|
||||
}
|
||||
|
||||
.vis.timeline .graphGroup1 {
|
||||
fill:#f79646;
|
||||
fill-opacity:0;
|
||||
stroke-width:2px;
|
||||
stroke: #f79646;
|
||||
}
|
||||
|
||||
.vis.timeline .graphGroup2 {
|
||||
fill: #8c51cf;
|
||||
fill-opacity:0;
|
||||
stroke-width:2px;
|
||||
stroke: #8c51cf;
|
||||
}
|
||||
|
||||
.vis.timeline .graphGroup3 {
|
||||
fill: #75c841;
|
||||
fill-opacity:0;
|
||||
stroke-width:2px;
|
||||
stroke: #75c841;
|
||||
}
|
||||
|
||||
.vis.timeline .graphGroup4 {
|
||||
fill: #ff0100;
|
||||
fill-opacity:0;
|
||||
stroke-width:2px;
|
||||
stroke: #ff0100;
|
||||
}
|
||||
|
||||
.vis.timeline .graphGroup5 {
|
||||
fill: #37d8e6;
|
||||
fill-opacity:0;
|
||||
stroke-width:2px;
|
||||
stroke: #37d8e6;
|
||||
}
|
||||
|
||||
.vis.timeline .graphGroup6 {
|
||||
fill: #042662;
|
||||
fill-opacity:0;
|
||||
stroke-width:2px;
|
||||
stroke: #042662;
|
||||
}
|
||||
|
||||
.vis.timeline .graphGroup7 {
|
||||
fill:#00ff26;
|
||||
fill-opacity:0;
|
||||
stroke-width:2px;
|
||||
stroke: #00ff26;
|
||||
}
|
||||
|
||||
.vis.timeline .graphGroup8 {
|
||||
fill:#ff00ff;
|
||||
fill-opacity:0;
|
||||
stroke-width:2px;
|
||||
stroke: #ff00ff;
|
||||
}
|
||||
|
||||
.vis.timeline .graphGroup9 {
|
||||
fill: #8f3938;
|
||||
fill-opacity:0;
|
||||
stroke-width:2px;
|
||||
stroke: #8f3938;
|
||||
}
|
||||
|
||||
.vis.timeline .fill {
|
||||
fill-opacity:0.1;
|
||||
stroke: none;
|
||||
}
|
||||
|
||||
|
||||
.vis.timeline .bar {
|
||||
fill-opacity:0.5;
|
||||
stroke-width:1px;
|
||||
}
|
||||
|
||||
.vis.timeline .point {
|
||||
stroke-width:2px;
|
||||
fill-opacity:1.0;
|
||||
}
|
||||
|
||||
|
||||
.vis.timeline .legendBackground {
|
||||
stroke-width:1px;
|
||||
fill-opacity:0.9;
|
||||
fill: #ffffff;
|
||||
stroke: #c2c2c2;
|
||||
}
|
||||
|
||||
|
||||
.vis.timeline .outline {
|
||||
stroke-width:1px;
|
||||
fill-opacity:1;
|
||||
fill: #ffffff;
|
||||
stroke: #e5e5e5;
|
||||
}
|
||||
|
||||
.vis.timeline .iconFill {
|
||||
fill-opacity:0.3;
|
||||
stroke: none;
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
.vis.timeline .timeaxis {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.vis.timeline .timeaxis.foreground {
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.vis.timeline .timeaxis.background {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.vis.timeline .timeaxis .text {
|
||||
position: absolute;
|
||||
color: #4d4d4d;
|
||||
padding: 3px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.vis.timeline .timeaxis .text.measure {
|
||||
position: absolute;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.vis.timeline .timeaxis .grid.vertical {
|
||||
position: absolute;
|
||||
border-left: 1px solid;
|
||||
}
|
||||
|
||||
.vis.timeline .timeaxis .grid.minor {
|
||||
border-color: #e5e5e5;
|
||||
}
|
||||
|
||||
.vis.timeline .timeaxis .grid.major {
|
||||
border-color: #bfbfbf;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
.vis.timeline {
|
||||
}
|
||||
Reference in New Issue
Block a user