summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/pages/clusters.scss
blob: 56beb7718a4e6955ae645758dc7a4737659845b1 (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
.edit-cluster-form {
  .clipboard-addon {
    background-color: $white-light;
  }
}

.cluster-applications-table {
  // Wait for the Vue to kick-in and render the applications block
  min-height: 628px;
}

.clusters-dropdown-menu {
  max-width: 100%;
}

.clusters-error-alert {
  width: 100%;
}

.clusters-container {
  .nav-bar-right {
    padding: $gl-padding-top $gl-padding;
  }

  .empty-state .svg-content img {
    width: 145px;
  }

  .top-area .nav-controls > .btn.btn-add-cluster {
    margin-right: 0;
  }
}

.gcp-signup-offer {
  background-color: $blue-50;
  border: 1px solid $blue-300;
  border-radius: $border-radius-default;

  // TODO: To be superceded by cssLab
  &.alert {
    padding: 24px 16px;

    &-dismissable {
      padding-right: 32px;

      .close {
        top: -8px;
        right: -16px;
        color: $blue-500;
        opacity: 1;
      }
    }
  }

  .gcp-logo {
    margin-bottom: $gl-padding;
    text-align: center;
  }

  img {
    max-width: $gcp-signup-offer-icon-max-width;
  }

  a:not(.btn) {
    color: $gl-link-color;
    font-weight: normal;
    text-decoration: none;
  }

  @include media-breakpoint-up(sm) {
    > div {
      display: flex;
      align-items: center;
    }

    .gcp-logo {
      margin: 0;
    }
  }
}