common.scss 4.6 KB
Newer Older
1
html {
2
  overflow-y: scroll;
3 4
}

5
/** LAYOUT **/
D
Dmitriy Zaporozhets 已提交
6

7
body {
8
  margin-bottom: 20px;
9 10
}

11
.container {
12 13
  padding-top: 0;
  z-index: 5;
D
Dmitriy Zaporozhets 已提交
14 15
}

16
.container .content {
17
  margin: 0 0;
18 19
}

20
.author_link {
21
  color: $link_color;
D
Dmitriy Zaporozhets 已提交
22
}
D
Dmitriy Zaporozhets 已提交
23

24
.help li { color:$style_color; }
25

26
.back-link {
27
  font-size: 14px;
28
}
D
Dmitriy Zaporozhets 已提交
29

30
table a code {
31 32 33 34
  position: relative;
  top: -2px;
  margin-right: 3px;
}
35

36
.loading {
37
  margin: 20px auto;
38
  background: url(ajax_loader.gif) no-repeat center center;
39 40
  width: 40px;
  height: 40px;
41 42 43
  &.loading-gray {
    background: url(ajax_loader_gray.gif) no-repeat center center;
  }
44
}
D
Dmitriy Zaporozhets 已提交
45 46

/** FLASH message **/
47
.flash-container {
C
Cyril 已提交
48
  display: none;
49 50 51 52 53 54 55 56 57
  .alert {
    cursor: pointer;
    margin: 0;
    text-align: center;
    border-radius: 0;

    span {
      font-size: 14px;
    }
D
Dmitriy Zaporozhets 已提交
58 59 60 61
  }
}

span.update-author {
62
  display: block;
63
  color: #999;
64 65
  font-weight: normal;
  font-style: italic;
66 67 68 69
  strong {
    font-weight: bold;
    font-style: normal;
  }
D
Dmitriy Zaporozhets 已提交
70 71 72
}

.user-mention {
73
  color: #2FA0BB;
74
  font-weight: bold;
D
Dmitriy Zaporozhets 已提交
75 76
}

77
.label {
D
Dmitriy Zaporozhets 已提交
78 79
  padding: 1px 4px;
  font-size: 12px;
80
  font-style: normal;
D
Dmitriy Zaporozhets 已提交
81
  font-weight: normal;
82 83 84
}

.field_with_errors {
85
  display: inline;
86 87 88
}

ul.breadcrumb {
89 90
  background: white;
  border: none;
91 92 93 94 95 96
  li {
    display: inline;
    text-shadow: 0 1px 0 white
  }

  a {
D
Dmitriy Zaporozhets 已提交
97
    font-size: 16px;
98 99 100
  }
}

101 102 103
.line_holder {
  &:hover {
    td {
D
Dmitriy Zaporozhets 已提交
104 105 106 107 108 109 110 111 112 113
      background: #FFFFCF !important;
    }
  }
}

p.time {
  color: #999;
  font-size: 90%;
  margin: 30px 3px 3px 2px;
}
114

115 116 117 118 119 120 121 122 123 124 125 126
.search-holder {
  label, input {
     height: 30px;
     padding: 0;
     font-size: 14px;
  }
  label {
    line-height: 30px;
    color: #666;
  }
}

127
.highlight_word {
128
  border-bottom: 2px solid #F90;
129
}
130

131
.status_info {
132
  font-size: 14px;
133
  padding: 5px 15px;
134
  line-height: 26px;
135
  text-align: center;
136 137
  float: right;
  position: relative;
138 139
  top: -5px;
  @include border-radius(4px);
140

141 142 143 144 145
  &.success {
    background: #4A4;
    color: #FFF;
  }

146
  &.error {
147
    background: #DA4E49;
148
    color: #FFF;
149
  }
150 151
}

V
Valery Sizov 已提交
152 153 154
.thin_area{
  height: 150px;
}
R
randx 已提交
155

156 157 158
// Fixes alignment on notes.
.new_note {
  label {
159
    text-align: left;
160 161 162
  }
}

163 164
// Fix issue with notes & lists creating a bunch of bottom borders.
li.note {
R
randx 已提交
165
  img { max-width:100% }
166 167 168 169 170
  .note-title {
    li {
      border-bottom:none !important;
    }
  }
171
}
R
randx 已提交
172

173 174
.markdown {
  img {
175
    max-width: 100%;
R
randx 已提交
176 177
  }
}
178 179 180 181

.wiki_content code, .readme code{
  background-color: inherit;
}
D
Dmitriy Zaporozhets 已提交
182

183 184
.team_member_show {
  td:first-child {
185
    color: #aaa;
D
Dmitriy Zaporozhets 已提交
186 187
  }
}
D
Dmitriy Zaporozhets 已提交
188

189
.remember_me {
190
  text-align: left;
D
Dmitriy Zaporozhets 已提交
191

192
  input {
193
    margin: 0;
D
Dmitriy Zaporozhets 已提交
194 195
  }

196
  span {
197
    padding-left: 5px;
D
Dmitriy Zaporozhets 已提交
198
  }
D
Dmitriy Zaporozhets 已提交
199 200 201
}


202 203
.rss-icon {
  img {
204 205
    width: 24px;
    vertical-align: top;
206
  }
R
randx 已提交
207

208
  strong {
209
    line-height: 24px;
R
randx 已提交
210
  }
211
}
212

R
randx 已提交
213

R
randx 已提交
214
.supp_diff_link,
215
.show-all-commits {
216
  cursor: pointer;
R
randx 已提交
217
}
D
Dmitriy Zaporozhets 已提交
218

D
Dmitriy Zaporozhets 已提交
219
.merge-request,
220 221
.issue {
  &.today{
R
randx 已提交
222
    background: #EFE;
223
    border-color: #CEC;
D
Dmitriy Zaporozhets 已提交
224
  }
225
  &.closed {
R
randx 已提交
226
    background: #F5f5f5;
227
    border-color: #E5E5E5;
D
Dmitriy Zaporozhets 已提交
228
  }
229
  &.merged {
230
    background: #F5f5f5;
231
    border-color: #E5E5E5;
D
Dmitriy Zaporozhets 已提交
232
  }
R
randx 已提交
233
}
234

235 236
.git_error_tips {
  @extend .span6;
237 238
  text-align: left;
  margin-top: 40px;
239
  pre {
240 241
    background: white;
    border: none;
242 243 244
    font-size: 12px;
  }
}
245

246
.error-message {
D
Dmitriy Zaporozhets 已提交
247
  padding: 10px;
248
  background: #C67;
D
Dmitriy Zaporozhets 已提交
249
  padding-left: 20px;
250 251
  margin: 0;
  color: #FFF;
D
Dmitriy Zaporozhets 已提交
252

253 254 255 256
  a {
    color: #fff;
    text-decoration: underline;
  }
D
Dmitriy Zaporozhets 已提交
257 258 259
  &.centered {
    text-align: center;
  }
260
}
261

262 263 264 265 266 267 268 269 270 271 272 273 274
.warning_message {
  border-left: 4px solid #ed9;
  color: #b90;
  padding: 10px;
  margin-bottom: 10px;
  background: #ffffe6;
  padding-left: 20px;

  &.centered {
    text-align: center;
  }
}

275
.oauth_select_holder {
276
  padding: 20px;
277
  img {
278 279
    padding: 5px;
    margin-right: 10px;
280 281 282
  }
  .active {
    img {
283
      border: 1px solid #ccc;
284
      background: $hover;
285 286 287 288
      @include border-radius(5px);
    }
  }
}
D
Dmitriy Zaporozhets 已提交
289 290 291 292 293 294

.btn-build-token {
  float: left;
  padding: 6px 20px;
  margin-right: 12px;
}
295 296 297

.gitlab-promo {
  a {
298
    color: #aaa;
299 300 301
    margin-right: 30px;
  }
}
302

R
randx 已提交
303 304
pre {
  &.clean {
305 306 307 308
    background: none;
    border: none;
    margin: 0;
    padding: 0;
R
randx 已提交
309 310
  }
}
311

D
Dmitriy Zaporozhets 已提交
312 313 314 315 316 317 318 319
.milestone {
  &.milestone-closed {
    background: #eee;
  }
  .progress {
    margin-bottom: 0;
    margin-top: 4px;
  }
320
}
R
randx 已提交
321

322 323 324 325 326 327
h1.http_status_code {
  font-size: 56px;
  line-height: 100px;
  font-weight: normal;
  color: #456;
}
328 329 330 331 332 333 334 335 336 337 338 339 340

.control-group {
  .controls {
    span {
      &.descr {
        position: relative;
        top: 2px;
        left: 5px;
        color: #666;
      }
    }
  }
}
341 342 343 344 345 346

img.emoji {
  height: 20px;
  vertical-align: middle;
  width: 20px;
}
D
Dmitriy Zaporozhets 已提交
347 348 349 350

.appear-data {
  display: none;
}
351

352 353 354 355
.chart {
  overflow: hidden;
  height: 220px;
}
356

357
.navless-container {
358
  margin-top: 20px;
359
}
360 361 362 363 364 365

.description-block {
  @extend .light-well;
  @extend .light;
  margin-bottom: 10px;
}
366 367 368 369 370

.group-name {
  font-size: 14px;
  line-height: 24px;
}