blob: c02d1c4cbc7f4f6d5b2cbc2b27dee241195a9b2f [file] [log] [blame]
Michael Davis971cfba2017-03-27 13:14:02 -05001// Event Log SCSS
Michael Davis971cfba2017-03-27 13:14:02 -05002#event-log {
Michael Davis971cfba2017-03-27 13:14:02 -05003
Gunnar Mills84e114a2018-11-14 13:44:41 -06004 .row {
5 width: 100%;
6 }
Michael Davis3a0d4712017-03-27 14:01:34 -05007 // Dropwdowns filter
8 .dropdown__date.row {
9 padding: .5em;
Michael Davis971cfba2017-03-27 13:14:02 -050010 }
11
12 //Timezone select
Michael Davis3a0d4712017-03-27 14:01:34 -050013 .event-log__timezone,
14 .event-log__timezone button {
15 position: relative;
Michael Davis971cfba2017-03-27 13:14:02 -050016 text-transform: uppercase;
17 color: $lightbg__primary;
Michael Davis3a0d4712017-03-27 14:01:34 -050018 font-size: .9em;
Michael Davis971cfba2017-03-27 13:14:02 -050019 font-weight: 700;
Michael Davis0c262342017-04-10 11:48:52 -050020 border: 0;
Michael Davis3a0d4712017-03-27 14:01:34 -050021 }
Michael Davis0c262342017-04-10 11:48:52 -050022 .content__search {
Iftekharul Islam8b4828a2017-04-19 14:37:55 -050023 float: none;
Michael Davis0c262342017-04-10 11:48:52 -050024 @include mediaQuery(x-large) {
Michael Davis0c262342017-04-10 11:48:52 -050025 @include fastTransition-all;
26 }
27 }
28}
29
30#event-filter {
31 .filter-label {
Michael Davisc1530fa2017-07-20 14:11:45 -050032 color: $darkgrey;
Michael Davis0c262342017-04-10 11:48:52 -050033 text-transform: uppercase;
34 font-weight: 700;
35 font-size: .75em;
36 margin-bottom: 3px;
37 }
38 .event__severity-filter {
39 margin-right: 2em;
40 margin-bottom: 1em;
Yoshie Muranakac86ce3c2019-06-05 12:30:30 -050041 font-size: 0.9em;
42 .btn {
43 width: 100px;
44 float: left;
45 &:not(:first-of-type) {
46 border-left-width: 1px;
Michael Davis0c262342017-04-10 11:48:52 -050047 }
48 }
Michael Davis0c262342017-04-10 11:48:52 -050049 }
50 .event__date-filter {
51 margin-right: 1.5em;
52 color: $darkgrey;
Michael Davisdc7479b2017-07-31 18:27:49 -050053 float:left;
Michael Davis0c262342017-04-10 11:48:52 -050054 input {
55 width: 170px;
Michael Davis0c262342017-04-10 11:48:52 -050056 }
57 label {
58 height: 0;
Michael Davis272297b2017-04-24 12:11:53 -050059 text-indent: -9999px;
Michael Davis0c262342017-04-10 11:48:52 -050060 }
61 }
Michael Davis473397c2017-07-27 15:09:53 -050062 .event__status-filter {
Michael Davisdc7479b2017-07-31 18:27:49 -050063 float:left;
Michael Davis473397c2017-07-27 15:09:53 -050064 @include mediaQuery(medium) {
65 width: 25%;
66 }
67 .dropdown__wrapper,
68 .dropdown__button {
69 width: 100%;
70 text-align: left;
71 }
Michael Davisedb195a2017-07-13 19:07:19 -050072 }
Michael Davis3a0d4712017-03-27 14:01:34 -050073}
74
Michael Davis3a0d4712017-03-27 14:01:34 -050075.event-log__filters {
76 position: relative;
77 padding-bottom: .5em;
78 padding-top: .5em;
79
80 @media (min-width: 1333px) {
81 float: right;
82 display: inline-block;
83 }
84}
beccabroekdde251d2019-03-13 10:29:08 -050085.empty__logs {
86 border: 1px solid $lightbg__grey;
87 margin-top: .5em;
88 text-align: center;
89 padding: 2em;
90}
Michael Davis3a0d4712017-03-27 14:01:34 -050091
Michael Davis83608e12017-07-20 15:58:50 -050092.accord-trigger {
93 position: absolute;
94 right: 1em;
95 top: .3em;
96}
97
Michael Davis522a5522017-06-09 13:51:05 -050098#event-log__events,
99.event-log__events {
Michael Davis3a0d4712017-03-27 14:01:34 -0500100 display: block;
101 margin-top: 1.6em;
Michael Davis3a0d4712017-03-27 14:01:34 -0500102 position: relative;
103 overflow: hidden;
Michael Davis0c262342017-04-10 11:48:52 -0500104 .header__actions-bar {
Michael Davisedb195a2017-07-13 19:07:19 -0500105 .event-log__col-check {
106 text-align: left;
107 max-width: 30px;
108 .control-check {
Michael Davis473397c2017-07-27 15:09:53 -0500109 margin-left: -6px;
Michael Davisedb195a2017-07-13 19:07:19 -0500110 }
111 }
Yoshie Muranakac86ce3c2019-06-05 12:30:30 -0500112 .btn:not([disabled]):not(.disabled) {
113 color: $white;
114 svg {
115 fill: $white;
116 }
117 }
Michael Davis0c262342017-04-10 11:48:52 -0500118 }
Michael Davis6af13462017-04-04 14:07:02 -0500119 .inline__confirm {
120 height: auto;
Michael Davis3a0d4712017-03-27 14:01:34 -0500121 margin-left: 0;
Michael Davis6af13462017-04-04 14:07:02 -0500122 left: 0;
123 padding: 1em 2em 1em 2em
124 }
Michael Davis6af13462017-04-04 14:07:02 -0500125 .inline__confirm-message {
126 margin-top: 5px;
127 margin-bottom: -10px;
128 }
129 .inline__confirm-buttons .btn-primary {
130 padding: .5em 2em;
131 min-height: 25px;
132 margin-top: .5em;
133 @include mediaQuery(medium) {
134 margin-top: 0;
Michael Davis3a0d4712017-03-27 14:01:34 -0500135 }
136 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500137 .event-log__col-check {
138 max-width: 60px;
139 text-align: center;
140 }
141 .col-logged-events {
142 span {
143 display: inline-block;
144 font-weight: 700;
145 margin-right: .3em;
146 }
147 }
148
Michael Davis3a0d4712017-03-27 14:01:34 -0500149 // Single event log card
150 .event-log__single-event {
Michael Davis522a5522017-06-09 13:51:05 -0500151 border: 1px solid $medgrey;
Michael Davis0c262342017-04-10 11:48:52 -0500152 padding: 1em 1em 1em .7em;
Michael Davis522a5522017-06-09 13:51:05 -0500153 margin: .5em 0 .5em 0;
154 position: relative;
Michael Davisb76d5f02017-06-19 14:23:45 -0500155 overflow: hidden;
Michael Davisedb195a2017-07-13 19:07:19 -0500156 @include fastTransition-all;
157 &.active {
158 background-color: $lightgrey;
159 @include slowTransition-all;
160 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500161 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500162 .event-log__event-info {
163 &:hover {
164 cursor: pointer;
165 }
166 }
167
168 //Event priorities
169 .event__priority {
170 color: $white;
171 font-size: .8em;
172 text-transform: uppercase;
173 padding: 2px 2em;
174 font-weight: 700;
175 line-height: inherit;
176 min-width: 103px;
177 text-align: center;
Michael Davis3a0d4712017-03-27 14:01:34 -0500178 &.high-priority {
Michael Davisedb195a2017-07-13 19:07:19 -0500179 background: $highPriority-bg;
180 border: 2px solid $highPriorityColor;
181 color: darken($highPriorityColor, 5%);
Michael Davis3a0d4712017-03-27 14:01:34 -0500182 }
183 &.med-priority {
Michael Davisedb195a2017-07-13 19:07:19 -0500184 background: $medPriorty-bg;
185 border: 2px solid $medPriorityColor;
186 color: darken($medPriorityColor, 15%);
Michael Davis3a0d4712017-03-27 14:01:34 -0500187 }
188 &.low-priority {
Michael Davisedb195a2017-07-13 19:07:19 -0500189 background: $lowPriorty-bg;
190 border: 2px solid $lowPriorityColor;
191 color: darken($lowPriorityColor, 5%);
Michael Davis3a0d4712017-03-27 14:01:34 -0500192 }
193 &.event-resolved {
Michael Davisedb195a2017-07-13 19:07:19 -0500194 background: $resolved-bg;
195 border: 2px solid $resolvedColor;
196 color: $resolvedColor;
Michael Davis3a0d4712017-03-27 14:01:34 -0500197 }
198 }
199
200 //Event Severity
201 .event__severity {
202 font-size: .7em;
203 text-transform: uppercase;
Michael Davis3a0d4712017-03-27 14:01:34 -0500204 font-weight: 700;
Michael Davis3a0d4712017-03-27 14:01:34 -0500205 min-width: 103px;
Michael Davisedb195a2017-07-13 19:07:19 -0500206 &.high-priority {
207 color: darken($highPriorityColor, 5%);
208 }
209 &.med-priority {
210 color: darken($medPriorityColor, 15%);
211 }
212 &.low-priority {
213 color: darken($lowPriorityColor, 5%);
214 }
215 &.event-resolved {
216 color: $resolvedColor;
Michael Davis522a5522017-06-09 13:51:05 -0500217 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500218 }
219
Michael Davis3a0d4712017-03-27 14:01:34 -0500220 //Event ID
221 .event__id {
222 @include fontCourierBold;
223 font-size: .9em;
224 color: $darkgrey;
Michael Davis522a5522017-06-09 13:51:05 -0500225 margin-right: 1em;
Michael Davis3a0d4712017-03-27 14:01:34 -0500226 }
227
228 .event__timestamp {
Yoshie Muranaka6a3b3b22019-05-16 16:46:21 -0500229 text-align: left;
Michael Davis3a0d4712017-03-27 14:01:34 -0500230 @include fontCourierBold;
231 font-size: .9em;
Michael Davis83608e12017-07-20 15:58:50 -0500232 color: $darkgrey;
beccabroek569ccf62018-10-29 13:46:53 -0500233 max-width: 18em;
Yoshie Muranaka6a3b3b22019-05-16 16:46:21 -0500234 @include mediaQuery(medium) {
Michael Davis522a5522017-06-09 13:51:05 -0500235 float: right;
236 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500237 }
238
239 // Event metadata row
240 .event__metadata-row {
Michael Davis6af13462017-04-04 14:07:02 -0500241 max-height: 0;
Michael Davis3a0d4712017-03-27 14:01:34 -0500242 overflow: hidden;
Michael Davis6af13462017-04-04 14:07:02 -0500243 transition: 0.5s linear max-height;
Michael Davis3a0d4712017-03-27 14:01:34 -0500244 &.active {
Michael Davis62bb80f2017-09-11 16:31:42 -0500245 max-height: 1000px;
Michael Davis3a0d4712017-03-27 14:01:34 -0500246 @include mediaQuery(small) {
Michael Davis6af13462017-04-04 14:07:02 -0500247 max-height: 1000px;
Michael Davis3a0d4712017-03-27 14:01:34 -0500248 }
249 @include mediaQuery(medium) {
Michael Davis6af13462017-04-04 14:07:02 -0500250 max-height: 1000px;
Michael Davis3a0d4712017-03-27 14:01:34 -0500251 }
252 }
253 }
254
255 //Event metadata
256 .event__metadata {
257 height: 200px;
258 overflow-y: scroll;
Michael Davis19ac8f82017-05-08 11:20:12 -0500259 border: 1px solid $medgrey;
Michael Davis3a0d4712017-03-27 14:01:34 -0500260 padding: .5em .5em 0;
261 background: $white;
262 display: block;
263 margin-bottom: 1.5em;
264 &::-webkit-scrollbar {
265 -webkit-appearance: none;
266 width: 7px;
267 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500268 &::-webkit-scrollbar-thumb {
269 border-radius: 4px;
270 background-color: rgba(0, 0, 0, .5);
Michael Davis3a0d4712017-03-27 14:01:34 -0500271 }
272 }
273
274 //Event Related Items
275 .event__related {
276 width: 100%;
277 }
278 .event__related-label {
279 font-weight: 700;
280 margin-right: 1.2em;
281 padding-top: .3em;
Michael Davis3e2fe422017-08-08 14:13:10 -0500282 float: left;
Michael Davis3a0d4712017-03-27 14:01:34 -0500283 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500284 .event__related-item {
285 margin-right: 1em;
286 padding-top: .3em;
Michael Davis6af13462017-04-04 14:07:02 -0500287 display: inline-block;
288 float: left;
289 clear: both;
Michael Davis3a0d4712017-03-27 14:01:34 -0500290 }
291 .event__actions {
292 margin-left: -1em;
Michael Davis473397c2017-07-27 15:09:53 -0500293 margin-top: .5em;
294 @include mediaQuery(medium) {
295 float: right;
296 margin-top: -5px;
297 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500298 }
Yoshie Muranakac86ce3c2019-06-05 12:30:30 -0500299
300 .btn:not([disabled]):not(.disabled) {
301 color: $black;
302 svg {
303 fill: $black;
304 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500305 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500306}
Yoshie Muranaka6a3b3b22019-05-16 16:46:21 -0500307
308/*p*/.event__description {
309 margin-bottom: 0;
310 line-height: 1.7;
311 font-weight: 400;
312 word-break: break-word;
313}
314
Yoshie Muranakae4194ce2019-05-24 14:33:56 -0500315.remote-logging-server {
316 float: right;
317 .modal__trigger {
318 padding: 0;
Yoshie Muranakae4194ce2019-05-24 14:33:56 -0500319 .icon {
320 margin: 0;
Yoshie Muranakae4194ce2019-05-24 14:33:56 -0500321 }
322 }
323}
324
325.remote-logging-server__details {
326 margin-right: 0.4em;
327}
328
329.remote-logging-server__modal {
330 input {
331 margin-bottom: 30px;
332 max-width: 70%;
333 + .form__validation-message {
334 position: absolute;
335 margin-top: -30px;
336 }
337 }
Yoshie Muranakac86ce3c2019-06-05 12:30:30 -0500338 .btn--close {
339 padding: 0;
340 svg {
341 height: 1.6em;
342 }
343 }
344 .modal-header {
345 display: block;
346 }
Yoshie Muranakae4194ce2019-05-24 14:33:56 -0500347}
Michael Davis3a0d4712017-03-27 14:01:34 -0500348//end event-log__events