blob: cc58a604eefc2cb2f0a60306cce46b1d6cbccd61 [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 {
Michael Davisdc7479b2017-07-31 18:27:49 -050039 float:left;
Michael Davis0c262342017-04-10 11:48:52 -050040 margin-right: 2em;
41 margin-bottom: 1em;
42 button {
Michael Davisdc7479b2017-07-31 18:27:49 -050043 margin: 0px -3px;
Michael Davis0c262342017-04-10 11:48:52 -050044 padding: .6em 2em;
Michael Davis0c262342017-04-10 11:48:52 -050045 font-size: .9em;
46 font-weight: 700;
47 border-radius: 0;
Michael Davis473397c2017-07-27 15:09:53 -050048 @media (min-width: 583px) {
49 &.last {
50 border-left: 0;
51 }
Michael Davis0c262342017-04-10 11:48:52 -050052 }
53 }
54 .btn-primary {
55 border: 2px solid $primebtn__bg;
56 }
Michael Davis0c262342017-04-10 11:48:52 -050057 }
58 .event__date-filter {
59 margin-right: 1.5em;
60 color: $darkgrey;
Michael Davisdc7479b2017-07-31 18:27:49 -050061 float:left;
Michael Davis0c262342017-04-10 11:48:52 -050062 input {
63 width: 170px;
Michael Davis0c262342017-04-10 11:48:52 -050064 }
65 label {
66 height: 0;
Michael Davis272297b2017-04-24 12:11:53 -050067 text-indent: -9999px;
Michael Davis0c262342017-04-10 11:48:52 -050068 }
69 }
Michael Davis473397c2017-07-27 15:09:53 -050070 .event__status-filter {
Michael Davisdc7479b2017-07-31 18:27:49 -050071 float:left;
Michael Davis473397c2017-07-27 15:09:53 -050072 @include mediaQuery(medium) {
73 width: 25%;
74 }
75 .dropdown__wrapper,
76 .dropdown__button {
77 width: 100%;
78 text-align: left;
79 }
Michael Davisedb195a2017-07-13 19:07:19 -050080 }
Michael Davis3a0d4712017-03-27 14:01:34 -050081}
82
Michael Davis3a0d4712017-03-27 14:01:34 -050083.event-log__filters {
84 position: relative;
85 padding-bottom: .5em;
86 padding-top: .5em;
87
88 @media (min-width: 1333px) {
89 float: right;
90 display: inline-block;
91 }
92}
beccabroekdde251d2019-03-13 10:29:08 -050093.empty__logs {
94 border: 1px solid $lightbg__grey;
95 margin-top: .5em;
96 text-align: center;
97 padding: 2em;
98}
Michael Davis3a0d4712017-03-27 14:01:34 -050099
Michael Davis83608e12017-07-20 15:58:50 -0500100.accord-trigger {
101 position: absolute;
102 right: 1em;
103 top: .3em;
104}
105
Michael Davis522a5522017-06-09 13:51:05 -0500106#event-log__events,
107.event-log__events {
Michael Davis3a0d4712017-03-27 14:01:34 -0500108 display: block;
109 margin-top: 1.6em;
Michael Davis3a0d4712017-03-27 14:01:34 -0500110 position: relative;
111 overflow: hidden;
Michael Davis0c262342017-04-10 11:48:52 -0500112 .header__actions-bar {
113 .btn-export,
114 .btn-delete,
115 .btn-resolve {
116 color: $white;
117 }
Michael Davisedb195a2017-07-13 19:07:19 -0500118 .event-log__col-check {
119 text-align: left;
120 max-width: 30px;
121 .control-check {
Michael Davis473397c2017-07-27 15:09:53 -0500122 margin-left: -6px;
Michael Davisedb195a2017-07-13 19:07:19 -0500123 }
124 }
Michael Davis0c262342017-04-10 11:48:52 -0500125 }
Michael Davis6af13462017-04-04 14:07:02 -0500126 .inline__confirm {
127 height: auto;
Michael Davis3a0d4712017-03-27 14:01:34 -0500128 margin-left: 0;
Michael Davis6af13462017-04-04 14:07:02 -0500129 left: 0;
130 padding: 1em 2em 1em 2em
131 }
Michael Davis6af13462017-04-04 14:07:02 -0500132 .inline__confirm-message {
133 margin-top: 5px;
134 margin-bottom: -10px;
135 }
136 .inline__confirm-buttons .btn-primary {
137 padding: .5em 2em;
138 min-height: 25px;
139 margin-top: .5em;
140 @include mediaQuery(medium) {
141 margin-top: 0;
Michael Davis3a0d4712017-03-27 14:01:34 -0500142 }
143 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500144 .event-log__col-check {
145 max-width: 60px;
146 text-align: center;
147 }
148 .col-logged-events {
149 span {
150 display: inline-block;
151 font-weight: 700;
152 margin-right: .3em;
153 }
154 }
155
156 //Export log
157 .btn-export, .btn-meta-copy,
158 .btn-delete,
159 .btn-resolve {
Michael Davis0c262342017-04-10 11:48:52 -0500160 color: black;
Michael Davis3a0d4712017-03-27 14:01:34 -0500161 font-size: .9em;
162 font-weight: 700;
163 position: relative;
164 padding: 0 0 1em 2em;
165 &:hover {
166 text-decoration: underline;
167 }
168 }
Iftekharul Islam08054412017-08-25 10:29:57 -0500169 .btn-resolve.disabled:hover,
170 .btn-delete.disabled:hover{
Michael Davisdc7479b2017-07-31 18:27:49 -0500171 cursor: default;
172 text-decoration: none;
173 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500174 .btn-export {
175 margin-top: 7px;
176 padding-bottom: 0;
177 }
178 .btn-export:before {
179 content: '\21E5';
180 position: absolute;
181 font-size: 1.7em;
182 vertical-align: middle;
183 transform: rotate(90deg);
184 display: inline-block;
185 left: 2px;
186 top: -5px;
187 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500188 .btn-meta-copy,
189 .btn-delete,
190 .btn-resolve {
191 margin-left: 5px;
192 padding: .5em .5em;
193 }
194
195 // Single event log card
196 .event-log__single-event {
Michael Davis522a5522017-06-09 13:51:05 -0500197 border: 1px solid $medgrey;
Michael Davis0c262342017-04-10 11:48:52 -0500198 padding: 1em 1em 1em .7em;
Michael Davis522a5522017-06-09 13:51:05 -0500199 margin: .5em 0 .5em 0;
200 position: relative;
Michael Davisb76d5f02017-06-19 14:23:45 -0500201 overflow: hidden;
Michael Davisedb195a2017-07-13 19:07:19 -0500202 @include fastTransition-all;
203 &.active {
204 background-color: $lightgrey;
205 @include slowTransition-all;
206 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500207 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500208 .event-log__event-info {
209 &:hover {
210 cursor: pointer;
211 }
212 }
213
214 //Event priorities
215 .event__priority {
216 color: $white;
217 font-size: .8em;
218 text-transform: uppercase;
219 padding: 2px 2em;
220 font-weight: 700;
221 line-height: inherit;
222 min-width: 103px;
223 text-align: center;
Michael Davis3a0d4712017-03-27 14:01:34 -0500224 &.high-priority {
Michael Davisedb195a2017-07-13 19:07:19 -0500225 background: $highPriority-bg;
226 border: 2px solid $highPriorityColor;
227 color: darken($highPriorityColor, 5%);
Michael Davis3a0d4712017-03-27 14:01:34 -0500228 }
229 &.med-priority {
Michael Davisedb195a2017-07-13 19:07:19 -0500230 background: $medPriorty-bg;
231 border: 2px solid $medPriorityColor;
232 color: darken($medPriorityColor, 15%);
Michael Davis3a0d4712017-03-27 14:01:34 -0500233 }
234 &.low-priority {
Michael Davisedb195a2017-07-13 19:07:19 -0500235 background: $lowPriorty-bg;
236 border: 2px solid $lowPriorityColor;
237 color: darken($lowPriorityColor, 5%);
Michael Davis3a0d4712017-03-27 14:01:34 -0500238 }
239 &.event-resolved {
Michael Davisedb195a2017-07-13 19:07:19 -0500240 background: $resolved-bg;
241 border: 2px solid $resolvedColor;
242 color: $resolvedColor;
Michael Davis3a0d4712017-03-27 14:01:34 -0500243 }
244 }
245
246 //Event Severity
247 .event__severity {
248 font-size: .7em;
249 text-transform: uppercase;
Michael Davis3a0d4712017-03-27 14:01:34 -0500250 font-weight: 700;
Michael Davis3a0d4712017-03-27 14:01:34 -0500251 min-width: 103px;
Michael Davisedb195a2017-07-13 19:07:19 -0500252 &.high-priority {
253 color: darken($highPriorityColor, 5%);
254 }
255 &.med-priority {
256 color: darken($medPriorityColor, 15%);
257 }
258 &.low-priority {
259 color: darken($lowPriorityColor, 5%);
260 }
261 &.event-resolved {
262 color: $resolvedColor;
Michael Davis522a5522017-06-09 13:51:05 -0500263 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500264 }
265
Michael Davis3a0d4712017-03-27 14:01:34 -0500266 //Event ID
267 .event__id {
268 @include fontCourierBold;
269 font-size: .9em;
270 color: $darkgrey;
Michael Davis522a5522017-06-09 13:51:05 -0500271 margin-right: 1em;
Michael Davis3a0d4712017-03-27 14:01:34 -0500272 }
273
274 .event__timestamp {
Yoshie Muranaka6a3b3b22019-05-16 16:46:21 -0500275 text-align: left;
Michael Davis3a0d4712017-03-27 14:01:34 -0500276 @include fontCourierBold;
277 font-size: .9em;
Michael Davis83608e12017-07-20 15:58:50 -0500278 color: $darkgrey;
beccabroek569ccf62018-10-29 13:46:53 -0500279 max-width: 18em;
Yoshie Muranaka6a3b3b22019-05-16 16:46:21 -0500280 @include mediaQuery(medium) {
Michael Davis522a5522017-06-09 13:51:05 -0500281 float: right;
282 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500283 }
284
285 // Event metadata row
286 .event__metadata-row {
Michael Davis6af13462017-04-04 14:07:02 -0500287 max-height: 0;
Michael Davis3a0d4712017-03-27 14:01:34 -0500288 overflow: hidden;
Michael Davis6af13462017-04-04 14:07:02 -0500289 -webkit-transition: 0.5s linear max-height;
290 transition: 0.5s linear max-height;
Michael Davis3a0d4712017-03-27 14:01:34 -0500291 &.active {
Michael Davis62bb80f2017-09-11 16:31:42 -0500292 max-height: 1000px;
Michael Davis3a0d4712017-03-27 14:01:34 -0500293 @include mediaQuery(small) {
Michael Davis6af13462017-04-04 14:07:02 -0500294 max-height: 1000px;
Michael Davis3a0d4712017-03-27 14:01:34 -0500295 }
296 @include mediaQuery(medium) {
Michael Davis6af13462017-04-04 14:07:02 -0500297 max-height: 1000px;
Michael Davis3a0d4712017-03-27 14:01:34 -0500298 }
299 }
300 }
301
302 //Event metadata
303 .event__metadata {
304 height: 200px;
305 overflow-y: scroll;
Michael Davis19ac8f82017-05-08 11:20:12 -0500306 border: 1px solid $medgrey;
Michael Davis3a0d4712017-03-27 14:01:34 -0500307 padding: .5em .5em 0;
308 background: $white;
309 display: block;
310 margin-bottom: 1.5em;
311 &::-webkit-scrollbar {
312 -webkit-appearance: none;
313 width: 7px;
314 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500315 &::-webkit-scrollbar-thumb {
316 border-radius: 4px;
317 background-color: rgba(0, 0, 0, .5);
318 -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5);
319 }
320 }
321
322 //Event Related Items
323 .event__related {
324 width: 100%;
325 }
326 .event__related-label {
327 font-weight: 700;
328 margin-right: 1.2em;
329 padding-top: .3em;
Michael Davis3e2fe422017-08-08 14:13:10 -0500330 float: left;
Michael Davis3a0d4712017-03-27 14:01:34 -0500331 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500332 .event__related-item {
333 margin-right: 1em;
334 padding-top: .3em;
Michael Davis6af13462017-04-04 14:07:02 -0500335 display: inline-block;
336 float: left;
337 clear: both;
Michael Davis3a0d4712017-03-27 14:01:34 -0500338 }
339 .event__actions {
340 margin-left: -1em;
Michael Davis473397c2017-07-27 15:09:53 -0500341 margin-top: .5em;
342 @include mediaQuery(medium) {
343 float: right;
344 margin-top: -5px;
345 }
Iftekharul Islam0b0e26d2018-11-15 10:44:59 -0600346 .disabled {
347 opacity: 0.2;
348 pointer-events: none;
349 cursor: default;
350 text-decoration: none;
351 }
352 .disabled:hover {
353 text-decoration: none;
354 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500355 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500356 .event__icon {
357 width: 20px;
358 height: 20px;
359 font-weight: normal;
360 margin-right: .5em;
361 margin-top: -3px;
362 display: inline-block;
363 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500364}
Yoshie Muranaka6a3b3b22019-05-16 16:46:21 -0500365
366/*p*/.event__description {
367 margin-bottom: 0;
368 line-height: 1.7;
369 font-weight: 400;
370 word-break: break-word;
371}
372
Michael Davis3a0d4712017-03-27 14:01:34 -0500373//end event-log__events
374
375
376