Browse Source

Fixed transparency of background items

flowchartTest
jos 9 years ago
parent
commit
cc574a4195
2 changed files with 2 additions and 5 deletions
  1. +0
    -3
      examples/timeline/25_background_areas.html
  2. +2
    -2
      lib/timeline/component/css/item.css

+ 0
- 3
examples/timeline/25_background_areas.html View File

@ -12,9 +12,6 @@
.vis-item.vis-background.negative {
background-color: rgba(255, 0, 0, 0.2);
}
.vis-item.vis-background.marker {
border-left: 2px solid green;
}
</style>
<script src="../../dist/vis.js"></script>

+ 2
- 2
lib/timeline/component/css/item.css View File

@ -49,7 +49,7 @@
box-sizing: border-box;
}
.vis-item.background {
.vis-item.vis-background {
border: none;
background-color: rgba(213, 221, 246, 0.4);
box-sizing: border-box;
@ -71,7 +71,7 @@
display: inline-block;
}
.vis-item.background .vis-item-content {
.vis-item.vis-background .vis-item-content {
position: absolute;
display: inline-block;
}

Loading…
Cancel
Save