Commit 13858d53 authored by Fatih Acet's avatar Fatih Acet Committed by Douglas Barbosa Alexandre

Merge branch 'minor-pipeline-graph-beautyfixes' into 'master'

big and mini pipeline css changes

See merge request !8224
parent f1243ad9
...@@ -84,6 +84,10 @@ ...@@ -84,6 +84,10 @@
td { td {
padding: 10px 8px; padding: 10px 8px;
} }
.commit-link {
padding: 9px 8px 10px;
}
} }
tbody { tbody {
...@@ -502,15 +506,10 @@ ...@@ -502,15 +506,10 @@
> .ci-action-icon-container { > .ci-action-icon-container {
position: absolute; position: absolute;
right: 4px; right: 5px;
top: 5px; top: 5px;
} }
.ci-status-icon {
position: relative;
top: 1px;
}
.ci-status-icon svg { .ci-status-icon svg {
height: 20px; height: 20px;
width: 20px; width: 20px;
...@@ -619,6 +618,10 @@ ...@@ -619,6 +618,10 @@
a { a {
display: inline-block; display: inline-block;
}
.build-content {
width: 138px;
&:hover { &:hover {
background-color: $stage-hover-bg; background-color: $stage-hover-bg;
...@@ -628,15 +631,24 @@ ...@@ -628,15 +631,24 @@
ul { ul {
max-height: 245px; max-height: 245px;
overflow: auto; overflow: auto;
margin: 5px 0; margin: 3px 0;
li { li {
padding-top: 2px; padding-top: 2px;
margin: 0 5px; margin: 4px 7px;
padding: 0 3px;
padding-left: 0; padding-left: 0;
padding-bottom: 0; padding-bottom: 0;
margin-bottom: 0; line-height: 0;
line-height: 1.2;
.ci-action-icon-container:hover {
background-color: transparent;
}
.ci-status-icon {
position: relative;
top: 2px;
}
} }
} }
} }
...@@ -685,11 +697,15 @@ ...@@ -685,11 +697,15 @@
.dropdown-build { .dropdown-build {
color: $gl-text-color-light; color: $gl-text-color-light;
.build-content {
padding: 3px 7px 6px;
}
.ci-action-icon-container { .ci-action-icon-container {
padding: 0; padding: 0;
font-size: 11px; font-size: 11px;
float: right; float: right;
margin-top: 4px; margin-top: 3px;
display: inline-block; display: inline-block;
position: relative; position: relative;
...@@ -699,16 +715,10 @@ ...@@ -699,16 +715,10 @@
} }
} }
&:hover {
background-color: $stage-hover-bg;
border-radius: 3px;
color: $gl-text-color;
}
.ci-action-icon-container { .ci-action-icon-container {
i { i {
width: 25px; width: 24px;
height: 25px; height: 24px;
&::before { &::before {
top: 1px; top: 1px;
...@@ -806,6 +816,10 @@ ...@@ -806,6 +816,10 @@
} }
} }
.dropdown-build .build-content {
padding: 3px 7px 7px;
}
.builds-dropdown-loading { .builds-dropdown-loading {
margin: 10px auto; margin: 10px auto;
width: 18px; width: 18px;
...@@ -854,16 +868,17 @@ ...@@ -854,16 +868,17 @@
.mini-pipeline-graph-icon-container .ci-status-icon { .mini-pipeline-graph-icon-container .ci-status-icon {
display: inline-block; display: inline-block;
border: 1px solid; border: 1px solid;
border-radius: 20px; border-radius: 22px;
margin-right: 1px; margin-right: 1px;
width: 20px; width: 22px;
height: 20px; height: 22px;
position: relative; position: relative;
z-index: 2; z-index: 2;
transition: all 0.1s cubic-bezier(0.25, 0, 1, 1); transition: all 0.1s cubic-bezier(0.25, 0, 1, 1);
svg { svg {
top: -1px; top: -1px;
left: -1px;
} }
} }
...@@ -872,6 +887,76 @@ ...@@ -872,6 +887,76 @@
height: 22px; height: 22px;
} }
.builds-dropdown {
&:focus {
outline: none;
margin-right: -8px;
.ci-status-icon {
width: 28px;
padding: 0 8px 0 0;
transition: width 0.2s cubic-bezier(0.25, 0, 1, 1);
+ .dropdown-caret {
display: inline-block;
}
}
}
&:focus,
&:active {
.ci-status-icon-success {
background-color: rgba($gl-success, .1);
}
.ci-status-icon-failed {
background-color: rgba($gl-danger, .1);
}
.ci-status-icon-pending,
.ci-status-icon-success_with_warnings {
background-color: rgba($gl-warning, .1);
}
.ci-status-icon-running {
background-color: rgba($blue-normal, .1);
}
.ci-status-icon-canceled,
.ci-status-icon-disabled,
.ci-status-icon-not-found {
background-color: rgba($gl-gray, .1);
}
.ci-status-icon-created,
.ci-status-icon-skipped {
background-color: rgba($gray-darkest, .1);
}
}
.mini-pipeline-graph-icon-container {
.ci-status-icon:hover,
.ci-status-icon:focus {
width: 32px;
padding: 0 8px 0 0;
+ .dropdown-caret {
display: inline-block;
}
}
.dropdown-caret {
font-size: 11px;
position: relative;
top: 3px;
left: -14px;
margin-right: -6px;
display: none;
z-index: 2;
}
}
}
.terminal-icon { .terminal-icon {
margin-left: 3px; margin-left: 3px;
} }
......
.container-fluid { .container-fluid {
.ci-status { .ci-status {
padding: 2px 7px; padding: 2px 7px 4px;
margin-right: 10px; margin-right: 10px;
border: 1px solid $gray-darker; border: 1px solid $gray-darker;
white-space: nowrap; white-space: nowrap;
......
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