Commit 234076ab authored by Phil Hughes's avatar Phil Hughes

removed style from components & moved to repo.scss

parent 552c0c99
...@@ -44,22 +44,3 @@ export default { ...@@ -44,22 +44,3 @@ export default {
</span> </span>
</div> </div>
</template> </template>
<style scoped>
.ide-job-item {
display: flex;
padding: 16px;
}
.ide-job-item:not(:last-child) {
border-bottom: 1px solid #e5e5e5;
}
.ide-job-item .ci-status-icon {
display: flex;
justify-content: center;
height: 20px;
margin-top: -2px;
overflow: hidden;
}
</style>
...@@ -54,7 +54,7 @@ export default { ...@@ -54,7 +54,7 @@ export default {
<template> <template>
<div <div
class="card prepend-top-default" class="ide-stage card prepend-top-default"
> >
<div <div
class="card-header" class="card-header"
...@@ -86,7 +86,7 @@ export default { ...@@ -86,7 +86,7 @@ export default {
</div> </div>
<icon <icon
:name="collapseIcon" :name="collapseIcon"
css-classes="pull-right" css-classes="ide-stage-collapse-icon"
/> />
</div> </div>
<div <div
...@@ -106,28 +106,3 @@ export default { ...@@ -106,28 +106,3 @@ export default {
</div> </div>
</div> </div>
</template> </template>
<style scoped>
.card-header {
display: flex;
cursor: pointer;
}
.card-header .ci-status-icon {
display: flex;
align-items: center;
}
.card-header .pull-right {
margin: auto 0 auto auto;
}
.card-body {
padding: 0;
}
.ide-stage-title {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
</style>
...@@ -63,21 +63,3 @@ export default { ...@@ -63,21 +63,3 @@ export default {
</nav> </nav>
</div> </div>
</template> </template>
<style>
.ide-right-sidebar {
width: auto;
min-width: 60px;
}
.ide-right-sidebar .ide-activity-bar {
border-left: 1px solid #eaeaea;
}
.ide-right-sidebar .multi-file-commit-panel-inner {
width: 350px;
padding: 8px 16px;
background-color: #fff;
border-left: 1px solid #eaeaea;
}
</style>
...@@ -140,31 +140,3 @@ export default { ...@@ -140,31 +140,3 @@ export default {
</template> </template>
</div> </div>
</template> </template>
<style scoped>
.ide-pipeline {
display: flex;
flex-direction: column;
height: 100%;
}
.ide-pipeline-list {
flex: 1;
overflow: auto;
}
.ide-pipeline-header {
min-height: 50px;
padding-left: 16px;
padding-right: 16px;
}
.ide-pipeline-header .ci-status-icon {
display: flex;
}
.ide-pipeline .empty-state {
margin-top: auto;
margin-bottom: auto;
}
</style>
...@@ -1148,3 +1148,99 @@ ...@@ -1148,3 +1148,99 @@
} }
} }
} }
.ide-right-sidebar {
width: auto;
min-width: 60px;
.ide-activity-bar {
border-left: 1px solid $white-dark;
}
.multi-file-commit-panel-inner {
width: 350px;
padding: $grid-size $gl-padding;
background-color: $white-light;
border-left: 1px solid $white-dark;
}
}
.ide-pipeline {
display: flex;
flex-direction: column;
height: 100%;
.empty-state {
margin-top: auto;
margin-bottom: auto;
p {
margin: $grid-size 0;
text-align: center;
line-height: 24px;
}
.btn,
h4 {
margin: 0;
}
}
}
.ide-pipeline-list {
flex: 1;
overflow: auto;
}
.ide-pipeline-header {
min-height: 50px;
padding-left: $gl-padding;
padding-right: $gl-padding;
.ci-status-icon {
display: flex;
}
}
.ide-job-item {
display: flex;
padding: 16px;
&:not(:last-child) {
border-bottom: 1px solid $border-color;
}
.ci-status-icon {
display: flex;
justify-content: center;
height: 20px;
margin-top: -2px;
overflow: hidden;
}
}
.ide-stage {
.card-header {
display: flex;
cursor: pointer;
.ci-status-icon {
display: flex;
align-items: center;
}
}
.card-body {
padding: 0;
}
}
.ide-stage-collapse-icon {
margin: auto 0 auto auto;
}
.ide-stage-title {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
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