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
  cursor: pointer;
  margin: 0;
  text-align: center;
  color: #fff;
53
  font-size: 14px;
54 55 56 57 58 59 60 61 62 63 64

  .flash-notice {
    background: #49C;
    padding: 10px;
    text-shadow: 0 1px 1px #178;
  }

  .flash-alert {
    background: #C67;
    text-shadow: 0 1px 1px #945;
    padding: 10px;
D
Dmitriy Zaporozhets 已提交
65 66 67 68
  }
}

span.update-author {
69
  display: block;
70
  color: #999;
71 72
  font-weight: normal;
  font-style: italic;
73 74 75 76
  strong {
    font-weight: bold;
    font-style: normal;
  }
D
Dmitriy Zaporozhets 已提交
77 78 79
}

.user-mention {
80
  color: #2FA0BB;
81
  font-weight: bold;
D
Dmitriy Zaporozhets 已提交
82 83
}

84
.label {
D
Dmitriy Zaporozhets 已提交
85 86
  padding: 1px 4px;
  font-size: 12px;
87
  font-style: normal;
D
Dmitriy Zaporozhets 已提交
88
  font-weight: normal;
89 90 91
}

.field_with_errors {
92
  display: inline;
93 94 95
}

ul.breadcrumb {
96 97
  background: white;
  border: none;
98 99 100 101 102 103
  li {
    display: inline;
    text-shadow: 0 1px 0 white
  }

  a {
D
Dmitriy Zaporozhets 已提交
104
    font-size: 16px;
105 106 107
  }
}

108 109 110
.line_holder {
  &:hover {
    td {
D
Dmitriy Zaporozhets 已提交
111 112 113 114 115 116 117 118 119 120
      background: #FFFFCF !important;
    }
  }
}

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

122 123 124 125 126 127 128 129 130 131 132 133
.search-holder {
  label, input {
     height: 30px;
     padding: 0;
     font-size: 14px;
  }
  label {
    line-height: 30px;
    color: #666;
  }
}

134
.highlight_word {
135
  border-bottom: 2px solid #F90;
136
}
137

138
.status_info {
139
  font-size: 14px;
140
  padding: 5px 15px;
141
  line-height: 26px;
142
  text-align: center;
143 144
  float: right;
  position: relative;
145 146
  top: -5px;
  @include border-radius(4px);
147

148 149 150 151 152
  &.success {
    background: #4A4;
    color: #FFF;
  }

153
  &.error {
154
    background: #DA4E49;
155
    color: #FFF;
156
  }
157 158
}

V
Valery Sizov 已提交
159 160 161
.thin_area{
  height: 150px;
}
R
randx 已提交
162

163 164 165
// Fixes alignment on notes.
.new_note {
  label {
166
    text-align: left;
167 168 169
  }
}

170 171
// Fix issue with notes & lists creating a bunch of bottom borders.
li.note {
R
randx 已提交
172
  img { max-width:100% }
173 174 175 176 177
  .note-title {
    li {
      border-bottom:none !important;
    }
  }
178
}
R
randx 已提交
179

180 181
.markdown {
  img {
182
    max-width: 100%;
R
randx 已提交
183 184
  }
}
185 186 187 188

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

190 191
.team_member_show {
  td:first-child {
192
    color: #aaa;
D
Dmitriy Zaporozhets 已提交
193 194
  }
}
D
Dmitriy Zaporozhets 已提交
195

196 197
.rss-icon {
  img {
198 199
    width: 24px;
    vertical-align: top;
200
  }
R
randx 已提交
201

202
  strong {
203
    line-height: 24px;
R
randx 已提交
204
  }
205
}
206

R
randx 已提交
207
.supp_diff_link,
208
.show-all-commits {
209
  cursor: pointer;
R
randx 已提交
210
}
D
Dmitriy Zaporozhets 已提交
211

D
Dmitriy Zaporozhets 已提交
212
.merge-request,
213 214
.issue {
  &.today{
R
randx 已提交
215
    background: #EFE;
216
    border-color: #CEC;
D
Dmitriy Zaporozhets 已提交
217
  }
218
  &.closed {
R
randx 已提交
219
    background: #F5f5f5;
220
    border-color: #E5E5E5;
D
Dmitriy Zaporozhets 已提交
221
  }
222
  &.merged {
223
    background: #F5f5f5;
224
    border-color: #E5E5E5;
D
Dmitriy Zaporozhets 已提交
225
  }
R
randx 已提交
226
}
227

228 229
.git_error_tips {
  @extend .span6;
230 231
  text-align: left;
  margin-top: 40px;
232
  pre {
233 234
    background: white;
    border: none;
235 236 237
    font-size: 12px;
  }
}
238

239
.error-message {
D
Dmitriy Zaporozhets 已提交
240
  padding: 10px;
241
  background: #C67;
D
Dmitriy Zaporozhets 已提交
242
  padding-left: 20px;
243 244
  margin: 0;
  color: #FFF;
D
Dmitriy Zaporozhets 已提交
245

246 247 248 249
  a {
    color: #fff;
    text-decoration: underline;
  }
D
Dmitriy Zaporozhets 已提交
250 251 252
  &.centered {
    text-align: center;
  }
253
}
254

255 256 257 258 259 260 261 262 263 264 265 266 267
.warning_message {
  border-left: 4px solid #ed9;
  color: #b90;
  padding: 10px;
  margin-bottom: 10px;
  background: #ffffe6;
  padding-left: 20px;

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

268
.oauth_select_holder {
269
  padding: 20px;
270
  img {
271 272
    padding: 5px;
    margin-right: 10px;
273 274 275
  }
  .active {
    img {
276
      border: 1px solid #ccc;
277
      background: $hover;
278 279 280 281
      @include border-radius(5px);
    }
  }
}
D
Dmitriy Zaporozhets 已提交
282 283 284 285 286 287

.btn-build-token {
  float: left;
  padding: 6px 20px;
  margin-right: 12px;
}
288 289 290

.gitlab-promo {
  a {
291
    color: #aaa;
292 293 294
    margin-right: 30px;
  }
}
295

R
randx 已提交
296 297
pre {
  &.clean {
298 299 300 301
    background: none;
    border: none;
    margin: 0;
    padding: 0;
R
randx 已提交
302 303
  }
}
304

D
Dmitriy Zaporozhets 已提交
305 306 307 308 309 310 311 312
.milestone {
  &.milestone-closed {
    background: #eee;
  }
  .progress {
    margin-bottom: 0;
    margin-top: 4px;
  }
313
}
R
randx 已提交
314

315 316 317 318 319 320
h1.http_status_code {
  font-size: 56px;
  line-height: 100px;
  font-weight: normal;
  color: #456;
}
321 322 323 324 325 326 327 328 329 330 331 332 333

.control-group {
  .controls {
    span {
      &.descr {
        position: relative;
        top: 2px;
        left: 5px;
        color: #666;
      }
    }
  }
}
334 335 336 337 338 339

img.emoji {
  height: 20px;
  vertical-align: middle;
  width: 20px;
}
D
Dmitriy Zaporozhets 已提交
340 341 342 343

.appear-data {
  display: none;
}
344

345 346 347 348
.chart {
  overflow: hidden;
  height: 220px;
}
349

350
.navless-container {
351
  margin-top: 20px;
352
}
353 354 355 356 357 358

.description-block {
  @extend .light-well;
  @extend .light;
  margin-bottom: 10px;
}
359 360 361 362 363

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