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 @@
td {
padding: 10px 8px;
}
.commit-link {
padding: 9px 8px 10px;
}
}
tbody {
......@@ -502,15 +506,10 @@
> .ci-action-icon-container {
position: absolute;
right: 4px;
right: 5px;
top: 5px;
}
.ci-status-icon {
position: relative;
top: 1px;
}
.ci-status-icon svg {
height: 20px;
width: 20px;
......@@ -619,6 +618,10 @@
a {
display: inline-block;
}
.build-content {
width: 138px;
&:hover {
background-color: $stage-hover-bg;
......@@ -628,15 +631,24 @@
ul {
max-height: 245px;
overflow: auto;
margin: 5px 0;
margin: 3px 0;
li {
padding-top: 2px;
margin: 0 5px;
margin: 4px 7px;
padding: 0 3px;
padding-left: 0;
padding-bottom: 0;
margin-bottom: 0;
line-height: 1.2;
line-height: 0;
.ci-action-icon-container:hover {
background-color: transparent;
}
.ci-status-icon {
position: relative;
top: 2px;
}
}
}
}
......@@ -685,11 +697,15 @@
.dropdown-build {
color: $gl-text-color-light;
.build-content {
padding: 3px 7px 6px;
}
.ci-action-icon-container {
padding: 0;
font-size: 11px;
float: right;
margin-top: 4px;
margin-top: 3px;
display: inline-block;
position: relative;
......@@ -699,16 +715,10 @@
}
}
&:hover {
background-color: $stage-hover-bg;
border-radius: 3px;
color: $gl-text-color;
}
.ci-action-icon-container {
i {
width: 25px;
height: 25px;
width: 24px;
height: 24px;
&::before {
top: 1px;
......@@ -806,6 +816,10 @@
}
}
.dropdown-build .build-content {
padding: 3px 7px 7px;
}
.builds-dropdown-loading {
margin: 10px auto;
width: 18px;
......@@ -854,16 +868,17 @@
.mini-pipeline-graph-icon-container .ci-status-icon {
display: inline-block;
border: 1px solid;
border-radius: 20px;
border-radius: 22px;
margin-right: 1px;
width: 20px;
height: 20px;
width: 22px;
height: 22px;
position: relative;
z-index: 2;
transition: all 0.1s cubic-bezier(0.25, 0, 1, 1);
svg {
top: -1px;
left: -1px;
}
}
......@@ -872,6 +887,76 @@
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 {
margin-left: 3px;
}
......
.container-fluid {
.ci-status {
padding: 2px 7px;
padding: 2px 7px 4px;
margin-right: 10px;
border: 1px solid $gray-darker;
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