common.scss 4.8 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
  position: fixed;
  bottom: 0;
  width: 100%;
  opacity: 0.8;
58 59 60 61 62 63 64 65 66 67 68

  .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 已提交
69 70 71 72
  }
}

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

.user-mention {
84
  color: #2FA0BB;
85
  font-weight: bold;
D
Dmitriy Zaporozhets 已提交
86 87
}

88
.label {
D
Dmitriy Zaporozhets 已提交
89 90
  padding: 1px 4px;
  font-size: 12px;
91
  font-style: normal;
D
Dmitriy Zaporozhets 已提交
92
  font-weight: normal;
93 94 95
}

.field_with_errors {
96
  display: inline;
97 98 99
}

ul.breadcrumb {
100 101
  background: white;
  border: none;
102 103 104 105 106 107
  li {
    display: inline;
    text-shadow: 0 1px 0 white
  }

  a {
D
Dmitriy Zaporozhets 已提交
108
    font-size: 16px;
109 110 111
  }
}

112 113 114
.line_holder {
  &:hover {
    td {
D
Dmitriy Zaporozhets 已提交
115 116 117 118 119 120 121 122 123 124
      background: #FFFFCF !important;
    }
  }
}

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

126 127 128 129 130 131 132 133 134 135 136 137
.search-holder {
  label, input {
     height: 30px;
     padding: 0;
     font-size: 14px;
  }
  label {
    line-height: 30px;
    color: #666;
  }
}

138
.highlight_word {
139
  border-bottom: 2px solid #F90;
140
}
141

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

152 153 154 155 156
  &.success {
    background: #4A4;
    color: #FFF;
  }

157
  &.error {
158
    background: #DA4E49;
159
    color: #FFF;
160
  }
161 162
}

V
Valery Sizov 已提交
163 164 165
.thin_area{
  height: 150px;
}
R
randx 已提交
166

167 168 169
// Fixes alignment on notes.
.new_note {
  label {
170
    text-align: left;
171 172 173
  }
}

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

184 185
.markdown {
  img {
186
    max-width: 100%;
R
randx 已提交
187 188
  }
}
189 190 191 192

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

194 195
.team_member_show {
  td:first-child {
196
    color: #aaa;
D
Dmitriy Zaporozhets 已提交
197 198
  }
}
D
Dmitriy Zaporozhets 已提交
199

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

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

R
randx 已提交
211
.supp_diff_link,
212
.show-all-commits {
213
  cursor: pointer;
R
randx 已提交
214
}
D
Dmitriy Zaporozhets 已提交
215

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

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

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

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

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

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

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

.btn-build-token {
  float: left;
  padding: 6px 20px;
  margin-right: 12px;
}
292 293 294

.gitlab-promo {
  a {
295
    color: #aaa;
296 297 298
    margin-right: 30px;
  }
}
299

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

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

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

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

img.emoji {
  height: 20px;
  vertical-align: middle;
  width: 20px;
}
D
Dmitriy Zaporozhets 已提交
344 345 346 347

.appear-data {
  display: none;
}
348

349 350 351 352
.chart {
  overflow: hidden;
  height: 220px;
}
353

354
.navless-container {
355
  margin-top: 20px;
356
}
357 358 359 360 361 362

.description-block {
  @extend .light-well;
  @extend .light;
  margin-bottom: 10px;
}
363 364 365 366 367

.group-name {
  font-size: 14px;
  line-height: 24px;
}
D
Dmitriy Zaporozhets 已提交
368 369 370 371 372 373 374

table {
  td.permission-x {
    background: #D9EDF7 !important;
    text-align: center;
  }
}