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 | |
Gunnar Mills | 84e114a | 2018-11-14 13:44:41 -0600 | [diff] [blame] | 4 | .row { |
| 5 | width: 100%; |
| 6 | } |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 7 | // Dropwdowns filter |
| 8 | .dropdown__date.row { |
| 9 | padding: .5em; |
Michael Davis | 971cfba | 2017-03-27 13:14:02 -0500 | [diff] [blame] | 10 | } |
| 11 | |
| 12 | //Timezone select |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 13 | .event-log__timezone, |
| 14 | .event-log__timezone button { |
| 15 | position: relative; |
Michael Davis | 971cfba | 2017-03-27 13:14:02 -0500 | [diff] [blame] | 16 | text-transform: uppercase; |
| 17 | color: $lightbg__primary; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 18 | font-size: .9em; |
Michael Davis | 971cfba | 2017-03-27 13:14:02 -0500 | [diff] [blame] | 19 | font-weight: 700; |
Michael Davis | 0c26234 | 2017-04-10 11:48:52 -0500 | [diff] [blame] | 20 | border: 0; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 21 | } |
Michael Davis | 0c26234 | 2017-04-10 11:48:52 -0500 | [diff] [blame] | 22 | .content__search { |
Iftekharul Islam | 8b4828a | 2017-04-19 14:37:55 -0500 | [diff] [blame] | 23 | float: none; |
Michael Davis | 0c26234 | 2017-04-10 11:48:52 -0500 | [diff] [blame] | 24 | @include mediaQuery(x-large) { |
Michael Davis | 0c26234 | 2017-04-10 11:48:52 -0500 | [diff] [blame] | 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; |
Yoshie Muranaka | c86ce3c | 2019-06-05 12:30:30 -0500 | [diff] [blame] | 41 | font-size: 0.9em; |
| 42 | .btn { |
| 43 | width: 100px; |
| 44 | float: left; |
| 45 | &:not(:first-of-type) { |
| 46 | border-left-width: 1px; |
Michael Davis | 0c26234 | 2017-04-10 11:48:52 -0500 | [diff] [blame] | 47 | } |
| 48 | } |
Michael Davis | 0c26234 | 2017-04-10 11:48:52 -0500 | [diff] [blame] | 49 | } |
| 50 | .event__date-filter { |
| 51 | margin-right: 1.5em; |
| 52 | color: $darkgrey; |
Michael Davis | dc7479b | 2017-07-31 18:27:49 -0500 | [diff] [blame] | 53 | float:left; |
Michael Davis | 0c26234 | 2017-04-10 11:48:52 -0500 | [diff] [blame] | 54 | input { |
| 55 | width: 170px; |
Michael Davis | 0c26234 | 2017-04-10 11:48:52 -0500 | [diff] [blame] | 56 | } |
| 57 | label { |
| 58 | height: 0; |
Michael Davis | 272297b | 2017-04-24 12:11:53 -0500 | [diff] [blame] | 59 | text-indent: -9999px; |
Michael Davis | 0c26234 | 2017-04-10 11:48:52 -0500 | [diff] [blame] | 60 | } |
| 61 | } |
Michael Davis | 473397c | 2017-07-27 15:09:53 -0500 | [diff] [blame] | 62 | .event__status-filter { |
Michael Davis | dc7479b | 2017-07-31 18:27:49 -0500 | [diff] [blame] | 63 | float:left; |
Michael Davis | 473397c | 2017-07-27 15:09:53 -0500 | [diff] [blame] | 64 | @include mediaQuery(medium) { |
| 65 | width: 25%; |
| 66 | } |
| 67 | .dropdown__wrapper, |
| 68 | .dropdown__button { |
| 69 | width: 100%; |
| 70 | text-align: left; |
| 71 | } |
Michael Davis | edb195a | 2017-07-13 19:07:19 -0500 | [diff] [blame] | 72 | } |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 73 | } |
| 74 | |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 75 | .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 | } |
beccabroek | dde251d | 2019-03-13 10:29:08 -0500 | [diff] [blame] | 85 | .empty__logs { |
| 86 | border: 1px solid $lightbg__grey; |
| 87 | margin-top: .5em; |
| 88 | text-align: center; |
| 89 | padding: 2em; |
| 90 | } |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 91 | |
Michael Davis | 83608e1 | 2017-07-20 15:58:50 -0500 | [diff] [blame] | 92 | .accord-trigger { |
| 93 | position: absolute; |
| 94 | right: 1em; |
| 95 | top: .3em; |
| 96 | } |
| 97 | |
Michael Davis | 522a552 | 2017-06-09 13:51:05 -0500 | [diff] [blame] | 98 | #event-log__events, |
| 99 | .event-log__events { |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 100 | display: block; |
| 101 | margin-top: 1.6em; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 102 | position: relative; |
| 103 | overflow: hidden; |
Michael Davis | 0c26234 | 2017-04-10 11:48:52 -0500 | [diff] [blame] | 104 | .header__actions-bar { |
Michael Davis | edb195a | 2017-07-13 19:07:19 -0500 | [diff] [blame] | 105 | .event-log__col-check { |
| 106 | text-align: left; |
| 107 | max-width: 30px; |
| 108 | .control-check { |
Michael Davis | 473397c | 2017-07-27 15:09:53 -0500 | [diff] [blame] | 109 | margin-left: -6px; |
Michael Davis | edb195a | 2017-07-13 19:07:19 -0500 | [diff] [blame] | 110 | } |
| 111 | } |
Yoshie Muranaka | c86ce3c | 2019-06-05 12:30:30 -0500 | [diff] [blame] | 112 | .btn:not([disabled]):not(.disabled) { |
| 113 | color: $white; |
| 114 | svg { |
| 115 | fill: $white; |
| 116 | } |
| 117 | } |
Michael Davis | 0c26234 | 2017-04-10 11:48:52 -0500 | [diff] [blame] | 118 | } |
Michael Davis | 6af1346 | 2017-04-04 14:07:02 -0500 | [diff] [blame] | 119 | .inline__confirm { |
| 120 | height: auto; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 121 | margin-left: 0; |
Michael Davis | 6af1346 | 2017-04-04 14:07:02 -0500 | [diff] [blame] | 122 | left: 0; |
| 123 | padding: 1em 2em 1em 2em |
| 124 | } |
Michael Davis | 6af1346 | 2017-04-04 14:07:02 -0500 | [diff] [blame] | 125 | .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 Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 135 | } |
| 136 | } |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 137 | .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 Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 149 | // Single event log card |
| 150 | .event-log__single-event { |
Michael Davis | 522a552 | 2017-06-09 13:51:05 -0500 | [diff] [blame] | 151 | border: 1px solid $medgrey; |
Michael Davis | 0c26234 | 2017-04-10 11:48:52 -0500 | [diff] [blame] | 152 | padding: 1em 1em 1em .7em; |
Michael Davis | 522a552 | 2017-06-09 13:51:05 -0500 | [diff] [blame] | 153 | margin: .5em 0 .5em 0; |
| 154 | position: relative; |
Michael Davis | b76d5f0 | 2017-06-19 14:23:45 -0500 | [diff] [blame] | 155 | overflow: hidden; |
Michael Davis | edb195a | 2017-07-13 19:07:19 -0500 | [diff] [blame] | 156 | @include fastTransition-all; |
| 157 | &.active { |
| 158 | background-color: $lightgrey; |
| 159 | @include slowTransition-all; |
| 160 | } |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 161 | } |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 162 | .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 Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 178 | &.high-priority { |
Michael Davis | edb195a | 2017-07-13 19:07:19 -0500 | [diff] [blame] | 179 | background: $highPriority-bg; |
| 180 | border: 2px solid $highPriorityColor; |
| 181 | color: darken($highPriorityColor, 5%); |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 182 | } |
| 183 | &.med-priority { |
Michael Davis | edb195a | 2017-07-13 19:07:19 -0500 | [diff] [blame] | 184 | background: $medPriorty-bg; |
| 185 | border: 2px solid $medPriorityColor; |
| 186 | color: darken($medPriorityColor, 15%); |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 187 | } |
| 188 | &.low-priority { |
Michael Davis | edb195a | 2017-07-13 19:07:19 -0500 | [diff] [blame] | 189 | background: $lowPriorty-bg; |
| 190 | border: 2px solid $lowPriorityColor; |
| 191 | color: darken($lowPriorityColor, 5%); |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 192 | } |
| 193 | &.event-resolved { |
Michael Davis | edb195a | 2017-07-13 19:07:19 -0500 | [diff] [blame] | 194 | background: $resolved-bg; |
| 195 | border: 2px solid $resolvedColor; |
| 196 | color: $resolvedColor; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 197 | } |
| 198 | } |
| 199 | |
| 200 | //Event Severity |
| 201 | .event__severity { |
| 202 | font-size: .7em; |
| 203 | text-transform: uppercase; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 204 | font-weight: 700; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 205 | min-width: 103px; |
Michael Davis | edb195a | 2017-07-13 19:07:19 -0500 | [diff] [blame] | 206 | &.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 Davis | 522a552 | 2017-06-09 13:51:05 -0500 | [diff] [blame] | 217 | } |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 218 | } |
| 219 | |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 220 | //Event ID |
| 221 | .event__id { |
| 222 | @include fontCourierBold; |
| 223 | font-size: .9em; |
| 224 | color: $darkgrey; |
Michael Davis | 522a552 | 2017-06-09 13:51:05 -0500 | [diff] [blame] | 225 | margin-right: 1em; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 226 | } |
| 227 | |
| 228 | .event__timestamp { |
Yoshie Muranaka | 6a3b3b2 | 2019-05-16 16:46:21 -0500 | [diff] [blame] | 229 | text-align: left; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 230 | @include fontCourierBold; |
| 231 | font-size: .9em; |
Michael Davis | 83608e1 | 2017-07-20 15:58:50 -0500 | [diff] [blame] | 232 | color: $darkgrey; |
beccabroek | 569ccf6 | 2018-10-29 13:46:53 -0500 | [diff] [blame] | 233 | max-width: 18em; |
Yoshie Muranaka | 6a3b3b2 | 2019-05-16 16:46:21 -0500 | [diff] [blame] | 234 | @include mediaQuery(medium) { |
Michael Davis | 522a552 | 2017-06-09 13:51:05 -0500 | [diff] [blame] | 235 | float: right; |
| 236 | } |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 237 | } |
| 238 | |
| 239 | // Event metadata row |
| 240 | .event__metadata-row { |
Michael Davis | 6af1346 | 2017-04-04 14:07:02 -0500 | [diff] [blame] | 241 | max-height: 0; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 242 | overflow: hidden; |
Michael Davis | 6af1346 | 2017-04-04 14:07:02 -0500 | [diff] [blame] | 243 | transition: 0.5s linear max-height; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 244 | &.active { |
Michael Davis | 62bb80f | 2017-09-11 16:31:42 -0500 | [diff] [blame] | 245 | max-height: 1000px; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 246 | @include mediaQuery(small) { |
Michael Davis | 6af1346 | 2017-04-04 14:07:02 -0500 | [diff] [blame] | 247 | max-height: 1000px; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 248 | } |
| 249 | @include mediaQuery(medium) { |
Michael Davis | 6af1346 | 2017-04-04 14:07:02 -0500 | [diff] [blame] | 250 | max-height: 1000px; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 251 | } |
| 252 | } |
| 253 | } |
| 254 | |
| 255 | //Event metadata |
| 256 | .event__metadata { |
| 257 | height: 200px; |
| 258 | overflow-y: scroll; |
Michael Davis | 19ac8f8 | 2017-05-08 11:20:12 -0500 | [diff] [blame] | 259 | border: 1px solid $medgrey; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 260 | 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 Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 268 | &::-webkit-scrollbar-thumb { |
| 269 | border-radius: 4px; |
| 270 | background-color: rgba(0, 0, 0, .5); |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 271 | } |
| 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 Davis | 3e2fe42 | 2017-08-08 14:13:10 -0500 | [diff] [blame] | 282 | float: left; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 283 | } |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 284 | .event__related-item { |
| 285 | margin-right: 1em; |
| 286 | padding-top: .3em; |
Michael Davis | 6af1346 | 2017-04-04 14:07:02 -0500 | [diff] [blame] | 287 | display: inline-block; |
| 288 | float: left; |
| 289 | clear: both; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 290 | } |
| 291 | .event__actions { |
| 292 | margin-left: -1em; |
Michael Davis | 473397c | 2017-07-27 15:09:53 -0500 | [diff] [blame] | 293 | margin-top: .5em; |
| 294 | @include mediaQuery(medium) { |
| 295 | float: right; |
| 296 | margin-top: -5px; |
| 297 | } |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 298 | } |
Yoshie Muranaka | c86ce3c | 2019-06-05 12:30:30 -0500 | [diff] [blame] | 299 | |
| 300 | .btn:not([disabled]):not(.disabled) { |
| 301 | color: $black; |
| 302 | svg { |
| 303 | fill: $black; |
| 304 | } |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 305 | } |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 306 | } |
Yoshie Muranaka | 6a3b3b2 | 2019-05-16 16:46:21 -0500 | [diff] [blame] | 307 | |
| 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 Muranaka | e4194ce | 2019-05-24 14:33:56 -0500 | [diff] [blame] | 315 | .remote-logging-server { |
| 316 | float: right; |
| 317 | .modal__trigger { |
| 318 | padding: 0; |
Yoshie Muranaka | e4194ce | 2019-05-24 14:33:56 -0500 | [diff] [blame] | 319 | .icon { |
| 320 | margin: 0; |
Yoshie Muranaka | e4194ce | 2019-05-24 14:33:56 -0500 | [diff] [blame] | 321 | } |
| 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 Muranaka | c86ce3c | 2019-06-05 12:30:30 -0500 | [diff] [blame] | 338 | .btn--close { |
| 339 | padding: 0; |
| 340 | svg { |
| 341 | height: 1.6em; |
| 342 | } |
| 343 | } |
| 344 | .modal-header { |
| 345 | display: block; |
| 346 | } |
Yoshie Muranaka | e4194ce | 2019-05-24 14:33:56 -0500 | [diff] [blame] | 347 | } |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 348 | //end event-log__events |