Commit 791208431ccc12bebec81d464b29ca0acc2e731a
1 parent
3c6daec4
Exists in
master
and in
4 other branches
Box shadow for boxes
Showing
3 changed files
with
12 additions
and
2 deletions
Show diff stats
app/assets/stylesheets/gitlab_bootstrap.scss
| ... | ... | @@ -448,6 +448,7 @@ form { |
| 448 | 448 | margin-bottom: 25px; |
| 449 | 449 | @include round-borders-all(4px); |
| 450 | 450 | border-color: #CCC; |
| 451 | + @include solid_shade; | |
| 451 | 452 | |
| 452 | 453 | ul { |
| 453 | 454 | margin:0; |
| ... | ... | @@ -538,6 +539,7 @@ form { |
| 538 | 539 | table.admin-table { |
| 539 | 540 | @extend .table-bordered; |
| 540 | 541 | @extend .zebra-striped; |
| 542 | + @include solid_shade; | |
| 541 | 543 | th { |
| 542 | 544 | border-color: #CCC; |
| 543 | 545 | border-bottom: 1px solid #bbb; |
| ... | ... | @@ -595,6 +597,8 @@ ul.breadcrumb { |
| 595 | 597 | @extend .prepend-top-20; |
| 596 | 598 | @extend .append-bottom-20; |
| 597 | 599 | border-width:1px; |
| 600 | + @include solid_shade; | |
| 601 | + | |
| 598 | 602 | |
| 599 | 603 | img { max-width: 100%; } |
| 600 | 604 | |
| ... | ... | @@ -662,7 +666,7 @@ h3.page_title { |
| 662 | 666 | .file_holder { |
| 663 | 667 | border:1px solid #CCC; |
| 664 | 668 | margin-bottom:1em; |
| 665 | - @include shade; | |
| 669 | + @include solid_shade; | |
| 666 | 670 | |
| 667 | 671 | .file_title { |
| 668 | 672 | border-bottom: 1px solid #bbb; | ... | ... |
app/assets/stylesheets/main.scss
| ... | ... | @@ -31,6 +31,12 @@ $hover: #FDF5D9; |
| 31 | 31 | box-shadow: 0 0 3px #ddd; |
| 32 | 32 | } |
| 33 | 33 | |
| 34 | +@mixin solid_shade { | |
| 35 | + -moz-box-shadow: 0 0 0 3px #eee; | |
| 36 | + -webkit-box-shadow: 0 0 0 3px #eee; | |
| 37 | + box-shadow: 0 0 0 3px #eee; | |
| 38 | +} | |
| 39 | + | |
| 34 | 40 | @mixin border-radius($radius) { |
| 35 | 41 | -moz-border-radius: $radius; |
| 36 | 42 | -webkit-border-radius: $radius; | ... | ... |