blob: bb5fc693c409ee679ae72442b585e4e537c89972 [file] [log] [blame]
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -05001// Priority tags
2$priority-high: $accent-04--01;
3$priority-high--light: $accent-04--02;
4$priority-medium: $accent-03--01;
5$priority-medium--light: $accent-03--03;
6$priority-low: $accent-01--01;
7$priority-low--light: $accent-01--03;
8$prioriy-resolved: $base-02--02;
9$priority-resolve--light: $base-02--04;
10
Michael Davis971cfba2017-03-27 13:14:02 -050011// Event Log SCSS
Michael Davis971cfba2017-03-27 13:14:02 -050012#event-log {
Gunnar Mills84e114a2018-11-14 13:44:41 -060013 .row {
14 width: 100%;
15 }
Michael Davis3a0d4712017-03-27 14:01:34 -050016 // Dropwdowns filter
17 .dropdown__date.row {
Derick Montague30d7c632019-07-31 22:35:48 -050018 padding: 0.5em;
Michael Davis971cfba2017-03-27 13:14:02 -050019 }
20
21 //Timezone select
Michael Davis3a0d4712017-03-27 14:01:34 -050022 .event-log__timezone,
23 .event-log__timezone button {
24 position: relative;
Michael Davis971cfba2017-03-27 13:14:02 -050025 text-transform: uppercase;
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -050026 color: $primary-accent;
Derick Montague30d7c632019-07-31 22:35:48 -050027 font-size: 0.9em;
Michael Davis971cfba2017-03-27 13:14:02 -050028 font-weight: 700;
Michael Davis0c262342017-04-10 11:48:52 -050029 border: 0;
Michael Davis3a0d4712017-03-27 14:01:34 -050030 }
Michael Davis0c262342017-04-10 11:48:52 -050031 .content__search {
Iftekharul Islam8b4828a2017-04-19 14:37:55 -050032 float: none;
Michael Davis0c262342017-04-10 11:48:52 -050033 @include mediaQuery(x-large) {
Michael Davis0c262342017-04-10 11:48:52 -050034 @include fastTransition-all;
35 }
36 }
37}
38
Derick Montague49866032019-09-18 07:03:29 -050039// Event Filter
Michael Davis0c262342017-04-10 11:48:52 -050040#event-filter {
41 .filter-label {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -050042 color: $text-02;
Michael Davis0c262342017-04-10 11:48:52 -050043 text-transform: uppercase;
44 font-weight: 700;
Derick Montague30d7c632019-07-31 22:35:48 -050045 font-size: 0.75em;
Michael Davis0c262342017-04-10 11:48:52 -050046 margin-bottom: 3px;
47 }
48 .event__severity-filter {
49 margin-right: 2em;
50 margin-bottom: 1em;
Yoshie Muranakac86ce3c2019-06-05 12:30:30 -050051 .btn {
52 width: 100px;
53 float: left;
54 &:not(:first-of-type) {
55 border-left-width: 1px;
Michael Davis0c262342017-04-10 11:48:52 -050056 }
57 }
Michael Davis0c262342017-04-10 11:48:52 -050058 }
59 .event__date-filter {
60 margin-right: 1.5em;
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -050061 color: $text-02;
Derick Montague30d7c632019-07-31 22:35:48 -050062 float: left;
Michael Davis0c262342017-04-10 11:48:52 -050063 input {
64 width: 170px;
Michael Davis0c262342017-04-10 11:48:52 -050065 }
Michael Davis0c262342017-04-10 11:48:52 -050066 }
Michael Davis473397c2017-07-27 15:09:53 -050067 .event__status-filter {
Derick Montague30d7c632019-07-31 22:35:48 -050068 float: left;
Michael Davis473397c2017-07-27 15:09:53 -050069 @include mediaQuery(medium) {
70 width: 25%;
71 }
72 .dropdown__wrapper,
73 .dropdown__button {
74 width: 100%;
75 text-align: left;
76 }
Michael Davisedb195a2017-07-13 19:07:19 -050077 }
Michael Davis3a0d4712017-03-27 14:01:34 -050078}
79
Derick Montague49866032019-09-18 07:03:29 -050080.event-filter__content {
81 display: flex;
82 flex-wrap: wrap;
83 align-items: flex-start;
84 margin-top: 1em;
85
86 > fieldset {
87 flex: 0 0 auto;
88 }
89
90 .error {
91 margin-bottom: 0;
92 }
93}
94
95.event__date-filter-content {
96 display: flex;
97 align-items: flex-start;
98}
99
100.event__date-filter-divider {
101 margin: .25rem .5rem 0 .5rem;
102}
103
Michael Davis3a0d4712017-03-27 14:01:34 -0500104.event-log__filters {
105 position: relative;
Derick Montague30d7c632019-07-31 22:35:48 -0500106 padding-bottom: 0.5em;
107 padding-top: 0.5em;
Michael Davis3a0d4712017-03-27 14:01:34 -0500108
109 @media (min-width: 1333px) {
110 float: right;
111 display: inline-block;
112 }
113}
beccabroekdde251d2019-03-13 10:29:08 -0500114.empty__logs {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500115 border: 1px solid $border-color-02;
Derick Montague30d7c632019-07-31 22:35:48 -0500116 margin-top: 0.5em;
beccabroekdde251d2019-03-13 10:29:08 -0500117 text-align: center;
118 padding: 2em;
119}
Michael Davis3a0d4712017-03-27 14:01:34 -0500120
Michael Davis83608e12017-07-20 15:58:50 -0500121.accord-trigger {
122 position: absolute;
123 right: 1em;
Derick Montague30d7c632019-07-31 22:35:48 -0500124 top: 0.3em;
Michael Davis83608e12017-07-20 15:58:50 -0500125}
126
Michael Davis522a5522017-06-09 13:51:05 -0500127.event-log__events {
Michael Davis3a0d4712017-03-27 14:01:34 -0500128 display: block;
Michael Davis3a0d4712017-03-27 14:01:34 -0500129 position: relative;
130 overflow: hidden;
Michael Davis0c262342017-04-10 11:48:52 -0500131 .header__actions-bar {
Michael Davisedb195a2017-07-13 19:07:19 -0500132 .event-log__col-check {
133 text-align: left;
134 max-width: 30px;
135 .control-check {
Michael Davis473397c2017-07-27 15:09:53 -0500136 margin-left: -6px;
Michael Davisedb195a2017-07-13 19:07:19 -0500137 }
138 }
Yoshie Muranakac86ce3c2019-06-05 12:30:30 -0500139 .btn:not([disabled]):not(.disabled) {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500140 color: $primary-light;
Yoshie Muranakac86ce3c2019-06-05 12:30:30 -0500141 svg {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500142 fill: $primary-light;
Yoshie Muranakac86ce3c2019-06-05 12:30:30 -0500143 }
144 }
Michael Davis0c262342017-04-10 11:48:52 -0500145 }
Michael Davis6af13462017-04-04 14:07:02 -0500146 .inline__confirm {
147 height: auto;
Michael Davis3a0d4712017-03-27 14:01:34 -0500148 margin-left: 0;
Michael Davis6af13462017-04-04 14:07:02 -0500149 left: 0;
Derick Montague30d7c632019-07-31 22:35:48 -0500150 padding: 1em 2em 1em 2em;
Michael Davis6af13462017-04-04 14:07:02 -0500151 }
Michael Davis6af13462017-04-04 14:07:02 -0500152 .inline__confirm-message {
153 margin-top: 5px;
154 margin-bottom: -10px;
155 }
156 .inline__confirm-buttons .btn-primary {
Derick Montague30d7c632019-07-31 22:35:48 -0500157 padding: 0.5em 2em;
Michael Davis6af13462017-04-04 14:07:02 -0500158 min-height: 25px;
Derick Montague30d7c632019-07-31 22:35:48 -0500159 margin-top: 0.5em;
Michael Davis6af13462017-04-04 14:07:02 -0500160 @include mediaQuery(medium) {
161 margin-top: 0;
Michael Davis3a0d4712017-03-27 14:01:34 -0500162 }
163 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500164 .event-log__col-check {
165 max-width: 60px;
166 text-align: center;
167 }
168 .col-logged-events {
169 span {
170 display: inline-block;
171 font-weight: 700;
Derick Montague30d7c632019-07-31 22:35:48 -0500172 margin-right: 0.3em;
Michael Davis3a0d4712017-03-27 14:01:34 -0500173 }
174 }
175
Michael Davis3a0d4712017-03-27 14:01:34 -0500176 // Single event log card
177 .event-log__single-event {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500178 border: 1px solid $border-color-01;
Derick Montague30d7c632019-07-31 22:35:48 -0500179 padding: 1em 1em 1em 0.7em;
180 margin: 0.5em 0 0.5em 0;
Michael Davis522a5522017-06-09 13:51:05 -0500181 position: relative;
Michael Davisb76d5f02017-06-19 14:23:45 -0500182 overflow: hidden;
Michael Davisedb195a2017-07-13 19:07:19 -0500183 @include fastTransition-all;
184 &.active {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500185 background-color: $background-02;
Michael Davisedb195a2017-07-13 19:07:19 -0500186 @include slowTransition-all;
187 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500188 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500189 .event-log__event-info {
190 &:hover {
191 cursor: pointer;
192 }
193 }
194
195 //Event priorities
196 .event__priority {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500197 color: $primary-light;
Derick Montague30d7c632019-07-31 22:35:48 -0500198 font-size: 0.8em;
Michael Davis3a0d4712017-03-27 14:01:34 -0500199 text-transform: uppercase;
200 padding: 2px 2em;
201 font-weight: 700;
202 line-height: inherit;
203 min-width: 103px;
204 text-align: center;
Michael Davis3a0d4712017-03-27 14:01:34 -0500205 &.high-priority {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500206 background: $priority-high--light;
207 border: 2px solid $priority-high;
208 color: $priority-high;
Michael Davis3a0d4712017-03-27 14:01:34 -0500209 }
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500210 &.medium-priority {
211 background: $priority-medium--light;
212 border: 2px solid $priority-medium;
213 color: $priority-medium;
Michael Davis3a0d4712017-03-27 14:01:34 -0500214 }
215 &.low-priority {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500216 background: $priority-low--light;
217 border: 2px solid $priority-low;
218 color: $priority-low;
Michael Davis3a0d4712017-03-27 14:01:34 -0500219 }
220 &.event-resolved {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500221 background: $priority-low--light;
222 border: 2px solid $priority-low;
223 color: $priority-low;
Michael Davis3a0d4712017-03-27 14:01:34 -0500224 }
225 }
226
227 //Event Severity
228 .event__severity {
Derick Montague30d7c632019-07-31 22:35:48 -0500229 font-size: 0.7em;
Michael Davis3a0d4712017-03-27 14:01:34 -0500230 text-transform: uppercase;
Michael Davis3a0d4712017-03-27 14:01:34 -0500231 font-weight: 700;
Michael Davis3a0d4712017-03-27 14:01:34 -0500232 min-width: 103px;
Michael Davisedb195a2017-07-13 19:07:19 -0500233 &.high-priority {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500234 color: $priority-high;
Michael Davisedb195a2017-07-13 19:07:19 -0500235 }
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500236 &.medium-priority {
237 color: $priority-medium;
Michael Davisedb195a2017-07-13 19:07:19 -0500238 }
239 &.low-priority {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500240 color: $priority-low;
Michael Davisedb195a2017-07-13 19:07:19 -0500241 }
242 &.event-resolved {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500243 color: $priority-low;
Michael Davis522a5522017-06-09 13:51:05 -0500244 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500245 }
246
Michael Davis3a0d4712017-03-27 14:01:34 -0500247 //Event ID
248 .event__id {
249 @include fontCourierBold;
Derick Montague30d7c632019-07-31 22:35:48 -0500250 font-size: 0.9em;
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500251 color: $text-02;
Michael Davis522a5522017-06-09 13:51:05 -0500252 margin-right: 1em;
Michael Davis3a0d4712017-03-27 14:01:34 -0500253 }
254
255 .event__timestamp {
Yoshie Muranaka6a3b3b22019-05-16 16:46:21 -0500256 text-align: left;
Michael Davis3a0d4712017-03-27 14:01:34 -0500257 @include fontCourierBold;
Derick Montague30d7c632019-07-31 22:35:48 -0500258 font-size: 0.9em;
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500259 color: $text-02;
beccabroek569ccf62018-10-29 13:46:53 -0500260 max-width: 18em;
Yoshie Muranaka6a3b3b22019-05-16 16:46:21 -0500261 @include mediaQuery(medium) {
Michael Davis522a5522017-06-09 13:51:05 -0500262 float: right;
263 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500264 }
265
266 // Event metadata row
267 .event__metadata-row {
Michael Davis6af13462017-04-04 14:07:02 -0500268 max-height: 0;
Michael Davis3a0d4712017-03-27 14:01:34 -0500269 overflow: hidden;
Michael Davis6af13462017-04-04 14:07:02 -0500270 transition: 0.5s linear max-height;
Michael Davis3a0d4712017-03-27 14:01:34 -0500271 &.active {
Michael Davis62bb80f2017-09-11 16:31:42 -0500272 max-height: 1000px;
Michael Davis3a0d4712017-03-27 14:01:34 -0500273 @include mediaQuery(small) {
Michael Davis6af13462017-04-04 14:07:02 -0500274 max-height: 1000px;
Michael Davis3a0d4712017-03-27 14:01:34 -0500275 }
276 @include mediaQuery(medium) {
Michael Davis6af13462017-04-04 14:07:02 -0500277 max-height: 1000px;
Michael Davis3a0d4712017-03-27 14:01:34 -0500278 }
279 }
280 }
281
282 //Event metadata
283 .event__metadata {
284 height: 200px;
285 overflow-y: scroll;
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500286 border: 1px solid $border-color-01;
Derick Montague30d7c632019-07-31 22:35:48 -0500287 padding: 0.5em 0.5em 0;
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500288 background: $primary-light;
Michael Davis3a0d4712017-03-27 14:01:34 -0500289 display: block;
290 margin-bottom: 1.5em;
291 &::-webkit-scrollbar {
292 -webkit-appearance: none;
293 width: 7px;
294 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500295 &::-webkit-scrollbar-thumb {
296 border-radius: 4px;
Derick Montague30d7c632019-07-31 22:35:48 -0500297 background-color: rgba(0, 0, 0, 0.5);
Michael Davis3a0d4712017-03-27 14:01:34 -0500298 }
299 }
300
301 //Event Related Items
302 .event__related {
303 width: 100%;
304 }
305 .event__related-label {
306 font-weight: 700;
307 margin-right: 1.2em;
Derick Montague30d7c632019-07-31 22:35:48 -0500308 padding-top: 0.3em;
Michael Davis3e2fe422017-08-08 14:13:10 -0500309 float: left;
Michael Davis3a0d4712017-03-27 14:01:34 -0500310 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500311 .event__related-item {
312 margin-right: 1em;
Derick Montague30d7c632019-07-31 22:35:48 -0500313 padding-top: 0.3em;
Michael Davis6af13462017-04-04 14:07:02 -0500314 display: inline-block;
315 float: left;
316 clear: both;
Michael Davis3a0d4712017-03-27 14:01:34 -0500317 }
318 .event__actions {
319 margin-left: -1em;
Derick Montague30d7c632019-07-31 22:35:48 -0500320 margin-top: 0.5em;
Michael Davis473397c2017-07-27 15:09:53 -0500321 @include mediaQuery(medium) {
322 float: right;
323 margin-top: -5px;
324 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500325 }
Yoshie Muranakac86ce3c2019-06-05 12:30:30 -0500326
327 .btn:not([disabled]):not(.disabled) {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500328 color: $primary-dark;
Yoshie Muranakac86ce3c2019-06-05 12:30:30 -0500329 svg {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500330 fill: $primary-dark;
Yoshie Muranakac86ce3c2019-06-05 12:30:30 -0500331 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500332 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500333}
Yoshie Muranaka6a3b3b22019-05-16 16:46:21 -0500334
Derick Montague30d7c632019-07-31 22:35:48 -0500335.event__description {
Yoshie Muranaka6a3b3b22019-05-16 16:46:21 -0500336 margin-bottom: 0;
337 line-height: 1.7;
338 font-weight: 400;
339 word-break: break-word;
340}
341
Yoshie Muranakae4194ce2019-05-24 14:33:56 -0500342.remote-logging-server {
343 float: right;
344 .modal__trigger {
345 padding: 0;
Yoshie Muranakae4194ce2019-05-24 14:33:56 -0500346 .icon {
347 margin: 0;
Yoshie Muranakae4194ce2019-05-24 14:33:56 -0500348 }
349 }
350}
351
352.remote-logging-server__details {
353 margin-right: 0.4em;
354}
355
356.remote-logging-server__modal {
357 input {
358 margin-bottom: 30px;
359 max-width: 70%;
360 + .form__validation-message {
361 position: absolute;
362 margin-top: -30px;
363 }
364 }
Yoshie Muranakac86ce3c2019-06-05 12:30:30 -0500365 .btn--close {
366 padding: 0;
367 svg {
368 height: 1.6em;
369 }
370 }
371 .modal-header {
372 display: block;
373 }
Yoshie Muranakae4194ce2019-05-24 14:33:56 -0500374}
Michael Davis3a0d4712017-03-27 14:01:34 -0500375//end event-log__events