summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/pages/pages.scss
blob: 2de33f205957ceb8052d869cfb9824f6b367cc10 (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
.pages-domain-list {
  &-item {
    align-items: center;

    .domain-status {
      display: inline-flex;
      left: $gl-padding;
      position: absolute;
    }

    .domain-name {
      flex-grow: 1;
    }

  }

  &.has-verification-status > li {
    padding-left: 3 * $gl-padding;
  }

}

.status-badge {

  display: inline-flex;
  margin-bottom: $gl-padding-8;

  // Most of the following settings "stolen" from btn-sm
  // Border radius is overwritten for both
  .label,
  .btn {
    padding: $gl-padding-4 $gl-padding-8;
    font-size: $gl-font-size;
    line-height: $gl-btn-line-height;
    border-radius: 0;
    display: flex;
    align-items: center;
  }

  .btn svg {
    top: auto;
  }

  :first-child {
    line-height: $gl-line-height;
  }

  :not(:first-child) {
    border-left: 0;
  }

  :last-child {
    border-radius: $border-radius-default;
  }
}