Commit 5f5cd2be1383503a48426bb2adeb127c11ae3d58
1 parent
093159a8
Exists in
master
and in
4 other branches
ui-box style improved
Showing
2 changed files
with
13 additions
and
8 deletions
Show diff stats
app/assets/stylesheets/common.scss
app/assets/stylesheets/gitlab_bootstrap.scss
| ... | ... | @@ -402,8 +402,7 @@ form { |
| 402 | 402 | .ui-box { |
| 403 | 403 | margin-bottom: 40px; |
| 404 | 404 | @include round-borders-all(4px); |
| 405 | - @include shade; | |
| 406 | - border-color:#DDD; | |
| 405 | + border-color: #CCC; | |
| 407 | 406 | |
| 408 | 407 | ul { |
| 409 | 408 | margin:0; |
| ... | ... | @@ -411,10 +410,13 @@ form { |
| 411 | 410 | |
| 412 | 411 | h5, .title { |
| 413 | 412 | padding: 0 10px; |
| 414 | - background:#f5f5f5; | |
| 415 | - border-bottom: 1px solid #eee; | |
| 416 | 413 | @include round-borders-top(4px); |
| 417 | - border-top:none; | |
| 414 | + border-bottom: 1px solid #bbb; | |
| 415 | + background:#eee; | |
| 416 | + background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #eee), to(#dfdfdf)); | |
| 417 | + background-image: -webkit-linear-gradient(#eee 6.6%, #dfdfdf); | |
| 418 | + background-image: -moz-linear-gradient(#eee 6.6%, #dfdfdf); | |
| 419 | + background-image: -o-linear-gradient(#eee 6.6%, #dfdfdf); | |
| 418 | 420 | |
| 419 | 421 | form { |
| 420 | 422 | padding:9px 0; |
| ... | ... | @@ -433,10 +435,13 @@ form { |
| 433 | 435 | } |
| 434 | 436 | |
| 435 | 437 | .bottom { |
| 436 | - background:#f5f5f5; | |
| 437 | - border-top: 1px solid #eee; | |
| 438 | + background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #eee), to(#dfdfdf)); | |
| 439 | + background-image: -webkit-linear-gradient(#eee 6.6%, #dfdfdf); | |
| 440 | + background-image: -moz-linear-gradient(#eee 6.6%, #dfdfdf); | |
| 441 | + background-image: -o-linear-gradient(#eee 6.6%, #dfdfdf); | |
| 438 | 442 | @include round-borders-bottom(4px); |
| 439 | 443 | border-bottom:none; |
| 444 | + border-top: 1px solid #bbb; | |
| 440 | 445 | } |
| 441 | 446 | |
| 442 | 447 | &.padded { | ... | ... |