summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/framework/wells.scss
blob: 161943766d49481b3d8d4b52c279377c8f1f6bbc (plain)
1
2
3
4
5
6
7
8
9
10
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
56
57
58
59
60
61
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
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
.info-well {
  background: $gray-light;
  color: $gl-text-color;
  border: 1px solid $border-color;
  border-radius: $border-radius-default;
  margin-bottom: $gl-padding;

  .card.card-body-segment {
    padding: $gl-padding;

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

    &.branch-info {
      .commit-sha,
      .commit-info {
        margin-left: 4px;

        .fork-svg {
          margin-right: 4px;
          vertical-align: bottom;
        }
      }

      .ref-name {
        font-size: 12px;

        &:hover {
          text-decoration: underline;
          color: $gl-text-color;
        }
      }
    }

    &.admin-well h4 {
      border-bottom: 1px solid $border-color;
      padding-bottom: 8px;
    }
  }

  .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-gray {
    background-color: $well-expand-item;
  }

  .branches {
    display: inline;
  }

  .branch-link {
    margin-bottom: 2px;
  }

  .limit-box {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    background-color: $red-100;
    border-radius: $border-radius-default;
    text-align: center;

    &:hover {
      background-color: $red-200;
    }

    .limit-icon {
      margin: 0 4px;
    }

    .limit-message {
      line-height: 16px;
      margin-right: 8px;
      font-size: 12px;
    }
  }

  svg {
    vertical-align: text-top;
  }
}

.light-well {
  background-color: $gray-light;
  padding: 15px;
}

.dark-well {
  background-color: $gray-normal;

  .btn {
    width: 100%;
  }
}

.card.card-body-centered {
  h1 {
    font-weight: $gl-font-weight-normal;
    text-align: center;
    font-size: 48px;
  }
}