Michael Davis | 971cfba | 2017-03-27 13:14:02 -0500 | [diff] [blame] | 1 | // Event Log SCSS |
Michael Davis | 971cfba | 2017-03-27 13:14:02 -0500 | [diff] [blame] | 2 | #event-log { |
Michael Davis | 971cfba | 2017-03-27 13:14:02 -0500 | [diff] [blame] | 3 | |
Michael Davis | edb195a | 2017-07-13 19:07:19 -0500 | [diff] [blame] | 4 | .dropdown__button { |
| 5 | } |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 6 | // Dropwdowns filter |
| 7 | .dropdown__date.row { |
| 8 | padding: .5em; |
Michael Davis | 971cfba | 2017-03-27 13:14:02 -0500 | [diff] [blame] | 9 | } |
| 10 | |
| 11 | //Timezone select |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 12 | .event-log__timezone, |
| 13 | .event-log__timezone button { |
| 14 | position: relative; |
Michael Davis | 971cfba | 2017-03-27 13:14:02 -0500 | [diff] [blame] | 15 | text-transform: uppercase; |
| 16 | color: $lightbg__primary; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 17 | font-size: .9em; |
Michael Davis | 971cfba | 2017-03-27 13:14:02 -0500 | [diff] [blame] | 18 | font-weight: 700; |
Michael Davis | 0c26234 | 2017-04-10 11:48:52 -0500 | [diff] [blame] | 19 | border: 0; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 20 | } |
Michael Davis | 0c26234 | 2017-04-10 11:48:52 -0500 | [diff] [blame] | 21 | .content__search { |
Iftekharul Islam | 8b4828a | 2017-04-19 14:37:55 -0500 | [diff] [blame] | 22 | float: none; |
Michael Davis | 0c26234 | 2017-04-10 11:48:52 -0500 | [diff] [blame] | 23 | @include mediaQuery(x-large) { |
| 24 | max-width: 61%; |
| 25 | @include fastTransition-all; |
| 26 | } |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | #event-filter { |
| 31 | .filter-label { |
Michael Davis | c1530fa | 2017-07-20 14:11:45 -0500 | [diff] [blame] | 32 | color: $darkgrey; |
Michael Davis | 0c26234 | 2017-04-10 11:48:52 -0500 | [diff] [blame] | 33 | 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; |
| 41 | button { |
| 42 | margin: 3px -3px; |
| 43 | padding: .6em 2em; |
| 44 | min-height: 2.1em; |
| 45 | font-size: .9em; |
| 46 | font-weight: 700; |
| 47 | border-radius: 0; |
| 48 | &.first, |
| 49 | &.last { |
| 50 | border-radius: 3px; |
| 51 | } |
| 52 | &.last { |
| 53 | border-left: 0; |
| 54 | } |
| 55 | } |
| 56 | .btn-primary { |
| 57 | border: 2px solid $primebtn__bg; |
| 58 | } |
Michael Davis | 0c26234 | 2017-04-10 11:48:52 -0500 | [diff] [blame] | 59 | } |
| 60 | .event__date-filter { |
| 61 | margin-right: 1.5em; |
| 62 | color: $darkgrey; |
| 63 | input { |
| 64 | width: 170px; |
| 65 | height: 2.1rem; |
| 66 | } |
| 67 | label { |
| 68 | height: 0; |
Michael Davis | 272297b | 2017-04-24 12:11:53 -0500 | [diff] [blame] | 69 | text-indent: -9999px; |
Michael Davis | 0c26234 | 2017-04-10 11:48:52 -0500 | [diff] [blame] | 70 | } |
| 71 | } |
Michael Davis | edb195a | 2017-07-13 19:07:19 -0500 | [diff] [blame] | 72 | .event__status-filter .dropdown__wrapper, |
| 73 | .event__status-filter .dropdown__button { |
| 74 | width: 100%; |
| 75 | text-align: left; |
| 76 | } |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 77 | } |
| 78 | |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 79 | .event-log__filters { |
| 80 | position: relative; |
| 81 | padding-bottom: .5em; |
| 82 | padding-top: .5em; |
| 83 | |
| 84 | @media (min-width: 1333px) { |
| 85 | float: right; |
| 86 | display: inline-block; |
| 87 | } |
| 88 | } |
| 89 | |
| 90 | // Event Log Events |
Michael Davis | 0c26234 | 2017-04-10 11:48:52 -0500 | [diff] [blame] | 91 | #event-log__events.row { |
| 92 | padding-left: 0; |
| 93 | padding-right: 0; |
| 94 | } |
Michael Davis | 272297b | 2017-04-24 12:11:53 -0500 | [diff] [blame] | 95 | |
Michael Davis | 83608e1 | 2017-07-20 15:58:50 -0500 | [diff] [blame^] | 96 | .accord-trigger { |
| 97 | position: absolute; |
| 98 | right: 1em; |
| 99 | top: .3em; |
| 100 | } |
| 101 | |
Michael Davis | 522a552 | 2017-06-09 13:51:05 -0500 | [diff] [blame] | 102 | #event-log__events, |
| 103 | .event-log__events { |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 104 | display: block; |
| 105 | margin-top: 1.6em; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 106 | position: relative; |
| 107 | overflow: hidden; |
Michael Davis | 0c26234 | 2017-04-10 11:48:52 -0500 | [diff] [blame] | 108 | .header__actions-bar { |
| 109 | .btn-export, |
| 110 | .btn-delete, |
| 111 | .btn-resolve { |
| 112 | color: $white; |
| 113 | } |
Michael Davis | edb195a | 2017-07-13 19:07:19 -0500 | [diff] [blame] | 114 | .event-log__col-check { |
| 115 | text-align: left; |
| 116 | max-width: 30px; |
| 117 | .control-check { |
| 118 | margin-left: -5px; |
| 119 | } |
| 120 | } |
Michael Davis | 0c26234 | 2017-04-10 11:48:52 -0500 | [diff] [blame] | 121 | } |
Michael Davis | 6af1346 | 2017-04-04 14:07:02 -0500 | [diff] [blame] | 122 | .inline__confirm { |
| 123 | height: auto; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 124 | margin-left: 0; |
Michael Davis | 6af1346 | 2017-04-04 14:07:02 -0500 | [diff] [blame] | 125 | left: 0; |
| 126 | padding: 1em 2em 1em 2em |
| 127 | } |
Michael Davis | 6af1346 | 2017-04-04 14:07:02 -0500 | [diff] [blame] | 128 | .inline__confirm-message { |
| 129 | margin-top: 5px; |
| 130 | margin-bottom: -10px; |
| 131 | } |
| 132 | .inline__confirm-buttons .btn-primary { |
| 133 | padding: .5em 2em; |
| 134 | min-height: 25px; |
| 135 | margin-top: .5em; |
| 136 | @include mediaQuery(medium) { |
| 137 | margin-top: 0; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 138 | } |
| 139 | } |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 140 | .event-log__col-check { |
| 141 | max-width: 60px; |
| 142 | text-align: center; |
| 143 | } |
| 144 | .col-logged-events { |
| 145 | span { |
| 146 | display: inline-block; |
| 147 | font-weight: 700; |
| 148 | margin-right: .3em; |
| 149 | } |
| 150 | } |
| 151 | |
| 152 | //Export log |
| 153 | .btn-export, .btn-meta-copy, |
| 154 | .btn-delete, |
| 155 | .btn-resolve { |
| 156 | text-transform: capitalize; |
Michael Davis | 0c26234 | 2017-04-10 11:48:52 -0500 | [diff] [blame] | 157 | color: black; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 158 | font-size: .9em; |
| 159 | font-weight: 700; |
| 160 | position: relative; |
| 161 | padding: 0 0 1em 2em; |
| 162 | &:hover { |
| 163 | text-decoration: underline; |
| 164 | } |
| 165 | } |
| 166 | .btn-export { |
| 167 | margin-top: 7px; |
| 168 | padding-bottom: 0; |
| 169 | } |
| 170 | .btn-export:before { |
| 171 | content: '\21E5'; |
| 172 | position: absolute; |
| 173 | font-size: 1.7em; |
| 174 | vertical-align: middle; |
| 175 | transform: rotate(90deg); |
| 176 | display: inline-block; |
| 177 | left: 2px; |
| 178 | top: -5px; |
| 179 | } |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 180 | .btn-meta-copy, |
| 181 | .btn-delete, |
| 182 | .btn-resolve { |
| 183 | margin-left: 5px; |
| 184 | padding: .5em .5em; |
| 185 | } |
| 186 | |
| 187 | // Single event log card |
| 188 | .event-log__single-event { |
Michael Davis | 522a552 | 2017-06-09 13:51:05 -0500 | [diff] [blame] | 189 | border: 1px solid $medgrey; |
Michael Davis | 0c26234 | 2017-04-10 11:48:52 -0500 | [diff] [blame] | 190 | padding: 1em 1em 1em .7em; |
Michael Davis | 522a552 | 2017-06-09 13:51:05 -0500 | [diff] [blame] | 191 | margin: .5em 0 .5em 0; |
| 192 | position: relative; |
Michael Davis | b76d5f0 | 2017-06-19 14:23:45 -0500 | [diff] [blame] | 193 | overflow: hidden; |
Michael Davis | edb195a | 2017-07-13 19:07:19 -0500 | [diff] [blame] | 194 | @include fastTransition-all; |
| 195 | &.active { |
| 196 | background-color: $lightgrey; |
| 197 | @include slowTransition-all; |
| 198 | } |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 199 | } |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 200 | .event-log__event-info { |
| 201 | &:hover { |
| 202 | cursor: pointer; |
| 203 | } |
| 204 | } |
| 205 | |
| 206 | //Event priorities |
| 207 | .event__priority { |
| 208 | color: $white; |
| 209 | font-size: .8em; |
| 210 | text-transform: uppercase; |
| 211 | padding: 2px 2em; |
| 212 | font-weight: 700; |
| 213 | line-height: inherit; |
| 214 | min-width: 103px; |
| 215 | text-align: center; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 216 | &.high-priority { |
Michael Davis | edb195a | 2017-07-13 19:07:19 -0500 | [diff] [blame] | 217 | background: $highPriority-bg; |
| 218 | border: 2px solid $highPriorityColor; |
| 219 | color: darken($highPriorityColor, 5%); |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 220 | } |
| 221 | &.med-priority { |
Michael Davis | edb195a | 2017-07-13 19:07:19 -0500 | [diff] [blame] | 222 | background: $medPriorty-bg; |
| 223 | border: 2px solid $medPriorityColor; |
| 224 | color: darken($medPriorityColor, 15%); |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 225 | } |
| 226 | &.low-priority { |
Michael Davis | edb195a | 2017-07-13 19:07:19 -0500 | [diff] [blame] | 227 | background: $lowPriorty-bg; |
| 228 | border: 2px solid $lowPriorityColor; |
| 229 | color: darken($lowPriorityColor, 5%); |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 230 | } |
| 231 | &.event-resolved { |
Michael Davis | edb195a | 2017-07-13 19:07:19 -0500 | [diff] [blame] | 232 | background: $resolved-bg; |
| 233 | border: 2px solid $resolvedColor; |
| 234 | color: $resolvedColor; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 235 | } |
| 236 | } |
| 237 | |
| 238 | //Event Severity |
| 239 | .event__severity { |
| 240 | font-size: .7em; |
| 241 | text-transform: uppercase; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 242 | font-weight: 700; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 243 | min-width: 103px; |
Michael Davis | 522a552 | 2017-06-09 13:51:05 -0500 | [diff] [blame] | 244 | @include mediaQuery(medium) { |
Michael Davis | edb195a | 2017-07-13 19:07:19 -0500 | [diff] [blame] | 245 | margin: 0 1em 0 1.5em; |
| 246 | } |
| 247 | &.high-priority { |
| 248 | color: darken($highPriorityColor, 5%); |
| 249 | } |
| 250 | &.med-priority { |
| 251 | color: darken($medPriorityColor, 15%); |
| 252 | } |
| 253 | &.low-priority { |
| 254 | color: darken($lowPriorityColor, 5%); |
| 255 | } |
| 256 | &.event-resolved { |
| 257 | color: $resolvedColor; |
Michael Davis | 522a552 | 2017-06-09 13:51:05 -0500 | [diff] [blame] | 258 | } |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 259 | } |
| 260 | |
| 261 | //Event description |
| 262 | .event__description { |
| 263 | font-weight: 400; |
Michael Davis | edb195a | 2017-07-13 19:07:19 -0500 | [diff] [blame] | 264 | margin-left: 1em; |
| 265 | @include mediaQuery(small) { |
| 266 | margin-left: 4.5em; |
| 267 | margin-right: 1em; |
| 268 | } |
| 269 | word-break: break-all; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 270 | } |
| 271 | |
| 272 | //Event ID |
| 273 | .event__id { |
| 274 | @include fontCourierBold; |
| 275 | font-size: .9em; |
| 276 | color: $darkgrey; |
Michael Davis | 522a552 | 2017-06-09 13:51:05 -0500 | [diff] [blame] | 277 | margin-right: 1em; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 278 | } |
| 279 | |
| 280 | .event__timestamp { |
| 281 | @include fontCourierBold; |
| 282 | font-size: .9em; |
Michael Davis | 83608e1 | 2017-07-20 15:58:50 -0500 | [diff] [blame^] | 283 | color: $darkgrey; |
Michael Davis | 522a552 | 2017-06-09 13:51:05 -0500 | [diff] [blame] | 284 | @media (min-width: 1105px ) { |
| 285 | float: right; |
| 286 | } |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 287 | } |
| 288 | |
| 289 | // Event metadata row |
| 290 | .event__metadata-row { |
Michael Davis | 6af1346 | 2017-04-04 14:07:02 -0500 | [diff] [blame] | 291 | max-height: 0; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 292 | overflow: hidden; |
Michael Davis | 6af1346 | 2017-04-04 14:07:02 -0500 | [diff] [blame] | 293 | -webkit-transition: 0.5s linear max-height; |
| 294 | transition: 0.5s linear max-height; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 295 | &.active { |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 296 | @include mediaQuery(small) { |
Michael Davis | 6af1346 | 2017-04-04 14:07:02 -0500 | [diff] [blame] | 297 | max-height: 1000px; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 298 | } |
| 299 | @include mediaQuery(medium) { |
Michael Davis | 6af1346 | 2017-04-04 14:07:02 -0500 | [diff] [blame] | 300 | max-height: 1000px; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 301 | } |
| 302 | } |
| 303 | } |
| 304 | |
| 305 | //Event metadata |
| 306 | .event__metadata { |
| 307 | height: 200px; |
| 308 | overflow-y: scroll; |
Michael Davis | 19ac8f8 | 2017-05-08 11:20:12 -0500 | [diff] [blame] | 309 | border: 1px solid $medgrey; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 310 | padding: .5em .5em 0; |
| 311 | background: $white; |
| 312 | display: block; |
| 313 | margin-bottom: 1.5em; |
| 314 | &::-webkit-scrollbar { |
| 315 | -webkit-appearance: none; |
| 316 | width: 7px; |
| 317 | } |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 318 | &::-webkit-scrollbar-thumb { |
| 319 | border-radius: 4px; |
| 320 | background-color: rgba(0, 0, 0, .5); |
| 321 | -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5); |
| 322 | } |
| 323 | } |
| 324 | |
| 325 | //Event Related Items |
| 326 | .event__related { |
| 327 | width: 100%; |
| 328 | } |
| 329 | .event__related-label { |
| 330 | font-weight: 700; |
| 331 | margin-right: 1.2em; |
| 332 | padding-top: .3em; |
| 333 | } |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 334 | .event__related-item { |
| 335 | margin-right: 1em; |
| 336 | padding-top: .3em; |
Michael Davis | 6af1346 | 2017-04-04 14:07:02 -0500 | [diff] [blame] | 337 | display: inline-block; |
| 338 | float: left; |
| 339 | clear: both; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 340 | } |
| 341 | .event__actions { |
| 342 | margin-left: -1em; |
Michael Davis | 5194655 | 2017-05-01 10:30:38 -0500 | [diff] [blame] | 343 | float: right; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 344 | } |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 345 | .event__icon { |
| 346 | width: 20px; |
| 347 | height: 20px; |
| 348 | font-weight: normal; |
| 349 | margin-right: .5em; |
| 350 | margin-top: -3px; |
| 351 | display: inline-block; |
| 352 | } |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 353 | } |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 354 | //end event-log__events |
| 355 | |
| 356 | |
| 357 | |