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
  z-index: 100;
59 60 61 62 63 64 65 66 67 68 69

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

244
.error-message {
D
Dmitriy Zaporozhets 已提交
245
  padding: 10px;
246
  background: #C67;
D
Dmitriy Zaporozhets 已提交
247
  padding-left: 20px;
248 249
  margin: 0;
  color: #FFF;
250 251 252 253 254
  position: fixed;
  bottom: 0px;
  width: 100%;
  z-index: 100;
  opacity: 0.9;
D
Dmitriy Zaporozhets 已提交
255

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

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

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

278 279
.gitlab-promo {
  a {
280
    color: #aaa;
281 282 283
    margin-right: 30px;
  }
}
284

R
randx 已提交
285 286
pre {
  &.clean {
287 288 289 290
    background: none;
    border: none;
    margin: 0;
    padding: 0;
R
randx 已提交
291 292
  }
}
293

D
Dmitriy Zaporozhets 已提交
294 295 296 297 298 299 300 301
.milestone {
  &.milestone-closed {
    background: #eee;
  }
  .progress {
    margin-bottom: 0;
    margin-top: 4px;
  }
302
}
R
randx 已提交
303

304 305 306 307 308 309
h1.http_status_code {
  font-size: 56px;
  line-height: 100px;
  font-weight: normal;
  color: #456;
}
310 311 312 313 314 315 316 317 318 319 320 321 322

.control-group {
  .controls {
    span {
      &.descr {
        position: relative;
        top: 2px;
        left: 5px;
        color: #666;
      }
    }
  }
}
323 324 325 326 327 328

img.emoji {
  height: 20px;
  vertical-align: middle;
  width: 20px;
}
D
Dmitriy Zaporozhets 已提交
329 330 331 332

.appear-data {
  display: none;
}
333

334 335 336 337
.chart {
  overflow: hidden;
  height: 220px;
}
338

339
.navless-container {
340
  margin-top: 20px;
341
}
342 343 344 345 346 347

.description-block {
  @extend .light-well;
  @extend .light;
  margin-bottom: 10px;
}
348 349 350 351 352

.group-name {
  font-size: 14px;
  line-height: 24px;
}
D
Dmitriy Zaporozhets 已提交
353 354 355 356 357 358 359

table {
  td.permission-x {
    background: #D9EDF7 !important;
    text-align: center;
  }
}
360 361 362 363 364 365 366 367 368

.dashboard-intro-icon {
  float: left;
  font-size: 32px;
  color: #AAA;
  padding: 5px 0;
  width: 50px;
  min-height: 100px;
}
369 370 371 372 373

.navbar-gitlab .navbar-inner .nav > li .btn-sign-in {
  @extend .btn-new;
  padding: 5px 15px;
}