common.scss 4.4 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
.field_with_errors {
90
  display: inline;
91 92 93
}

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

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

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

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

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

132 133 134 135
.highlight {
  text-shadow: none;
}

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

V
Valery Sizov 已提交
140 141 142
.thin_area{
  height: 150px;
}
R
randx 已提交
143

144 145 146
// Fixes alignment on notes.
.new_note {
  label {
147
    text-align: left;
148 149 150
  }
}

151 152
// Fix issue with notes & lists creating a bunch of bottom borders.
li.note {
R
randx 已提交
153
  img { max-width:100% }
154 155 156 157 158
  .note-title {
    li {
      border-bottom:none !important;
    }
  }
159
}
R
randx 已提交
160

161 162
.markdown {
  img {
163
    max-width: 100%;
R
randx 已提交
164 165
  }
}
166 167 168 169

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

171 172
.team_member_show {
  td:first-child {
173
    color: #aaa;
D
Dmitriy Zaporozhets 已提交
174 175
  }
}
D
Dmitriy Zaporozhets 已提交
176

177 178
.rss-icon {
  img {
179 180
    width: 24px;
    vertical-align: top;
181
  }
R
randx 已提交
182

183
  strong {
184
    line-height: 24px;
R
randx 已提交
185
  }
186
}
187

R
randx 已提交
188
.supp_diff_link,
189
.show-all-commits {
190
  cursor: pointer;
R
randx 已提交
191
}
D
Dmitriy Zaporozhets 已提交
192

D
Dmitriy Zaporozhets 已提交
193
.merge-request,
194 195
.issue {
  &.today{
R
randx 已提交
196
    background: #EFE;
197
    border-color: #CEC;
D
Dmitriy Zaporozhets 已提交
198
  }
199
  &.closed {
R
randx 已提交
200
    background: #F5f5f5;
201
    border-color: #E5E5E5;
D
Dmitriy Zaporozhets 已提交
202
  }
203
  &.merged {
204
    background: #F5f5f5;
205
    border-color: #E5E5E5;
D
Dmitriy Zaporozhets 已提交
206
  }
R
randx 已提交
207
}
208

209 210
.git_error_tips {
  @extend .span6;
211 212
  text-align: left;
  margin-top: 40px;
213
  pre {
214 215
    background: white;
    border: none;
216 217 218
    font-size: 12px;
  }
}
219

220
.error-message {
D
Dmitriy Zaporozhets 已提交
221
  padding: 10px;
222
  background: #C67;
D
Dmitriy Zaporozhets 已提交
223
  padding-left: 20px;
224 225
  margin: 0;
  color: #FFF;
D
Dmitriy Zaporozhets 已提交
226

227 228 229 230
  a {
    color: #fff;
    text-decoration: underline;
  }
D
Dmitriy Zaporozhets 已提交
231 232 233
  &.centered {
    text-align: center;
  }
234
}
235

236 237 238 239 240 241 242 243 244 245 246 247 248
.warning_message {
  border-left: 4px solid #ed9;
  color: #b90;
  padding: 10px;
  margin-bottom: 10px;
  background: #ffffe6;
  padding-left: 20px;

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

249 250
.gitlab-promo {
  a {
251
    color: #aaa;
252 253 254
    margin-right: 30px;
  }
}
255

R
randx 已提交
256 257
pre {
  &.clean {
258 259 260 261
    background: none;
    border: none;
    margin: 0;
    padding: 0;
R
randx 已提交
262 263
  }
}
264

D
Dmitriy Zaporozhets 已提交
265 266 267 268 269 270 271 272
.milestone {
  &.milestone-closed {
    background: #eee;
  }
  .progress {
    margin-bottom: 0;
    margin-top: 4px;
  }
273
}
R
randx 已提交
274

275 276 277 278 279 280
h1.http_status_code {
  font-size: 56px;
  line-height: 100px;
  font-weight: normal;
  color: #456;
}
281 282 283 284 285 286 287 288 289 290 291 292 293

.control-group {
  .controls {
    span {
      &.descr {
        position: relative;
        top: 2px;
        left: 5px;
        color: #666;
      }
    }
  }
}
294 295 296 297 298 299

img.emoji {
  height: 20px;
  vertical-align: middle;
  width: 20px;
}
D
Dmitriy Zaporozhets 已提交
300 301 302 303

.appear-data {
  display: none;
}
304

305 306 307 308
.chart {
  overflow: hidden;
  height: 220px;
}
309

310
.navless-container {
311
  margin-top: 20px;
312
}
313 314 315 316 317 318

.description-block {
  @extend .light-well;
  @extend .light;
  margin-bottom: 10px;
}
319 320 321 322 323

.group-name {
  font-size: 14px;
  line-height: 24px;
}
D
Dmitriy Zaporozhets 已提交
324 325 326 327 328 329 330

table {
  td.permission-x {
    background: #D9EDF7 !important;
    text-align: center;
  }
}
331 332 333 334 335 336 337 338 339

.dashboard-intro-icon {
  float: left;
  font-size: 32px;
  color: #AAA;
  padding: 5px 0;
  width: 50px;
  min-height: 100px;
}
340 341 342 343 344

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