Commit 432a1211 authored by Nick Kipling's avatar Nick Kipling Committed by Annabel Dunstone Gray

Refactor TestReports specific table css

Moved the hover effect and color into response_tables.scss
parent d9c23919
...@@ -64,14 +64,14 @@ export default { ...@@ -64,14 +64,14 @@ export default {
v-for="(testSuite, index) in getTestSuites" v-for="(testSuite, index) in getTestSuites"
:key="index" :key="index"
role="row" role="row"
class="gl-responsive-table-row test-reports-summary-row rounded cursor-pointer js-suite-row" class="gl-responsive-table-row gl-responsive-table-row-clickable test-reports-summary-row rounded cursor-pointer js-suite-row"
@click="tableRowClick(testSuite)" @click="tableRowClick(testSuite)"
> >
<div class="table-section section-25"> <div class="table-section section-25">
<div role="rowheader" class="table-mobile-header font-weight-bold"> <div role="rowheader" class="table-mobile-header font-weight-bold">
{{ __('Suite') }} {{ __('Suite') }}
</div> </div>
<div class="table-mobile-content test-reports-summary-suite cgray pl-3"> <div class="table-mobile-content underline cgray pl-3">
{{ testSuite.name }} {{ testSuite.name }}
</div> </div>
</div> </div>
......
...@@ -20,6 +20,17 @@ ...@@ -20,6 +20,17 @@
@extend .gl-responsive-table-row-layout; @extend .gl-responsive-table-row-layout;
margin-top: 10px; margin-top: 10px;
border: 1px solid $border-color; border: 1px solid $border-color;
color: $gray-700;
&.gl-responsive-table-row-clickable {
&:hover {
background-color: $gray-light;
.underline {
text-decoration: underline;
}
}
}
@include media-breakpoint-up(md) { @include media-breakpoint-up(md) {
margin: 0; margin: 0;
......
...@@ -1084,18 +1084,6 @@ button.mini-pipeline-graph-dropdown-toggle { ...@@ -1084,18 +1084,6 @@ button.mini-pipeline-graph-dropdown-toggle {
} }
.test-reports-table { .test-reports-table {
color: $gray-700;
.test-reports-summary-row {
&:hover {
background-color: $gray-light;
.test-reports-summary-suite {
text-decoration: underline;
}
}
}
.build-trace { .build-trace {
@include build-trace(); @include build-trace();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment