BigW Consortium Gitlab

builds.scss 1.83 KB
Newer Older
1
.build-page {
2
  pre.trace {
3
    background: #111;
4 5
    color: #fff;
    font-family: $monospace_font;
6
    white-space: pre-wrap;
7 8 9 10 11 12 13 14 15 16 17 18
    overflow: auto;
    overflow-y: hidden;
    font-size: 12px;

    .fa-refresh {
      font-size: 24px;
      margin-left: 20px;
    }
  }

  .autoscroll-container {
    position: fixed;
19
    bottom: 20px;
20 21 22 23 24
    right: 20px;
    z-index: 100;
  }

  .scroll-controls {
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
    &.affix-top {
      position: absolute;
      top: 10px;
      right: 25px;
    }

    &.affix-bottom {
      position: absolute;
      right: 25px;
    }

    &.affix {
      right: 30px;
      bottom: 15px;

      @media (min-width: $screen-md-min) {
        right: 26%;
      }
    }
44 45 46

    a {
      display: block;
47
      margin-bottom: 10px;
48 49 50 51 52 53 54 55
    }
  }

  .page-sidebar-collapsed {
    .scroll-controls {
      left: 70px;
    }
  }
Phil Hughes committed
56
}
57

Phil Hughes committed
58 59 60
.build-header {
  position: relative;
  padding-right: 40px;
61

Phil Hughes committed
62 63
  @media (min-width: $screen-sm-min) {
    padding-right: 0;
64 65
  }

Phil Hughes committed
66 67
  a {
    color: $gl-gray;
68

Phil Hughes committed
69 70 71
    &:hover {
      color: $gl-link-color;
      text-decoration: none;
72 73
    }
  }
Phil Hughes committed
74 75 76 77 78 79 80 81 82 83

  code {
    color: $code-color;
  }

  .avatar {
    float: none;
    margin-right: 2px;
    margin-left: 2px;
  }
84
}
85

Phil Hughes committed
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136
.build-trace {
  background: $ci-output-bg;
  color: $ci-text-color;
  white-space: pre;
  overflow-x: auto;
  font-size: 12px;

  .fa-refresh {
    font-size: 24px;
  }

  .bash {
    display: block;
  }
}

.right-sidebar.build-sidebar {
  padding-top: $gl-padding;
  padding-bottom: $gl-padding;

  &.right-sidebar-collapsed {
    display: none;
  }

  .block {
    width: 100%;
  }

  .build-sidebar-header {
    padding-top: 0;

    .gutter-toggle {
      margin-top: 0;
    }
  }
}

.build-detail-row {
  margin-bottom: 5px;
}

.build-light-text {
  color: $gl-placeholder-color;
}

.build-gutter-toggle {
  position: absolute;
  top: 50%;
  right: 0;
  margin-top: -17px;
}