BigW Consortium Gitlab

peek.scss 1.45 KB
Newer Older
1 2 3
//= require peek/views/performance_bar
//= require peek/views/rblineprof

4 5 6 7
header.navbar-gitlab.with-peek {
  top: 35px;
}

8 9
#peek {
  height: 35px;
10
  background: #000;
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
  line-height: 35px;
  color: #999;

  &.disabled {
    display: none;
  }

  &.production {
    background-color: #222;
  }

  &.staging {
    background-color: #291430;
  }

  &.development {
    background-color: #4c1210;
  }

  .wrapper {
    width: 800px;
    margin: 0 auto;
  }

  // UI Elements
  .bucket {
    background: #111;
    display: inline-block;
    padding: 4px 6px;
    font-family: Consolas, "Liberation Mono", Courier, monospace;
    line-height: 1;
    color: #ccc;
    border-radius: 3px;
    box-shadow: 0 1px 0 rgba(255,255,255,.2), inset 0 1px 2px rgba(0,0,0,.25);

    .hidden {
      display: none;
    }

    &:hover .hidden {
      display: inline;
    }
  }

  strong {
56
    color: #fff;
57 58
  }

59 60
  table {
    strong {
61
      color: #000;
62 63 64
    }
  }

65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
  .view {
    margin-right: 15px;
    float: left;

    &:last-child {
      margin-right: 0;
    }
  }

  .css-truncate {
    &.css-truncate-target,
    .css-truncate-target {
      display: inline-block;
      max-width: 125px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      vertical-align: top;
    }

    &.expandable:hover .css-truncate-target,
    &.expandable:hover.css-truncate-target {
      max-width: 10000px !important;
    }
  }
}

92
#modal-peek-pg-queries-content {
93
  color: #000;
94
}