forked from ahmadalfy/jquery-simple-flowchart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
simpleflowchart.jquery.css
90 lines (78 loc) · 1.28 KB
/
simpleflowchart.jquery.css
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
.chart-wrapper {
text-align: center;
position: relative;
}
.node {
display: inline-block;
font-size: 1.4em;
padding: 1em 2em;
line-height: 1.2;
border-radius: 5px;
}
.node__start > .node {
background: #17a5df;
color: #fff;
}
.node__informative > .node {
color: #fff;
background: #a1ce5a;
}
.node__finish,
.node__informative,
.node__question {
margin-top: 2.5em;
}
.node__question > .node {
background: #a0dbf2;
color: #fff;
}
.node__answers {
list-style: none;
margin: 0;
padding: 0;
margin-top: 3em;
}
.node__answers::before,
.node__answers::after {
content: "";
display: table;
clear: both;
}
.node__answer {
float: left;
position: relative;
padding: 0 1em;
}
.node__answer::before {
bottom: 125%;
left: 50%;
border: solid transparent;
content: "";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
border-color: transparent;
border-top-color: #d5ccbe;
border-width: 0.5em;
margin-left: -0.5em;
}
.node__action {
padding: 0;
display: inline-block;
max-width: 10em;
width: 100%;
height: 3em;
line-height: 3em;
font-size: 0.8em;
border: 0;
background: #b7c9d0;
color: #fff;
border-radius: 5px;
}
.decision-success button{
color: white;
}
.decision-error button{
color: darkslategrey;
}