1 | .p-timeline {
|
---|
2 | display: flex;
|
---|
3 | flex-grow: 1;
|
---|
4 | flex-direction: column;
|
---|
5 | }
|
---|
6 |
|
---|
7 | .p-timeline-left .p-timeline-event-opposite {
|
---|
8 | text-align: right;
|
---|
9 | }
|
---|
10 |
|
---|
11 | .p-timeline-left .p-timeline-event-content {
|
---|
12 | text-align: left;
|
---|
13 | }
|
---|
14 |
|
---|
15 | .p-timeline-right .p-timeline-event {
|
---|
16 | flex-direction: row-reverse;
|
---|
17 | }
|
---|
18 |
|
---|
19 | .p-timeline-right .p-timeline-event-opposite {
|
---|
20 | text-align: left;
|
---|
21 | }
|
---|
22 |
|
---|
23 | .p-timeline-right .p-timeline-event-content {
|
---|
24 | text-align: right;
|
---|
25 | }
|
---|
26 |
|
---|
27 | .p-timeline-vertical.p-timeline-alternate .p-timeline-event:nth-child(even) {
|
---|
28 | flex-direction: row-reverse;
|
---|
29 | }
|
---|
30 |
|
---|
31 | .p-timeline-vertical.p-timeline-alternate .p-timeline-event:nth-child(odd) .p-timeline-event-opposite {
|
---|
32 | text-align: right;
|
---|
33 | }
|
---|
34 |
|
---|
35 | .p-timeline-vertical.p-timeline-alternate .p-timeline-event:nth-child(odd) .p-timeline-event-content {
|
---|
36 | text-align: left;
|
---|
37 | }
|
---|
38 |
|
---|
39 | .p-timeline-vertical.p-timeline-alternate .p-timeline-event:nth-child(even) .p-timeline-event-opposite {
|
---|
40 | text-align: left;
|
---|
41 | }
|
---|
42 |
|
---|
43 | .p-timeline-vertical.p-timeline-alternate .p-timeline-event:nth-child(even) .p-timeline-event-content {
|
---|
44 | text-align: right;
|
---|
45 | }
|
---|
46 |
|
---|
47 | .p-timeline-event {
|
---|
48 | display: flex;
|
---|
49 | position: relative;
|
---|
50 | min-height: 70px;
|
---|
51 | }
|
---|
52 |
|
---|
53 | .p-timeline-event:last-child {
|
---|
54 | min-height: 0;
|
---|
55 | }
|
---|
56 |
|
---|
57 | .p-timeline-event-opposite {
|
---|
58 | flex: 1;
|
---|
59 | padding: 0 1rem;
|
---|
60 | }
|
---|
61 |
|
---|
62 | .p-timeline-event-content {
|
---|
63 | flex: 1;
|
---|
64 | padding: 0 1rem;
|
---|
65 | }
|
---|
66 |
|
---|
67 | .p-timeline-event-separator {
|
---|
68 | flex: 0;
|
---|
69 | display: flex;
|
---|
70 | align-items: center;
|
---|
71 | flex-direction: column;
|
---|
72 | }
|
---|
73 |
|
---|
74 | .p-timeline-event-marker {
|
---|
75 | display: flex;
|
---|
76 | align-self: baseline;
|
---|
77 | }
|
---|
78 |
|
---|
79 | .p-timeline-event-connector {
|
---|
80 | flex-grow: 1;
|
---|
81 | }
|
---|
82 |
|
---|
83 | .p-timeline-horizontal {
|
---|
84 | flex-direction: row;
|
---|
85 | }
|
---|
86 |
|
---|
87 | .p-timeline-horizontal .p-timeline-event {
|
---|
88 | flex-direction: column;
|
---|
89 | flex: 1;
|
---|
90 | }
|
---|
91 |
|
---|
92 | .p-timeline-horizontal .p-timeline-event:last-child {
|
---|
93 | flex: 0;
|
---|
94 | }
|
---|
95 |
|
---|
96 | .p-timeline-horizontal .p-timeline-event-separator {
|
---|
97 | flex-direction: row;
|
---|
98 | }
|
---|
99 |
|
---|
100 | .p-timeline-horizontal .p-timeline-event-connector {
|
---|
101 | width: 100%;
|
---|
102 | }
|
---|
103 |
|
---|
104 | .p-timeline-bottom .p-timeline-event {
|
---|
105 | flex-direction: column-reverse;
|
---|
106 | }
|
---|
107 |
|
---|
108 | .p-timeline-horizontal.p-timeline-alternate .p-timeline-event:nth-child(even) {
|
---|
109 | flex-direction: column-reverse;
|
---|
110 | } |
---|