summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/pages/clusters.scss
blob: 809ba6d4953caf90bd4cc9f1bf4bdfba7fe76831 (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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
.edit-cluster-form {
  .clipboard-addon {
    background-color: $white-light;
  }
}

.cluster-application-row {
  background: $gray-lighter;

  &.cluster-application-installed {
    background: none;
  }

  .settings-message {
    padding: $gl-vert-padding $gl-padding-8;
  }
}

@media (min-width: map-get($grid-breakpoints, md)) {
  .cluster-application-list {
    border: 1px solid $border-color;
    border-radius: $border-radius-default;
  }

  .cluster-application-row {
    border-bottom: 1px solid $border-color;
    padding: $gl-padding;

    &:last-child {
      border-bottom: 0;
      border-bottom-left-radius: calc(#{$border-radius-default} - 1px);
      border-bottom-right-radius: calc(#{$border-radius-default} - 1px);
    }
  }
}

.cluster-application-logo {
  border: 3px solid $white-light;
  box-shadow: 0 0 0 1px $gray-normal;

  &.avatar:hover {
    border-color: $white-light;
  }
}

.cluster-application-warning {
  font-weight: bold;
  text-align: center;
  padding: $gl-padding;
  border-bottom: 1px solid $white-normal;

  .svg-container {
    display: inline-block;
    vertical-align: middle;
    margin-right: $gl-padding-8;
    width: 40px;
    height: 40px;
  }
}

.cluster-application-banner {
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cluster-application-banner-close {
  align-self: flex-start;
  font-weight: 500;
  font-size: 20px;
  margin: $gl-padding-8 14px 0 0;
}

.cluster-application-description {
  flex: 1;
}

.cluster-application-disabled {
  opacity: 0.5;
}

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

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

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

  .card {
    margin-bottom: $gl-vert-padding;
  }

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

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

  .clusters-table {
    background-color: $gray-light;
    padding: $gl-padding-8;
  }

  .badge-light {
    background-color: $white-normal;
  }

  .gl-responsive-table-row {
    padding: $gl-padding;
    border: 0;

    &.table-row-header {
      background-color: none;
      border: 0;
      font-weight: bold;
      color: $gl-gray-500;
    }
  }
}

.cluster-warning {
  @include alert-variant(theme-color-level('warning', $alert-bg-level), theme-color-level('warning', $alert-border-level), theme-color-level('warning', $alert-color-level));
}

.gcp-signup-offer {
  border-left-color: $blue-500;

  svg {
    fill: $blue-500;
    vertical-align: middle;
  }

  .gcp-signup-offer--content {
    display: flex;

    h4 {
      font-size: 16px;
      line-height: 24px;
    }

    .gcp-signup-offer--icon {
      align-self: flex-start;
    }
  }
}