wells.scss 1.85 KB
Newer Older
1
.info-well {
2
  background: $gray-light;
3
  color: $gl-text-color;
4 5
  border: 1px solid $border-color;
  border-radius: $border-radius-default;
6
  margin-bottom: $gl-padding;
7 8 9 10 11 12 13 14

  .well-segment {
    padding: $gl-padding;

    &:not(:last-of-type) {
      border-bottom: 1px solid $well-inner-border;
    }

15 16 17 18
    &.borderless {
      border-bottom: 0;
    }

19
    &.branch-info {
20
      .commit-sha,
21 22
      .commit-info {
        margin-left: 4px;
23 24 25

        .fork-svg {
          margin-right: 4px;
26
          vertical-align: bottom;
27
        }
28
      }
29 30 31

      .ref-name {
        font-size: 12px;
32 33 34 35 36

        &:hover {
          text-decoration: underline;
          color: $gl-text-color;
        }
37
      }
38
    }
39 40 41 42 43

    &.admin-well h4 {
      border-bottom: 1px solid $border-color;
      padding-bottom: 8px;
    }
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
  }

  .icon-container {
    display: inline-block;
    margin-right: 8px;

    svg {
      position: relative;
      top: 2px;
      height: 16px;
      width: 16px;
    }

    &.commit-icon {
      svg {
        path {
          fill: $gl-text-color;
        }
      }
    }
  }

  .label.label-gray {
    background-color: $well-expand-item;
  }
69 70 71 72 73

  .branches {
    display: inline;
  }

74 75 76 77
  .branch-link {
    margin-bottom: 2px;
  }

78
  .limit-box {
79
    cursor: pointer;
80 81
    display: inline-flex;
    align-items: center;
82
    background-color: $red-100;
83
    border-radius: $border-radius-default;
84 85 86
    text-align: center;

    &:hover {
87
      background-color: $red-200;
88 89 90
    }

    .limit-icon {
91
      margin: 0 4px;
92 93 94
    }

    .limit-message {
95
      line-height: 16px;
96
      margin-right: 8px;
97 98 99
      font-size: 12px;
    }
  }
100
}
101 102

.light-well {
103
  background-color: $gray-light;
104 105 106
  padding: 15px;
}

107 108 109 110 111 112 113 114
.dark-well {
  background-color: $gray-normal;

  .btn {
    width: 100%;
  }
}

115 116
.well-centered {
  h1 {
117
    font-weight: $gl-font-weight-normal;
118 119 120 121
    text-align: center;
    font-size: 48px;
  }
}