blob: 301dc2c5d9f1ee7d420c348cbc844df2e9f98931 [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
39#event-filter {
40 .filter-label {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -050041 color: $text-02;
Michael Davis0c262342017-04-10 11:48:52 -050042 text-transform: uppercase;
43 font-weight: 700;
Derick Montague30d7c632019-07-31 22:35:48 -050044 font-size: 0.75em;
Michael Davis0c262342017-04-10 11:48:52 -050045 margin-bottom: 3px;
46 }
47 .event__severity-filter {
48 margin-right: 2em;
49 margin-bottom: 1em;
Yoshie Muranakac86ce3c2019-06-05 12:30:30 -050050 font-size: 0.9em;
51 .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 }
66 label {
67 height: 0;
Michael Davis272297b2017-04-24 12:11:53 -050068 text-indent: -9999px;
Michael Davis0c262342017-04-10 11:48:52 -050069 }
70 }
Michael Davis473397c2017-07-27 15:09:53 -050071 .event__status-filter {
Derick Montague30d7c632019-07-31 22:35:48 -050072 float: left;
Michael Davis473397c2017-07-27 15:09:53 -050073 @include mediaQuery(medium) {
74 width: 25%;
75 }
76 .dropdown__wrapper,
77 .dropdown__button {
78 width: 100%;
79 text-align: left;
80 }
Michael Davisedb195a2017-07-13 19:07:19 -050081 }
Michael Davis3a0d4712017-03-27 14:01:34 -050082}
83
Michael Davis3a0d4712017-03-27 14:01:34 -050084.event-log__filters {
85 position: relative;
Derick Montague30d7c632019-07-31 22:35:48 -050086 padding-bottom: 0.5em;
87 padding-top: 0.5em;
Michael Davis3a0d4712017-03-27 14:01:34 -050088
89 @media (min-width: 1333px) {
90 float: right;
91 display: inline-block;
92 }
93}
beccabroekdde251d2019-03-13 10:29:08 -050094.empty__logs {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -050095 border: 1px solid $border-color-02;
Derick Montague30d7c632019-07-31 22:35:48 -050096 margin-top: 0.5em;
beccabroekdde251d2019-03-13 10:29:08 -050097 text-align: center;
98 padding: 2em;
99}
Michael Davis3a0d4712017-03-27 14:01:34 -0500100
Michael Davis83608e12017-07-20 15:58:50 -0500101.accord-trigger {
102 position: absolute;
103 right: 1em;
Derick Montague30d7c632019-07-31 22:35:48 -0500104 top: 0.3em;
Michael Davis83608e12017-07-20 15:58:50 -0500105}
106
Michael Davis522a5522017-06-09 13:51:05 -0500107.event-log__events {
Michael Davis3a0d4712017-03-27 14:01:34 -0500108 display: block;
Michael Davis3a0d4712017-03-27 14:01:34 -0500109 position: relative;
110 overflow: hidden;
Michael Davis0c262342017-04-10 11:48:52 -0500111 .header__actions-bar {
Michael Davisedb195a2017-07-13 19:07:19 -0500112 .event-log__col-check {
113 text-align: left;
114 max-width: 30px;
115 .control-check {
Michael Davis473397c2017-07-27 15:09:53 -0500116 margin-left: -6px;
Michael Davisedb195a2017-07-13 19:07:19 -0500117 }
118 }
Yoshie Muranakac86ce3c2019-06-05 12:30:30 -0500119 .btn:not([disabled]):not(.disabled) {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500120 color: $primary-light;
Yoshie Muranakac86ce3c2019-06-05 12:30:30 -0500121 svg {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500122 fill: $primary-light;
Yoshie Muranakac86ce3c2019-06-05 12:30:30 -0500123 }
124 }
Michael Davis0c262342017-04-10 11:48:52 -0500125 }
Michael Davis6af13462017-04-04 14:07:02 -0500126 .inline__confirm {
127 height: auto;
Michael Davis3a0d4712017-03-27 14:01:34 -0500128 margin-left: 0;
Michael Davis6af13462017-04-04 14:07:02 -0500129 left: 0;
Derick Montague30d7c632019-07-31 22:35:48 -0500130 padding: 1em 2em 1em 2em;
Michael Davis6af13462017-04-04 14:07:02 -0500131 }
Michael Davis6af13462017-04-04 14:07:02 -0500132 .inline__confirm-message {
133 margin-top: 5px;
134 margin-bottom: -10px;
135 }
136 .inline__confirm-buttons .btn-primary {
Derick Montague30d7c632019-07-31 22:35:48 -0500137 padding: 0.5em 2em;
Michael Davis6af13462017-04-04 14:07:02 -0500138 min-height: 25px;
Derick Montague30d7c632019-07-31 22:35:48 -0500139 margin-top: 0.5em;
Michael Davis6af13462017-04-04 14:07:02 -0500140 @include mediaQuery(medium) {
141 margin-top: 0;
Michael Davis3a0d4712017-03-27 14:01:34 -0500142 }
143 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500144 .event-log__col-check {
145 max-width: 60px;
146 text-align: center;
147 }
148 .col-logged-events {
149 span {
150 display: inline-block;
151 font-weight: 700;
Derick Montague30d7c632019-07-31 22:35:48 -0500152 margin-right: 0.3em;
Michael Davis3a0d4712017-03-27 14:01:34 -0500153 }
154 }
155
Michael Davis3a0d4712017-03-27 14:01:34 -0500156 // Single event log card
157 .event-log__single-event {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500158 border: 1px solid $border-color-01;
Derick Montague30d7c632019-07-31 22:35:48 -0500159 padding: 1em 1em 1em 0.7em;
160 margin: 0.5em 0 0.5em 0;
Michael Davis522a5522017-06-09 13:51:05 -0500161 position: relative;
Michael Davisb76d5f02017-06-19 14:23:45 -0500162 overflow: hidden;
Michael Davisedb195a2017-07-13 19:07:19 -0500163 @include fastTransition-all;
164 &.active {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500165 background-color: $background-02;
Michael Davisedb195a2017-07-13 19:07:19 -0500166 @include slowTransition-all;
167 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500168 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500169 .event-log__event-info {
170 &:hover {
171 cursor: pointer;
172 }
173 }
174
175 //Event priorities
176 .event__priority {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500177 color: $primary-light;
Derick Montague30d7c632019-07-31 22:35:48 -0500178 font-size: 0.8em;
Michael Davis3a0d4712017-03-27 14:01:34 -0500179 text-transform: uppercase;
180 padding: 2px 2em;
181 font-weight: 700;
182 line-height: inherit;
183 min-width: 103px;
184 text-align: center;
Michael Davis3a0d4712017-03-27 14:01:34 -0500185 &.high-priority {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500186 background: $priority-high--light;
187 border: 2px solid $priority-high;
188 color: $priority-high;
Michael Davis3a0d4712017-03-27 14:01:34 -0500189 }
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500190 &.medium-priority {
191 background: $priority-medium--light;
192 border: 2px solid $priority-medium;
193 color: $priority-medium;
Michael Davis3a0d4712017-03-27 14:01:34 -0500194 }
195 &.low-priority {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500196 background: $priority-low--light;
197 border: 2px solid $priority-low;
198 color: $priority-low;
Michael Davis3a0d4712017-03-27 14:01:34 -0500199 }
200 &.event-resolved {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500201 background: $priority-low--light;
202 border: 2px solid $priority-low;
203 color: $priority-low;
Michael Davis3a0d4712017-03-27 14:01:34 -0500204 }
205 }
206
207 //Event Severity
208 .event__severity {
Derick Montague30d7c632019-07-31 22:35:48 -0500209 font-size: 0.7em;
Michael Davis3a0d4712017-03-27 14:01:34 -0500210 text-transform: uppercase;
Michael Davis3a0d4712017-03-27 14:01:34 -0500211 font-weight: 700;
Michael Davis3a0d4712017-03-27 14:01:34 -0500212 min-width: 103px;
Michael Davisedb195a2017-07-13 19:07:19 -0500213 &.high-priority {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500214 color: $priority-high;
Michael Davisedb195a2017-07-13 19:07:19 -0500215 }
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500216 &.medium-priority {
217 color: $priority-medium;
Michael Davisedb195a2017-07-13 19:07:19 -0500218 }
219 &.low-priority {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500220 color: $priority-low;
Michael Davisedb195a2017-07-13 19:07:19 -0500221 }
222 &.event-resolved {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500223 color: $priority-low;
Michael Davis522a5522017-06-09 13:51:05 -0500224 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500225 }
226
Michael Davis3a0d4712017-03-27 14:01:34 -0500227 //Event ID
228 .event__id {
229 @include fontCourierBold;
Derick Montague30d7c632019-07-31 22:35:48 -0500230 font-size: 0.9em;
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500231 color: $text-02;
Michael Davis522a5522017-06-09 13:51:05 -0500232 margin-right: 1em;
Michael Davis3a0d4712017-03-27 14:01:34 -0500233 }
234
235 .event__timestamp {
Yoshie Muranaka6a3b3b22019-05-16 16:46:21 -0500236 text-align: left;
Michael Davis3a0d4712017-03-27 14:01:34 -0500237 @include fontCourierBold;
Derick Montague30d7c632019-07-31 22:35:48 -0500238 font-size: 0.9em;
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500239 color: $text-02;
beccabroek569ccf62018-10-29 13:46:53 -0500240 max-width: 18em;
Yoshie Muranaka6a3b3b22019-05-16 16:46:21 -0500241 @include mediaQuery(medium) {
Michael Davis522a5522017-06-09 13:51:05 -0500242 float: right;
243 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500244 }
245
246 // Event metadata row
247 .event__metadata-row {
Michael Davis6af13462017-04-04 14:07:02 -0500248 max-height: 0;
Michael Davis3a0d4712017-03-27 14:01:34 -0500249 overflow: hidden;
Michael Davis6af13462017-04-04 14:07:02 -0500250 transition: 0.5s linear max-height;
Michael Davis3a0d4712017-03-27 14:01:34 -0500251 &.active {
Michael Davis62bb80f2017-09-11 16:31:42 -0500252 max-height: 1000px;
Michael Davis3a0d4712017-03-27 14:01:34 -0500253 @include mediaQuery(small) {
Michael Davis6af13462017-04-04 14:07:02 -0500254 max-height: 1000px;
Michael Davis3a0d4712017-03-27 14:01:34 -0500255 }
256 @include mediaQuery(medium) {
Michael Davis6af13462017-04-04 14:07:02 -0500257 max-height: 1000px;
Michael Davis3a0d4712017-03-27 14:01:34 -0500258 }
259 }
260 }
261
262 //Event metadata
263 .event__metadata {
264 height: 200px;
265 overflow-y: scroll;
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500266 border: 1px solid $border-color-01;
Derick Montague30d7c632019-07-31 22:35:48 -0500267 padding: 0.5em 0.5em 0;
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500268 background: $primary-light;
Michael Davis3a0d4712017-03-27 14:01:34 -0500269 display: block;
270 margin-bottom: 1.5em;
271 &::-webkit-scrollbar {
272 -webkit-appearance: none;
273 width: 7px;
274 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500275 &::-webkit-scrollbar-thumb {
276 border-radius: 4px;
Derick Montague30d7c632019-07-31 22:35:48 -0500277 background-color: rgba(0, 0, 0, 0.5);
Michael Davis3a0d4712017-03-27 14:01:34 -0500278 }
279 }
280
281 //Event Related Items
282 .event__related {
283 width: 100%;
284 }
285 .event__related-label {
286 font-weight: 700;
287 margin-right: 1.2em;
Derick Montague30d7c632019-07-31 22:35:48 -0500288 padding-top: 0.3em;
Michael Davis3e2fe422017-08-08 14:13:10 -0500289 float: left;
Michael Davis3a0d4712017-03-27 14:01:34 -0500290 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500291 .event__related-item {
292 margin-right: 1em;
Derick Montague30d7c632019-07-31 22:35:48 -0500293 padding-top: 0.3em;
Michael Davis6af13462017-04-04 14:07:02 -0500294 display: inline-block;
295 float: left;
296 clear: both;
Michael Davis3a0d4712017-03-27 14:01:34 -0500297 }
298 .event__actions {
299 margin-left: -1em;
Derick Montague30d7c632019-07-31 22:35:48 -0500300 margin-top: 0.5em;
Michael Davis473397c2017-07-27 15:09:53 -0500301 @include mediaQuery(medium) {
302 float: right;
303 margin-top: -5px;
304 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500305 }
Yoshie Muranakac86ce3c2019-06-05 12:30:30 -0500306
307 .btn:not([disabled]):not(.disabled) {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500308 color: $primary-dark;
Yoshie Muranakac86ce3c2019-06-05 12:30:30 -0500309 svg {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500310 fill: $primary-dark;
Yoshie Muranakac86ce3c2019-06-05 12:30:30 -0500311 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500312 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500313}
Yoshie Muranaka6a3b3b22019-05-16 16:46:21 -0500314
Derick Montague30d7c632019-07-31 22:35:48 -0500315.event__description {
Yoshie Muranaka6a3b3b22019-05-16 16:46:21 -0500316 margin-bottom: 0;
317 line-height: 1.7;
318 font-weight: 400;
319 word-break: break-word;
320}
321
Yoshie Muranakae4194ce2019-05-24 14:33:56 -0500322.remote-logging-server {
323 float: right;
324 .modal__trigger {
325 padding: 0;
Yoshie Muranakae4194ce2019-05-24 14:33:56 -0500326 .icon {
327 margin: 0;
Yoshie Muranakae4194ce2019-05-24 14:33:56 -0500328 }
329 }
330}
331
332.remote-logging-server__details {
333 margin-right: 0.4em;
334}
335
336.remote-logging-server__modal {
337 input {
338 margin-bottom: 30px;
339 max-width: 70%;
340 + .form__validation-message {
341 position: absolute;
342 margin-top: -30px;
343 }
344 }
Yoshie Muranakac86ce3c2019-06-05 12:30:30 -0500345 .btn--close {
346 padding: 0;
347 svg {
348 height: 1.6em;
349 }
350 }
351 .modal-header {
352 display: block;
353 }
Yoshie Muranakae4194ce2019-05-24 14:33:56 -0500354}
Michael Davis3a0d4712017-03-27 14:01:34 -0500355//end event-log__events