status.scss 1.54 KB
Newer Older
1
.container-fluid {
2 3
  .ci-status {
    padding: 2px 7px;
Annabel Dunstone's avatar
Annabel Dunstone committed
4
    margin-right: 10px;
5 6
    border: 1px solid #eee;
    white-space: nowrap;
Clement Ho's avatar
Clement Ho committed
7
    border-radius: 4px;
8

9 10 11
    &:hover {
      text-decoration: none;
    }
12

13 14 15 16
    &.ci-failed {
      color: $gl-danger;
      border-color: $gl-danger;
    }
17

18 19
    &.ci-success,
    &.ci-success_with_warnings {
20 21 22
      color: $gl-success;
      border-color: $gl-success;
    }
23

24 25 26 27
    &.ci-info {
      color: $gl-info;
      border-color: $gl-info;
    }
28

29 30 31 32 33 34 35
    &.ci-canceled,
    &.ci-skipped,
    &.ci-disabled {
      color: $gl-gray;
      border-color: $gl-gray;
    }

36
    &.ci-pending {
37 38 39
      color: $gl-warning;
      border-color: $gl-warning;
    }
40 41 42 43 44

    &.ci-running {
      color: $blue-normal;
      border-color: $blue-normal;
    }
45

46 47 48 49 50 51 52 53 54
    &.ci-created {
      color: $table-text-gray;
      border-color: $table-text-gray;

      svg {
        fill: $table-text-gray;
      }
    }

55 56 57 58 59 60
    svg {
      height: 13px;
      width: 13px;
      position: relative;
      top: 1px;
      margin: 0 3px;
61
      overflow: visible;
62
    }
63 64
  }

65 66 67
  .ci-status-icon-success {
    color: $gl-success;
  }
68

69 70 71
  .ci-status-icon-failed {
    color: $gl-danger;
  }
72 73 74

  .ci-status-icon-pending,
  .ci-status-icon-success_with_warning {
75 76
    color: $gl-warning;
  }
77
  
78 79 80
  .ci-status-icon-running {
    color: $blue-normal;
  }
81

82 83 84 85 86 87
  .ci-status-icon-canceled,
  .ci-status-icon-disabled,
  .ci-status-icon-not-found,
  .ci-status-icon-skipped {
    color: $gl-gray;
  }
88
}
89 90 91 92 93 94 95 96

.visible-xs-inline {
  .ci-status-link {
    position: relative;
    top: 2px;
    left: 5px;
  }
}