This website works better with JavaScript.
Home
Explore
Help
Sign In
jrtechs
/
jrtechs-vis
mirror of
https://github.com/jrtechs/vis.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
82
Wiki
Activity
Browse Source
Fixed transparency of background items
flowchartTest
jos
9 years ago
parent
b8206c593c
commit
cc574a4195
2 changed files
with
2 additions
and
5 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-3
examples/timeline/25_background_areas.html
+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
;
}
Write
Preview
Loading…
Cancel
Save