From cc574a419587f9e55cac172e3b1c573cd6f8ab96 Mon Sep 17 00:00:00 2001 From: jos Date: Mon, 4 May 2015 14:14:22 +0200 Subject: [PATCH] Fixed transparency of background items --- examples/timeline/25_background_areas.html | 3 --- lib/timeline/component/css/item.css | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/examples/timeline/25_background_areas.html b/examples/timeline/25_background_areas.html index ef06131e..c6505fae 100644 --- a/examples/timeline/25_background_areas.html +++ b/examples/timeline/25_background_areas.html @@ -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; - } diff --git a/lib/timeline/component/css/item.css b/lib/timeline/component/css/item.css index 756c55b0..7d33e68a 100644 --- a/lib/timeline/component/css/item.css +++ b/lib/timeline/component/css/item.css @@ -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; }