-
Notifications
You must be signed in to change notification settings - Fork 10
/
styles.css
149 lines (136 loc) · 4.07 KB
/
styles.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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
/* Dataflow engine states */
:root {
--dataflow-state-new: #e9e7e7;
--dataflow-state-initialised: #e9e7e7;
--dataflow-state-blocked: #f07676;
--dataflow-state-waiting: #e9e7e7;
--dataflow-state-processing: yellow;
--dataflow-state-flowing: yellow; /* Background animates, text stays black */
--dataflow-state-finished: #64d796;
--dataflow-state-cancelled: #6D6969; /* Font color dims - background is 'new' */
--dataflow-state-aborted: #f07676;
--dataflow-state-finalised: #64d796;
}
.dataflow_invalid_step polygon {
animation: dataflow_invalid_step 1s ease-out infinite alternate;
}
@keyframes dataflow_invalid_step {
0% {
stroke-opacity: 0%;
}
100% {
stroke-opacity: 100%;
}
}
.dataflow_running_step polygon {
stroke-dasharray: 7;
animation: dataflow_running_step 100s linear infinite;
}
@keyframes dataflow_running_step {
to {
stroke-dashoffset: 1000;
}
}
/* Dataflow Run buttons */
.tool_dataflow-top-bar {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.tool_dataflow-actions-bar {
margin-bottom: 15px;
float: left;
}
.tool_dataflow-runs-bar {
margin-bottom: 15px;
float: right;
}
:where(.tool_dataflow-runs-bar, [id^="dataflow_runs_table"]) a.btn-run-default {
font-family: monospace;
background-color: var(--dataflow-state-new);
color: black;
border-radius: 0;
}
/* Dataflow 'run' table */
.table-run td {
padding: 4px 6px;
}
tr:where(.field_timestarted, .field_timefinished) {
text-align: right;
}
/* Dataflow run button color based on states */
.btn-run-default.run-state-new { background-color: var(--dataflow-state-new); }
.btn-run-default.run-state-initialised { background-color: var(--dataflow-state-initialised); }
.btn-run-default.run-state-blocked { background-color: var(--dataflow-state-blocked); }
.btn-run-default.run-state-waiting { background-color: var(--dataflow-state-waiting); }
.btn-run-default.run-state-processing { background-color: var(--dataflow-state-processing); }
.btn-run-default.run-state-flowing { background-color: var(--dataflow-state-flowing); }
.btn-run-default.run-state-finished { background-color: var(--dataflow-state-finished); }
.btn-run-default.run-state-cancelled { color: var(--dataflow-state-cancelled); background-color: var(--dataflow-state-new); }
.btn-run-default.run-state-aborted { background-color: var(--dataflow-state-aborted); }
.btn-run-default.run-state-finalised { background-color: var(--dataflow-state-finalised); }
/* Group of run statuses considered to be 'running' */
/* Animation adapted from concourse-ci */
:where(.btn-run-default.run-state-processing, .btn-run-default.run-state-flowing) {
--color-stripe-1: rgb(247, 216, 89);
--color-stripe-2: rgb(242, 198, 21);
position: relative;
background-image: repeating-linear-gradient(
-115deg,
var(--color-stripe-1) 0px,
var(--color-stripe-2) 1px,
var(--color-stripe-2) 10px,
var(--color-stripe-1) 11px,
var(--color-stripe-1) 16px
);
background-size: 106px 114px;
animation: 3s linear 0s infinite normal none running dataflow-running;
}
@keyframes dataflow-running {
0% { background-position-x: -53.5px; }
100% { background-position-x: 0; }
}
.tool_dataflow-tags details {
padding: 0;
margin: 0 0 0 1em;
font-family: monospace;
}
.tool_dataflow-tags summary {
margin: 0;
padding: 0;
}
.tool_dataflow-tags .leaf {
margin-left: 2em;
white-space: nowrap;
text-overflow: ellipsis;
}
.tool_dataflow-tags .leaf textarea {
width: 1px;
height: 1px;
opacity: 1%;
}
.tool_dataflow-tags .leaf-text {
display: inline-block;
min-width: 12em;
border-bottom: 1px dashed #ddd;
}
.tool_dataflow-tags .leaf-expression {
cursor: copy;
}
.tool_dataflow-tags .leaf-value {
color: #999;
white-space: nowrap;
font-size: 87.5%;
}
.tool_dataflow-output {
background: #111;
color: #eee;
}
.tool_dataflow-output :hover {
background: #333;
}
.tool_dataflow-output > * {
background: #111;
color: #eee;
font-size: 1em;
}