summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/page_bundles/reports.scss
blob: ce91988cb8a5f0309e7b8565cf3cff2ac69ac38b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
@import 'mixins_and_variables_and_functions';

.mr-widget-grouped-section {
  .report-block-container {
    max-height: 170px;
    overflow: auto;
  }
}

.report-block-container {
  border-top: 1px solid var(--border-color, $border-color);
  padding: $gl-padding - 2;
  background-color: var(--gray-50, $gray-10);

  // Clean MR widget CSS
  line-height: 20px;
}

.report-block-list {
  list-style: none;
  padding: 0 1px;
  margin: 0;
}

.report-block-list-icon {
  display: flex;

  &.failed svg {
    color: var(--red-500, $red-500);
  }

  &.success svg {
    color: var(--green-500, $green-500);
  }

  &.neutral svg {
    color: var(--gray-500, $gray-500);
  }

  .ci-status-icon {
    svg {
      width: 24px;
      height: 24px;
    }
  }
}

.report-block-list-issue {
  display: flex;
}

.is-dismissed .report-block-list-issue-description,
.is-dismissed .vulnerability-name-button {
  text-decoration: line-through;
}

.report-block-list-issue-description-text::after {
  content: '\00a0';
}

.report-block-list-issue-description {
  align-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
  display: flex;
  align-self: center;
}

.report-block {
  .break-link {
    word-wrap: break-word;
    word-break: break-all;
  }
}

.report-block-issue-code {
  width: 600px;
}

.modal-security-report-dast {
  .modal-dialog {
    max-width: $modal-lg;
  }

  // This is temporary till we get the new modals hooked up
  &.modal-hide-footer .modal-footer {
    display: none;
  }
}