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 | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 3 | .accord-trigger { |
| 4 | transform: rotate(90deg); |
| 5 | font-size: 1.5em; |
| 6 | color: lighten($darkgrey, 10%); |
| 7 | padding: .3em; |
| 8 | display: block; |
| 9 | margin: 0 auto; |
| 10 | transition: all .2s ease; |
| 11 | &:after { |
| 12 | content: '\276F' |
Michael Davis | 971cfba | 2017-03-27 13:14:02 -0500 | [diff] [blame] | 13 | } |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 14 | &.active { |
| 15 | transform: rotate(-90deg); |
| 16 | color: $darkbg__accent; |
Michael Davis | 971cfba | 2017-03-27 13:14:02 -0500 | [diff] [blame] | 17 | } |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 18 | &:focus { |
| 19 | outline: 0; |
| 20 | color: $darkbg__accent; |
| 21 | } |
| 22 | } |
Michael Davis | 971cfba | 2017-03-27 13:14:02 -0500 | [diff] [blame] | 23 | |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 24 | // Dropwdowns filter |
| 25 | .dropdown__date.row { |
| 26 | padding: .5em; |
Michael Davis | 971cfba | 2017-03-27 13:14:02 -0500 | [diff] [blame] | 27 | } |
| 28 | |
| 29 | //Timezone select |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 30 | .event-log__timezone, |
| 31 | .event-log__timezone button { |
| 32 | position: relative; |
Michael Davis | 971cfba | 2017-03-27 13:14:02 -0500 | [diff] [blame] | 33 | text-transform: uppercase; |
| 34 | color: $lightbg__primary; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 35 | font-size: .9em; |
Michael Davis | 971cfba | 2017-03-27 13:14:02 -0500 | [diff] [blame] | 36 | font-weight: 700; |
Michael Davis | 0c26234 | 2017-04-10 11:48:52 -0500 | [diff] [blame] | 37 | border: 0; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 38 | } |
Michael Davis | 0c26234 | 2017-04-10 11:48:52 -0500 | [diff] [blame] | 39 | .content__search { |
Iftekharul Islam | 8b4828a | 2017-04-19 14:37:55 -0500 | [diff] [blame] | 40 | float: none; |
Michael Davis | 0c26234 | 2017-04-10 11:48:52 -0500 | [diff] [blame] | 41 | @include mediaQuery(x-large) { |
| 42 | max-width: 61%; |
| 43 | @include fastTransition-all; |
| 44 | } |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | #event-filter { |
| 49 | .filter-label { |
Michael Davis | 5194655 | 2017-05-01 10:30:38 -0500 | [diff] [blame] | 50 | color: darken($medgrey, 10%); |
Michael Davis | 0c26234 | 2017-04-10 11:48:52 -0500 | [diff] [blame] | 51 | text-transform: uppercase; |
| 52 | font-weight: 700; |
| 53 | font-size: .75em; |
| 54 | margin-bottom: 3px; |
| 55 | } |
| 56 | .event__severity-filter { |
| 57 | margin-right: 2em; |
| 58 | margin-bottom: 1em; |
| 59 | button { |
| 60 | margin: 3px -3px; |
| 61 | padding: .6em 2em; |
| 62 | min-height: 2.1em; |
| 63 | font-size: .9em; |
| 64 | font-weight: 700; |
| 65 | border-radius: 0; |
| 66 | &.first, |
| 67 | &.last { |
| 68 | border-radius: 3px; |
| 69 | } |
| 70 | &.last { |
| 71 | border-left: 0; |
| 72 | } |
| 73 | } |
| 74 | .btn-primary { |
| 75 | border: 2px solid $primebtn__bg; |
| 76 | } |
Michael Davis | 0c26234 | 2017-04-10 11:48:52 -0500 | [diff] [blame] | 77 | } |
| 78 | .event__date-filter { |
| 79 | margin-right: 1.5em; |
| 80 | color: $darkgrey; |
| 81 | input { |
| 82 | width: 170px; |
| 83 | height: 2.1rem; |
| 84 | } |
| 85 | label { |
| 86 | height: 0; |
Michael Davis | 272297b | 2017-04-24 12:11:53 -0500 | [diff] [blame] | 87 | text-indent: -9999px; |
Michael Davis | 0c26234 | 2017-04-10 11:48:52 -0500 | [diff] [blame] | 88 | } |
| 89 | } |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 90 | } |
| 91 | |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 92 | .event-log__filters { |
| 93 | position: relative; |
| 94 | padding-bottom: .5em; |
| 95 | padding-top: .5em; |
| 96 | |
| 97 | @media (min-width: 1333px) { |
| 98 | float: right; |
| 99 | display: inline-block; |
| 100 | } |
| 101 | } |
| 102 | |
| 103 | // Event Log Events |
Michael Davis | 0c26234 | 2017-04-10 11:48:52 -0500 | [diff] [blame] | 104 | #event-log__events.row { |
| 105 | padding-left: 0; |
| 106 | padding-right: 0; |
| 107 | } |
Michael Davis | 272297b | 2017-04-24 12:11:53 -0500 | [diff] [blame] | 108 | |
Michael Davis | 522a552 | 2017-06-09 13:51:05 -0500 | [diff] [blame] | 109 | #event-log__events, |
| 110 | .event-log__events { |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 111 | display: block; |
| 112 | margin-top: 1.6em; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 113 | position: relative; |
| 114 | overflow: hidden; |
Michael Davis | 0c26234 | 2017-04-10 11:48:52 -0500 | [diff] [blame] | 115 | .header__actions-bar { |
| 116 | .btn-export, |
| 117 | .btn-delete, |
| 118 | .btn-resolve { |
| 119 | color: $white; |
| 120 | } |
| 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 | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 193 | } |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 194 | .event-log__event-info { |
| 195 | &:hover { |
| 196 | cursor: pointer; |
| 197 | } |
| 198 | } |
| 199 | |
| 200 | //Event priorities |
| 201 | .event__priority { |
| 202 | color: $white; |
| 203 | font-size: .8em; |
| 204 | text-transform: uppercase; |
| 205 | padding: 2px 2em; |
| 206 | font-weight: 700; |
| 207 | line-height: inherit; |
| 208 | min-width: 103px; |
| 209 | text-align: center; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 210 | &.high-priority { |
| 211 | background: $error-color; |
| 212 | |
| 213 | } |
| 214 | &.med-priority { |
| 215 | background: $alert__warning; |
| 216 | |
| 217 | } |
| 218 | &.low-priority { |
| 219 | background: $lightbg__primary; |
| 220 | } |
| 221 | &.event-resolved { |
| 222 | background: $purple; |
| 223 | padding: 2px 1em; |
| 224 | } |
| 225 | } |
| 226 | |
| 227 | //Event Severity |
| 228 | .event__severity { |
| 229 | font-size: .7em; |
| 230 | text-transform: uppercase; |
| 231 | color: $darkgrey; |
| 232 | font-weight: 700; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 233 | min-width: 103px; |
Michael Davis | 522a552 | 2017-06-09 13:51:05 -0500 | [diff] [blame] | 234 | @include mediaQuery(medium) { |
| 235 | margin: 0 1em; |
| 236 | } |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 237 | } |
| 238 | |
| 239 | //Event description |
| 240 | .event__description { |
| 241 | font-weight: 400; |
| 242 | } |
| 243 | |
| 244 | //Event ID |
| 245 | .event__id { |
| 246 | @include fontCourierBold; |
| 247 | font-size: .9em; |
| 248 | color: $darkgrey; |
Michael Davis | 522a552 | 2017-06-09 13:51:05 -0500 | [diff] [blame] | 249 | margin-right: 1em; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 250 | } |
| 251 | |
| 252 | .event__timestamp { |
| 253 | @include fontCourierBold; |
| 254 | font-size: .9em; |
| 255 | color: #999999; |
Michael Davis | 522a552 | 2017-06-09 13:51:05 -0500 | [diff] [blame] | 256 | @media (min-width: 1105px ) { |
| 257 | float: right; |
| 258 | } |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 259 | } |
| 260 | |
| 261 | // Event metadata row |
| 262 | .event__metadata-row { |
Michael Davis | 6af1346 | 2017-04-04 14:07:02 -0500 | [diff] [blame] | 263 | max-height: 0; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 264 | overflow: hidden; |
Michael Davis | 6af1346 | 2017-04-04 14:07:02 -0500 | [diff] [blame] | 265 | -webkit-transition: 0.5s linear max-height; |
| 266 | transition: 0.5s linear max-height; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 267 | &.active { |
Michael Davis | 6af1346 | 2017-04-04 14:07:02 -0500 | [diff] [blame] | 268 | max-height: 1000px; //max-height used to allow flexible height of content and still allow transition |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 269 | @include mediaQuery(small) { |
Michael Davis | 6af1346 | 2017-04-04 14:07:02 -0500 | [diff] [blame] | 270 | max-height: 1000px; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 271 | } |
| 272 | @include mediaQuery(medium) { |
Michael Davis | 6af1346 | 2017-04-04 14:07:02 -0500 | [diff] [blame] | 273 | max-height: 1000px; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 274 | } |
| 275 | } |
| 276 | } |
| 277 | |
| 278 | //Event metadata |
| 279 | .event__metadata { |
| 280 | height: 200px; |
| 281 | overflow-y: scroll; |
Michael Davis | 19ac8f8 | 2017-05-08 11:20:12 -0500 | [diff] [blame] | 282 | border: 1px solid $medgrey; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 283 | padding: .5em .5em 0; |
| 284 | background: $white; |
| 285 | display: block; |
| 286 | margin-bottom: 1.5em; |
| 287 | &::-webkit-scrollbar { |
| 288 | -webkit-appearance: none; |
| 289 | width: 7px; |
| 290 | } |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 291 | &::-webkit-scrollbar-thumb { |
| 292 | border-radius: 4px; |
| 293 | background-color: rgba(0, 0, 0, .5); |
| 294 | -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5); |
| 295 | } |
| 296 | } |
| 297 | |
| 298 | //Event Related Items |
| 299 | .event__related { |
| 300 | width: 100%; |
| 301 | } |
| 302 | .event__related-label { |
| 303 | font-weight: 700; |
| 304 | margin-right: 1.2em; |
| 305 | padding-top: .3em; |
| 306 | } |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 307 | .event__related-item { |
| 308 | margin-right: 1em; |
| 309 | padding-top: .3em; |
Michael Davis | 6af1346 | 2017-04-04 14:07:02 -0500 | [diff] [blame] | 310 | display: inline-block; |
| 311 | float: left; |
| 312 | clear: both; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 313 | } |
| 314 | .event__actions { |
| 315 | margin-left: -1em; |
Michael Davis | 5194655 | 2017-05-01 10:30:38 -0500 | [diff] [blame] | 316 | float: right; |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 317 | } |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 318 | .event__icon { |
| 319 | width: 20px; |
| 320 | height: 20px; |
| 321 | font-weight: normal; |
| 322 | margin-right: .5em; |
| 323 | margin-top: -3px; |
| 324 | display: inline-block; |
| 325 | } |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 326 | } |
Michael Davis | 3a0d471 | 2017-03-27 14:01:34 -0500 | [diff] [blame] | 327 | //end event-log__events |
| 328 | |
| 329 | |
| 330 | |