Skip to content

Commit d196f8e

Browse files
committed
overrides: add table and grid log values
* closes inveniosoftware/invenio-jobs#67
1 parent c325177 commit d196f8e

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

invenio_theme/assets/semantic-ui/less/invenio_theme/theme/collections/grid.overrides

+5
Original file line numberDiff line numberDiff line change
@@ -124,3 +124,8 @@
124124
}
125125
}
126126
}
127+
128+
.log-table {
129+
max-height: calc(100vh - 300px);
130+
overflow-Y: auto;
131+
}

invenio_theme/assets/semantic-ui/less/invenio_theme/theme/elements/segment.overrides

+39
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,42 @@
6262
}
6363
}
6464

65+
66+
67+
@keyframes fadeIn {
68+
from {
69+
opacity: 0;
70+
}
71+
to {
72+
opacity: 1;
73+
}
74+
}
75+
76+
.log-line {
77+
animation: fadeIn 0.3s ease-in;
78+
}
79+
80+
.log-line {
81+
font-family: monospace;
82+
83+
&.debug {
84+
background-color: #f9f9f9;
85+
color: #999;
86+
}
87+
88+
&.warning {
89+
background-color: #fff7e6;
90+
color: #b26a00;
91+
}
92+
93+
&.error {
94+
background-color: #fdecea;
95+
color: #c00;
96+
}
97+
98+
&.critical {
99+
background-color: #ffe6e6;
100+
color: #900;
101+
font-weight: bold;
102+
}
103+
}

0 commit comments

Comments
 (0)