debian-mirror-gitlab/app/assets/stylesheets/pages/merge_requests.scss

967 lines
15 KiB
SCSS
Raw Normal View History

2015-09-11 14:41:01 +05:30
/**
* MR -> show: Automerge widget
2015-04-26 12:48:37 +05:30
*
*/
2017-09-10 17:25:29 +05:30
.space-children {
@include clearfix;
> * {
float: left;
}
> *:not(:last-child) {
margin-right: 10px;
}
}
2018-11-18 11:00:15 +05:30
.mr-widget-border-top {
border-top: 1px solid $border-color;
}
.media-section {
@include media-breakpoint-down(md) {
align-items: flex-start;
.media-body {
flex-direction: column;
align-items: flex-start;
}
}
.code-text {
@include media-breakpoint-up(lg) {
align-self: center;
flex: 1;
}
}
}
.mr-widget-section {
.media {
align-items: center;
}
.code-text {
flex: 1;
}
}
2018-11-08 19:23:39 +05:30
.mr-widget-heading {
position: relative;
border: 1px solid $border-color;
border-radius: 4px;
&:not(.deploy-heading)::before {
content: '';
border-left: 1px solid $theme-gray-200;
position: absolute;
left: 32px;
top: -17px;
height: 16px;
}
}
.mr-section-container {
border: 1px solid $border-color;
border-radius: $border-radius-default;
border-top: 0;
}
.mr-widget-heading,
.mr-widget-section,
.mr-widget-footer {
padding: $gl-padding;
}
2015-09-11 14:41:01 +05:30
.mr-state-widget {
2017-08-17 22:00:37 +05:30
color: $gl-text-color;
2017-09-10 17:25:29 +05:30
.mr-widget-section,
.mr-widget-footer {
border-top: solid 1px $border-color;
}
.mr-widget-footer {
padding: 0;
}
2015-09-11 14:41:01 +05:30
2018-11-18 11:00:15 +05:30
.mr-report {
padding: 0;
> .media {
padding: $gl-padding;
}
}
2015-04-26 12:48:37 +05:30
form {
margin-bottom: 0;
2016-11-03 12:29:30 +05:30
2015-04-26 12:48:37 +05:30
.clearfix {
margin-bottom: 0;
}
}
2017-09-10 17:25:29 +05:30
label {
margin-bottom: 0;
}
.btn {
font-size: $gl-font-size;
&[disabled] {
opacity: 0.3;
}
&.dropdown-toggle {
.fa {
color: inherit;
}
}
}
2015-04-26 12:48:37 +05:30
.accept-merge-holder {
.accept-action {
display: inline-block;
2015-12-23 02:04:40 +05:30
float: left;
2015-11-26 14:37:03 +05:30
2017-08-17 22:00:37 +05:30
.accept-merge-request {
2015-11-26 14:37:03 +05:30
&.ci-pending,
&.ci-running {
2017-08-17 22:00:37 +05:30
@include btn-blue;
2015-11-26 14:37:03 +05:30
}
&.ci-skipped,
&.ci-failed,
&.ci-canceled,
&.ci-error {
@include btn-red;
}
}
2015-04-26 12:48:37 +05:30
}
.accept-control {
display: inline-block;
2015-12-23 02:04:40 +05:30
float: left;
2015-04-26 12:48:37 +05:30
margin: 0;
margin-left: 20px;
2015-09-11 14:41:01 +05:30
padding: 5px;
padding-top: 8px;
2015-04-26 12:48:37 +05:30
line-height: 20px;
2015-09-25 12:07:36 +05:30
&.right {
float: right;
2017-08-17 22:00:37 +05:30
padding-right: 0;
}
.modify-merge-commit-link {
padding: 0;
background-color: transparent;
border: 0;
color: $gl-text-color;
&:hover,
&:focus {
text-decoration: underline;
2015-09-25 12:07:36 +05:30
}
}
2017-08-17 22:00:37 +05:30
.merge-param-checkbox {
2015-04-26 12:48:37 +05:30
margin: 0;
}
2017-08-17 22:00:37 +05:30
a .fa-question-circle {
color: $gl-text-color-secondary;
&:hover,
&:focus {
color: $link-hover-color;
}
}
2015-04-26 12:48:37 +05:30
}
}
2015-09-11 14:41:01 +05:30
2017-08-17 22:00:37 +05:30
.ci-widget {
color: $gl-text-color;
display: flex;
2018-11-08 19:23:39 +05:30
align-items: center;
justify-content: space-between;
2015-09-11 14:41:01 +05:30
2018-11-08 19:23:39 +05:30
@include media-breakpoint-down(xs) {
2017-08-17 22:00:37 +05:30
flex-wrap: wrap;
2016-08-24 12:49:21 +05:30
}
2018-11-08 19:23:39 +05:30
.ci-widget-content {
display: flex;
align-items: center;
2018-11-20 20:47:30 +05:30
flex: 1;
2018-11-08 19:23:39 +05:30
}
2017-09-10 17:25:29 +05:30
}
2016-08-24 12:49:21 +05:30
2017-09-10 17:25:29 +05:30
.mr-widget-icon {
font-size: 22px;
}
2015-09-11 14:41:01 +05:30
2017-09-10 17:25:29 +05:30
.ci-status-icon svg {
margin: 3px 0;
position: relative;
overflow: visible;
display: block;
2017-08-17 22:00:37 +05:30
}
.mr-widget-pipeline-graph {
.dropdown-menu {
2017-09-10 17:25:29 +05:30
z-index: 300;
2016-08-24 12:49:21 +05:30
}
2017-09-10 17:25:29 +05:30
}
2015-12-23 02:04:40 +05:30
2017-09-10 17:25:29 +05:30
.mini-pipeline-graph-dropdown-toggle {
vertical-align: top;
}
2017-08-17 22:00:37 +05:30
.normal {
2018-11-08 19:23:39 +05:30
flex: 1;
2018-11-20 20:47:30 +05:30
flex-basis: auto;
2015-09-11 14:41:01 +05:30
}
2017-08-17 22:00:37 +05:30
.capitalize {
text-transform: capitalize;
2015-10-24 18:46:33 +05:30
}
2017-09-10 17:25:29 +05:30
.label-branch {
@extend .ref-name;
2017-08-17 22:00:37 +05:30
2017-09-10 17:25:29 +05:30
color: $gl-text-color;
2018-11-08 19:23:39 +05:30
font-weight: normal;
2017-09-10 17:25:29 +05:30
overflow: hidden;
word-break: break-all;
2018-11-20 20:47:30 +05:30
}
2017-08-17 22:00:37 +05:30
2018-11-20 20:47:30 +05:30
.deploy-link,
.label-branch {
&.label-truncate {
// NOTE: This selector targets its children because some of the HTML comes from
// 'source_branch_link'. Once this external HTML is no longer used, we could
// simplify this.
> a,
> span {
display: inline-block;
max-width: 12.5em;
margin-bottom: -3px;
white-space: nowrap;
text-overflow: ellipsis;
line-height: 14px;
overflow: hidden;
2017-09-10 17:25:29 +05:30
}
2017-08-17 22:00:37 +05:30
}
}
2018-11-08 19:23:39 +05:30
.widget-status-icon {
align-self: flex-start;
}
2015-09-11 14:41:01 +05:30
.mr-widget-body {
2018-11-08 19:23:39 +05:30
line-height: 28px;
2018-03-17 18:26:18 +05:30
@include clearfix;
&.media > *:first-child {
margin-right: 10px;
}
.approve-btn {
margin-right: 5px;
}
2015-09-11 14:41:01 +05:30
h4 {
2017-09-10 17:25:29 +05:30
float: left;
2018-03-17 18:26:18 +05:30
font-weight: $gl-font-weight-bold;
2017-09-10 17:25:29 +05:30
font-size: 14px;
line-height: inherit;
margin-top: 0;
margin-bottom: 0;
&.has-conflicts .fa-exclamation-triangle {
2018-11-20 20:47:30 +05:30
color: $orange-500;
}
2015-09-11 14:41:01 +05:30
2017-08-17 22:00:37 +05:30
time {
2018-03-17 18:26:18 +05:30
font-weight: $gl-font-weight-normal;
2017-08-17 22:00:37 +05:30
}
2015-09-11 14:41:01 +05:30
}
2016-06-22 15:30:34 +05:30
.btn-grouped {
margin-left: 0;
margin-right: 7px;
}
2017-08-17 22:00:37 +05:30
label {
2018-03-17 18:26:18 +05:30
font-weight: $gl-font-weight-normal;
2017-08-17 22:00:37 +05:30
}
.spacing {
2017-09-10 17:25:29 +05:30
margin: 0 0 0 10px;
2017-08-17 22:00:37 +05:30
}
.bold {
2018-03-17 18:26:18 +05:30
font-weight: $gl-font-weight-bold;
2017-08-17 22:00:37 +05:30
color: $gl-gray-light;
}
.state-label {
2018-03-17 18:26:18 +05:30
font-weight: $gl-font-weight-bold;
2017-08-17 22:00:37 +05:30
padding-right: 10px;
}
.danger {
2018-11-20 20:47:30 +05:30
color: $red-500;
2017-08-17 22:00:37 +05:30
}
.spacing,
.bold {
vertical-align: middle;
}
.dropdown-menu {
li a {
padding: 5px;
}
2017-09-10 17:25:29 +05:30
.merge-opt-icon {
line-height: 1.5;
2017-08-17 22:00:37 +05:30
}
.merge-opt-title {
margin-left: 8px;
}
}
.dropdown-toggle {
.fa {
2017-09-10 17:25:29 +05:30
margin-left: 0;
2017-08-17 22:00:37 +05:30
color: inherit;
}
}
.has-custom-error {
display: inline-block;
}
2018-11-08 19:23:39 +05:30
@include media-breakpoint-down(xs) {
p {
font-size: 13px;
}
2017-08-17 22:00:37 +05:30
.btn-grouped {
float: none;
margin-right: 0;
}
2016-06-22 15:30:34 +05:30
.accept-action {
width: 100%;
text-align: center;
}
.accept-control {
width: 100%;
text-align: center;
margin: 0;
}
}
2017-08-17 22:00:37 +05:30
.commit-message-editor {
label {
padding: 0;
}
}
2017-09-10 17:25:29 +05:30
&.mr-widget-empty-state {
line-height: 20px;
2015-09-11 14:41:01 +05:30
2017-09-10 17:25:29 +05:30
.artwork {
margin-bottom: $gl-padding;
}
.text {
span {
2018-03-17 18:26:18 +05:30
font-weight: $gl-font-weight-bold;
2017-09-10 17:25:29 +05:30
}
p {
margin-top: $gl-padding;
}
}
}
2015-09-11 14:41:01 +05:30
}
2018-03-17 18:26:18 +05:30
.mr-widget-help {
padding: 10px 16px 10px 48px;
font-style: italic;
}
2015-09-11 14:41:01 +05:30
.ci-coverage {
float: right;
}
2016-11-03 12:29:30 +05:30
.stop-env-container {
color: $gl-text-color;
float: right;
a {
color: $gl-text-color;
}
}
2015-04-26 12:48:37 +05:30
}
2018-03-17 18:26:18 +05:30
.mr-widget-body-controls {
flex-wrap: wrap;
2017-08-17 22:00:37 +05:30
}
2015-04-26 12:48:37 +05:30
.mr_source_commit,
.mr_target_commit {
2016-06-02 11:05:42 +05:30
margin-bottom: 0;
2015-04-26 12:48:37 +05:30
.commit {
margin: 0;
2017-09-10 17:25:29 +05:30
padding: 10px;
2015-04-26 12:48:37 +05:30
list-style: none;
2016-11-03 12:29:30 +05:30
2015-04-26 12:48:37 +05:30
&:hover {
background: none;
}
}
}
2016-11-03 12:29:30 +05:30
.commits-empty {
text-align: center;
h4 {
padding-top: 20px;
padding-bottom: 10px;
}
svg {
width: 230px;
}
}
2018-03-17 18:26:18 +05:30
.nothing-here-block {
img {
width: 230px;
}
}
2015-04-26 12:48:37 +05:30
.mr-list {
.merge-request {
2018-12-13 13:39:08 +05:30
padding: 10px 0 10px 15px;
2015-04-26 12:48:37 +05:30
position: relative;
2017-08-17 22:00:37 +05:30
display: -webkit-flex;
display: flex;
2018-12-05 23:21:45 +05:30
.issuable-info-container {
2017-08-17 22:00:37 +05:30
-webkit-flex: 1;
flex: 1;
}
2015-04-26 12:48:37 +05:30
.merge-request-title {
2016-06-02 11:05:42 +05:30
margin-bottom: 2px;
2016-08-24 12:49:21 +05:30
.ci-status-link {
svg {
height: 16px;
width: 16px;
position: relative;
top: 3px;
}
2016-09-13 17:45:13 +05:30
&:hover,
&:focus {
text-decoration: none;
}
2016-08-24 12:49:21 +05:30
}
2015-04-26 12:48:37 +05:30
}
2015-09-11 14:41:01 +05:30
}
.merge-request-labels {
display: inline-block;
}
2015-04-26 12:48:37 +05:30
}
.merge-request-angle {
text-align: center;
margin: 0 auto;
font-size: 2em;
line-height: 1.1;
}
// hide mr close link for inline diff comment form
.diff-file .close-mr-link,
.diff-file .reopen-mr-link {
display: none;
}
2015-09-11 14:41:01 +05:30
#modal_merge_info .modal-dialog {
2017-08-17 22:00:37 +05:30
.dark {
margin-right: 40px;
}
2015-11-26 14:37:03 +05:30
.btn-clipboard {
2015-12-23 02:04:40 +05:30
margin-right: 20px;
2015-11-26 14:37:03 +05:30
margin-top: 5px;
position: absolute;
right: 0;
}
2015-09-11 14:41:01 +05:30
}
2017-09-10 17:25:29 +05:30
.mr-links {
2018-11-20 20:47:30 +05:30
padding-left: $status-icon-size + $gl-btn-padding;
2017-09-10 17:25:29 +05:30
}
2017-08-17 22:00:37 +05:30
.mr-info-list {
2017-09-10 17:25:29 +05:30
clear: left;
2017-08-17 22:00:37 +05:30
position: relative;
2017-09-10 17:25:29 +05:30
padding-top: 4px;
2017-08-17 22:00:37 +05:30
p {
2017-09-10 17:25:29 +05:30
margin: 0;
2017-08-17 22:00:37 +05:30
position: relative;
2017-09-10 17:25:29 +05:30
padding: 4px 0;
2017-08-17 22:00:37 +05:30
&:last-child {
2017-09-10 17:25:29 +05:30
padding-bottom: 0;
2017-08-17 22:00:37 +05:30
}
}
2018-03-17 18:26:18 +05:30
&.mr-memory-usage {
p {
float: left;
}
2017-08-17 22:00:37 +05:30
2018-03-17 18:26:18 +05:30
.memory-graph-container {
float: left;
margin-left: 5px;
}
2017-08-17 22:00:37 +05:30
}
}
2015-09-11 14:41:01 +05:30
.mr-source-target {
2017-09-10 17:25:29 +05:30
display: flex;
flex-wrap: wrap;
2018-11-08 19:23:39 +05:30
border-radius: $border-radius-default;
padding: $gl-padding;
border: 1px solid $border-color;
min-height: 69px;
@include media-breakpoint-up(md) {
align-items: center;
}
2017-08-17 22:00:37 +05:30
.dropdown-toggle .fa {
color: $gl-text-color;
}
2018-11-08 19:23:39 +05:30
.git-merge-icon-container {
border: 1px solid $theme-gray-400;
border-radius: 50%;
height: 32px;
width: 32px;
color: $theme-gray-700;
line-height: 28px;
.ic-git-merge {
vertical-align: middle;
width: 31px;
}
}
.git-merge-container {
justify-content: space-between;
flex: 1;
flex-direction: row;
align-items: center;
@include media-breakpoint-down(md) {
flex-direction: column;
2018-11-20 20:47:30 +05:30
align-items: stretch;
2018-11-08 19:23:39 +05:30
.branch-actions {
margin-top: 16px;
}
}
@include media-breakpoint-up(lg) {
.branch-actions {
align-self: center;
2018-11-18 11:00:15 +05:30
margin-left: $gl-padding;
2018-11-20 20:47:30 +05:30
white-space: nowrap;
2018-11-08 19:23:39 +05:30
}
}
}
.diverged-commits-count {
color: $gl-text-color-secondary;
}
2015-09-11 14:41:01 +05:30
}
2016-04-02 18:10:28 +05:30
2018-11-08 19:23:39 +05:30
.card-new-merge-request {
.card-header {
2016-06-02 11:05:42 +05:30
padding: 5px 10px;
2018-03-17 18:26:18 +05:30
font-weight: $gl-font-weight-bold;
2016-06-02 11:05:42 +05:30
line-height: 25px;
2016-04-02 18:10:28 +05:30
}
2018-11-08 19:23:39 +05:30
.card-body {
2016-06-02 11:05:42 +05:30
padding: 10px 5px;
}
2016-04-02 18:10:28 +05:30
2018-11-08 19:23:39 +05:30
.card-footer {
2017-08-17 22:00:37 +05:30
padding: 0;
2016-06-22 15:30:34 +05:30
.btn {
min-width: auto;
}
2016-06-02 11:05:42 +05:30
}
2016-04-02 18:10:28 +05:30
2016-06-02 11:05:42 +05:30
.commit {
.commit-row-title {
margin-bottom: 4px;
}
2016-08-24 12:49:21 +05:30
.item-title {
2018-11-08 19:23:39 +05:30
@include media-breakpoint-up(sm) {
2016-08-24 12:49:21 +05:30
width: 45%;
}
}
2016-06-02 11:05:42 +05:30
.avatar {
2016-08-24 12:49:21 +05:30
left: 0;
top: 2px;
2016-06-02 11:05:42 +05:30
}
}
.btn-clipboard {
margin-right: 5px;
padding: 0;
background: transparent;
}
.ci-status-link {
margin-right: 5px;
}
}
.merge-request-select {
padding-left: 5px;
padding-right: 5px;
margin-bottom: 10px;
&:last-child {
margin-bottom: 0;
}
2018-11-08 19:23:39 +05:30
@include media-breakpoint-up(xs) {
2016-06-02 11:05:42 +05:30
float: left;
width: 50%;
margin-bottom: 0;
}
.dropdown-menu-toggle {
width: 100%;
}
.dropdown-menu {
left: 5px;
right: 5px;
width: auto;
}
}
.issuable-form-select-holder {
display: inline-block;
width: 250px;
2016-11-03 12:29:30 +05:30
.dropdown-menu-toggle {
width: 100%;
}
2016-06-02 11:05:42 +05:30
}
2017-08-17 22:00:37 +05:30
.target-branch-select-dropdown-container {
position: relative;
}
.assign-to-me-link {
padding-left: 12px;
white-space: nowrap;
}
2016-06-02 11:05:42 +05:30
.table-holder {
2016-11-03 12:29:30 +05:30
.ci-table {
2016-06-02 11:05:42 +05:30
th {
background-color: $white-light;
2017-08-17 22:00:37 +05:30
color: $gl-text-color-secondary;
2016-06-02 11:05:42 +05:30
}
}
}
2016-06-02 11:05:42 +05:30
.merged-buttons {
.btn {
float: left;
2016-04-02 18:10:28 +05:30
}
}
2016-09-13 17:45:13 +05:30
2016-09-29 09:46:39 +05:30
.mr-version-controls {
2017-09-10 17:25:29 +05:30
position: relative;
2017-08-17 22:00:37 +05:30
background: $gray-light;
2016-09-29 09:46:39 +05:30
color: $gl-text-color;
.mr-version-menus-container {
display: flex;
align-items: center;
padding: 16px;
2018-11-08 19:23:39 +05:30
z-index: 199;
2018-12-05 23:21:45 +05:30
white-space: nowrap;
.dropdown-menu-toggle {
width: auto;
max-width: 170px;
svg {
top: 10px;
right: 8px;
}
}
2016-09-29 09:46:39 +05:30
}
2016-11-03 12:29:30 +05:30
.content-block {
padding: $gl-padding-top $gl-padding;
}
2016-09-29 09:46:39 +05:30
.comments-disabled-notif {
2017-08-17 22:00:37 +05:30
line-height: 28px;
2016-09-29 09:46:39 +05:30
.btn {
margin-left: 5px;
}
}
.mr-version-dropdown,
.mr-version-compare-dropdown {
margin: 0 7px;
}
.dropdown-title {
color: $gl-text-color;
}
.fa-info-circle {
2017-08-17 22:00:37 +05:30
color: $orange-500;
2016-09-29 09:46:39 +05:30
padding-right: 5px;
}
}
2016-11-03 12:29:30 +05:30
.merge-request-tabs-holder {
2017-09-10 17:25:29 +05:30
top: $header-height;
z-index: 200;
2016-11-03 12:29:30 +05:30
background-color: $white-light;
2017-08-17 22:00:37 +05:30
border-bottom: 1px solid $border-color;
2016-11-03 12:29:30 +05:30
2018-11-08 19:23:39 +05:30
@include media-breakpoint-up(sm) {
2017-09-10 17:25:29 +05:30
position: sticky;
position: -webkit-sticky;
}
2016-11-03 12:29:30 +05:30
&.affix {
left: 0;
2018-12-13 13:39:08 +05:30
transition: right 0.15s;
2017-08-17 22:00:37 +05:30
2018-11-08 19:23:39 +05:30
@include media-breakpoint-down(xs) {
2017-08-17 22:00:37 +05:30
right: 0;
}
.merge-request-tabs-container {
padding-left: $gl-padding;
padding-right: $gl-padding;
}
2016-11-03 12:29:30 +05:30
}
2016-09-13 17:45:13 +05:30
2017-08-17 22:00:37 +05:30
.nav-links {
border: 0;
}
}
2017-09-10 17:25:29 +05:30
.with-performance-bar .merge-request-tabs-holder {
top: $header-height + $performance-bar-height;
}
2017-08-17 22:00:37 +05:30
.merge-request-tabs {
display: flex;
2018-11-08 19:23:39 +05:30
flex-wrap: nowrap;
2017-08-17 22:00:37 +05:30
margin-bottom: 0;
padding: 0;
}
.limit-container-width {
.merge-request-tabs-container {
max-width: $limited-layout-width;
margin-left: auto;
margin-right: auto;
2017-09-10 17:25:29 +05:30
.inner-page-scroll-tabs {
background-color: $white-light;
margin-left: -$gl-padding;
padding-left: $gl-padding;
}
2017-08-17 22:00:37 +05:30
}
}
.merge-request-tabs-container {
display: flex;
justify-content: space-between;
2018-12-13 13:39:08 +05:30
@include media-breakpoint-down(md) {
2017-08-17 22:00:37 +05:30
flex-direction: column-reverse;
}
2018-12-13 13:39:08 +05:30
.discussion-filter-container {
margin-top: $gl-padding-8;
&:not(:only-child) {
padding-right: $gl-padding-8;
}
}
2017-08-17 22:00:37 +05:30
}
.limit-container-width:not(.container-limited) {
.merge-request-tabs-holder:not(.affix) {
.merge-request-tabs-container {
max-width: $limited-layout-width - ($gl-padding * 2);
}
}
}
.mr-memory-usage {
2018-05-09 12:01:36 +05:30
width: 100%;
2017-08-17 22:00:37 +05:30
p.usage-info-loading .usage-info-load-spinner {
margin-right: 10px;
font-size: 16px;
}
2016-09-13 17:45:13 +05:30
}
2018-03-17 18:26:18 +05:30
.fork-sprite {
margin-right: -5px;
}
2018-05-09 12:01:36 +05:30
.deploy-heading {
2018-11-08 19:23:39 +05:30
margin-top: -19px;
border-top-left-radius: 0;
border-top-right-radius: 0;
background-color: $gray-light;
@include media-breakpoint-up(md) {
padding: $gl-padding-8 $gl-padding;
}
2018-05-09 12:01:36 +05:30
.media-body {
min-width: 0;
2018-11-08 19:23:39 +05:30
font-size: 12px;
margin-left: 48px;
2018-05-09 12:01:36 +05:30
}
}
.deploy-body {
display: flex;
2018-11-08 19:23:39 +05:30
align-items: center;
2018-05-09 12:01:36 +05:30
flex-wrap: wrap;
2018-11-08 19:23:39 +05:30
@include media-breakpoint-up(xs) {
2018-05-09 12:01:36 +05:30
flex-wrap: nowrap;
white-space: nowrap;
}
2018-11-08 19:23:39 +05:30
@include media-breakpoint-down(md) {
flex-direction: column;
align-items: flex-start;
.deployment-info {
margin-bottom: $gl-padding;
}
}
2018-05-09 12:01:36 +05:30
> *:not(:last-child) {
2018-12-13 13:39:08 +05:30
margin-right: 0.3em;
2018-05-09 12:01:36 +05:30
}
2018-11-08 19:23:39 +05:30
svg {
vertical-align: text-top;
}
2018-05-09 12:01:36 +05:30
2018-11-08 19:23:39 +05:30
.deployment-info {
flex: 1;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
min-width: 100px;
@include media-breakpoint-up(xs) {
min-width: 0;
max-width: 100%;
}
}
.btn svg {
fill: $theme-gray-700;
2018-05-09 12:01:36 +05:30
}
2018-12-13 13:39:08 +05:30
.dropdown-menu {
width: 400px;
}
2018-05-09 12:01:36 +05:30
}
// Hack alert: we've rewritten `btn` class in a way that
// we've broken it and it is not possible to use with `btn-link`
// which causes a blank button when it's disabled and hovering
// The css in here is the boostrap one
.btn-link-retry {
&[disabled] {
cursor: not-allowed;
box-shadow: none;
2018-12-13 13:39:08 +05:30
opacity: 0.65;
2018-05-09 12:01:36 +05:30
&:hover {
2018-12-05 23:21:45 +05:30
color: $gl-gray-500;
2018-05-09 12:01:36 +05:30
text-decoration: none;
}
}
}
2018-11-08 19:23:39 +05:30
.ci-widget-container {
justify-content: space-between;
flex: 1;
flex-direction: row;
2018-11-20 20:47:30 +05:30
@include media-breakpoint-down(sm) {
2018-11-08 19:23:39 +05:30
flex-direction: column;
.stage-cell .stage-container {
margin-top: 16px;
}
.dropdown .mini-pipeline-graph-dropdown-menu.dropdown-menu {
transform: initial;
}
}
.coverage {
font-size: 12px;
color: $theme-gray-700;
line-height: initial;
}
.mini-pipeline-graph-dropdown-toggle,
.stage-cell .mini-pipeline-graph-dropdown-toggle svg {
height: $ci-action-icon-size-lg;
width: $ci-action-icon-size-lg;
}
}