projects.scss 6.91 KB
Newer Older
Andrey's avatar
Andrey committed
1
2
.alert_holder {
  margin: -16px;
3

Andrey's avatar
Andrey committed
4
5
6
7
  .alert-link {
    font-weight: normal;
  }
}
8
.no-ssh-key-message, .project-limit-message {
Andrey's avatar
Andrey committed
9
10
11
  background-color: #f28d35;
  margin-bottom: 16px;
}
12
13
.new_project,
.edit_project {
14
15
  fieldset.features {
    .control-label {
16
      font-weight: normal;
17
18
    }
  }
19
}
randx's avatar
randx committed
20

21
22
23
24
25
26
27
.project-name-holder {
  .help-inline {
    vertical-align: top;
    padding: 7px;
  }
}

28
.project-home-panel {
29
30
  padding-bottom: 40px;
  border-bottom: 1px solid $border-color;
31
32
33
34

  .cover-controls {
    .project-settings-dropdown {
      margin-left: 10px;
Alfredo Sumaran's avatar
Alfredo Sumaran committed
35
      display: inline-block;
36
37
38
    }
  }

39
  .project-identicon-holder {
40
    margin-bottom: 16px;
41

42
43
44
    .avatar, .identicon {
      margin: 0 auto;
      float: none;
45
    }
46

47
    .identicon {
48
      @include border-radius(50%);
49
    }
50
  }
51

52
  .notifications-btn {
Jacob Schatz's avatar
Jacob Schatz committed
53
    margin-top: -28px;
54

55
56
57
58
59
60
61
    .fa-bell {
      margin-right: 6px;
    }

    .fa-angle-down {
      margin-left: 6px;
    }
62
63
  }

Phil Hughes's avatar
Phil Hughes committed
64
  .project-repo-buttons {
Andriy Dyadyura's avatar
update    
Andriy Dyadyura committed
65
    margin-top: 20px;
66
    margin-bottom: 0px;
67

Jacob Schatz's avatar
Jacob Schatz committed
68
69
    .count-buttons {
      display: block;
Andriy Dyadyura's avatar
update    
Andriy Dyadyura committed
70
      margin-bottom: 20px;
Jacob Schatz's avatar
Jacob Schatz committed
71
72
    }

73
74
75
76
77
78
79
80
81
82
83
    .clone-row {
      .split-repo-buttons,
      .project-clone-holder {
        display: inline-block;
      }

      .split-repo-buttons {
        margin: 0 12px;
      }
    }

84
    .btn {
85
      @include btn-gray;
Jacob Schatz's avatar
Jacob Schatz committed
86
87
      text-transform: none;
    }
88

Jacob Schatz's avatar
Jacob Schatz committed
89
90
91
92
93
94
    .count-with-arrow {
      display: inline-block;
      position: relative;
      margin-left: 4px;

      .arrow {
Jacob Schatz's avatar
Jacob Schatz committed
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
        &:before {
          content: '';
          display: inline-block;
          position: absolute;
          width: 0;
          height: 0;
          border-color: transparent;
          border-style: solid;
          top: 50%;
          left: 0;
          margin-top: -6px;
          border-width: 7px 5px 7px 0;
          border-right-color: #dce0e5;
        }

        &:after {
          content: '';
          position: absolute;
          width: 0;
          height: 0;
          border-color: transparent;
          border-style: solid;
          top: 50%;
          left: 1px;
          margin-top: -9px;
          border-width: 10px 7px 10px 0;
          border-right-color: #FFF;
Jacob Schatz's avatar
Jacob Schatz committed
122
123
        }
      }
124
      .count {
Jacob Schatz's avatar
Jacob Schatz committed
125
        @include btn-gray;
126
        display: inline-block;
Jacob Schatz's avatar
Jacob Schatz committed
127
128
129
130
131
132
        background: white;
        border-radius: 2px;
        border-width: 1px;
        border-style: solid;
        font-size: 13px;
        font-weight: 600;
133
134
        line-height: 13px;
        padding: $gl-vert-padding $gl-padding;
Jacob Schatz's avatar
Jacob Schatz committed
135
        letter-spacing: .4px;
Andriy Dyadyura's avatar
update    
Andriy Dyadyura committed
136
        padding: 10px 14px;
Jacob Schatz's avatar
Jacob Schatz committed
137
138
139
140
141
142
143
        text-align: center;
        vertical-align: middle;
        touch-action: manipulation;
        cursor: pointer;
        background-image: none;
        white-space: nowrap;
        margin: 0 11px 0px 4px;
144
145
146
147

        &:hover {
          background: #FFF;
        }
148
149
      }
    }
Phil Hughes's avatar
Phil Hughes committed
150
  }
151
152
}

153
154
.split-one {
  display: inline-table;
Andrey's avatar
Andrey committed
155
  margin-right: 12px;
156

157
158
159
160
161
  a {
    margin: -1px !important;
  }
}

162
.project-visibility-level-holder {
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
163
164
  .radio {
    margin-bottom: 10px;
165

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
166
    i {
167
      margin: 2px 0;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
168
      font-size: 20px;
169
    }
170

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
171
    .option-title {
172
      font-weight: normal;
173
      display: inline-block;
174
      color: #313236;
175
    }
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
176
177

    .option-descr {
178
179
      margin-left: 29px;
      color: #54565b;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
180
    }
181
182
183
  }
}

184
.save-project-loader {
185
186
187
  margin-top: 50px;
  margin-bottom: 50px;
  color: #555;
188
}
189

190
.project_member_row form {
191
192
  margin: 0px;
}
193

194
.transfer-project .select2-container {
195
196
  min-width: 200px;
}
197

198
199
200
.deploy-project-label {
  margin: 1px;
}
201
202

.vs-public {
203
  color: $gl-primary;
204
205
206
}

.vs-internal {
207
  color: $gl-warning;
208
209
210
}

.vs-private {
211
  color: $gl-success;
212
}
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
213
214

.breadcrumb.repo-breadcrumb {
215
  padding: 0;
216
  background: transparent;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
217
  border: none;
218
  line-height: 42px;
219
  margin: 0;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
220
221
222
223
224
225

  > li + li:before {
    padding: 0 3px;
    color: #999;
  }
}
226

227
228
229
230
.last-push-widget {
  margin-top: -1px;
}

231
.fork-namespaces {
232
233
234
  .fork-thumbnail {
    text-align: center;
    margin-bottom: $gl-padding;
235

236
237
238
    .caption {
      padding: $gl-padding 0;
      min-height: 30px;
239
240
    }

241
242
243
    img {
      @include border-radius(50%);
      max-width: 100px;
244
245
246
    }
  }
}
247

Marin Jankovski's avatar
Marin Jankovski committed
248
249
250
251
252
table.table.protected-branches-list tr.no-border {
  th, td {
    border: 0;
  }
}
253
254
255
256
257

.project-import .btn {
  float: left;
  margin-right: 10px;
}
258
259
260

.project-stats {
  text-align: center;
261
  margin-top: $gl-padding;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
262
  margin-bottom: 0;
263
264
  padding-top: 10px;
  padding-bottom: 4px;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
265

266
  ul.nav {
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
267
268
    display:inline-block;
  }
269

270
  .nav li {
271
272
    display:inline;
  }
273

274
  .nav > li > a {
275
    @include btn-default;
276
    @include btn-gray;
277

Andrey's avatar
Andrey committed
278
279
280
    background-color: transparent;
    border: 1px solid #f7f8fa;
    margin-left: 12px;
281
  }
282

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
283
284
285
286
287
288
289
290
  li {
    display:inline;
  }

  a {
    float:left;
    font-size: 17px;
  }
291
292

  li.missing a {
293
294
    color: #5a6069;
    border: 1px dashed #dce0e5;
295
296

    &:hover {
297
      background-color: #f0f2f5;
298
299
    }
  }
300
301
302
303
304
}

pre.light-well {
  border-color: #f1f1f1;
}
305

306
307
.git-empty {
  margin: 0 7px 0 7px;
308

309
310
311
  h5 {
    color: #5c5d5e;
  }
312

313
314
  .light-well {
    @include border-radius (2px);
315

Andrey's avatar
Andrey committed
316
    color: #5b6169;
317
318
    font-size: 13px;
    line-height: 1.6em;
319
320
321
  }
}

322
.project-footer {
Andrey's avatar
Andrey committed
323
  margin-top: 20px;
324

325
  .btn-remove {
Andrey's avatar
Andrey committed
326
    @include btn-middle;
327
    @include btn-red;
328

329
330
331
332
    float: left !important;
  }
}

333
334
335
/*
 * Projects list rendered on dashboard and user page
 */
336

337
338
339
340
.projects-list {
  @include basic-list;

  .project-row {
Douwe Maan's avatar
Douwe Maan committed
341
    border-color: $table-border-color;
342
343
344

    &.no-description {
      .project {
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
345
        line-height: 40px;
346
347
348
      }
    }

349
350
    .project-full-name {
      @include str-truncated;
351
352
    }

353
    .controls {
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
354
      line-height: 40px;
355
356
357
358

      a:hover {
        text-decoration: none;
      }
359
360
361
362

      > span {
        margin-left: 10px;
      }
363
    }
364
  }
365
366
367
368
369

  .bottom {
    padding-top: $gl-padding;
    padding-bottom: 0;
  }
370
371
}

372
373
.panel .projects-list li {
  padding: 10px 15px;
374
  margin: 0;
375
}
376
377
378
379
380
381

.project-show-activity {
  .activity-filter-block {
    margin-top: -1px;
  }
}
382

383
384
385
386
387
388
389
390
391
392
.project-last-commit {
  .ci-status {
    margin-right: 16px;
  }

  .commit-row-message {
    color: $gl-gray;
  }

  .commit_short_id {
393
    margin-right: 5px;
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
    color: $gl-link-color;
    font-weight: 600;
  }

  .commit-author-link {
    margin-left: 7px;
    text-decoration: none;
    .avatar {
      float: none;
      margin-right: 4px;
    }

    .commit-author-name {
      font-weight: 600;
    }
  }
}
411
412

.project-show-readme .readme-holder {
413
  padding: $gl-padding 0;
414
  border-top: 0;
415

416
417
418
419
  .edit-project-readme {
    z-index: 100;
    position: relative;
  }
420
}
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449

.git-clone-holder {
  width: 498px;

  .btn-clipboard {
    border: 1px solid $border-color;
    padding: 6px $gl-padding;
  }

  .project-home-dropdown + & {
    margin-right: 45px;
  }

  .clone-options {
    display: table-cell;
    a.btn {
      width: 100%;
    }
  }

  .form-control {
    @extend .monospace;
    background: #FFF;
    font-size: 14px;
    margin-left: -1px;
    cursor: auto;
    width: 101%;
  }
}
450

451
.cannot-be-merged,
452
.cannot-be-merged:hover {
453
  color: #E62958;
454
  margin-top: 2px;
455
}
456
457

.private-forks-notice .private-fork-icon {
Rubén Dávila's avatar
Rubén Dávila committed
458
  i:nth-child(1) {
459
460
    color: #2AA056;
  }
Rubén Dávila's avatar
Rubén Dávila committed
461
462

  i:nth-child(2) {
463
464
465
    color: #FFFFFF;
  }
}