Commit edb0429d authored by Miguel Rincon's avatar Miguel Rincon

Scope css rules to the pipelines show page

Scope pipeline graph CSS rules could be moved a single file related to
the an individual pipeline page (projects:pipelines:show).

This change helps scope them only to that page while the rules are
moved.
parent 5fad87ba
...@@ -386,19 +386,19 @@ ...@@ -386,19 +386,19 @@
} }
} }
} }
}
.pipeline-tab-content { .pipeline-tab-content {
display: flex; display: flex;
width: 100%; width: 100%;
min-height: $dropdown-max-height-lg; min-height: $dropdown-max-height-lg;
background-color: $gray-light; background-color: $gray-light;
padding: $gl-padding 0; padding: $gl-padding 0;
overflow: auto; overflow: auto;
} }
// Pipeline graph // Pipeline graph, used at
.pipeline-graph { // app/assets/javascripts/pipelines/components/graph/graph_component.vue
.pipeline-graph {
white-space: nowrap; white-space: nowrap;
transition: max-height 0.3s, padding 0.3s; transition: max-height 0.3s, padding 0.3s;
...@@ -642,15 +642,16 @@ ...@@ -642,15 +642,16 @@
left: 1px; left: 1px;
top: -2px; top: -2px;
} }
} }
// Triggers the dropdown in the big pipeline graph // Triggers the dropdown in the big pipeline graph
.dropdown-counter-badge { .dropdown-counter-badge {
font-weight: 100; font-weight: 100;
font-size: 15px; font-size: 15px;
position: absolute; position: absolute;
right: 13px; right: 13px;
top: 8px; top: 8px;
}
} }
.ci-build-text, .ci-build-text,
......
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