summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/pages/pages.scss
blob: fb42dee66d2074dee9b4143c6cf46d345e62a054 (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
.pages-domain-list {
  &-item {
    position: relative;
    display: flex;
    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 {
    border-bottom-left-radius: $border-radius-default;
    border-top-left-radius: $border-radius-default;
  }

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

  :last-child {
    border-bottom-right-radius: $border-radius-default;
    border-top-right-radius: $border-radius-default;
  }

}