blob: b0c9cac699dc78c20094880b49f7d6a086d2b1e3 [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 }
Michael Davisdc7479b2017-07-31 18:27:49 -0500167 .btn-resolve.disabled:hover {
168 cursor: default;
169 text-decoration: none;
170 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500171 .btn-export {
172 margin-top: 7px;
173 padding-bottom: 0;
174 }
175 .btn-export:before {
176 content: '\21E5';
177 position: absolute;
178 font-size: 1.7em;
179 vertical-align: middle;
180 transform: rotate(90deg);
181 display: inline-block;
182 left: 2px;
183 top: -5px;
184 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500185 .btn-meta-copy,
186 .btn-delete,
187 .btn-resolve {
188 margin-left: 5px;
189 padding: .5em .5em;
190 }
191
192 // Single event log card
193 .event-log__single-event {
Michael Davis522a5522017-06-09 13:51:05 -0500194 border: 1px solid $medgrey;
Michael Davis0c262342017-04-10 11:48:52 -0500195 padding: 1em 1em 1em .7em;
Michael Davis522a5522017-06-09 13:51:05 -0500196 margin: .5em 0 .5em 0;
197 position: relative;
Michael Davisb76d5f02017-06-19 14:23:45 -0500198 overflow: hidden;
Michael Davisedb195a2017-07-13 19:07:19 -0500199 @include fastTransition-all;
200 &.active {
201 background-color: $lightgrey;
202 @include slowTransition-all;
203 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500204 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500205 .event-log__event-info {
206 &:hover {
207 cursor: pointer;
208 }
209 }
210
211 //Event priorities
212 .event__priority {
213 color: $white;
214 font-size: .8em;
215 text-transform: uppercase;
216 padding: 2px 2em;
217 font-weight: 700;
218 line-height: inherit;
219 min-width: 103px;
220 text-align: center;
Michael Davis3a0d4712017-03-27 14:01:34 -0500221 &.high-priority {
Michael Davisedb195a2017-07-13 19:07:19 -0500222 background: $highPriority-bg;
223 border: 2px solid $highPriorityColor;
224 color: darken($highPriorityColor, 5%);
Michael Davis3a0d4712017-03-27 14:01:34 -0500225 }
226 &.med-priority {
Michael Davisedb195a2017-07-13 19:07:19 -0500227 background: $medPriorty-bg;
228 border: 2px solid $medPriorityColor;
229 color: darken($medPriorityColor, 15%);
Michael Davis3a0d4712017-03-27 14:01:34 -0500230 }
231 &.low-priority {
Michael Davisedb195a2017-07-13 19:07:19 -0500232 background: $lowPriorty-bg;
233 border: 2px solid $lowPriorityColor;
234 color: darken($lowPriorityColor, 5%);
Michael Davis3a0d4712017-03-27 14:01:34 -0500235 }
236 &.event-resolved {
Michael Davisedb195a2017-07-13 19:07:19 -0500237 background: $resolved-bg;
238 border: 2px solid $resolvedColor;
239 color: $resolvedColor;
Michael Davis3a0d4712017-03-27 14:01:34 -0500240 }
241 }
242
243 //Event Severity
244 .event__severity {
245 font-size: .7em;
246 text-transform: uppercase;
Michael Davis3a0d4712017-03-27 14:01:34 -0500247 font-weight: 700;
Michael Davis3a0d4712017-03-27 14:01:34 -0500248 min-width: 103px;
Michael Davis522a5522017-06-09 13:51:05 -0500249 @include mediaQuery(medium) {
Michael Davisedb195a2017-07-13 19:07:19 -0500250 margin: 0 1em 0 1.5em;
251 }
252 &.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
266 //Event description
267 .event__description {
268 font-weight: 400;
Michael Davisedb195a2017-07-13 19:07:19 -0500269 margin-left: 1em;
270 @include mediaQuery(small) {
271 margin-left: 4.5em;
272 margin-right: 1em;
273 }
274 word-break: break-all;
Michael Davis3a0d4712017-03-27 14:01:34 -0500275 }
276
277 //Event ID
278 .event__id {
279 @include fontCourierBold;
280 font-size: .9em;
281 color: $darkgrey;
Michael Davis522a5522017-06-09 13:51:05 -0500282 margin-right: 1em;
Michael Davis3a0d4712017-03-27 14:01:34 -0500283 }
284
285 .event__timestamp {
286 @include fontCourierBold;
287 font-size: .9em;
Michael Davis83608e12017-07-20 15:58:50 -0500288 color: $darkgrey;
Michael Davis522a5522017-06-09 13:51:05 -0500289 @media (min-width: 1105px ) {
290 float: right;
291 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500292 }
293
294 // Event metadata row
295 .event__metadata-row {
Michael Davis6af13462017-04-04 14:07:02 -0500296 max-height: 0;
Michael Davis3a0d4712017-03-27 14:01:34 -0500297 overflow: hidden;
Michael Davis6af13462017-04-04 14:07:02 -0500298 -webkit-transition: 0.5s linear max-height;
299 transition: 0.5s linear max-height;
Michael Davis3a0d4712017-03-27 14:01:34 -0500300 &.active {
Michael Davis3a0d4712017-03-27 14:01:34 -0500301 @include mediaQuery(small) {
Michael Davis6af13462017-04-04 14:07:02 -0500302 max-height: 1000px;
Michael Davis3a0d4712017-03-27 14:01:34 -0500303 }
304 @include mediaQuery(medium) {
Michael Davis6af13462017-04-04 14:07:02 -0500305 max-height: 1000px;
Michael Davis3a0d4712017-03-27 14:01:34 -0500306 }
307 }
308 }
309
310 //Event metadata
311 .event__metadata {
312 height: 200px;
313 overflow-y: scroll;
Michael Davis19ac8f82017-05-08 11:20:12 -0500314 border: 1px solid $medgrey;
Michael Davis3a0d4712017-03-27 14:01:34 -0500315 padding: .5em .5em 0;
316 background: $white;
317 display: block;
318 margin-bottom: 1.5em;
319 &::-webkit-scrollbar {
320 -webkit-appearance: none;
321 width: 7px;
322 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500323 &::-webkit-scrollbar-thumb {
324 border-radius: 4px;
325 background-color: rgba(0, 0, 0, .5);
326 -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5);
327 }
328 }
329
330 //Event Related Items
331 .event__related {
332 width: 100%;
333 }
334 .event__related-label {
335 font-weight: 700;
336 margin-right: 1.2em;
337 padding-top: .3em;
338 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500339 .event__related-item {
340 margin-right: 1em;
341 padding-top: .3em;
Michael Davis6af13462017-04-04 14:07:02 -0500342 display: inline-block;
343 float: left;
344 clear: both;
Michael Davis3a0d4712017-03-27 14:01:34 -0500345 }
346 .event__actions {
347 margin-left: -1em;
Michael Davis473397c2017-07-27 15:09:53 -0500348 margin-top: .5em;
349 @include mediaQuery(medium) {
350 float: right;
351 margin-top: -5px;
352 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500353 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500354 .event__icon {
355 width: 20px;
356 height: 20px;
357 font-weight: normal;
358 margin-right: .5em;
359 margin-top: -3px;
360 display: inline-block;
361 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500362}
Michael Davis3a0d4712017-03-27 14:01:34 -0500363//end event-log__events
364
365
366