blob: 7b82549e8ebdb5e3e4c3041b1e155c2028421552 [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 {
Michael Davis971cfba2017-03-27 13:14:02 -050013
Gunnar Mills84e114a2018-11-14 13:44:41 -060014 .row {
15 width: 100%;
16 }
Michael Davis3a0d4712017-03-27 14:01:34 -050017 // Dropwdowns filter
18 .dropdown__date.row {
19 padding: .5em;
Michael Davis971cfba2017-03-27 13:14:02 -050020 }
21
22 //Timezone select
Michael Davis3a0d4712017-03-27 14:01:34 -050023 .event-log__timezone,
24 .event-log__timezone button {
25 position: relative;
Michael Davis971cfba2017-03-27 13:14:02 -050026 text-transform: uppercase;
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -050027 color: $primary-accent;
Michael Davis3a0d4712017-03-27 14:01:34 -050028 font-size: .9em;
Michael Davis971cfba2017-03-27 13:14:02 -050029 font-weight: 700;
Michael Davis0c262342017-04-10 11:48:52 -050030 border: 0;
Michael Davis3a0d4712017-03-27 14:01:34 -050031 }
Michael Davis0c262342017-04-10 11:48:52 -050032 .content__search {
Iftekharul Islam8b4828a2017-04-19 14:37:55 -050033 float: none;
Michael Davis0c262342017-04-10 11:48:52 -050034 @include mediaQuery(x-large) {
Michael Davis0c262342017-04-10 11:48:52 -050035 @include fastTransition-all;
36 }
37 }
38}
39
40#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;
45 font-size: .75em;
46 margin-bottom: 3px;
47 }
48 .event__severity-filter {
49 margin-right: 2em;
50 margin-bottom: 1em;
Yoshie Muranakac86ce3c2019-06-05 12:30:30 -050051 font-size: 0.9em;
52 .btn {
53 width: 100px;
54 float: left;
55 &:not(:first-of-type) {
56 border-left-width: 1px;
Michael Davis0c262342017-04-10 11:48:52 -050057 }
58 }
Michael Davis0c262342017-04-10 11:48:52 -050059 }
60 .event__date-filter {
61 margin-right: 1.5em;
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -050062 color: $text-02;
Michael Davisdc7479b2017-07-31 18:27:49 -050063 float:left;
Michael Davis0c262342017-04-10 11:48:52 -050064 input {
65 width: 170px;
Michael Davis0c262342017-04-10 11:48:52 -050066 }
67 label {
68 height: 0;
Michael Davis272297b2017-04-24 12:11:53 -050069 text-indent: -9999px;
Michael Davis0c262342017-04-10 11:48:52 -050070 }
71 }
Michael Davis473397c2017-07-27 15:09:53 -050072 .event__status-filter {
Michael Davisdc7479b2017-07-31 18:27:49 -050073 float:left;
Michael Davis473397c2017-07-27 15:09:53 -050074 @include mediaQuery(medium) {
75 width: 25%;
76 }
77 .dropdown__wrapper,
78 .dropdown__button {
79 width: 100%;
80 text-align: left;
81 }
Michael Davisedb195a2017-07-13 19:07:19 -050082 }
Michael Davis3a0d4712017-03-27 14:01:34 -050083}
84
Michael Davis3a0d4712017-03-27 14:01:34 -050085.event-log__filters {
86 position: relative;
87 padding-bottom: .5em;
88 padding-top: .5em;
89
90 @media (min-width: 1333px) {
91 float: right;
92 display: inline-block;
93 }
94}
beccabroekdde251d2019-03-13 10:29:08 -050095.empty__logs {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -050096 border: 1px solid $border-color-02;
beccabroekdde251d2019-03-13 10:29:08 -050097 margin-top: .5em;
98 text-align: center;
99 padding: 2em;
100}
Michael Davis3a0d4712017-03-27 14:01:34 -0500101
Michael Davis83608e12017-07-20 15:58:50 -0500102.accord-trigger {
103 position: absolute;
104 right: 1em;
105 top: .3em;
106}
107
Michael Davis522a5522017-06-09 13:51:05 -0500108#event-log__events,
109.event-log__events {
Michael Davis3a0d4712017-03-27 14:01:34 -0500110 display: block;
111 margin-top: 1.6em;
Michael Davis3a0d4712017-03-27 14:01:34 -0500112 position: relative;
113 overflow: hidden;
Michael Davis0c262342017-04-10 11:48:52 -0500114 .header__actions-bar {
Michael Davisedb195a2017-07-13 19:07:19 -0500115 .event-log__col-check {
116 text-align: left;
117 max-width: 30px;
118 .control-check {
Michael Davis473397c2017-07-27 15:09:53 -0500119 margin-left: -6px;
Michael Davisedb195a2017-07-13 19:07:19 -0500120 }
121 }
Yoshie Muranakac86ce3c2019-06-05 12:30:30 -0500122 .btn:not([disabled]):not(.disabled) {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500123 color: $primary-light;
Yoshie Muranakac86ce3c2019-06-05 12:30:30 -0500124 svg {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500125 fill: $primary-light;
Yoshie Muranakac86ce3c2019-06-05 12:30:30 -0500126 }
127 }
Michael Davis0c262342017-04-10 11:48:52 -0500128 }
Michael Davis6af13462017-04-04 14:07:02 -0500129 .inline__confirm {
130 height: auto;
Michael Davis3a0d4712017-03-27 14:01:34 -0500131 margin-left: 0;
Michael Davis6af13462017-04-04 14:07:02 -0500132 left: 0;
133 padding: 1em 2em 1em 2em
134 }
Michael Davis6af13462017-04-04 14:07:02 -0500135 .inline__confirm-message {
136 margin-top: 5px;
137 margin-bottom: -10px;
138 }
139 .inline__confirm-buttons .btn-primary {
140 padding: .5em 2em;
141 min-height: 25px;
142 margin-top: .5em;
143 @include mediaQuery(medium) {
144 margin-top: 0;
Michael Davis3a0d4712017-03-27 14:01:34 -0500145 }
146 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500147 .event-log__col-check {
148 max-width: 60px;
149 text-align: center;
150 }
151 .col-logged-events {
152 span {
153 display: inline-block;
154 font-weight: 700;
155 margin-right: .3em;
156 }
157 }
158
Michael Davis3a0d4712017-03-27 14:01:34 -0500159 // Single event log card
160 .event-log__single-event {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500161 border: 1px solid $border-color-01;
Michael Davis0c262342017-04-10 11:48:52 -0500162 padding: 1em 1em 1em .7em;
Michael Davis522a5522017-06-09 13:51:05 -0500163 margin: .5em 0 .5em 0;
164 position: relative;
Michael Davisb76d5f02017-06-19 14:23:45 -0500165 overflow: hidden;
Michael Davisedb195a2017-07-13 19:07:19 -0500166 @include fastTransition-all;
167 &.active {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500168 background-color: $background-02;
Michael Davisedb195a2017-07-13 19:07:19 -0500169 @include slowTransition-all;
170 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500171 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500172 .event-log__event-info {
173 &:hover {
174 cursor: pointer;
175 }
176 }
177
178 //Event priorities
179 .event__priority {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500180 color: $primary-light;
Michael Davis3a0d4712017-03-27 14:01:34 -0500181 font-size: .8em;
182 text-transform: uppercase;
183 padding: 2px 2em;
184 font-weight: 700;
185 line-height: inherit;
186 min-width: 103px;
187 text-align: center;
Michael Davis3a0d4712017-03-27 14:01:34 -0500188 &.high-priority {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500189 background: $priority-high--light;
190 border: 2px solid $priority-high;
191 color: $priority-high;
Michael Davis3a0d4712017-03-27 14:01:34 -0500192 }
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500193 &.medium-priority {
194 background: $priority-medium--light;
195 border: 2px solid $priority-medium;
196 color: $priority-medium;
Michael Davis3a0d4712017-03-27 14:01:34 -0500197 }
198 &.low-priority {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500199 background: $priority-low--light;
200 border: 2px solid $priority-low;
201 color: $priority-low;
Michael Davis3a0d4712017-03-27 14:01:34 -0500202 }
203 &.event-resolved {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500204 background: $priority-low--light;
205 border: 2px solid $priority-low;
206 color: $priority-low;
Michael Davis3a0d4712017-03-27 14:01:34 -0500207 }
208 }
209
210 //Event Severity
211 .event__severity {
212 font-size: .7em;
213 text-transform: uppercase;
Michael Davis3a0d4712017-03-27 14:01:34 -0500214 font-weight: 700;
Michael Davis3a0d4712017-03-27 14:01:34 -0500215 min-width: 103px;
Michael Davisedb195a2017-07-13 19:07:19 -0500216 &.high-priority {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500217 color: $priority-high;
Michael Davisedb195a2017-07-13 19:07:19 -0500218 }
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500219 &.medium-priority {
220 color: $priority-medium;
Michael Davisedb195a2017-07-13 19:07:19 -0500221 }
222 &.low-priority {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500223 color: $priority-low;
Michael Davisedb195a2017-07-13 19:07:19 -0500224 }
225 &.event-resolved {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500226 color: $priority-low;
Michael Davis522a5522017-06-09 13:51:05 -0500227 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500228 }
229
Michael Davis3a0d4712017-03-27 14:01:34 -0500230 //Event ID
231 .event__id {
232 @include fontCourierBold;
233 font-size: .9em;
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500234 color: $text-02;
Michael Davis522a5522017-06-09 13:51:05 -0500235 margin-right: 1em;
Michael Davis3a0d4712017-03-27 14:01:34 -0500236 }
237
238 .event__timestamp {
Yoshie Muranaka6a3b3b22019-05-16 16:46:21 -0500239 text-align: left;
Michael Davis3a0d4712017-03-27 14:01:34 -0500240 @include fontCourierBold;
241 font-size: .9em;
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500242 color: $text-02;
beccabroek569ccf62018-10-29 13:46:53 -0500243 max-width: 18em;
Yoshie Muranaka6a3b3b22019-05-16 16:46:21 -0500244 @include mediaQuery(medium) {
Michael Davis522a5522017-06-09 13:51:05 -0500245 float: right;
246 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500247 }
248
249 // Event metadata row
250 .event__metadata-row {
Michael Davis6af13462017-04-04 14:07:02 -0500251 max-height: 0;
Michael Davis3a0d4712017-03-27 14:01:34 -0500252 overflow: hidden;
Michael Davis6af13462017-04-04 14:07:02 -0500253 transition: 0.5s linear max-height;
Michael Davis3a0d4712017-03-27 14:01:34 -0500254 &.active {
Michael Davis62bb80f2017-09-11 16:31:42 -0500255 max-height: 1000px;
Michael Davis3a0d4712017-03-27 14:01:34 -0500256 @include mediaQuery(small) {
Michael Davis6af13462017-04-04 14:07:02 -0500257 max-height: 1000px;
Michael Davis3a0d4712017-03-27 14:01:34 -0500258 }
259 @include mediaQuery(medium) {
Michael Davis6af13462017-04-04 14:07:02 -0500260 max-height: 1000px;
Michael Davis3a0d4712017-03-27 14:01:34 -0500261 }
262 }
263 }
264
265 //Event metadata
266 .event__metadata {
267 height: 200px;
268 overflow-y: scroll;
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500269 border: 1px solid $border-color-01;
Michael Davis3a0d4712017-03-27 14:01:34 -0500270 padding: .5em .5em 0;
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500271 background: $primary-light;
Michael Davis3a0d4712017-03-27 14:01:34 -0500272 display: block;
273 margin-bottom: 1.5em;
274 &::-webkit-scrollbar {
275 -webkit-appearance: none;
276 width: 7px;
277 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500278 &::-webkit-scrollbar-thumb {
279 border-radius: 4px;
280 background-color: rgba(0, 0, 0, .5);
Michael Davis3a0d4712017-03-27 14:01:34 -0500281 }
282 }
283
284 //Event Related Items
285 .event__related {
286 width: 100%;
287 }
288 .event__related-label {
289 font-weight: 700;
290 margin-right: 1.2em;
291 padding-top: .3em;
Michael Davis3e2fe422017-08-08 14:13:10 -0500292 float: left;
Michael Davis3a0d4712017-03-27 14:01:34 -0500293 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500294 .event__related-item {
295 margin-right: 1em;
296 padding-top: .3em;
Michael Davis6af13462017-04-04 14:07:02 -0500297 display: inline-block;
298 float: left;
299 clear: both;
Michael Davis3a0d4712017-03-27 14:01:34 -0500300 }
301 .event__actions {
302 margin-left: -1em;
Michael Davis473397c2017-07-27 15:09:53 -0500303 margin-top: .5em;
304 @include mediaQuery(medium) {
305 float: right;
306 margin-top: -5px;
307 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500308 }
Yoshie Muranakac86ce3c2019-06-05 12:30:30 -0500309
310 .btn:not([disabled]):not(.disabled) {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500311 color: $primary-dark;
Yoshie Muranakac86ce3c2019-06-05 12:30:30 -0500312 svg {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500313 fill: $primary-dark;
Yoshie Muranakac86ce3c2019-06-05 12:30:30 -0500314 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500315 }
Michael Davis3a0d4712017-03-27 14:01:34 -0500316}
Yoshie Muranaka6a3b3b22019-05-16 16:46:21 -0500317
318/*p*/.event__description {
319 margin-bottom: 0;
320 line-height: 1.7;
321 font-weight: 400;
322 word-break: break-word;
323}
324
Yoshie Muranakae4194ce2019-05-24 14:33:56 -0500325.remote-logging-server {
326 float: right;
327 .modal__trigger {
328 padding: 0;
Yoshie Muranakae4194ce2019-05-24 14:33:56 -0500329 .icon {
330 margin: 0;
Yoshie Muranakae4194ce2019-05-24 14:33:56 -0500331 }
332 }
333}
334
335.remote-logging-server__details {
336 margin-right: 0.4em;
337}
338
339.remote-logging-server__modal {
340 input {
341 margin-bottom: 30px;
342 max-width: 70%;
343 + .form__validation-message {
344 position: absolute;
345 margin-top: -30px;
346 }
347 }
Yoshie Muranakac86ce3c2019-06-05 12:30:30 -0500348 .btn--close {
349 padding: 0;
350 svg {
351 height: 1.6em;
352 }
353 }
354 .modal-header {
355 display: block;
356 }
Yoshie Muranakae4194ce2019-05-24 14:33:56 -0500357}
Michael Davis3a0d4712017-03-27 14:01:34 -0500358//end event-log__events