blob: d32813953f0851e2d78175e8315114fad234a58d [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
Michael Davis3a0d4712017-03-27 14:01:34 -05004 // Dropwdowns filter
5 .dropdown__date.row {
6 padding: .5em;
Michael Davis971cfba2017-03-27 13:14:02 -05007 }
8
9 //Timezone select
Michael Davis3a0d4712017-03-27 14:01:34 -050010 .event-log__timezone,
11 .event-log__timezone button {
12 position: relative;
Michael Davis971cfba2017-03-27 13:14:02 -050013 text-transform: uppercase;
14 color: $lightbg__primary;
Michael Davis3a0d4712017-03-27 14:01:34 -050015 font-size: .9em;
Michael Davis971cfba2017-03-27 13:14:02 -050016 font-weight: 700;
Michael Davis0c262342017-04-10 11:48:52 -050017 border: 0;
Michael Davis3a0d4712017-03-27 14:01:34 -050018 }
Michael Davis0c262342017-04-10 11:48:52 -050019 .content__search {
Iftekharul Islam8b4828a2017-04-19 14:37:55 -050020 float: none;
Michael Davis0c262342017-04-10 11:48:52 -050021 @include mediaQuery(x-large) {
Michael Davis0c262342017-04-10 11:48:52 -050022 @include fastTransition-all;
23 }
24 }
25}
26
27#event-filter {
28 .filter-label {
Michael Davisc1530fa2017-07-20 14:11:45 -050029 color: $darkgrey;
Michael Davis0c262342017-04-10 11:48:52 -050030 text-transform: uppercase;
31 font-weight: 700;
32 font-size: .75em;
33 margin-bottom: 3px;
34 }
35 .event__severity-filter {
Michael Davisdc7479b2017-07-31 18:27:49 -050036 float:left;
Michael Davis0c262342017-04-10 11:48:52 -050037 margin-right: 2em;
38 margin-bottom: 1em;
39 button {
Michael Davisdc7479b2017-07-31 18:27:49 -050040 margin: 0px -3px;
Michael Davis0c262342017-04-10 11:48:52 -050041 padding: .6em 2em;
42 min-height: 2.1em;
43 font-size: .9em;
44 font-weight: 700;
45 border-radius: 0;
46 &.first,
47 &.last {
48 border-radius: 3px;
49 }
Michael Davis473397c2017-07-27 15:09:53 -050050 @media (min-width: 583px) {
51 &.last {
52 border-left: 0;
53 }
Michael Davis0c262342017-04-10 11:48:52 -050054 }
55 }
56 .btn-primary {
57 border: 2px solid $primebtn__bg;
58 }
Michael Davis0c262342017-04-10 11:48:52 -050059 }
60 .event__date-filter {
61 margin-right: 1.5em;
62 color: $darkgrey;
Michael Davisdc7479b2017-07-31 18:27:49 -050063 float:left;
Michael Davis0c262342017-04-10 11:48:52 -050064 input {
65 width: 170px;
66 height: 2.1rem;
67 }
68 label {
69 height: 0;
Michael Davis272297b2017-04-24 12:11:53 -050070 text-indent: -9999px;
Michael Davis0c262342017-04-10 11:48:52 -050071 }
72 }
Michael Davis473397c2017-07-27 15:09:53 -050073 .event__status-filter {
Michael Davisdc7479b2017-07-31 18:27:49 -050074 float:left;
Michael Davis473397c2017-07-27 15:09:53 -050075 @include mediaQuery(medium) {
76 width: 25%;
77 }
78 .dropdown__wrapper,
79 .dropdown__button {
80 width: 100%;
81 text-align: left;
82 }
Michael Davisedb195a2017-07-13 19:07:19 -050083 }
Michael Davis3a0d4712017-03-27 14:01:34 -050084}
85
Michael Davis3a0d4712017-03-27 14:01:34 -050086.event-log__filters {
87 position: relative;
88 padding-bottom: .5em;
89 padding-top: .5em;
90
91 @media (min-width: 1333px) {
92 float: right;
93 display: inline-block;
94 }
95}
96
Michael Davis83608e12017-07-20 15:58:50 -050097.accord-trigger {
98 position: absolute;
99 right: 1em;
100 top: .3em;
101}
102
Michael Davis522a5522017-06-09 13:51:05 -0500103#event-log__events,
104.event-log__events {
Michael Davis3a0d4712017-03-27 14:01:34 -0500105 display: block;
106 margin-top: 1.6em;
Michael Davis3a0d4712017-03-27 14:01:34 -0500107 position: relative;
108 overflow: hidden;
Michael Davis0c262342017-04-10 11:48:52 -0500109 .header__actions-bar {
110 .btn-export,
111 .btn-delete,
112 .btn-resolve {
113 color: $white;
114 }
Michael Davisedb195a2017-07-13 19:07:19 -0500115 .event-log__col-check {
116 text-align: left;
117 max-width: 30px;
118 .control-check {
Michael Davis473397c2017-07-27 15:09:53 -0500119 margin-left: -6px;
Michael Davisedb195a2017-07-13 19:07:19 -0500120 }
121 }
Michael Davis0c262342017-04-10 11:48:52 -0500122 }
Michael Davis6af13462017-04-04 14:07:02 -0500123 .inline__confirm {
124 height: auto;
Michael Davis3a0d4712017-03-27 14:01:34 -0500125 margin-left: 0;
Michael Davis6af13462017-04-04 14:07:02 -0500126 left: 0;
127 padding: 1em 2em 1em 2em
128 }
Michael Davis6af13462017-04-04 14:07:02 -0500129 .inline__confirm-message {
130 margin-top: 5px;
131 margin-bottom: -10px;
132 }
133 .inline__confirm-buttons .btn-primary {
134 padding: .5em 2em;
135 min-height: 25px;
136 margin-top: .5em;
137 @include mediaQuery(medium) {
138 margin-top: 0;
Michael Davis3a0d4712017-03-27 14:01:34 -0500139 }
140 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500141 .event-log__col-check {
142 max-width: 60px;
143 text-align: center;
144 }
145 .col-logged-events {
146 span {
147 display: inline-block;
148 font-weight: 700;
149 margin-right: .3em;
150 }
151 }
152
153 //Export log
154 .btn-export, .btn-meta-copy,
155 .btn-delete,
156 .btn-resolve {
157 text-transform: capitalize;
Michael Davis0c262342017-04-10 11:48:52 -0500158 color: black;
Michael Davis3a0d4712017-03-27 14:01:34 -0500159 font-size: .9em;
160 font-weight: 700;
161 position: relative;
162 padding: 0 0 1em 2em;
163 &:hover {
164 text-decoration: underline;
165 }
166 }
Iftekharul Islam08054412017-08-25 10:29:57 -0500167 .btn-resolve.disabled:hover,
168 .btn-delete.disabled:hover{
Michael Davisdc7479b2017-07-31 18:27:49 -0500169 cursor: default;
170 text-decoration: none;
171 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500172 .btn-export {
173 margin-top: 7px;
174 padding-bottom: 0;
175 }
176 .btn-export:before {
177 content: '\21E5';
178 position: absolute;
179 font-size: 1.7em;
180 vertical-align: middle;
181 transform: rotate(90deg);
182 display: inline-block;
183 left: 2px;
184 top: -5px;
185 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500186 .btn-meta-copy,
187 .btn-delete,
188 .btn-resolve {
189 margin-left: 5px;
190 padding: .5em .5em;
191 }
192
193 // Single event log card
194 .event-log__single-event {
Michael Davis522a5522017-06-09 13:51:05 -0500195 border: 1px solid $medgrey;
Michael Davis0c262342017-04-10 11:48:52 -0500196 padding: 1em 1em 1em .7em;
Michael Davis522a5522017-06-09 13:51:05 -0500197 margin: .5em 0 .5em 0;
198 position: relative;
Michael Davisb76d5f02017-06-19 14:23:45 -0500199 overflow: hidden;
Michael Davisedb195a2017-07-13 19:07:19 -0500200 @include fastTransition-all;
201 &.active {
202 background-color: $lightgrey;
203 @include slowTransition-all;
204 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500205 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500206 .event-log__event-info {
207 &:hover {
208 cursor: pointer;
209 }
210 }
211
212 //Event priorities
213 .event__priority {
214 color: $white;
215 font-size: .8em;
216 text-transform: uppercase;
217 padding: 2px 2em;
218 font-weight: 700;
219 line-height: inherit;
220 min-width: 103px;
221 text-align: center;
Michael Davis3a0d4712017-03-27 14:01:34 -0500222 &.high-priority {
Michael Davisedb195a2017-07-13 19:07:19 -0500223 background: $highPriority-bg;
224 border: 2px solid $highPriorityColor;
225 color: darken($highPriorityColor, 5%);
Michael Davis3a0d4712017-03-27 14:01:34 -0500226 }
227 &.med-priority {
Michael Davisedb195a2017-07-13 19:07:19 -0500228 background: $medPriorty-bg;
229 border: 2px solid $medPriorityColor;
230 color: darken($medPriorityColor, 15%);
Michael Davis3a0d4712017-03-27 14:01:34 -0500231 }
232 &.low-priority {
Michael Davisedb195a2017-07-13 19:07:19 -0500233 background: $lowPriorty-bg;
234 border: 2px solid $lowPriorityColor;
235 color: darken($lowPriorityColor, 5%);
Michael Davis3a0d4712017-03-27 14:01:34 -0500236 }
237 &.event-resolved {
Michael Davisedb195a2017-07-13 19:07:19 -0500238 background: $resolved-bg;
239 border: 2px solid $resolvedColor;
240 color: $resolvedColor;
Michael Davis3a0d4712017-03-27 14:01:34 -0500241 }
242 }
243
244 //Event Severity
245 .event__severity {
246 font-size: .7em;
247 text-transform: uppercase;
Michael Davis3a0d4712017-03-27 14:01:34 -0500248 font-weight: 700;
Michael Davis3a0d4712017-03-27 14:01:34 -0500249 min-width: 103px;
Michael Davis522a5522017-06-09 13:51:05 -0500250 @include mediaQuery(medium) {
Michael Davisedb195a2017-07-13 19:07:19 -0500251 margin: 0 1em 0 1.5em;
252 }
253 &.high-priority {
254 color: darken($highPriorityColor, 5%);
255 }
256 &.med-priority {
257 color: darken($medPriorityColor, 15%);
258 }
259 &.low-priority {
260 color: darken($lowPriorityColor, 5%);
261 }
262 &.event-resolved {
263 color: $resolvedColor;
Michael Davis522a5522017-06-09 13:51:05 -0500264 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500265 }
266
267 //Event description
268 .event__description {
269 font-weight: 400;
Michael Davisedb195a2017-07-13 19:07:19 -0500270 margin-left: 1em;
271 @include mediaQuery(small) {
272 margin-left: 4.5em;
273 margin-right: 1em;
274 }
275 word-break: break-all;
Michael Davis3a0d4712017-03-27 14:01:34 -0500276 }
277
278 //Event ID
279 .event__id {
280 @include fontCourierBold;
281 font-size: .9em;
282 color: $darkgrey;
Michael Davis522a5522017-06-09 13:51:05 -0500283 margin-right: 1em;
Michael Davis3a0d4712017-03-27 14:01:34 -0500284 }
285
286 .event__timestamp {
287 @include fontCourierBold;
288 font-size: .9em;
Michael Davis83608e12017-07-20 15:58:50 -0500289 color: $darkgrey;
Michael Davis522a5522017-06-09 13:51:05 -0500290 @media (min-width: 1105px ) {
291 float: right;
292 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500293 }
294
295 // Event metadata row
296 .event__metadata-row {
Michael Davis6af13462017-04-04 14:07:02 -0500297 max-height: 0;
Michael Davis3a0d4712017-03-27 14:01:34 -0500298 overflow: hidden;
Michael Davis6af13462017-04-04 14:07:02 -0500299 -webkit-transition: 0.5s linear max-height;
300 transition: 0.5s linear max-height;
Michael Davis3a0d4712017-03-27 14:01:34 -0500301 &.active {
Michael Davis3a0d4712017-03-27 14:01:34 -0500302 @include mediaQuery(small) {
Michael Davis6af13462017-04-04 14:07:02 -0500303 max-height: 1000px;
Michael Davis3a0d4712017-03-27 14:01:34 -0500304 }
305 @include mediaQuery(medium) {
Michael Davis6af13462017-04-04 14:07:02 -0500306 max-height: 1000px;
Michael Davis3a0d4712017-03-27 14:01:34 -0500307 }
308 }
309 }
310
311 //Event metadata
312 .event__metadata {
313 height: 200px;
314 overflow-y: scroll;
Michael Davis19ac8f82017-05-08 11:20:12 -0500315 border: 1px solid $medgrey;
Michael Davis3a0d4712017-03-27 14:01:34 -0500316 padding: .5em .5em 0;
317 background: $white;
318 display: block;
319 margin-bottom: 1.5em;
320 &::-webkit-scrollbar {
321 -webkit-appearance: none;
322 width: 7px;
323 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500324 &::-webkit-scrollbar-thumb {
325 border-radius: 4px;
326 background-color: rgba(0, 0, 0, .5);
327 -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5);
328 }
329 }
330
331 //Event Related Items
332 .event__related {
333 width: 100%;
334 }
335 .event__related-label {
336 font-weight: 700;
337 margin-right: 1.2em;
338 padding-top: .3em;
Michael Davis3e2fe422017-08-08 14:13:10 -0500339 float: left;
Michael Davis3a0d4712017-03-27 14:01:34 -0500340 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500341 .event__related-item {
342 margin-right: 1em;
343 padding-top: .3em;
Michael Davis6af13462017-04-04 14:07:02 -0500344 display: inline-block;
345 float: left;
346 clear: both;
Michael Davis3a0d4712017-03-27 14:01:34 -0500347 }
348 .event__actions {
349 margin-left: -1em;
Michael Davis473397c2017-07-27 15:09:53 -0500350 margin-top: .5em;
351 @include mediaQuery(medium) {
352 float: right;
353 margin-top: -5px;
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}
Michael Davis3a0d4712017-03-27 14:01:34 -0500365//end event-log__events
366
367
368