debian-mirror-gitlab/app/assets/stylesheets/page_bundles/reports.scss

95 lines
1.6 KiB
SCSS
Raw Normal View History

2021-01-03 14:25:43 +05:30
@import 'mixins_and_variables_and_functions';
2018-11-18 11:00:15 +05:30
.mr-widget-grouped-section {
.report-block-container {
max-height: 170px;
overflow: auto;
}
.report-block-list-issue-parent {
padding: $gl-padding-top $gl-padding;
border-top: 1px solid $border-color;
}
}
.report-block-container {
border-top: 1px solid $border-color;
2019-09-30 21:07:59 +05:30
padding: $gl-padding - 2;
2018-11-18 11:00:15 +05:30
background-color: $gray-light;
// 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 {
2021-01-03 14:25:43 +05:30
color: var(--red-500, $red-500);
2018-11-18 11:00:15 +05:30
}
&.success svg {
2021-01-03 14:25:43 +05:30
color: var(--green-500, $green-500);
2018-11-18 11:00:15 +05:30
}
&.neutral svg {
2021-01-03 14:25:43 +05:30
color: var(--gray-500, $gray-500);
2018-11-18 11:00:15 +05:30
}
.ci-status-icon {
svg {
2019-09-30 21:07:59 +05:30
width: 24px;
height: 24px;
2018-11-18 11:00:15 +05:30
}
}
}
.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;
}
}