environments.scss 4.16 KB
Newer Older
1
2
3
4
5
@media (max-width: $screen-md-max) {
  .deployments-container {
    width: 100%;
    overflow: auto;
  }
6
7
}

8
.environments-folder-name {
9
  font-weight: $gl-font-weight-normal;
10
11
12
  padding-top: 20px;
}

13
.environments-container {
14
  .ci-table {
15
16
    @include new-style-dropdown;

17
18
19
20
21
22
23
24
25
    .deployment-column {
      > span {
        word-break: break-all;
      }

      .avatar {
        float: none;
      }
    }
26

27
28
29
30
31
    .btn-group {

      > a {
        color: $gl-text-color-secondary;
      }
32

33
34
35
36
37
38
39
40
      svg path {
        fill: $gl-text-color-secondary;
      }

      .dropdown {
        outline: none;
      }
    }
41

42
43
44
45
    .btn .text-center {
      display: inline;
    }

46
47
48
49
50
51
52
    .commit-title {
      margin: 0;
    }

    .icon-play {
      height: 13px;
      width: 12px;
53
    }
Annabel Dunstone's avatar
Annabel Dunstone committed
54

55
56
    .external-url,
    .dropdown-new {
57
58
59
      color: $gl-text-color-secondary;
    }

60
61
62
63
64
    .dropdown-menu {
      .fa {
        margin-right: 6px;
        color: $gl-text-color-secondary;
      }
65
66
    }

67
    .build-link,
68
    .ref-name {
69
      color: $gl-text-color;
70
    }
Annabel Dunstone's avatar
Annabel Dunstone committed
71

72
73
    .stop-env-link,
    .external-url {
tauriedavis's avatar
tauriedavis committed
74
      color: $gl-text-color-secondary;
75

76
77
78
79
      .stop-env-icon {
        font-size: 14px;
      }
    }
80

81
    .deployment .build-column {
Filipa Lacerda's avatar
Filipa Lacerda committed
82
      .build-link {
tauriedavis's avatar
tauriedavis committed
83
        color: $gl-text-color;
Filipa Lacerda's avatar
Filipa Lacerda committed
84
      }
85

Filipa Lacerda's avatar
Filipa Lacerda committed
86
87
      .avatar {
        float: none;
88
        margin-right: 0;
Filipa Lacerda's avatar
Filipa Lacerda committed
89
90
      }
    }
Filipa Lacerda's avatar
Filipa Lacerda committed
91

92
93
94
95
    .folder-icon {
      margin-right: 3px;
      color: $gl-text-color-secondary;
      display: inline-block;
Filipa Lacerda's avatar
Filipa Lacerda committed
96

97
98
99
      .fa:nth-child(1) {
        margin-right: 3px;
      }
100
    }
Filipa Lacerda's avatar
Filipa Lacerda committed
101

102
103
104
105
106
    .folder-name {
      cursor: pointer;
      color: $gl-text-color-secondary;
      display: inline-block;
    }
107

108
109
110
111
    .icon-container {
      width: 20px;
      text-align: center;
    }
112

113
    .branch-commit {
114
      .commit-sha {
115
116
        margin-right: 0;
      }
117
    }
118
119
120
121
122
123
124
125

    .no-btn {
      border: none;
      background: none;
      outline: none;
      width: 100%;
      text-align: left;
    }
126
  }
127
}
128

129
.gl-responsive-table-row {
130
131
132
  .branch-commit {
    max-width: 100%;
  }
133
134
135
136
137
138
139
140
141
142
143
144
}

.folder-row {
  padding: 15px 0;
  border-bottom: 1px solid $white-normal;

  @media (max-width: $screen-sm-max) {
    border-top: 1px solid $white-normal;
    margin-top: 10px;
  }
}

145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
.x-axis path,
.y-axis path,
.label-x-axis-line,
.label-y-axis-line {
  fill: none;
  stroke-width: 1;
  shape-rendering: crispEdges;
}

.x-axis path,
.y-axis path {
  stroke: $stat-graph-axis-fill;
}

.label-x-axis-line,
.label-y-axis-line {
  stroke: $border-color;
}

.y-axis {
  line {
    stroke: $stat-graph-axis-fill;
    stroke-width: 1;
  }
}

.metric-area {
  opacity: 0.8;
}

.prometheus-graph-overlay {
  fill: none;
  opacity: 0.0;
  pointer-events: all;
}

.rect-text-metric {
  fill: $white-light;
  stroke-width: 1;
Phil Hughes's avatar
Phil Hughes committed
184
  stroke: $gray-darkest;
185
186
187
188
189
190
}

.rect-axis-text {
  fill: $white-light;
}

191
.text-metric {
192
  font-size: 12px;
193
194
195
}

.selected-metric-line {
Phil Hughes's avatar
Phil Hughes committed
196
  stroke: $gl-gray-dark;
197
198
  stroke-width: 1;
}
Phil Hughes's avatar
Phil Hughes committed
199
200

.deployment-line {
201
  stroke: $black;
202
  stroke-width: 1;
Phil Hughes's avatar
Phil Hughes committed
203
}
Phil Hughes's avatar
Phil Hughes committed
204
205
206
207
208

.deploy-info-text {
  dominant-baseline: text-before-edge;
}

209
210
211
212
213
214
215
216
.prometheus-state {
  margin-top: 10px;

  .state-button-section {
    margin-top: 10px;
  }
}

217
218
219
220
221
222
223
224
.environments-actions {
  .external-url,
  .monitoring-url,
  .terminal-button,
  .stop-env-link {
    width: 38px;
  }
}
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249

.prometheus-panel {
  margin-top: 20px;
}

.prometheus-svg-container {
  position: relative;
  height: 0;
  width: 100%;
  padding: 0;
  padding-bottom: 100%;
}

.prometheus-svg-container > svg {
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;

  text {
    fill: $gl-text-color;
    stroke-width: 0;
  }

250
  .text-metric-bold {
251
    font-weight: $gl-font-weight-bold;
252
253
  }

254
255
256
  .label-axis-text,
  .text-metric-usage {
    fill: $black;
257
    font-weight: $gl-font-weight-normal;
258
    font-size: 12px;
259
260
261
262
263
264
265
  }

  .legend-axis-text {
    fill: $black;
  }

  .tick > text {
266
267
268
269
270
    font-size: 12px;
  }

  .text-metric-title {
    font-size: 12px;
271
272
  }

273
274
275
276
277
278
279
280
281
  .y-label-text,
  .x-label-text {
    fill: $gray-darkest;
  }

  .axis-tick {
    stroke: $gray-darker;
  }

282
283
284
285
286
287
288
289
290
291
292
293
  @media (max-width: $screen-sm-max) {
    .label-axis-text,
    .text-metric-usage,
    .legend-axis-text {
      font-size: 8px;
    }

    .tick > text {
      font-size: 8px;
    }
  }
}
294
295
296
297
298
299

.prometheus-row {
  h5 {
    font-size: 16px;
  }
}