projects.scss 4.78 KB
Newer Older
1 2
.new_project,
.edit_project {
3 4 5 6 7
  fieldset.features {
    .control-label {
      font-weight: bold;
    }
  }
8
}
randx's avatar
randx committed
9

10 11 12 13 14 15 16
.project-name-holder {
  .help-inline {
    vertical-align: top;
    padding: 7px;
  }
}

17
.project-home-panel {
18
  text-align: center;
19 20 21 22
  background: #f7f8fa;
  margin: -$gl-padding;
  padding: $gl-padding;
  padding-top: 40px;
23

24
  .project-identicon-holder {
25
    margin-bottom: 15px;
26

27 28 29
    .avatar, .identicon {
      margin: 0 auto;
      float: none;
30 31 32
    }

    .identicon {
33
      @include border-radius(50%);
34
    }
35 36
  }

37 38 39 40
  .project-home-dropdown {
    margin: 11px 3px 0;
  }

41 42 43
  .project-home-desc {
    h1 {
      margin: 0;
44
      margin-bottom: 10px;
45 46
      font-size: 23px;
      font-weight: normal;
47 48
    }

49
    p {
50
      color: #7f8fa4;
51
      display: inline;
52
    }
53
  }
54

55 56
  .git-clone-holder {
    max-width: 600px;
Douwe Maan's avatar
Douwe Maan committed
57
    margin: 20px auto;
58 59 60 61

    .form-control {
      background: #FFF;
    }
62 63
  }

64
  .visibility-level-label {
65
    color: $gray;
66 67 68
    i {
      color: inherit;
    }
69
  }
70

71
  .project-repo-buttons {
72
    margin-top: $gl-padding;
73
    margin-bottom: 25px;
74

75
    .btn {
76
      @extend .btn-info;
77

78 79 80
      text-transform: uppercase;
      font-size: 15px;
      line-height: 20px;
81
      padding: 8px 14px;
82
      border-radius: 3px;
83
      margin-left: 10px;
84 85

      .count {
86
        padding-left: 7px;
87
        display: inline-block;
88
        margin-left: 7px;
89 90
      }
    }
91
  }
92 93
}

94
.git-clone-holder {
95 96 97
  .project-home-dropdown + & {
    margin-right: 45px;
  }
98

99
  .form-control {
100
    cursor: auto;
101
    @extend .monospace;
102
    background: #FAFAFA;
103 104
    width: 100%;
  }
105 106 107

  .input-group-addon {
    background: #FAFAFA;
108 109 110 111 112 113 114 115 116

    &.git-protocols {
      padding: 0;
      border: none;

      .input-group-btn:last-child > .btn {
        @include border-radius-right(0);
      }
    }
117
  }
randx's avatar
randx committed
118
}
119

120
.project-visibility-level-holder {
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
121 122
  .radio {
    margin-bottom: 10px;
123

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
124 125 126
    i {
      margin: 0 3px;
      font-size: 20px;
127
    }
128

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
129 130
    .option-title {
      font-weight: bold;
131 132
      display: inline-block;
    }
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
133 134

    .option-descr {
135
      margin-left: 36px;
136
      color: $gray;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
137
    }
138 139 140
  }
}

141
.save-project-loader {
142 143 144
  margin-top: 50px;
  margin-bottom: 50px;
  color: #555;
145
}
146 147 148 149 150 151 152 153

ul.nav.nav-projects-tabs {
  @extend .nav-tabs;

  padding-left: 8px;

  li {
    a {
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
154
      padding: 6px 25px;
155 156 157 158 159 160 161 162 163 164 165 166 167
      margin-top: 2px;
      border-color: #DDD;
      background-color: #EEE;
      text-shadow: 0 1px 1px white;
      color: #555;
    }
    &.active {
      a {
        font-weight: bold;
      }
    }
  }
}
168

169
.project_member_row form {
170 171
  margin: 0px;
}
172

173
.transfer-project .select2-container {
174 175
  min-width: 200px;
}
176

177 178 179
.deploy-project-label {
  margin: 1px;
}
180 181

.vs-public {
182
  color: $gl-primary;
183 184 185
}

.vs-internal {
186
  color: $gl-warning;
187 188 189
}

.vs-private {
190
  color: $gl-success;
191
}
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
192 193

.breadcrumb.repo-breadcrumb {
194
  padding: 0;
195
  line-height: 42px;
196
  background: transparent;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
197
  border: none;
198
  margin: 0;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
199 200 201 202 203 204

  > li + li:before {
    padding: 0 3px;
    color: #999;
  }
}
205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229

.fork-namespaces {
  .thumbnail {

    &.fork-exists-thumbnail {
      border-color: #EEE;

      .caption {
        color: #999;
      }
    }

    &.fork-thumbnail {
      border-color: #AAA;

      &:hover {
        background-color: $hover;
      }
    }

    a {
      text-decoration: none;
    }
  }
}
230

Marin Jankovski's avatar
Marin Jankovski committed
231 232 233 234 235
table.table.protected-branches-list tr.no-border {
  th, td {
    border: 0;
  }
}
236 237 238 239 240

.project-import .btn {
  float: left;
  margin-right: 10px;
}
241 242 243

.project-stats {
  text-align: center;
244 245 246 247 248 249 250 251
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 5px;
  padding-bottom: 0;

  ul.nav-pills {
    display:inline-block;
  }
252

253 254 255 256 257 258 259 260
  li {
    display:inline;
  }

  a {
    float:left;
    font-size: 17px;
  }
261 262 263 264 265 266 267 268 269

  li.missing a {
    color: #bbb;
    border: 1px dashed #ccc;

    &:hover {
      background-color: #FAFAFA;
    }
  }
270 271 272 273 274
}

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

.projects-search-form {
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
277
  margin: -$gl-padding;
278
  background-color: #f8fafc;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
279
  padding: $gl-padding;
280
  margin-bottom: 0px;
281 282
  border-top: 1px solid #e7e9ed;
  border-bottom: 1px solid #e7e9ed;
283 284
}

285 286 287 288 289 290 291
/*
 * Projects list rendered on dashboard and user page
 */
.projects-list {
  @include basic-list;

  .project-row {
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
292
    padding: $gl-padding;
293
    border-color: #f1f2f4;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
294 295
    margin-left: -$gl-padding;
    margin-right: -$gl-padding;
296 297 298

    &.no-description {
      .project {
299
        line-height: 44px;
300 301 302
      }
    }

303 304
    .project-full-name {
      @include str-truncated;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
305
      font-weight: 600;
306 307 308 309
      color: #4c4e54;
    }

    .pull-right.light {
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
310
      line-height: 45px;
311
      color: #7f8fa4;
312
    }
313

314
    .project-description {
315
      color: #7f8fa4;
316 317 318 319

      p {
        @include str-truncated;
        margin-bottom: 0;
320
        color: #7f8fa4;
321
      }
322 323
    }
  }
324 325 326 327 328

  .bottom {
    padding-top: $gl-padding;
    padding-bottom: 0;
  }
329 330
}

331 332
.panel .projects-list li {
  padding: 10px 15px;
333
  margin: 0;
334
}
335 336 337 338 339 340

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